/* moblit landing page, direction 2c "Good company" from the brand identity:
   Bricolage Grotesque ExtraBold for headlines, Inter for reading, forest ink on
   cream, chartreuse only ever as a surface (never as text on white). */

@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; 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; }
@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; 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; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --chartreuse: #d4ef41;
  --chartreuse-tint: #f3fad4;
  --ink: #131f10;
  --ink-2: #253920;
  --cream: #f7f9ee;
  --muted: #5b6152;
  --on-ink-muted: #b9c2b0;
  --hairline: #e3e6d8;
  --hairline-ink: #2c3a27;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px var(--chartreuse); border-radius: 999px; }
.ink :focus-visible { box-shadow: 0 0 0 2px var(--chartreuse); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* Type scale from the identity: Display 88/0.9 −0.05em, Headline 40/1.0 −0.035em, Title 22/1.15 −0.02em. */
h1 { font-weight: 800; font-size: clamp(52px, 8.4vw, 112px); line-height: .9; letter-spacing: -0.05em; }
h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.035em; max-width: 18ch; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }

/* ── Navigation ─────────────────────────────────────────────
   Flat on the chartreuse cover; past it, a floating forest-ink pill with the
   chartreuse wordmark and a chartreuse button (chartreuse on ink is allowed). */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; padding: 0 clamp(12px, 3vw, 24px); pointer-events: none; }
.nav-inner { pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: 100%; max-width: 1240px; height: 72px; margin: 0 auto; padding: 0 clamp(8px, 4vw, 40px); border-radius: 999px; transition: max-width .35s ease, height .35s ease, margin .35s ease, padding .35s ease, background-color .25s ease, box-shadow .35s ease; }
.nav-logo { display: grid; }
.nav-logo img { grid-area: 1 / 1; height: 24px; width: auto; transition: opacity .25s ease; }
.logo-on-ink { opacity: 0; }
.nav-links { display: flex; gap: 2px; }
.nav-logo { justify-self: start; }
.nav-button { justify-self: end; }
.nav-links a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background .15s, color .25s; }
.nav-links a:hover { background: rgb(19 31 16 / .08); }
.nav-button { white-space: nowrap; background: var(--ink); color: var(--chartreuse); }
.nav-button:hover { background: var(--ink-2); }

.nav.is-floating .nav-inner { max-width: 880px; height: 56px; margin-top: 14px; padding: 0 8px 0 24px; background: var(--ink); box-shadow: 0 18px 40px -16px rgb(19 31 16 / .45); }
.nav.is-floating .logo-on-light { opacity: 0; }
.nav.is-floating .logo-on-ink { opacity: 1; }
.nav.is-floating .nav-logo img { height: 20px; }
.nav.is-floating .nav-links a { color: var(--cream); }
.nav.is-floating .nav-links a:hover { background: rgb(247 249 238 / .1); }
.nav.is-floating .nav-button { height: 40px; padding: 0 18px; font-size: 14px; background: var(--chartreuse); color: var(--ink); }
.nav.is-floating .nav-button:hover { background: #c9e534; }

/* ── Buttons and links ─────────────────────────────────────── */
.button { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: background .15s; }
.button-ink { background: var(--ink); color: var(--chartreuse); }
.button-ink:hover { background: var(--ink-2); }
.button-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--chartreuse); }
.cover .link, .closing .link { text-decoration-color: var(--ink); }
.link:hover { text-decoration-color: var(--ink); }

/* ── Cover ─────────────────────────────────────────────────── */
.cover { background: var(--chartreuse); padding: calc(72px + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); }
.cover h1 { max-width: 11ch; }
.cover-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: end; margin-top: clamp(40px, 5vw, 64px); }
.cover-lede { max-width: 30em; font-size: 19px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }

/* Portrait slots in the arch, pill and rounded shapes that echo the "e". */

/* ── Sections ──────────────────────────────────────────────── */
.section { padding-top: clamp(80px, 10vw, 128px); }
.kicker { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--muted); }
.kicker-ink { color: var(--on-ink-muted); }
.lede { max-width: 36em; margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--muted); }

/* Product moments: single components at their real size, never a shrunken window.
   They're built in HTML with the app's light theme (src/index.css) and its lucide icons
   (the sprite at the top of index.html), so they stay sharp and reflow on phones.
   Nothing in them is interactive. */
.moment { width: 100%; border-radius: 16px; box-shadow: 0 1px 2px rgb(19 31 16 / .06), 0 24px 48px -24px rgb(19 31 16 / .3); }

.ui {
  --ui-fg: #18181b; --ui-muted: #5e5e68; --ui-faint: #858590; --ui-border: #e4e4e7;
  --ui-secondary: #f5f5f6; --ui-surface: #f5f5f6; --ui-success: #2f7d33; --ui-success-muted: #e5f2e3; --ui-danger: #a3321f;
  container-type: inline-size; overflow: hidden; border: 1px solid var(--ui-border); background: #fff;
  color: var(--ui-fg); font: 400 14px/20px var(--body); text-align: left; cursor: default; user-select: none;
}
:where(.ui) :where(ul, ol, dl, dd) { margin: 0; padding: 0; list-style: none; }
.ui strong { font-weight: 500; }
.ui-icon { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-muted { color: var(--ui-muted); }
.ui-faint { color: var(--ui-faint); font-weight: 400; }
.ui-sub { display: block; font-size: 13px; color: var(--ui-muted); }
.ui-small { font-size: 12px; }
.ui-num { font-weight: 500; font-variant-numeric: tabular-nums; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ui-head { padding: 16px 16px 4px; font-weight: 500; }
.ui-head .ui-faint { margin-left: 6px; }
.ui-head-ruled { padding-bottom: 14px; border-bottom: 1px solid var(--ui-border); }

/* Where a participant is: the state card. */

/* Next steps. */

/* The trip timeline. */

/* Lists of documents and tasks. */

/* The consortium plan and a line's cost breakdown. */
.ui-plan { padding: 6px 16px 10px; }
.ui-plan li { display: grid; grid-template-columns: minmax(0, 3.3fr) 1.1fr 1fr 1.7fr 1.6fr minmax(64px, auto); align-items: center; min-height: 56px; padding: 6px 0; }
.ui-plan .ui-sub { display: flex; align-items: center; gap: 4px; }
.ui-plan .ui-sub .ui-icon { width: 12px; height: 12px; }
.ui-plan .ui-num { text-align: right; }
.ui-cost-title { padding: 12px 12px 4px; font-size: 13px; font-weight: 500; }
.ui-cost { display: grid; grid-template-columns: 1fr auto; row-gap: 4px; margin: 0; padding: 0 12px; font-size: 13px; }
.ui-cost dt { color: var(--ui-muted); }
.ui-cost dd { text-align: right; font-variant-numeric: tabular-nums; }
.ui-cost .ui-cost-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--ui-border); color: var(--ui-fg); font-weight: 500; }
.ink-popover .ui-sub { padding: 10px 12px 0; font-size: 12px; line-height: 17px; }
.ui-remove { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 12px; color: var(--ui-danger); font-size: 13px; }
.ui-remove .ui-icon { width: 13px; height: 13px; }

/* ── Motion ──────────────────────────────────────────────────
   Only for visitors who haven't asked for reduced motion; the `motion` class is set by
   the script in index.html, so without it every moment simply sits still and complete.
   A stage's cards rise in one after another (--i is their order), then the details catch
   up: the progress bar fills, the checks draw, the timeline runs down and the now-stops
   breathe. On hover a card lifts with a little spring and its rows light up as in the app. */
@media (prefers-reduced-motion: no-preference) {
  :root { --spring: cubic-bezier(.34, 1.56, .64, 1); --settle: cubic-bezier(.2, .8, .2, 1); }

  .moment { transition: transform .45s var(--spring), box-shadow .35s ease; }
  .moment:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(19 31 16 / .06), 0 32px 56px -24px rgb(19 31 16 / .38); }
  .ink-stage .moment:hover { box-shadow: 0 40px 70px -28px rgb(0 0 0 / .7); }

  .motion .moment { opacity: 0; translate: 0 28px; transition: opacity .3s ease calc(var(--i, 0) * 110ms), translate .9s var(--spring) calc(var(--i, 0) * 110ms), transform .45s var(--spring), box-shadow .35s ease; }
  .motion .is-in .moment { opacity: 1; translate: 0 0; }
  /* The cost breakdown opens out of the plan, from its corner nearest the line. */
  .motion .ink-popover { translate: 0 0; scale: .9; transform-origin: 0 0; transition: opacity .2s ease .7s, scale .6s var(--spring) .7s, transform .45s var(--spring), box-shadow .35s ease; }
  .motion .is-in .ink-popover { scale: 1; }




  /* Live states breathe: the participant is abroad, and this is where she is today. */
  @keyframes breathe { 0% { box-shadow: 0 0 0 0 var(--ring); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

  /* Rows light up under the pointer, edge to edge, as they do in the app. */
}

/* Narrow cards on phones: the same components, folded the way the app folds them. */
@container (max-width: 560px) {
  .ui-plan li { grid-template-columns: auto auto 1fr auto; column-gap: 16px; padding: 10px 0; }
  .ui-plan li > div { grid-column: 1 / -1; margin-bottom: 4px; }
  .ui-plan-opp { display: none; }
  .ui-head.ui-row { flex-wrap: wrap; }
}

/* Cards straight on cream, with the arch of the "e" rising behind the narrow column
   (the same device as the schools section). */
.stage { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: center; gap: 32px; margin-top: 64px; }
.stage-arch { position: absolute; left: -28px; bottom: -40px; width: 396px; height: 88%; border-radius: 999px 999px 0 0; background: var(--chartreuse); }
.stage-col { position: relative; display: flex; flex-direction: column; gap: 24px; }

/* The documents panel over a tall pill of the "e". */
.pill-stage { position: relative; display: grid; align-items: center; min-height: 520px; padding-left: 8%; }
.pill-arch { position: absolute; top: 0; bottom: 0; left: 0; width: 46%; border-radius: 999px 999px 0 0; background: var(--chartreuse); }
.pill-stage .moment { position: relative; max-width: 768px; }

/* One school's plan on ink, the chartreuse arch behind it (the same device as the
   other sections) and a line's cost breakdown floating where it opens in the app. */
.ink-stage { position: relative; margin-top: 64px; padding: 56px 0 72px; }
.ink-arch { position: absolute; left: -28px; bottom: 0; width: 34%; height: 100%; border-radius: 999px 999px 0 0; background: var(--chartreuse); }
.ink-panel { position: relative; width: 86%; border-radius: 16px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.ink-popover { position: absolute; right: 0; top: 42%; width: 256px; border-radius: 12px; box-shadow: 0 24px 48px -12px rgb(0 0 0 / .55); }

/* One line of the product's voice between sections. */
.greeting { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: clamp(72px, 9vw, 112px); }
.greeting-note { font-size: 15px; color: var(--muted); }
.greeting-line { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; line-height: 1.2; }




/* ── Ink section ───────────────────────────────────────────── */
.ink { margin-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(80px, 10vw, 128px); background: var(--ink); }
.ink h2, .ink h3 { color: var(--cream); }
.ink .lede { color: var(--on-ink-muted); }

/* ── Closing ───────────────────────────────────────────────── */
.closing { margin-top: clamp(80px, 10vw, 128px); padding: clamp(72px, 9vw, 120px) 0; background: var(--chartreuse); }
.closing h2 { max-width: 20ch; }
.closing p { margin: 20px 0 32px; font-size: 19px; }
.offer { padding-bottom: clamp(56px, 7vw, 88px); margin-bottom: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--ink); }
.offer .kicker { color: var(--ink); }
.offer h2 { max-width: 16ch; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.plans li { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--cream); }
.plans h3 { font-size: 22px; letter-spacing: -0.02em; }
.plans p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.closing .plans .plan-price { margin-top: auto; padding-top: 28px; font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.plans .plan-price span { display: block; margin-top: 8px; font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.closing .plans .plan-then { margin-top: 4px; font-size: 14px; }
.closing .offer-small { max-width: 72ch; margin: 24px 0 0; font-size: 15px; line-height: 1.6; }
@media (min-width: 901px) { .closing-copy { position: sticky; top: 112px; } }
.closing-copy h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }

.closing-grid { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.request { display: grid; gap: 16px; }
.request label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.request input:not([type="checkbox"]), .request select, .request textarea { height: 48px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); font: 400 16px var(--body); }
.request select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23131f10' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center; }
.request textarea { height: auto; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.request input::placeholder, .request textarea::placeholder { color: var(--muted); }
.request input:focus-visible, .request select:focus-visible, .request textarea:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ink); border-radius: 12px; }
.request .optional { font-weight: 400; color: var(--muted); }
/* The product's checkbox: white with an ink edge, ink with a chartreuse tick when checked. */
.request .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; line-height: 1.5; cursor: pointer; }
.request .check input { flex: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--ink); border-radius: 7px; background: #fff; cursor: pointer; transition: background-color .15s, border-color .15s; }
.request .check input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3L10.5 1.8' fill='none' stroke='%23d4ef41' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.request .check input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--chartreuse), 0 0 0 5px var(--ink); }
.request .check:hover input:not(:checked) { background: var(--cream); }
.request-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.request .button { border: 0; cursor: pointer; }
.request .button:disabled { opacity: .6; cursor: progress; }
.request .hp { position: absolute; left: -10000px; }
.closing .request-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.request-note a { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.closing .request-error { margin: 0; font-size: 15px; font-weight: 500; }
.request-done h3 { font-size: 28px; letter-spacing: -0.02em; }
.request-done h3:focus, .request-done h3:focus-visible { outline: none; box-shadow: none; }
.request-done { display: flow-root; }
.request-done-mark { display: block; width: 56px; height: 56px; margin-bottom: 20px; }
.request-done-mark circle { fill: var(--ink); }
.request-done-mark path { fill: none; stroke: var(--chartreuse); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* Pilot form: sending shows a spinner in place of the label, errors ease in, and on
   success the form hands over to the thank-you (the script in index.html animates
   the stage's height between the two). */
.request .button { position: relative; justify-content: center; }
.request .button[aria-busy="true"] { opacity: 1; }
.request .button[aria-busy="true"] span { visibility: hidden; }
.request .button[aria-busy="true"]::after { content: ""; position: absolute; inset: 0; width: 20px; height: 20px; margin: auto; border: 2px solid rgb(212 239 65 / .3); border-top-color: var(--chartreuse); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.request-stage.is-changing { overflow: hidden; transition: height .55s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: no-preference) {
  .closing .request-error:not([hidden]) { animation: rise .3s ease both; }
  .request.is-leaving { opacity: 0; translate: 0 -12px; transition: opacity .25s ease, translate .25s ease; }
  .request-done.is-arriving > * { animation: rise .6s cubic-bezier(.34, 1.56, .64, 1) both; }
  .request-done.is-arriving > :nth-child(2) { animation-delay: .08s; }
  .request-done.is-arriving > :nth-child(3) { animation-delay: .16s; }
  .request-done.is-arriving > :nth-child(4) { animation-delay: .24s; }
  .request-done.is-arriving .request-done-mark { animation: pop .55s cubic-bezier(.34, 1.56, .64, 1) both; }
  .request-done.is-arriving .request-done-mark path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: draw .45s cubic-bezier(.2, .8, .2, 1) .3s forwards; }
  @keyframes rise { from { opacity: 0; translate: 0 14px; } }
  @keyframes pop { from { opacity: 0; scale: .4; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.closing .request-done p { margin: 12px 0 24px; font-size: 17px; }
/* The teaser: a wide stage rising out of the cover, a poster and a play button until pressed. */
.cover:has(+ .hero-video) { padding-bottom: calc(clamp(56px, 7vw, 96px) + clamp(120px, 18vw, 280px)); }
.cover .cover-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.hero-video { position: relative; margin-top: calc(-1 * clamp(120px, 18vw, 280px)); }
.teaser-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(20px, 2.4vw, 32px); background: var(--ink); box-shadow: 0 50px 100px -50px rgb(19 31 16 / .55), 0 0 0 1px rgb(19 31 16 / .08); }
.teaser-frame img, .teaser-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 16px; padding: 10px 28px 10px 10px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 18px/1 var(--body); cursor: pointer; box-shadow: 0 24px 50px -18px rgb(19 31 16 / .6); transition: transform .2s ease; }
.teaser-play:hover { transform: translate(-50%, -50%) scale(1.04); }
.teaser-play-icon { display: grid; place-items: center; width: clamp(48px, 5vw, 64px); height: clamp(48px, 5vw, 64px); border-radius: 999px; background: var(--chartreuse); color: var(--ink); }
.teaser-play-icon svg { width: 44%; height: 44%; fill: currentColor; }
.teaser-play-label span { margin-left: 6px; color: var(--on-ink-muted, rgb(247 249 238 / .65)); font-weight: 500; }
/* Our player: a slim ink bar along the bottom, chartreuse for what you touch. */
.teaser-frame:focus { outline: none; }
.player-bar { position: absolute; left: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgb(19 31 16 / .82); color: var(--cream); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 14px/1 var(--body); font-variant-numeric: tabular-nums; transition: opacity .3s ease, transform .3s ease; }
.teaser-frame.is-playing:not(.is-awake) .player-bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.teaser-frame.is-playing:not(.is-awake) { cursor: none; }
.player-toggle { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--chartreuse); color: var(--ink); cursor: pointer; }
.player-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.player-toggle svg path { transform: translateX(1px); }
.player-track { position: relative; flex: 1; height: 24px; cursor: pointer; touch-action: none; }
.player-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgb(247 249 238 / .22); }
.player-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; border-radius: 2px; background: var(--chartreuse); }
.player-fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 999px; background: var(--chartreuse); box-shadow: 0 0 0 3px rgb(19 31 16 / .5); }
.player-time { flex: none; color: var(--on-ink-muted); }
.player-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--cream); cursor: pointer; }
.player-icon:hover { background: rgb(247 249 238 / .12); }
.player-icon svg { width: 20px; height: 20px; }
.player-again[hidden] { display: none; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .player-time { display: none; }
  .cover .cover-foot { grid-template-columns: 1fr; }
  .teaser-play { padding-right: 10px; }
  .teaser-play-label { display: none; }
}
.demo h2 { max-width: 20ch; margin-bottom: 32px; }
.demo-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: var(--ink); }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-tour { margin-top: 20px; font-size: 16px; color: var(--muted); }
/* ── Footer ────────────────────────────────────────────────── */
/* Two quiet lines on cream: the wordmark with the links, then the fine print. */
.footer { padding-top: 40px; padding-bottom: 40px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.footer-logo { display: block; }
.footer-logo img { height: 20px; width: auto; }
.footer-links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.footer-links a { color: var(--ink); text-decoration: none; transition: opacity .15s; }
.footer-links a:hover { opacity: .65; }
.footer-social { display: flex; gap: 14px; padding-left: 24px; border-left: 1px solid var(--hairline); }
.footer-social a { display: block; }
.footer-social svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.footer-fine { align-items: baseline; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 1.5; }
.footer-fine p:first-child { max-width: 46em; }


/* ── The product, as built ─────────────────────────────────── */
/* Copies of the app's own parts (src/components/features/mobility/desk/kit.tsx and
   person-papers.tsx): task rows with a ring, the trip as one tinted surface, reference
   as quiet facts. Neutral greys; lime only for the one primary action. */
.app {
  --a-fg: #18181b; --a-mu: #5e5e68; --a-sb: #858590; --a-bd: #e4e4e7; --a-hl: #eeeef0; --a-sf: #f5f5f6;
  --a-ok: #2f7d33; --a-bad: #a3321f;
  container-type: inline-size; overflow: hidden; border: 1px solid var(--a-bd); background: #fff;
  color: var(--a-fg); font: 400 14px/20px var(--body); text-align: left; cursor: default; user-select: none;
}
:where(.app) :where(p, ul, ol, dl, dd, dt) { margin: 0; padding: 0; list-style: none; }
.app strong, .app b { font-weight: 550; }
.app .ui-icon { stroke-width: 1.8; }
.app-page { padding: 26px 28px 28px; }
.app-card { padding: 14px; }
.app-title { font-size: 21px; line-height: 28px; font-weight: 650; letter-spacing: -0.02em; }
.app-meta { margin-top: 3px; font-size: 13px; color: var(--a-mu); }
.app-faint { color: var(--a-sb); font-weight: 400; }
.app-tabs { display: flex; gap: 24px; margin-top: 16px; border-bottom: 1px solid var(--a-bd); font-size: 14px; color: var(--a-mu); }
.app-tabs span { padding-bottom: 9px; }
.app-tabs .is-on { color: var(--a-fg); font-weight: 600; box-shadow: inset 0 -2px 0 var(--a-fg); }
.app-sentence { margin-top: 22px; font-size: 19px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.app-group { margin-top: 20px; }
.app-group-first { margin-top: 24px; }
.app-group-head { padding-bottom: 6px; font-size: 14px; font-weight: 650; }
.app-group-head span { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--a-mu); }
.app-task { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--a-hl); }
.app-task strong { display: block; font-size: 15px; line-height: 21px; }
.app-detail { display: block; margin-top: 3px; font-size: 13px; line-height: 19px; color: var(--a-mu); }
.app-detail em { font-style: normal; font-weight: 500; color: var(--a-bad); }
.app-ring { width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--a-fg); }
.app-ring.is-theirs { box-shadow: none; border: 1.5px dashed var(--a-sb); }
.app-actions { display: flex; align-items: center; gap: 14px; align-self: center; }
.app-button { display: inline-flex; align-items: center; gap: 8px; align-self: center; height: 32px; padding: 0 14px; border: 1px solid var(--a-bd); border-radius: 9px; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / .03); font-size: 13px; font-weight: 600; white-space: nowrap; }
.app-button-primary { border-color: transparent; background: var(--chartreuse); color: var(--ink); font-weight: 650; box-shadow: none; }
.app-button kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 1px solid var(--a-bd); border-radius: 5px; font: 500 10px/1 var(--body); color: var(--a-mu); }
.app-button-primary kbd { border-color: var(--ink); color: var(--ink); }
.app-link { font-size: 13px; font-weight: 500; color: var(--a-mu); text-decoration: underline; text-decoration-color: var(--a-bd); text-underline-offset: 3px; white-space: nowrap; }
.app-done { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 13px; color: var(--a-mu); }
.app-done span { display: inline-flex; align-items: center; gap: 6px; }
.app-done span:first-child { margin-right: 4px; }
.app-done .ui-icon { width: 13px; height: 13px; }
.app-label { font-size: 12px; font-weight: 600; color: var(--a-mu); }

/* The trip's surface: tinted, the only one on a page. */
.app-surface { padding: 18px 20px 16px; border-radius: 14px; background: var(--a-sf); }
.app-surface-title { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.app-legs { margin-top: 16px; }
.app-legs li { display: grid; grid-template-columns: 46px 10px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.app-legs strong { font-size: 15px; }
.app-time { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.app-stop { width: 9px; height: 9px; border: 1.5px solid var(--a-fg); border-radius: 50%; background: var(--a-sf); }
.app-stop.is-in { background: var(--a-fg); }
.app-between { align-items: stretch !important; }
.app-line { justify-self: center; width: 1.5px; min-height: 30px; background: var(--a-bd); }
.app-line.is-wait { width: 0; border-left: 1.5px dotted var(--a-sb); background: none; }
.app-sub { display: flex; align-items: center; gap: 7px; align-self: center; padding: 4px 0; font-size: 13px; color: var(--a-mu); }
.app-sub .ui-icon { width: 13px; height: 13px; }
.app-surface-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--a-bd); font-size: 13px; color: var(--a-mu); }
.app-surface-foot .ui-icon { width: 13px; height: 13px; }

/* A person's papers: a group per phase, a bar per paper, a row for each paper not above. */
.app-papers { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--a-bd); }
.app-papers .app-label { margin-bottom: 18px; }
.app-phase { display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 13px; color: var(--a-mu); }
.app-phase strong { font-size: 14px; font-weight: 650; color: var(--a-fg); }
.app-bars { display: flex; gap: 3px; margin-left: auto; }
.app-bars i { width: 16px; height: 6px; border-radius: 3px; background: var(--a-bd); }
.app-bars i.d { background: var(--a-ok); }
.app-paper { display: grid; grid-template-columns: 16px 170px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; min-height: 36px; font-size: 13px; color: var(--a-mu); }
.app-paper strong { font-size: 14px; color: var(--a-fg); }
.app-tick { width: 14px; height: 14px; color: var(--a-ok); stroke-width: 2.2 !important; }
.app-chev { width: 14px; height: 14px; color: var(--a-mu); }
.app-paper.is-open .app-chev { transform: rotate(180deg); color: var(--a-fg); }
.app-paper-detail { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px 12px; padding: 6px 0 16px 28px; font-size: 13px; }
.app-paper-detail dt { color: var(--a-mu); }
.app-paper-detail dd { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--a-mu); }
.app-paper-detail b { font-weight: 500; color: var(--a-fg); }
.app-paper-detail .app-link { color: var(--a-fg); }

/* The review dialog's decision side. */
.app.ui-review { padding: 18px 20px 20px; }
.app-review-title { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.app-facts { display: grid; grid-template-columns: 1fr auto; margin: 14px 0 18px; font-size: 13px; }
.app-facts dt, .app-facts dd { padding: 7px 0; border-bottom: 1px solid var(--a-hl); }
.app-facts dt { color: var(--a-mu); }
.app-facts dd { text-align: right; font-weight: 500; }
.app-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.app-chips span { height: 28px; padding: 0 10px; border: 1px solid var(--a-bd); border-radius: 8px; font-size: 12px; line-height: 26px; font-weight: 600; }
.app-textarea { height: 64px; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--a-bd); border-radius: 9px; font-size: 13px; color: var(--a-sb); }
.app-review-actions { display: flex; gap: 8px; margin-top: 12px; }
.app-review-actions .app-button-primary { flex: 1; justify-content: center; }

/* Reference: a small label, a name, quiet lines. */
.app-ref .app-label + .app-name { margin-top: 10px; }
.app-ref .app-lines + .app-label { display: block; margin-top: 24px; }
.app-name { font-size: 15px; font-weight: 600; }
.app-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; font-size: 13px; }
.app-lines li { display: flex; align-items: center; gap: 9px; }
.app-lines li > span:first-of-type { flex: 1; min-width: 0; }
.app-lines .ui-icon { width: 14px; height: 14px; color: var(--a-mu); }
.app-lines b { font-weight: 500; font-variant-numeric: tabular-nums; }
.app-lines .app-link { color: var(--a-fg); }

@container (max-width: 520px) {
  .app-task { grid-template-columns: 16px minmax(0, 1fr); }
  .app-task > .app-button, .app-task > .app-actions { grid-column: 2; justify-self: start; margin-top: 10px; }
  .app-paper { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .app-paper > span { display: none; }
  .app-bars { display: none; }
}


/* Privacy: a chartreuse chapter with the film's wall of locked instances, one lit. */
.lime { margin-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(80px, 10vw, 128px); background: var(--chartreuse); }
.lime .chapter { padding-top: clamp(80px, 10vw, 128px); }
.kicker-lime { color: var(--ink-2); }
.lime + .ink { margin-top: 0; }
.chapter-lime .chapter-head > p, .chapter-lime .details p { color: var(--ink-2); }
.chapter-lime .details { border-color: #b2ca33; }
.chapter-lime .details li { border-color: #b2ca33; }
.vault { margin-top: clamp(48px, 6vw, 72px); padding: clamp(20px, 3vw, 36px); border-radius: clamp(20px, 2.4vw, 32px); background: var(--ink); box-shadow: 0 50px 100px -50px rgb(19 31 16 / .6); }
.vault ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); margin: 0; padding: 0; list-style: none; }
.vault li { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: clamp(10px, 1.2vw, 16px); background: var(--ink-2); color: #5d6f55; }
.vault-lock { width: clamp(18px, 2vw, 26px); height: clamp(18px, 2vw, 26px); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vault li.vault-yours { grid-column: span 2; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); padding: 0 clamp(16px, 2vw, 28px); aspect-ratio: auto; background: var(--chartreuse); color: var(--ink); box-shadow: 0 0 0 6px rgb(212 239 65 / .18); }
.vault-yours .vault-lock { flex: none; width: clamp(24px, 2.6vw, 34px); height: clamp(24px, 2.6vw, 34px); stroke-width: 2; }
.vault-yours span { display: flex; flex-direction: column; font-size: clamp(13px, 1.1vw, 15px); line-height: 1.35; }
.vault-yours strong { font-family: var(--display); font-size: clamp(18px, 1.8vw, 26px); font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 900px) {
  .vault ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vault li:nth-child(n+10) { display: none; }
  .vault li.vault-yours { grid-column: span 4; order: -1; padding: 16px 20px; }
}

/* ── Small screens ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .cover-foot { grid-template-columns: 1fr; }
  .nav.is-floating .nav-inner { margin-top: 10px; }
  .stage { grid-template-columns: 1fr; }
  .stage-arch { display: none; }
  .stage-col-narrow { order: 2; }
  .ink-stage { padding: 32px 0 0; }
  .ink-arch { width: 60%; height: 70%; top: 0; bottom: auto; }
  .ink-panel { width: 100%; }
  .ink-popover { position: relative; display: block; width: min(256px, 80%); margin: -24px 0 0 auto; }
  .pill-stage { min-height: 0; padding: 40px 0 0; }
  .pill-arch { width: 60%; }
  .closing-grid { grid-template-columns: 1fr; }

}

/* ── Page system (after linear.app's homepage, in moblit's light brand) ─────────
   The product rises out of the cover; then a two-tone statement, three promises with
   line drawings, and chapters that all share one shape: heading left, one paragraph
   right, a wide scene of product moments, three details under hairlines. */
.link-meta { margin-left: 4px; color: var(--muted); font-weight: 500; }
.cover:has(+ .hero-scene) { padding-bottom: calc(clamp(56px, 7vw, 96px) + clamp(160px, 20vw, 300px)); }
.hero-scene { position: relative; margin-top: calc(-1 * clamp(160px, 20vw, 300px)); }
.scene-canvas { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 56px); border-radius: clamp(20px, 2.4vw, 32px); background: var(--cream); box-shadow: 0 50px 100px -50px rgb(19 31 16 / .45), 0 0 0 1px rgb(19 31 16 / .08); }
.scene-canvas .stage { margin-top: 0; }

.statement { padding-top: clamp(80px, 10vw, 136px); }
.statement p { max-width: 34ch; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.03em; color: var(--muted); text-wrap: pretty; }
.statement strong { color: var(--ink); font-weight: 800; }


.chapter { padding-top: clamp(96px, 12vw, 160px); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.chapter-head > p { max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--muted); }
.chapter-head h2 { max-width: 14ch; }
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.details li { padding: 24px clamp(20px, 3vw, 40px) 0; border-left: 1px solid var(--hairline); }
.details li:first-child { padding-left: 0; border-left: 0; }
.details h3 { font-size: 19px; }
.details p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.chapter .pill-stage, .chapter .trip-stage, .chapter .ink-stage { margin-top: clamp(48px, 6vw, 72px); }

/* The documents chapter: the missing list, and a document under review beside it. */
.chapter .pill-stage { grid-template-columns: minmax(0, 1fr); padding: 48px 0 48px 8%; }
.chapter .pill-stage .moment:first-of-type { max-width: 640px; }
.ui-review { position: absolute !important; right: 0; bottom: 12px; width: min(360px, 44%); }

/* The trip chapter: an opened flight and a stay under way, over the arch. */
.trip-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 56px 0 56px 6%; }
.trip-arch { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-radius: 999px 999px 0 0; background: var(--chartreuse); }
.trip-stage .moment { position: relative; }
.trip-stage .ui-stay { margin-top: 72px; }

/* Consortia keeps the ink break, with the same inner shape as the other chapters. */
.chapter-ink { padding-bottom: clamp(96px, 12vw, 160px); }
.chapter-ink .chapter-head > p, .chapter-ink .details p { color: var(--on-ink-muted); }
.chapter-ink .details, .chapter-ink .details li { border-color: var(--hairline-ink); }

/* The film, now its own chapter instead of the cover. */
.film { padding-top: clamp(96px, 12vw, 160px); }
.film .hero-video { margin-top: clamp(48px, 6vw, 72px); }

@media (max-width: 900px) {
  .chapter-head, .details { grid-template-columns: 1fr; }
  .details li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--hairline); padding-bottom: 24px; }
  .chapter-ink .details li { border-color: var(--hairline-ink); }
  .chapter-lime .details li { border-color: #b2ca33; }
  .trip-stage { grid-template-columns: 1fr; padding-left: 0; }
  .trip-stage .ui-stay { margin-top: 0; }
  .trip-arch { width: 70%; }
  .ui-review { position: relative !important; width: 100%; bottom: auto; margin-top: 16px; }
  .chapter .pill-stage { padding-left: 0; }
}
@media (max-width: 420px) { .nav-button { padding: 0 14px; font-size: 13px; } .nav.is-floating .nav-button { padding: 0 14px; font-size: 13px; } }
