/* Generated by build.mjs from packages/design/tokens.css, the font packages and src/style.css. */
/* geist-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-latin-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* geist-mono-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-mono-latin-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-mono-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/*
 * Tempocast design tokens. Source of truth: the Figma file "Tempocast" (Foundations page).
 * Shared by apps/site (tempocast.app) and apps/web (app.tempocast.app). Change values here, not in the apps.
 * Fonts: Fraunces for display headlines, Geist for body text, UI and all numbers, Geist Mono for small labels.
 */
:root {
  /* Brand palette */
  --tc-tempo: #ff5b2e;
  --tc-ink: #12151c;
  --tc-paper: #f4f4f2;
  --tc-night: #0d0f14;

  /* Backgrounds */
  --color-bg-page: #f4f4f2;
  --color-bg-surface: #ffffff;
  --color-bg-subtle: #f1f0ec;
  --color-bg-inverse: #12151c;
  --color-bg-night: #0d0f14;
  --color-bg-night-raised: #161a22;

  /* Text */
  --color-text-primary: #12151c;
  --color-text-secondary: #5b6170;
  --color-text-inverse: #f4f4f2;
  --color-text-accent: #b93814; /* tempo, darkened for AA contrast on paper */
  --color-text-on-night: #f1f0ec;
  --color-text-on-night-muted: #9aa0ad;

  /* Borders */
  --color-border-default: #e3e1da;
  --color-border-strong: #cfccc2;
  --color-border-night: #262b35;

  /* Accent (tempo orange): use once per view for the main call to action */
  --color-accent-fill: #ff5b2e;
  --color-accent-fill-hover: #f04a1c;
  --color-accent-on: #12151c;
  --color-accent-subtle: #ffe9e1;

  /* Post status. Always pair the colour with a label. */
  --color-status-published: #1f9d63;
  --color-status-scheduled: #3c6ff0;
  --color-status-approval: #e0a100;
  --color-status-failed: #d93025;
  --color-status-draft: #9aa0ad;
  --color-positive: #15803d;

  /* Spacing */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radius */
  --radius-xs: 5px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Elevation */
  --shadow-product: 0 2px 6px 0 rgba(18, 20, 28, 0.06), 0 24px 48px -8px rgba(18, 20, 28, 0.1);
  --shadow-popover: 0 2px 6px 0 rgba(18, 20, 28, 0.06), 0 12px 24px -6px rgba(18, 20, 28, 0.12);
  --focus-ring: 0 0 0 2px var(--color-bg-page, #f4f4f2), 0 0 0 4px #ff5b2e;

  /* Font families: one family, Geist. Mono is for data only (times, dates, IDs). */
  --font-display: "Geist Variable", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Geist Variable", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono Variable", "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale (size / line height / letter spacing). Desktop values; see the mobile overrides below. */
  --text-display-xl: 72px; --leading-display-xl: 1.04; --tracking-display-xl: -0.04em;
  --text-display-l: 48px; --leading-display-l: 1.08; --tracking-display-l: -0.035em;
  --text-display-m: 32px; --leading-display-m: 1.18; --tracking-display-m: -0.025em;
  --text-heading-s: 20px; --leading-heading-s: 1.3; --tracking-heading-s: -0.015em;
  --text-body-l: 20px; --leading-body-l: 1.55; --tracking-body-l: -0.005em;
  --text-body-m: 16px; --leading-body-m: 1.55; --tracking-body-m: -0.0025em;
  --text-body-s: 14px; --leading-body-s: 1.5;
  --text-label-m: 15px; --text-label-l: 16px; --leading-label: 1.3; --tracking-label-m: -0.0025em;
  --text-label-s: 13px;
  --text-mono: 13px; --leading-mono: 1.2;
  --color-text-body: #4a505c; /* paragraphs on paper; never lighter */

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1); /* entering, hover */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1); /* moving, resizing */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1); /* small pops only */
  --dur-1: 120ms; /* press, colour */
  --dur-2: 200ms; /* hover, small UI */
  --dur-3: 320ms; /* panels, menus, toasts */
  --dur-4: 560ms; /* section reveals */

  /* Layout */
  --page-max: 1200px;
  --page-gutter: 120px;
}

@media (max-width: 767px) {
  :root {
    --text-display-xl: 44px;
    --text-display-l: 32px;
    --text-display-m: 26px;
    --text-heading-s: 18px;
    --text-body-l: 18px;
  }
}

/* tempocast.app. Tokens come from packages/design/tokens.css (prepended at build time). */
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body-m);
  line-height: var(--leading-body-m);
  color: var(--color-text-primary);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--color-text-accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--color-bg-inverse); color: var(--color-text-inverse); padding: 8px 12px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

/* Layout */
:root { --gutter: clamp(20px, 8.33vw, var(--page-gutter)); }
.wrap { width: 100%; max-width: calc(var(--page-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section { padding: var(--space-5xl) 0; }
.section-tight-top { padding-top: 0; }
.subtle { background: var(--color-bg-subtle); }
.night { background: var(--color-bg-night); color: var(--color-text-on-night); }

/* Type: Geist only. Headings 600 with tight tracking; sizes come from the tokens (mobile sizes included). */
h1, h2, h3, .display-2xl, .display-xl, .display-l, .display-m { font-weight: 600; }
.display-2xl, .display-xl, .display-l, .display-m { font-family: var(--font-display); text-wrap: pretty; }
.display-2xl, .display-xl { font-size: var(--text-display-xl); line-height: var(--leading-display-xl); letter-spacing: var(--tracking-display-xl); text-wrap: balance; }
.display-l { font-size: var(--text-display-l); line-height: var(--leading-display-l); letter-spacing: var(--tracking-display-l); text-wrap: balance; }
.display-m { font-size: var(--text-display-m); line-height: var(--leading-display-m); letter-spacing: var(--tracking-display-m); }
.lead { font-size: var(--text-body-l); line-height: var(--leading-body-l); letter-spacing: var(--tracking-body-l); color: var(--color-text-body); max-width: 640px; text-wrap: balance; }
.night .lead { color: var(--color-text-on-night-muted); }
.small { font-size: var(--text-body-s); line-height: var(--leading-body-s); }
/* Labels (pills, eyebrows, small headings): Geist 13/500, sentence case. */
.mono, .mono-m, .eyebrow { font: 500 var(--text-label-s)/var(--leading-label) var(--font-sans); }
/* Data only (times, dates, IDs, counts): Geist Mono, sentence case, tabular. */
.data, .tool { font: 500 var(--text-mono)/var(--leading-mono) var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--color-text-secondary); }
.night .muted { color: var(--color-text-on-night-muted); }
.accent { color: var(--color-text-accent); }
.positive { color: var(--color-positive); }
.eyebrow { display: flex; gap: 8px; align-items: center; color: var(--color-text-secondary); }
.eyebrow .dot { background: var(--color-accent-fill); }
.night .eyebrow { color: var(--color-text-on-night-muted); }
.soon {
  font: 500 12px/1.3 var(--font-sans);
  color: var(--color-text-secondary); border: 1px solid var(--color-border-default); border-radius: var(--radius-full); padding: 2px 8px; margin-left: 4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 var(--text-label-m)/1 var(--font-sans); letter-spacing: var(--tracking-label-m);
  padding: 10px 16px; border-radius: var(--radius-full); border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { font-size: var(--text-label-l); padding: 12px 24px; }
.btn-primary { background: var(--color-bg-inverse); color: var(--color-text-inverse); }
.btn-primary:hover { background: #262b35; }
.btn-accent { background: var(--color-accent-fill); color: var(--color-accent-on); }
.btn-accent:hover { background: var(--color-accent-fill-hover); }
.btn-secondary { background: var(--color-bg-surface); color: var(--color-text-primary); border-color: var(--color-border-default); }
.btn-secondary:hover { border-color: var(--color-border-strong); }
.btn-ghost { color: var(--color-text-primary); }
.btn-ghost:hover { background: rgba(18, 21, 28, .05); }
.btn-night { background: var(--color-text-on-night); color: var(--color-text-primary); }
.btn-night:hover { background: #fff; }
.btn-static { pointer-events: none; }

/* Dots, pills, tags */
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--color-status-draft); }
.dot-published { background: var(--color-status-published); }
.dot-scheduled { background: var(--color-status-scheduled); }
.dot-approval { background: var(--color-status-approval); }
.dot-failed { background: var(--color-status-failed); }
.dot-tempo { background: var(--color-accent-fill); width: 6px; height: 6px; }
.tag { display: inline-block; background: var(--color-accent-fill); color: var(--color-accent-on); padding: 4px 8px; border-radius: var(--radius-full); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-full); padding: 6px 12px; color: var(--color-text-secondary); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--color-bg-subtle); border-radius: var(--radius-full); padding: 4px 8px; font: 500 var(--text-label-s)/1.2 var(--font-sans); }
.status-pill .dot { width: 6px; height: 6px; }
.badge { flex: none; }

/* Announcement bar */
.announce { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px 24px; background: var(--color-bg-night); color: var(--color-text-on-night); font-size: var(--text-body-s); line-height: var(--leading-body-s); }
.announce a { color: var(--color-accent-fill); font: 500 var(--text-label-s)/1 var(--font-sans); text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }

/* Nav */
.nav { background: var(--color-bg-page); border-bottom: 1px solid var(--color-border-default); position: relative; z-index: 5; }
/* Logo and actions sit on the page margins; the links are centred on the page. */
.nav-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; gap: 24px; }
.nav-actions { justify-self: end; }
.logo img { width: 144px; height: auto; }
.nav-links { display: flex; gap: 32px; font: 500 var(--text-label-m)/1 var(--font-sans); letter-spacing: var(--tracking-label-m); }
.nav-links a { white-space: nowrap; text-decoration: none; }
.nav-links a:hover { color: var(--color-text-accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-menu { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 10px 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-menu span { display: block; height: 1.5px; background: var(--color-text-primary); border-radius: 1px; transition: transform .2s; }
.menu-open .nav-menu span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .nav-menu span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav-signin-mobile { display: none; }

/* Hero */
.hero { padding-top: var(--space-4xl); }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; margin-bottom: var(--space-2xl); }
.hero-copy h1 { max-width: 900px; }
.hero-copy .lead { max-width: 620px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Product frame (calendar illustration) */
.product { background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-product); overflow: hidden; }
.product-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--color-border-default); }
.product-bar-right { display: flex; align-items: center; gap: 16px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius-full); background: var(--color-bg-subtle); font: 500 var(--text-label-s)/1 var(--font-sans); white-space: nowrap; }
.filter .dot { width: 8px; height: 8px; }
.filter.is-active { background: var(--color-bg-inverse); color: var(--color-text-inverse); }
.legend { display: flex; gap: 12px; font: 500 var(--text-label-s)/1 var(--font-sans); color: var(--color-text-secondary); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); height: 300px; }
.day { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; border-right: 1px solid var(--color-border-default); min-width: 0; }
.day:last-child { border-right: 0; }
.day-head { display: flex; align-items: center; gap: 6px; font: 500 15px/1 var(--font-sans); }
.day-head .mono { color: var(--color-text-secondary); }
.day.is-today { background: var(--color-bg-subtle); }
.day.is-today .day-head, .day.is-today .day-head .mono { color: var(--color-text-accent); }
.agenda, .agenda-bar { display: none; }

/* Post chip */
.chip { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px 10px 8px 12px; background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-sm); overflow: hidden; min-width: 0; text-align: left; color: var(--color-text-primary); }
.chip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }
.chip-meta { display: flex; align-items: center; gap: 6px; color: var(--color-text-secondary); }
.chip-meta .mono { white-space: nowrap; }
.chip-title { font: 500 var(--text-label-s)/1 var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-brand { font-size: var(--text-label-s); line-height: 1.45; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Platform strip */
.platforms { padding: var(--space-4xl) 0; text-align: center; }
/* Same background: 128 between sections in total, not 96 + 128. */
.platforms + .section { padding-top: var(--space-xl); }
.platform-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px var(--space-4xl); margin-top: var(--space-lg); }
.platform-list li { display: flex; align-items: center; gap: 12px; font: 600 var(--text-heading-s)/var(--leading-heading-s) var(--font-sans); letter-spacing: var(--tracking-heading-s); }

/* Section heads */
.section-head { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-3xl); max-width: 720px; }
.section-head.centered { align-items: center; text-align: center; }
.section-head.centered .lead { margin: 0 auto; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: var(--space-lg); border-top: 1px solid var(--color-border-default); }
.step-n { font: 600 var(--text-display-m)/var(--leading-display-m) var(--font-sans); letter-spacing: var(--tracking-display-m); color: var(--color-text-accent); }
.steps h3, .tile h3, .plan h3 { font: 600 var(--text-heading-s)/var(--leading-heading-s) var(--font-sans); letter-spacing: var(--tracking-heading-s); }
.steps p { color: var(--color-text-secondary); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg); }
.bento > .tile { grid-column: span 3; }
.tile { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-lg); background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-md); min-width: 0; }
.bento > .tile-wide { grid-column: span 8; }
.bento > .tile:nth-child(2) { grid-column: span 4; }
.tile header { display: flex; flex-direction: column; gap: 8px; }
.tile header p:last-child { font-size: var(--text-body-s); line-height: var(--leading-body-s); color: var(--color-text-secondary); }
.tile-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.brand-rows { border: 1px solid var(--color-border-default); border-radius: var(--radius-sm); }
.brand-rows li { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--color-border-default); font: 500 var(--text-label-s)/1 var(--font-sans); }
.brand-rows li:last-child { border-bottom: 0; }
.brand-rows li > span { display: flex; align-items: center; gap: 8px; }
.brand-rows li > span:last-child { gap: 4px; }
.brand-rows .dot { width: 8px; height: 8px; }
.previews { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.previews > div { height: 150px; border-radius: var(--radius-sm); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 8px; }
.previews .bar { width: 60px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .8); }
.status-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.thumbs span { width: 64px; height: 64px; border-radius: var(--radius-sm); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; margin-top: auto; }
.bars span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 500 var(--text-mono)/1.2 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--color-text-secondary); }
.bars span::before { content: ""; width: 20px; height: var(--h); background: var(--color-bg-subtle); border-radius: 3px 3px 0 0; }
.bars .is-best { color: var(--color-text-accent); }
.bars .is-best::before { background: var(--color-accent-fill); }

/* Claude */
.claude { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: var(--space-4xl); align-items: start; }
.claude-copy { display: flex; flex-direction: column; gap: var(--space-xl); align-items: flex-start; }
.claude-copy .section-head { margin-bottom: 0; }
.setup { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: var(--space-lg); background: var(--color-bg-night-raised); border: 1px solid var(--color-border-night); border-radius: var(--radius-md); }
.setup ol { display: flex; flex-direction: column; gap: 12px; }
.setup li { display: flex; gap: 12px; align-items: center; }
.setup li .mono-m { color: var(--color-accent-fill); }
.transcript { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; padding: var(--space-lg); background: var(--color-bg-night-raised); border: 1px solid var(--color-border-night); border-radius: var(--radius-lg); }
.transcript-head { display: flex; justify-content: space-between; gap: 12px; width: 100%; flex-wrap: wrap; }
.transcript-head > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.transcript .dot { width: 6px; height: 6px; }
.bubble { align-self: flex-end; max-width: 414px; padding: 12px 16px; background: var(--color-bg-night-raised); border: 1px solid var(--color-border-night); border-radius: var(--radius-md); filter: brightness(1.15); }
.tool { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--color-border-night); border-radius: var(--radius-sm); }
.tool .ok { color: var(--color-status-published); }
.reply { display: flex; gap: 12px; align-items: flex-start; }
.avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--color-bg-inverse); color: var(--color-text-inverse); font: 500 var(--text-label-s)/1 var(--font-sans); }
.avatar-lg { width: 40px; height: 40px; }
.reply-chips { display: flex; gap: 8px; padding-left: 36px; flex-wrap: wrap; }
.reply-chips .chip { width: 168px; }

/* Analytics */
.analytics { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.analytics-main { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-lg); min-width: 0; }
.analytics-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.kpis div { display: flex; flex-direction: column; gap: 6px; }
.kpi { font: 600 var(--text-display-m)/var(--leading-display-m) var(--font-sans); letter-spacing: var(--tracking-display-m); font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 200px; }
.chart-legend { display: flex; gap: var(--space-lg); font-size: var(--text-body-s); color: var(--color-text-secondary); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 12px; height: 3px; }
.top-posts { background: var(--color-bg-subtle); border-left: 1px solid var(--color-border-default); padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); }
.top-posts ol { display: flex; flex-direction: column; gap: var(--space-md); }
.top-posts li { display: flex; align-items: center; gap: 10px; }
.top-posts li[hidden] { display: none; }
.top-posts li > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.top-posts b { font: 500 var(--text-label-s)/1 var(--font-sans); }
.top-posts small { font-size: var(--text-body-s); line-height: var(--leading-body-s); color: var(--color-text-secondary); }

/* Proof */
.proof .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: center; }
.proof-quote { display: flex; flex-direction: column; gap: var(--space-lg); }
.proof blockquote { max-width: 640px; }
.proof mark { background: linear-gradient(transparent 62%, var(--color-accent-subtle) 62%); color: inherit; padding: 0 2px; }
.proof-brands { display: flex; flex-direction: column; gap: 8px; }
.proof-brands li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); }
.proof-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff; font: 600 var(--text-label-m)/1 var(--font-sans); }
.proof-name { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proof-name b { font: 500 var(--text-label-m)/1.2 var(--font-sans); }
.proof-name small, .proof-stat small { font-size: var(--text-body-s); line-height: var(--leading-body-s); color: var(--color-text-secondary); }
.proof-platforms { display: flex; gap: 4px; }
.proof-stat { display: flex; flex-direction: column; align-items: flex-end; min-width: 44px; }
.proof-stat b { font-size: var(--text-body-m); }
.proof-brands .proof-total { justify-content: space-between; border: 0; background: transparent; padding: 4px 14px 0; font: 500 var(--text-label-s)/1.3 var(--font-sans); color: var(--color-text-secondary); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.byline b { font: 500 var(--text-label-s)/1 var(--font-sans); }
.byline small { font-size: var(--text-body-s); line-height: var(--leading-body-s); color: var(--color-text-secondary); }

/* Pricing cards */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-3xl); }
.plan { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-xl); background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-md); }
.plan header { display: flex; flex-direction: column; gap: 8px; }
.plan h3 { display: flex; align-items: center; gap: 8px; }
.plan h3 .tag { font: 500 12px/1.3 var(--font-sans); }
.plan header p { min-height: 40px; }
.plan header p, .price { font-size: var(--text-body-s); line-height: var(--leading-body-s); color: var(--color-text-secondary); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price span { font: 600 var(--text-display-m)/var(--leading-display-m) var(--font-sans); letter-spacing: var(--tracking-display-m); font-variant-numeric: tabular-nums; color: var(--color-text-primary); }
.plan .btn { width: 100%; }
.plan ul { display: flex; flex-direction: column; gap: 10px; padding-top: var(--space-lg); border-top: 1px solid var(--color-border-default); font-size: var(--text-body-s); line-height: var(--leading-body-s); }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan .plan-lead { font: 500 var(--text-label-s)/1 var(--font-sans); }
.check { color: var(--color-text-accent); flex: none; }
.plan-featured { background: var(--color-bg-night); border-color: var(--color-border-night); color: var(--color-text-on-night); }
.plan-featured header p, .plan-featured .price { color: var(--color-text-on-night-muted); }
.plan-featured .price span { color: var(--color-text-on-night); }
.plan-featured ul { border-top-color: var(--color-border-night); }
.plan-featured .check { color: var(--color-accent-fill); }
#pricing .mono a, .section-plans .mono a { color: var(--color-text-accent); }

/* Closing CTA */
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); text-align: center; }
.closing h2 { max-width: 820px; }

/* Footer */
.footer { background: var(--color-bg-night); color: var(--color-text-on-night); padding: var(--space-4xl) 0 var(--space-2xl); }
.footer-top { display: flex; justify-content: space-between; gap: var(--space-2xl); margin-bottom: var(--space-3xl); }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 340px; }
.footer-brand img { width: 160px; height: auto; }
.footer-status { display: flex; align-items: center; gap: 8px; color: var(--color-text-on-night-muted); }
.footer-cols { display: flex; gap: var(--space-2xl) var(--space-3xl); flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; font-size: var(--text-body-s); line-height: var(--leading-body-s); }
.footer-cols .mono { color: var(--color-text-on-night-muted); }
.footer-cols a { text-decoration: none; white-space: nowrap; }
.footer-cols a:hover { color: var(--color-accent-fill); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: var(--space-lg); border-top: 1px solid var(--color-border-night); font-size: var(--text-body-s); line-height: var(--leading-body-s); color: var(--color-text-on-night-muted); }

/* Pricing page */
.page-head { padding: var(--space-4xl) 0 var(--space-2xl); }
.page-head .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); max-width: calc(820px + 2 * var(--gutter)); }
.page-head .lead { max-width: 620px; }
.section-plans .plans { margin-bottom: var(--space-lg); }
.compare h2 { margin-bottom: var(--space-xl); }
.table-scroll { overflow-x: auto; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-surface); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--text-body-s); line-height: var(--leading-body-s); }
.compare-table th, .compare-table td { padding: 12px 24px; border-bottom: 1px solid var(--color-border-default); text-align: center; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th { font: 600 var(--text-heading-s)/var(--leading-heading-s) var(--font-sans); letter-spacing: var(--tracking-heading-s); }
.compare-table thead th:first-child, .compare-table tbody th { text-align: left; width: 35%; }
.compare-table thead th.mono { font: 500 var(--text-label-s)/1.3 var(--font-sans); color: var(--color-text-secondary); }
.compare-table tbody th { font-weight: 400; font-size: var(--text-body-m); line-height: var(--leading-body-m); }
.compare-table .group th { background: var(--color-bg-subtle); padding-top: 12px; padding-bottom: 12px; text-align: left; color: var(--color-text-secondary); font: 500 var(--text-label-s)/1.3 var(--font-sans); }
.compare-table td .check { display: inline-block; vertical-align: -3px; }
.compare-table .none { color: var(--color-text-secondary); font-size: var(--text-body-m); }
.faq-cols { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: var(--space-3xl); }
.faq-cols .section-head { margin: 0; }
.faq-cols .section-head > p:last-child { color: var(--color-text-secondary); }
.faq-cols .section-head a { color: var(--color-text-primary); }
.accordion details { border-bottom: 1px solid var(--color-border-default); padding: 20px 0; }
.accordion details:first-child { border-top: 1px solid var(--color-border-default); }
.accordion summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font: 600 var(--text-heading-s)/var(--leading-heading-s) var(--font-sans); letter-spacing: var(--tracking-heading-s); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--color-text-secondary); font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin-top: 10px; max-width: 560px; color: var(--color-text-secondary); }
.accordion details a { color: var(--color-text-primary); }

/* Legal pages */
.legal-head { padding: var(--space-4xl) 0 var(--space-2xl); border-bottom: 1px solid var(--color-border-default); }
.legal-head .wrap { display: flex; flex-direction: column; gap: var(--space-md); }
.legal-head .mono { color: var(--color-text-secondary); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { padding: 6px 12px; border: 1px solid var(--color-border-default); border-radius: var(--radius-full); font: 500 var(--text-label-s)/1 var(--font-sans); text-decoration: none; }
.tab:hover { border-color: var(--color-border-strong); }
.tab.is-active { background: var(--color-bg-inverse); border-color: var(--color-bg-inverse); color: var(--color-text-inverse); }
.legal-body { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: var(--space-2xl); padding-top: var(--space-2xl); padding-bottom: var(--space-4xl); }
.toc { position: sticky; top: 24px; align-self: start; }
.toc .mono { color: var(--color-text-secondary); margin-bottom: 12px; }
.toc ol { display: flex; flex-direction: column; gap: 2px; }
.toc a { display: block; padding: 6px 12px; border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--text-label-s); line-height: 1.4; color: var(--color-text-secondary); text-decoration: none; }
.toc a:hover { color: var(--color-text-primary); background: var(--color-bg-subtle); border-left-color: var(--color-accent-fill); }
.prose { font-size: var(--text-body-m); line-height: 1.7; color: var(--color-text-body); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-display-m); line-height: var(--leading-display-m); letter-spacing: var(--tracking-display-m); color: var(--color-text-primary); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--color-text-primary); font-weight: 500; }
.prose a { color: var(--color-text-primary); text-underline-offset: 2px; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose code { font-family: var(--font-mono); font-size: .88em; padding: .1em .35em; border-radius: 4px; background: var(--color-bg-surface); color: var(--color-text-primary); }
.prose .table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-body-s); line-height: 1.5; }
.prose th { text-align: left; font-weight: 500; color: var(--color-text-primary); }
.prose th, .prose td { padding: .65em .9em; border-bottom: 1px solid var(--color-border-default); vertical-align: top; }
.prose td:first-child { color: var(--color-text-primary); white-space: nowrap; }
.prose td:last-child, .prose th:last-child { white-space: nowrap; }
@media (max-width: 640px) { .prose td:first-child { white-space: normal; min-width: 8.5em; } .prose td:last-child, .prose th:last-child { white-space: normal; } }

/* Simple pages (404) */
.kind-page main > h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-display-l); font-size: var(--text-display-l); line-height: var(--leading-display-l); max-width: calc(var(--page-max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--space-4xl) var(--gutter) var(--space-md); }
.kind-page main > p { max-width: calc(var(--page-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--space-4xl); color: var(--color-text-secondary); }

/* Tablet */
@media (max-width: 1100px) {
  .legend { display: none; }
  .bento > .tile, .bento > .tile:nth-child(2) { grid-column: span 6; }
  .bento > .tile-wide { grid-column: span 12; }
  .tile-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claude { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .analytics { grid-template-columns: minmax(0, 1fr); }
  .top-posts { border-left: 0; border-top: 1px solid var(--color-border-default); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-direction: column; }
  .legal-body { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .faq-cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
}

/* Small tablet: the 7-column week is too tight, show the agenda instead. */
@media (max-width: 1000px) {
  .proof .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .week { display: none; }
  .agenda { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
  .agenda-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--color-border-default); font: 500 var(--text-label-s)/1 var(--font-sans); }
  .hero .product-bar { display: none; }
}

/* Phone */
@media (max-width: 760px) {
  .section { padding: var(--space-3xl) 0; }
  .section-tight-top { padding-top: 0; }
  .announce { gap: 8px; padding: 8px 16px; font-size: var(--text-label-s); }
  .announce .tag { display: none; }
  .nav-bar { display: flex; justify-content: space-between; height: 64px; }
  .platforms + .section { padding-top: var(--space-md); }
  .logo img { width: 120px; }
  .nav-signin, .nav-links { display: none; }
  .nav-menu { display: inline-flex; }
  .menu-open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 64px; background: var(--color-bg-page); border-bottom: 1px solid var(--color-border-default); padding: 8px var(--gutter) 16px; font-size: var(--text-label-m); }
  .menu-open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--color-border-default); }
  .menu-open .nav-links a:last-child { border-bottom: 0; }
  .nav-signin-mobile { display: block; }
  .hero { padding-top: var(--space-2xl); }
  .hero-copy { align-items: stretch; text-align: left; }
  .hero-copy .pill { align-self: flex-start; }
  .ctas { flex-direction: column; align-items: stretch; }
  .hero .product-bar { display: none; }
  .week { display: none; }
  .agenda { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
  .agenda-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--color-border-default); font: 500 var(--text-label-s)/1 var(--font-sans); }
  .platforms { padding: var(--space-2xl) 0; text-align: left; }
  .platform-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .platform-list li { font-size: var(--text-body-m); gap: 10px; }
  .platform-list .badge { width: 24px; height: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .section-head { margin-bottom: var(--space-xl); }
  .bento > .tile, .bento > .tile:nth-child(2), .bento > .tile-wide { grid-column: span 12; }
  .tile-chips { grid-template-columns: minmax(0, 1fr); }
  .tile-chips .chip:nth-child(n+3) { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart { height: 120px; }
  .analytics-head .filters { display: none; }
  .reply-chips { padding-left: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .legal-head { padding: 48px 0 32px; }
  .accordion summary { font-size: var(--text-heading-s); }
}

/* ───────────── Motion (spec section 3). Colour changes always; movement only without reduced motion. ───────────── */
.btn { transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.btn:hover { box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06); }
.btn-primary:hover, .night .btn:hover { box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.08); }
.nav { position: sticky; top: 0; transition: background-color var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out); border-bottom-color: transparent; }
.nav.is-scrolled { background: rgba(244, 244, 242, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--color-border-default); }
.nav-links a { position: relative; color: var(--color-text-body); transition: color var(--dur-2) var(--ease-out); }
.nav-links a:hover { color: var(--color-text-primary); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform var(--dur-2) var(--ease-out); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="true"] { color: var(--color-text-primary); }
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.chip { transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.week .chip:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -8px rgba(18, 20, 28, 0.18); border-color: var(--color-border-strong); }
.chip .dot { transition: background-color var(--dur-3) var(--ease-out); }
.pub-check { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--color-status-published); font: 500 12px/1 var(--font-sans); animation: pop var(--dur-2) var(--ease-spring) both; }
.day.is-today { position: relative; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--color-accent-fill); z-index: 2; pointer-events: none; transition: top 1s linear; }
.now-line::before { content: ""; position: absolute; left: -1px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-fill); }
.plan { transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.plan:hover { transform: translateY(-2px); border-color: var(--color-border-strong); }
.plan-featured { box-shadow: 0 0 0 1px rgba(255, 91, 46, 0.35), 0 12px 32px -12px rgba(255, 91, 46, 0.35); }
.plan-featured:hover { border-color: var(--color-border-night); }
/* Platform logos in full colour. The YouTube mark is a wide, short shape inside a square box,
   so it is drawn larger to read at the same optical size as the square and round marks. */
.platform-list li .badge[src*="youtube"] { transform: scale(1.18); }
.kpi { font-variant-numeric: tabular-nums; }
/* FAQ: the answer opens by animating grid rows; the plus turns into an ×. */
.accordion .acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-in-out); }
.accordion .acc > div { overflow: hidden; }
.accordion details.is-open .acc { grid-template-rows: 1fr; }
.accordion summary::after, .accordion details[open] summary::after { content: "+"; display: inline-block; font-size: 22px; line-height: 1; transition: transform var(--dur-3) var(--ease-in-out); }
.accordion details.is-open summary::after { transform: rotate(45deg); }
/* Claude chat playback */
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; margin-left: 36px; border-radius: var(--radius-md); background: var(--color-bg-night); border: 1px solid var(--color-border-night); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-text-on-night-muted); animation: blink 900ms infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 150ms; } .typing i:nth-child(3) { animation-delay: 300ms; }
.replay { align-self: flex-end; background: none; border: 1px solid var(--color-border-night); color: var(--color-text-on-night-muted); border-radius: var(--radius-full); padding: 6px 12px; font: 500 var(--text-label-s)/1 var(--font-sans); cursor: pointer; transition: color var(--dur-2), border-color var(--dur-2); }
.replay:hover { color: var(--color-text-on-night); border-color: var(--color-text-on-night-muted); }
.replay[hidden] { display: none; }
.transcript .is-pending { display: none; }

@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover > [aria-hidden="true"] { transform: translateX(3px); }
  .btn > [aria-hidden="true"] { display: inline-block; transition: transform var(--dur-2) var(--ease-out); }
  .btn:active { transform: scale(0.98); }
  /* Hero: once, on load, in sequence. */
  .hero-copy > * { animation: fade-up var(--dur-4) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
  .hero-copy > :nth-child(1) { --i: 0; } .hero-copy > :nth-child(2) { --i: 1; } .hero-copy > :nth-child(3) { --i: 2; } .hero-copy > :nth-child(4) { --i: 3; } .hero-copy > :nth-child(5) { --i: 4; }
  .hero .product { animation: rise-in var(--dur-4) var(--ease-out) both; animation-delay: calc(5 * 60ms + 120ms); }
  /* Scroll reveals, set up by site.js for content below the fold. */
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .chat-in { animation: fade-up var(--dur-3) var(--ease-out) both; }
  .chart-line { transition: stroke-dashoffset 900ms var(--ease-in-out); }
}
@media (prefers-reduced-motion: reduce) {
  .accordion .acc, .now-line { transition: none; }
  .pub-check, .typing i { animation: none; }
}

/* Hero brand filter: the chips filter the sample calendar. */
button.filter { border: 0; color: inherit; cursor: pointer; transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
button.filter:not(.is-active):hover { background: #e7e5df; }
.product .chip.is-filtered { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .product .chip.is-shown { animation: pop var(--dur-2) var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 25ms); }
}

/* Feature tiles: each illustration plays once when its tile comes into view (.is-live, set in site.js). */
.tile { transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.tile:hover { border-color: var(--color-border-strong); }
.status-pill { transition: opacity var(--dur-3) var(--ease-out), background-color var(--dur-3) var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .tile:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(18, 20, 28, .25); }
  /* Previews: the two posts rise in, their captions write in, and fan out on hover. */
  .js .previews > div { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
  .js .previews .bar { transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
  .js .is-live .previews > div { opacity: 1; transform: none; }
  .js .is-live .previews > div:nth-child(2) { transition-delay: 120ms; }
  .js .is-live .previews .bar { transform: none; transition-delay: 350ms; }
  .js .is-live .previews > div:nth-child(2) .bar { transition-delay: 470ms; }
  .tile:hover .previews > div:first-child { transform: rotate(-3deg) translateX(-4px); }
  .tile:hover .previews > div:nth-child(2) { transform: rotate(3deg) translateX(4px); }
  /* Media library: thumbnails drop in one by one, and lift on hover. */
  .js .thumbs span { opacity: 0; transform: scale(.6); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
  .js .is-live .thumbs span { opacity: 1; transform: none; }
  .js .is-live .thumbs span:nth-child(2) { transition-delay: 60ms; }
  .js .is-live .thumbs span:nth-child(3) { transition-delay: 120ms; }
  .js .is-live .thumbs span:nth-child(4) { transition-delay: 180ms; }
  .js .is-live .thumbs span:nth-child(5) { transition-delay: 240ms; }
  .js .is-live .thumbs span:nth-child(6) { transition-delay: 300ms; }
  .js .is-live .thumbs span:hover { transform: scale(1.06); transition-delay: 0ms; }
  /* Best time: the bars grow, then Friday lights up. */
  .js .bars span::before { transform: scaleY(0); transform-origin: bottom; transition: transform 500ms var(--ease-out), background-color var(--dur-3) var(--ease-out); }
  .js .bars .is-best { color: var(--color-text-secondary); transition: color var(--dur-3) var(--ease-out) 900ms; }
  .js .bars .is-best::before { background: var(--color-bg-subtle); }
  .js .is-live .bars span::before { transform: none; transition-delay: calc(var(--n) * 50ms); }
  .js .is-live .bars .is-best { color: var(--color-text-accent); }
  .js .is-live .bars .is-best::before { background: var(--color-accent-fill); transition-delay: 200ms, 900ms; }
  /* Approvals: the post steps from Needs approval to Scheduled to Published. */
  .js .status-stack .status-pill { opacity: .35; }
  .js .status-stack .status-pill.is-on { opacity: 1; }
  .js .status-stack .status-pill.is-now { animation: pop var(--dur-2) var(--ease-spring) both; }
  .js .status-stack .status-pill.is-now .dot { box-shadow: 0 0 0 4px rgba(0, 0, 0, .06); }
  .js .status-stack p { opacity: 0; transform: translateY(4px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
  .js .status-stack.is-done p { opacity: 1; transform: none; }
}

/* Founder section: brand cards slide in one after another; the highlight draws under the quote. */
@media (prefers-reduced-motion: no-preference) {
  .js .proof-brands li:not(.proof-total) { opacity: 0; transform: translateX(16px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
  .js .proof-brands.is-live li { opacity: 1; transform: none; }
  .js .proof mark { background-size: 0% 100%; background-repeat: no-repeat; background-image: linear-gradient(transparent 62%, var(--color-accent-subtle) 62%); background-color: transparent; transition: background-size 700ms var(--ease-out) 400ms; }
  .js .proof-quote.is-live mark { background-size: 100% 100%; }
  .proof-brands li:not(.proof-total):hover { transform: translateX(-4px); transition-delay: 0ms; }
}
/* Analytics: the switched top posts slide in. */
.negative { color: var(--color-status-failed); }
@media (prefers-reduced-motion: no-preference) {
  .top-posts li.is-shown { animation: fade-up var(--dur-3) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
}
