/* Colours, type and spacing from the Boring design system (https://claude.ai/artifact/BC57fm1ZdUJWwmkCec6hbF). */
:root {
  --bar-grey: #D9D5CC;
  --bar-yellow: #DCCD8C;
  --bar-cyan: #9DC6C1;
  --bar-green: #A1BE95;
  --bar-magenta: #C69EB7;
  --bar-red: #CA9C8F;
  --bar-blue: #909FC2;
  --off-air: #2D2F33;
  --paper: #F2EFE9;
  --surface: #F7F6F3;
  --surface-raised: #FFFFFF;
  --surface-sunken: #ECEAE5;
  --hairline: #E2E0DA;
  --ink: #22252A;
  --ink-muted: #62666D;
  --ink-faint: #6B6E74;
  --accent: #3E4E7A;
  --on-accent: #FFFFFF;
  --glass-scrim: rgba(0, 0, 0, 0.45);

  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;

  --space-2: 2px;
  --space-5: 5px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;

  --radius-thumb: 12px;
  --radius-icon: 22.37%;
  --radius-capsule: 999px;
  --thumb-width: 136px;
  --creator-icon-row: 18px;
  --creator-icon-panel: 32px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bar-grey: #6E6B65;
    --bar-yellow: #7A7046;
    --bar-cyan: #4B6865;
    --bar-green: #53664A;
    --bar-magenta: #6A4F61;
    --bar-red: #6C4E46;
    --bar-blue: #4A5470;
    --off-air: #101113;
    --paper: #D8D4CC;
    --surface: #121315;
    --surface-raised: #1C1D20;
    --surface-sunken: #232428;
    --hairline: #2C2E32;
    --ink: #ECEAE5;
    --ink-muted: #9EA1A7;
    --ink-faint: #8A8D93;
    --accent: #A9B6D6;
    --on-accent: #14161B;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-system);
  font-size: 17px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, ul { margin: 0; }

a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The test card: seven bars across the top of the page. */
.bars { display: flex; height: 12px; }
.bars span { flex: 1; }
.bars span:nth-child(1) { background: var(--bar-grey); }
.bars span:nth-child(2) { background: var(--bar-yellow); }
.bars span:nth-child(3) { background: var(--bar-cyan); }
.bars span:nth-child(4) { background: var(--bar-green); }
.bars span:nth-child(5) { background: var(--bar-magenta); }
.bars span:nth-child(6) { background: var(--bar-red); }
.bars span:nth-child(7) { background: var(--bar-blue); }

.hero {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px var(--space-16) 56px;
  text-align: center;
}

.app-icon {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
  border-radius: var(--radius-icon);
}

.wordmark {
  font-family: var(--font-rounded);
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tagline {
  margin-top: var(--space-6);
  font-family: var(--font-rounded);
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  color: var(--ink-muted);
}

.lede { margin-top: 24px; }

.cta { margin-top: 28px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-capsule);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { filter: brightness(1.1); }

.cta-note {
  margin-top: var(--space-12);
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 18px;
}

/* A still of the inbox, built from the design system's row component. */
.demo {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 var(--space-16);
}

.screen {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 20px 0 32px;
}

.screen-title {
  padding: 0 var(--space-16) var(--space-8);
  font-size: 34px;
  line-height: 41px;
  font-weight: 700;
}

.rows { list-style: none; padding: 0; }

.row {
  display: flex;
  gap: var(--space-12);
  align-items: flex-start;
  padding: var(--space-8) var(--space-16);
}

.thumb {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--thumb-width);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-thumb);
  background: var(--surface-sunken);
}

.length {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-capsule);
  background: var(--glass-scrim);
  color: #FFFFFF;
  font-size: 11px;
  line-height: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.text { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; }

.row-title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creator {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
}

.age { font-size: 11px; line-height: 13px; color: var(--ink-faint); }

/* Creator placeholder: a bar colour at 20% with the initial in the same colour. */
.creator-icon {
  --size: var(--creator-icon-row);
  flex: none;
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bar) 20%, transparent);
  color: var(--bar);
  font-family: var(--font-rounded);
  font-size: calc(var(--size) * 0.45);
  line-height: 1;
  font-weight: 700;
}
.creator-icon.panel { --size: var(--creator-icon-panel); }

.caught-up {
  margin-top: 28px;
  padding: 0 var(--space-16);
  text-align: center;
  color: var(--ink-muted);
}
.caught-up svg { display: block; margin: 0 auto var(--space-8); }
.caught-up-title { color: var(--ink); font-size: 17px; line-height: 22px; font-weight: 600; }
.caught-up-note { margin-top: 4px; font-size: 15px; line-height: 20px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 40px;
  max-width: 880px;
  margin: 0 auto;
  padding: 72px var(--space-16);
}

.feature h2 { font-size: 17px; line-height: 22px; font-weight: 600; }
.feature p { margin-top: var(--space-6); color: var(--ink-muted); }

.footer {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px var(--space-16) 48px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.footer .fine { margin-top: 4px; color: var(--ink-faint); }
