/* The marketing site's one stylesheet: index.html (the homepage) and
   page.html (the sub-pages). Hand-written; there is no build step.
   scripts/combine-landing.sh copies it to dist/site.css.

   Motion: everything is visible without JavaScript. index.html adds `js` to
   <html>, and only then are things hidden so they can animate in (see the
   Motion section). prefers-reduced-motion turns all of it off. */

/* Fonts: Geist and Newsreader, served from /fonts (public/fonts) rather than
   Google Fonts, so nothing from another origin sits in front of first paint.
   Google's own variable files, one per character set; unicode-range means a
   page only downloads the sets its text uses. The version is in each file's
   name: /fonts is cached for a year (netlify.toml), so rename to update.

   font-display: optional, never a visible swap. This page paints as soon as
   this stylesheet arrives, and the Latin files are preloaded in index.html
   and page.html, so they're normally ready in time. On a connection too slow
   for that, the page stays in Georgia / the system font for that visit rather
   than redrawing itself once the fonts land. */
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/fonts/geist-v5-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/fonts/geist-v5-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/fonts/geist-v5-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/fonts/geist-v5-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/fonts/geist-v5-latin.woff2) format('woff2');
  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;
}
/* vietnamese */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/newsreader-italic-v26-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/newsreader-italic-v26-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/newsreader-italic-v26-latin.woff2) format('woff2');
  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;
}
/* vietnamese */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/newsreader-v26-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/newsreader-v26-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/newsreader-v26-latin.woff2) format('woff2');
  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;
}

:root {
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --ink: #15171C;
  --soft: #50555F;
  --faint: #6B7079;
  --rule: #E3E1DA;
  --accent: #2A46C8;
  --accent-dark: #1F37A6;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav__links a { color: var(--soft); text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.nav__cta { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.nav__links a.nav__cta:hover { color: var(--accent); border-color: var(--accent); }

/* ── Buttons and links ──────────────────────────────────────── */
.btn { display: inline-block; background: var(--accent); color: var(--white); font-weight: 500; font-size: 16px; line-height: 1.2; padding: 15px 26px; border-radius: 8px; text-decoration: none; }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn:active { transform: none; }
.more { color: var(--accent); font-size: 15px; font-weight: 500; text-decoration: none; }
.more::after { content: '\2192'; display: inline-block; margin-left: 6px; }
.more:hover::after { transform: translateX(4px); }
.note { font-size: 14px; color: var(--faint); }

/* ── Homepage: hero ─────────────────────────────────────────── */
.hero { text-align: center; padding-top: 72px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -0.025em; max-width: 11.5em; margin: 0 auto; text-wrap: balance; }
.hero h1 em { font-style: italic; }
.hero h1 .w { display: inline-block; }
.hero__sub { font-size: 19px; line-height: 1.55; color: var(--soft); max-width: 33em; margin: 28px auto 0; text-wrap: pretty; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }

/* Pieces of the app, rebuilt here: the pathway page under the hero, and one
   panel per feature in "What you get". Example data, and labelled so. */
.frame, .panel { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; text-align: left; font-size: 14.5px; line-height: 1.45; }
.frame { margin-top: 60px; }
.frame__bar, .panel__bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px 32px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--faint); }
.frame__cols { display: grid; grid-template-columns: 1fr 1.15fr; }
.frame__col { padding: 28px 32px 36px; min-width: 0; }
.frame__col + .frame__col { border-left: 1px solid var(--rule); }
.frame__title, .panel__title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.frame__title span, .panel__title span { font-weight: 400; font-size: 13px; color: var(--faint); }
.who { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.who__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 13px; font-weight: 500; flex-shrink: 0; }
.who__name { font-weight: 600; }
.who__meta { font-size: 12.5px; color: var(--faint); }
.route li { display: grid; grid-template-columns: 80px 1fr; column-gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.route li:last-child { border-bottom: 0; padding-bottom: 0; }
.route__label, .route__when { font-size: 12.5px; color: var(--faint); }
.route__when { display: block; margin-top: 3px; }
.route__what { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.route .is-now .route__what { color: var(--accent); }
.plan__stage, .panel__label { font-size: 12.5px; color: var(--faint); margin: 18px 0 2px; }
.plan__stage:first-of-type { margin-top: 0; }
.step { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #B9BDC6; flex-shrink: 0; display: grid; place-items: center; }
.step.is-done .step__box { background: var(--accent); border-color: var(--accent); }
.step.is-done .step__box::after { content: ''; width: 8px; height: 4px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); }
.step.is-done .step__text { color: var(--faint); text-decoration: line-through; }
.step__text { flex: 1; min-width: 0; }
.step__kind { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.step__due { font-size: 12.5px; color: var(--accent); white-space: nowrap; }

/* ── Homepage: sections ─────────────────────────────────────── */
.band { padding-top: 168px; }
.band__inner { position: relative; padding-top: 28px; }
.band__inner::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.band h2, .closing h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.band h2 { font-size: clamp(30px, 3.6vw, 46px); }
.band__lede { font-size: 19px; line-height: 1.55; color: var(--soft); max-width: 30em; margin-top: 14px; }
.split { display: grid; grid-template-columns: 4fr 8fr; column-gap: 48px; }
.split > :last-child { min-width: 0; }

/* What you get. Each feature is its words and its panel. Stacked by default;
   on a wide screen with JavaScript the panels all pin to one spot on the
   right and swap as the words scroll past (see the wide-screen block). */
.showcase { margin-top: 56px; }
.feature { display: grid; grid-template-columns: 5fr 7fr; column-gap: 64px; align-items: center; padding: 36px 0; border-top: 1px solid var(--rule); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature__text h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.feature__text p { color: var(--soft); margin-top: 14px; max-width: 26em; }
.feature__text .more { display: inline-block; margin-top: 16px; }
.panel { min-width: 0; overflow: hidden; }
.panel__body { padding: 26px 32px 30px; }
.panel__label { margin: 0 0 8px; }
.panel__hint { font-size: 12px; color: var(--faint); margin-top: 10px; }

.days { display: flex; gap: 6px; }
.day { flex: 1; border: 1px solid var(--rule); border-radius: 10px; padding: 7px 4px; text-align: center; font-size: 12.5px; font-weight: 600; }
.day small { display: block; font-weight: 400; font-size: 11px; color: var(--faint); }
.day.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.day.is-on small { color: rgba(255, 255, 255, 0.72); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.time { border: 1px solid var(--rule); border-radius: 8px; padding: 9px 0; text-align: center; font-size: 13px; font-weight: 500; }
.time.is-picked { background: var(--accent); border-color: var(--accent); color: var(--white); }
.sent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.sent__mark { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; }
.sent__mark::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); }
.sent b { display: block; font-weight: 600; }
.sent span { color: var(--faint); font-size: 13px; }

.suggest { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); }
.suggest small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.suggest b { color: var(--accent); font-size: 13px; font-weight: 500; }

.job { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.job:first-of-type { padding-top: 0; }
.job b { display: block; font-weight: 600; }
.job span { font-size: 12.5px; color: var(--faint); }
.worked { margin-top: 18px; }
.worked p { font-size: 13.5px; color: var(--soft); margin-top: 4px; }

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.board__col { background: var(--paper); border-radius: 10px; padding: 10px; min-height: 196px; }
.board__name { font-size: 12.5px; color: var(--faint); margin-bottom: 8px; display: flex; justify-content: space-between; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 9px 10px; font-size: 13px; font-weight: 500; line-height: 1.3; }
.card + .card { margin-top: 6px; }
.card small { display: block; font-weight: 400; font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.card--from { display: none; }
.remind { margin-top: 16px; font-size: 13.5px; color: var(--soft); }
.remind b { color: var(--accent); font-weight: 500; }

.lora { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.bubble--me { align-self: flex-end; background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; }
.bubble--lora { background: var(--paper); border: 1px solid var(--rule); border-bottom-left-radius: 4px; }
.lora__reply { display: grid; }
.lora__reply > * { grid-area: 1 / 1; align-self: start; justify-self: start; }
.dots { display: inline-flex; gap: 5px; padding: 15px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); opacity: 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.ask { margin-top: 18px; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; color: var(--faint); font-size: 14px; }

.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap__old { opacity: 0; }

/* How to start: a track with a dot at each step. The accent line draws along
   it and each step arrives as the line reaches its dot (see Motion). */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 72px; margin-top: 72px; padding-top: 48px; }
.steps::before, .steps::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.steps::after { top: -1px; height: 3px; border-radius: 2px; background: var(--accent); transform-origin: left top; }
.steps li { position: relative; }
.steps li::before { content: ''; position: absolute; left: 0; top: -54px; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--paper); }
.steps__n { display: block; overflow: hidden; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--accent); margin-bottom: 24px; }
.steps__n span { display: block; }
.steps h3 { --d: calc(0.35s + var(--i) * 0.8s); }
.steps p { --d: calc(0.47s + var(--i) * 0.8s); }
.steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.steps p { color: var(--soft); margin-top: 8px; max-width: 18em; }


.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo > div { padding: 8px 80px 8px 0; }
.duo > div + div { padding: 8px 0 8px 80px; border-left: 1px solid var(--rule); }
.duo h2 { font-size: clamp(26px, 2.7vw, 34px); }
.duo p { color: var(--soft); margin-top: 18px; max-width: 26em; }
.duo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-weight: 500; font-size: 18px; line-height: 1.4; }
.faq summary:hover { color: var(--accent); }
.faq details:first-child summary { padding-top: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--faint); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding: 0 48px 22px 0; max-width: 40em; }
.faq a { color: var(--accent); }

.closing { text-align: center; padding-top: 136px; padding-bottom: 136px; }
.closing h2 { font-size: clamp(34px, 5vw, 64px); max-width: 12em; margin: 0 auto; }
.closing .hero__cta { margin-top: 36px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--rule); font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; column-gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.footer__about { color: var(--soft); max-width: 22em; margin-top: 14px; }
.footer__head { color: var(--faint); font-size: 14px; margin-bottom: 12px; }
.footer li + li { margin-top: 8px; }
.footer a { text-decoration: none; }
.footer li a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 36px; border-top: 1px solid var(--rule); color: var(--faint); font-size: 14px; }
.footer__legal a { margin-left: 20px; }
.footer__legal a:first-child { margin-left: 0; }
.footer__legal a:hover { color: var(--ink); }

/* ── Sub-pages (page.html) ──────────────────────────────────── */
.page { padding-top: 64px; padding-bottom: 120px; }
.page__head { max-width: 860px; animation: rise 0.7s var(--ease) both; }
.page__head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.page__lede { font-size: 20px; line-height: 1.5; color: var(--soft); max-width: 32em; margin-top: 24px; text-wrap: pretty; }
.page__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.page__body { max-width: 680px; margin-top: 72px; animation: rise 0.7s 0.12s var(--ease) both; }
.page__body h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -0.015em; border-top: 1px solid var(--ink); padding-top: 22px; margin-top: 64px; }
.page__body h2:first-child { margin-top: 0; }
.page__body h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-top: 28px; }
.page__body p, .page__body ul, .page__body ol, .page__body blockquote { color: var(--soft); margin-top: 14px; }
.page__body h3 + p { margin-top: 6px; }
.page__body ul, .page__body ol { padding-left: 22px; }
.page__body ul { list-style: disc; }
.page__body ol { list-style: decimal; }
.page__body li + li { margin-top: 8px; }
.page__body strong { color: var(--ink); font-weight: 600; }
.page__body a { color: var(--accent); }
.page__body blockquote { margin-left: 0; margin-right: 0; padding-left: 18px; border-left: 2px solid var(--rule); font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ink); }
.page__body .btn { color: var(--white); margin-top: 8px; }

/* ── Full pages (page.html, pages marked `full`) ────────────── */
.page-full { padding-top: 0; }
.phero { padding-top: 72px; }
.phero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.025em; max-width: 13em; text-wrap: balance; }
.phero__lede { font-size: 20px; line-height: 1.5; color: var(--soft); max-width: 31em; margin-top: 28px; text-wrap: pretty; }
.phero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }

/* The same words-and-panel pairs as the homepage showcase, one after another. */
.rows { margin-top: 56px; }
.rows .feature { padding: 56px 0; }
.rows .feature:first-child { padding-top: 0; }
.rows .feature:last-child { padding-bottom: 0; }
.specs { margin-top: 20px; font-size: 15px; color: var(--soft); max-width: 27em; }
.specs li { padding: 9px 0; border-top: 1px solid var(--rule); }
.specs + .more { display: inline-block; margin-top: 16px; }

.defs { margin-top: 48px; }
.defs > div { display: grid; grid-template-columns: 4fr 8fr; column-gap: 48px; padding: 28px 0; border-top: 1px solid var(--rule); }
.defs > div:first-child { border-top: 0; padding-top: 0; }
.defs h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.defs p { color: var(--soft); max-width: 34em; }

.line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.line:first-child { padding-top: 0; }
.line b { display: block; font-weight: 600; }
.line small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 1px; }
.line > span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.line > span.is-due { color: var(--accent); font-weight: 500; }
.panel__foot { margin-top: 16px; font-size: 13.5px; color: var(--soft); }
.panel__foot b { color: var(--accent); font-weight: 500; }

.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.term { background: var(--paper); border-radius: 10px; padding: 10px; }
.term__name { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-bottom: 8px; }
.course { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 9px 10px; font-size: 13px; font-weight: 500; line-height: 1.3; }
.course + .course { margin-top: 6px; }
.course small { display: block; font-weight: 400; font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.course.is-taken small { color: var(--accent); }
.course--choice { border-style: dashed; background: transparent; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: -0.01em; }
.stat span { display: block; font-size: 12.5px; color: var(--faint); margin-top: 6px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-top: 28px; border-bottom: 1px solid var(--rule); }
.bars span { flex: 1; height: var(--h); background: var(--accent); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.bars__label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-top: 8px; }

.tbl__row { display: grid; grid-template-columns: 2.2fr 1fr 0.7fr 1fr; column-gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.tbl__row:last-child { border-bottom: 0; padding-bottom: 0; }
.tbl__head { font-size: 12.5px; color: var(--faint); padding-top: 0; }
.tbl__row b { display: block; font-weight: 600; }
.tbl__row small { display: block; font-size: 12px; color: var(--faint); }
.tbl__row.is-risk small { color: var(--accent); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; }
.plan { padding: 0 44px; display: flex; flex-direction: column; align-items: flex-start; }
.plan:first-child { padding-left: 0; }
.plan:last-child { padding-right: 0; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.plan__price { font-family: var(--serif); font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em; margin-top: 18px; }
.plan__note { color: var(--soft); font-size: 15px; margin-top: 10px; min-height: 3.2em; }
.plan .specs { width: 100%; margin-bottom: 28px; }
.plan .btn, .plan > .more { margin-top: auto; }
.rollup { display: block; overflow: hidden; }
.rollup > span { display: block; }

.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 36px; }

/* ── Motion ─────────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pick { from { background: var(--white); border-color: var(--rule); color: var(--ink); } 60% { transform: scale(1.07); } to { background: var(--accent); border-color: var(--accent); color: var(--white); } }
@keyframes tick-box { from { background: var(--white); border-color: #B9BDC6; } 60% { transform: scale(1.18); } to { background: var(--accent); border-color: var(--accent); } }
@keyframes tick-text { from { color: var(--ink); text-decoration-color: transparent; } to { color: var(--faint); text-decoration-color: currentColor; } }
@keyframes leave { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(28px); } }
@keyframes arrive { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes dots { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.5); } to { transform: none; } }
@keyframes roll { from { transform: translateY(105%); } to { transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }

.btn, .more, .more::after, .nav__links a, .footer a, .faq summary, .faq summary::after { transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, transform 0.2s var(--ease); }

/* A [data-play] block (the hero, each panel) plays once it gets `play`:
   its .a children rise in turn (--d is each one's delay), and the small
   scenes below run: a time gets picked, a step ticked, a card moved. */
.js [data-play]:not(.play) .a { opacity: 0; }
[data-play].play .a { animation: rise 0.6s var(--ease) both; animation-delay: var(--d, 0s); }
[data-play].play .time.is-picked { animation: pick 0.4s var(--t, 1.3s) both; }
[data-play].play .step.tick .step__box { animation: tick-box 0.35s var(--t, 1.3s) both; }
[data-play].play .step.tick .step__box::after { animation: fade-in 0.2s calc(var(--t, 1.3s) + 0.12s) both; }
[data-play].play .step.tick .step__text { animation: tick-text 0.35s var(--t, 1.3s) both; }
[data-play].play .swap__old { animation: fade-out 0.3s var(--t, 1.3s) both; }
[data-play].play .swap__new { animation: fade-in 0.3s var(--t, 1.3s) both; }
.js .card--from { display: block; opacity: 0; }
[data-play].play .card--from { animation: leave 0.4s 1.3s both; }
[data-play].play .card--to { animation: arrive 0.5s 1.65s var(--ease) both; }
[data-play].play .dots { animation: dots 1.2s 0.8s both; }
[data-play].play .dots i { animation: bounce 0.9s 3; }
[data-play].play .dots i:nth-child(2) { animation-delay: 0.15s; }
[data-play].play .dots i:nth-child(3) { animation-delay: 0.3s; }

.js [data-play]:not(.play) .bars span { transform: scaleY(0); }
[data-play].play .bars span { animation: grow 0.8s var(--ease) both; animation-delay: calc(0.35s + var(--i) * 0.07s); }
.js [data-play]:not(.play) .rollup > span { transform: translateY(105%); }
[data-play].play .rollup > span { animation: roll 0.8s var(--ease) both; animation-delay: var(--d, 0s); }

.js .steps:not(.play)::after { transform: scaleX(0); }
.js .steps:not(.play) li::before { transform: scale(0); }
.js .steps:not(.play) .steps__n span { transform: translateY(105%); }
.steps.play::after { animation: draw-x 2.4s linear both; }
.steps.play li::before { animation: pop 0.5s var(--ease) both; animation-delay: calc(0.12s + var(--i) * 0.8s); }
.steps.play .steps__n span { animation: roll 0.7s var(--ease) both; animation-delay: calc(0.2s + var(--i) * 0.8s); }

/* A [data-reveal] block shows itself when it scrolls into view: its rule
   draws across and its .r children rise in turn. */
.r { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal]:not(.is-in) .r { opacity: 0; transform: translateY(18px); }
.band__inner::before { transition: transform 1.1s var(--ease); }
.js [data-reveal]:not(.is-in)::before { transform: scaleX(0); }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ── Wide screens: the pinned showcase ──────────────────────── */
@media (min-width: 901px) {
  .js .showcase { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: repeat(6, auto); column-gap: 64px; }
  .js .showcase .feature { display: contents; }
  .js .showcase .feature__text { grid-column: 1; min-height: 68vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-left: 28px; border-left: 2px solid var(--rule); opacity: 0.3; transition: opacity 0.45s ease, border-color 0.45s ease; }
  .js .showcase .feature:nth-child(1) .feature__text { grid-row: 1; }
  .js .showcase .feature:nth-child(2) .feature__text { grid-row: 2; }
  .js .showcase .feature:nth-child(3) .feature__text { grid-row: 3; }
  .js .showcase .feature:nth-child(4) .feature__text { grid-row: 4; }
  .js .showcase .feature:nth-child(5) .feature__text { grid-row: 5; }
  .js .showcase .feature:nth-child(6) .feature__text { grid-row: 6; }
  .js .showcase .feature.is-active .feature__text { opacity: 1; border-color: var(--accent); }
  .js .showcase .panel { grid-column: 2; grid-row: 1 / -1; position: sticky; top: max(24px, calc(50vh - 240px)); align-self: start; min-height: 480px; opacity: 0; transform: translateY(16px) scale(0.985); transition: opacity 0.45s ease, transform 0.55s var(--ease); }
  .js .showcase .feature.is-active .panel { opacity: 1; transform: none; }
  /* Every panel is the same height here, so what closes each scene sits at the bottom. */
  .js .showcase .panel, .js .showcase .panel__body { display: flex; flex-direction: column; }
  .js .showcase .panel__body, .js .showcase .board, .js .showcase .lora { flex: 1; }
  .js .showcase .sent, .js .showcase .suggest, .js .showcase .worked, .js .showcase .remind, .js .showcase .ask { margin-top: auto; }
  .js .showcase .remind { padding-top: 16px; }
}

/* ── Small screens ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .nav { padding-top: 20px; padding-bottom: 20px; }
  .nav__links { gap: 20px; }
  .nav__links a.nav__section { display: none; }

  .hero { padding-top: 36px; }
  .hero__sub { font-size: 17px; margin-top: 20px; }
  .hero__cta { margin-top: 26px; }
  .frame { margin-top: 44px; border-radius: 14px; }
  .frame__bar, .panel__bar { padding: 14px 18px; }
  .frame__cols { grid-template-columns: 1fr; }
  .frame__col { padding: 22px 18px 26px; }
  .frame__col + .frame__col { border-left: 0; border-top: 1px solid var(--rule); }
  .step__kind { display: none; }

  .band { padding-top: 96px; }
  .band__inner { padding-top: 22px; }
  .band__lede { font-size: 17px; }
  .split { grid-template-columns: 1fr; row-gap: 26px; }
  .showcase { margin-top: 36px; }
  .feature { grid-template-columns: 1fr; row-gap: 22px; padding: 40px 0; }
  .feature__text h3 { font-size: 26px; }
  .panel { border-radius: 14px; }
  .panel__body { padding: 20px 18px 22px; }
  .board { gap: 6px; }
  .board__col { padding: 8px 6px; }
  /* Stacked, the track runs down the left side. */
  .steps { grid-template-columns: 1fr; row-gap: 40px; margin-top: 40px; padding: 0 0 0 30px; }
  .steps::before, .steps::after { left: 0; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .steps::after { left: -1px; width: 3px; }
  .js .steps:not(.play)::after { transform: scaleY(0); }
  .steps.play::after { animation-name: draw-y; }
  .steps li::before { left: -36px; top: 14px; }
  .steps__n { font-size: 44px; margin-bottom: 10px; }
  .duo { grid-template-columns: 1fr; }
  .duo > div { padding: 0; }
  .duo > div + div { padding: 48px 0 0; margin-top: 48px; border-left: 0; border-top: 1px solid var(--rule); }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .closing { padding-top: 88px; padding-bottom: 88px; }

  .footer__inner { grid-template-columns: 1fr 1fr; row-gap: 36px; padding-top: 44px; }
  .footer__brand { grid-column: 1 / -1; }

  .phero { padding-top: 36px; }
  .phero__lede { font-size: 18px; margin-top: 20px; }
  .rows { margin-top: 36px; }
  .rows .feature { padding: 44px 0; }
  .defs { margin-top: 32px; }
  .defs > div { grid-template-columns: 1fr; row-gap: 8px; padding: 22px 0; }
  .defs h3 { font-size: 22px; }
  .plans { grid-template-columns: 1fr; margin-top: 48px; }
  .plan, .plan:first-child, .plan:last-child { padding: 0; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); margin-top: 44px; padding-top: 44px; }
  .plan__note { min-height: 0; }
  .tbl__row { grid-template-columns: 2fr 1fr 0.6fr; }
  .tbl__row > :nth-child(4) { display: none; }

  .page { padding-top: 32px; padding-bottom: 80px; }
  .page__lede { font-size: 18px; margin-top: 18px; }
  .page__body { margin-top: 48px; }
  .page__body h2 { font-size: 26px; margin-top: 48px; }
}

@media (max-width: 560px) {
  /* Two stages fit a phone; the empty one goes. */
  .board { grid-template-columns: 1fr 1fr; }
  .board__col:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
}
