/* FlowsBuilt landing page. Warm paper, near-black ink, one cobalt accent. System fonts only (New York / SF on Apple). */
:root {
  --paper: #f5f1e8;
  --paper-2: #efe9dc;
  --card: #ffffff;
  --ink: #17150f;
  --ink-2: #3b372f;
  --muted: #5e594f;
  --line: #e3dccd;
  --line-2: #d6cdb9;
  --cobalt: #2b4fd8;
  --cobalt-ink: #ffffff;
  --cobalt-soft: #e7ecfc;
  --ok: #1d7a4e;
  --warn: #a4501a;
  --shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 8px 24px -8px rgba(40, 30, 10, .12), 0 40px 80px -40px rgba(40, 30, 10, .18);
  --serif: ui-serif, "New York", "Iowan Old Style", Charter, "Bitstream Charter", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141311;
    --paper-2: #1a1916;
    --card: #1f1d1a;
    --ink: #f2ede3;
    --ink-2: #d9d3c7;
    --muted: #aaa397;
    --line: #2e2b26;
    --line-2: #3a3630;
    --cobalt: #7f9bff;
    --cobalt-ink: #0d1330;
    --cobalt-soft: #1f2645;
    --ok: #5fcf96;
    --warn: #f0a167;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 20px 50px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }

/* type */
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.022em; line-height: 1.04;
  font-size: clamp(40px, 7.4vw, 84px); text-wrap: balance;
}
.display em { font-style: italic; color: var(--cobalt); }
.display--sm { font-size: clamp(34px, 5.4vw, 60px); }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.018em; text-wrap: balance; max-width: 18ch; }
.subtitle { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 88px 0 22px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.lede--sm { font-size: 18px; margin-top: 16px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--card) 60%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-soft); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--brand { background: var(--cobalt); color: var(--cobalt-ink); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--cobalt) 70%, transparent); }
.btn--brand:hover { background: color-mix(in srgb, var(--cobalt) 88%, var(--ink)); }
.btn--ghost { border-color: var(--line-2); background: transparent; }
.btn--ghost:hover { background: var(--card); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.nav__links { display: none; gap: 28px; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav__links { display: flex; } }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.logo__mark { width: 26px; height: 26px; }
.logo__mark rect { fill: var(--ink); }
.logo__mark path { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; }
.logo--sm { font-size: 16px; }

/* hero */
.hero { padding: clamp(36px, 6vw, 72px) 0 40px; overflow: hidden; }
.hero__copy { display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero .display { max-width: 17ch; font-size: clamp(40px, 6.6vw, 76px); }
.hero .display em { display: block; }
.hero .lede { max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* stage + live app */
.stage { margin-top: clamp(36px, 5vw, 56px); --brand: #2b4fd8; --brand-soft: #e7ecfc; transition: --brand .4s; }
.stage[data-brand="coach"] { --brand: #11785c; --brand-soft: #e1f2ec; }
.stage[data-brand="spa"] { --brand: #a03d72; --brand-soft: #f7e6ef; }
.stage[data-brand="resto"] { --brand: #a54a14; --brand-soft: #f8eadf; }
@media (prefers-color-scheme: dark) {
  .stage { --brand: #7f9bff; --brand-soft: #1f2645; }
  .stage[data-brand="coach"] { --brand: #4fcf9f; --brand-soft: #16302a; }
  .stage[data-brand="spa"] { --brand: #ef8cc0; --brand-soft: #36202d; }
  .stage[data-brand="resto"] { --brand: #f3a26b; --brand-soft: #37271c; }
}
@property --brand { syntax: "<color>"; inherits: true; initial-value: #2b4fd8; }

.brandbar { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
@media (max-width: 699px) {
  .brandbar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px 4px; scroll-snap-type: x proximity; }
  .brandbar::-webkit-scrollbar { display: none; }
  .swatch { flex: none; scroll-snap-align: start; }
}
.brandbar__label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-size: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.swatch i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.swatch:hover { border-color: var(--line-2); }
.swatch.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch:active { transform: scale(.96); }
.stage__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

.app {
  display: grid; grid-template-columns: 1fr; border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; text-align: left;
}
@media (min-width: 860px) { .app { grid-template-columns: 220px 1fr; } }
.app__side { display: none; border-right: 1px solid var(--line); padding: 18px 12px; background: color-mix(in srgb, var(--paper-2) 70%, var(--card)); }
@media (min-width: 860px) { .app__side { display: block; } }
.app__org { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 4px 8px 18px; }
.app__orgmark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 14px; transition: background-color .4s; }
@media (prefers-color-scheme: dark) { .app__orgmark { color: #111; } }
.app__side li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
.app__side li svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.app__side li.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.app__side li.on svg { color: var(--brand); opacity: 1; }
.app__side li b { margin-left: auto; font-size: 12px; background: var(--brand); color: #fff; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; transition: background-color .4s; }
@media (prefers-color-scheme: dark) { .app__side li b { color: #111; } }

.app__main { padding: clamp(18px, 3vw, 34px); min-width: 0; }
.app__top { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(22px, 3.4vw, 36px); }
.ask { flex: 1; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14px; max-width: 460px; }
.ask svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ask kbd { margin-left: auto; font: 12px var(--sans); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.chip { font-size: 12px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.app__date { font-size: 13px; color: var(--muted); letter-spacing: .02em; margin-bottom: 8px; }
.app__headline { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 3.3vw, 38px); line-height: 1.14; letter-spacing: -.015em; max-width: 24ch; min-height: 2.28em; text-wrap: balance; }
.app__headline.swap { animation: swap .55s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }

.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 26px 0 18px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; counter-reset: s; }
@media (min-width: 640px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip li { background: var(--card); padding: 14px 16px; position: relative; }
.strip span { display: block; font-size: 12.5px; color: var(--muted); }
.strip strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; line-height: 1.2; margin-top: 2px; }
.strip em { font-style: normal; font-size: 12.5px; color: var(--brand); transition: color .4s; }
@media (min-width: 640px) {
  .strip li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); font-size: 10px; display: grid; place-items: center; color: var(--muted); }
}

.panels { display: grid; gap: 14px; }
@media (min-width: 720px) { .panels { grid-template-columns: 1.35fr 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.panel header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.panel h3 { font-size: 14px; font-weight: 650; }
.count { font-size: 12px; font-weight: 700; background: var(--brand-soft); color: var(--brand); border-radius: 99px; padding: 1px 8px; font-variant-numeric: tabular-nums; transition: background-color .4s, color .4s; }

.needs li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); transition: opacity .35s; }
.needs li:first-child { border-top: 0; }
.needs .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--brand-soft); color: var(--brand); transition: background-color .4s, color .4s; }
.needs .av--hot { background: #fde4dc; color: #a2341a; }
@media (prefers-color-scheme: dark) { .needs .av--hot { background: #3a1f18; color: #ff9a7d; } }
.needs b { display: block; font-size: 14.5px; font-weight: 600; }
.needs small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.act { min-height: 36px; padding: 0 14px; border-radius: 99px; border: 0; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .4s, transform .2s var(--ease); }
@media (prefers-color-scheme: dark) { .act { color: #111; } }
.act:active { transform: scale(.95); }
.needs li.is-done { opacity: .55; }
.needs li.is-done b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.needs li.is-done .act { background: transparent; color: var(--ok); padding: 0 6px; }
.needs li.is-done .act svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: tick .45s var(--ease); }
@keyframes tick { from { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.18); } }
.allclear { padding: 18px 0 8px; color: var(--muted); font-size: 14px; }

.activity li { display: flex; gap: 10px; padding: 9px 0; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line); }
.activity li:first-child { border-top: 0; }
.activity i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 7px; transition: background-color .4s; }
.activity time { margin-left: auto; color: var(--muted); font-size: 12.5px; white-space: nowrap; padding-left: 8px; }

/* outcomes */
.outcomes { padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); }
.trio { display: grid; gap: 36px; }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.trio article { border-top: 1px solid var(--ink); padding-top: 20px; }
.num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.trio h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.012em; margin: 8px 0 10px; }
.trio p { color: var(--ink-2); }

/* layers */
.layers { padding: clamp(56px, 8vw, 104px) 0; }
.layers__grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .layers__grid { grid-template-columns: repeat(3, 1fr); } }
.layer { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: relative; }
.layer:nth-child(2) { transform: none; }
@media (min-width: 900px) {
  .layer:nth-child(1) { box-shadow: 10px 10px 0 -1px var(--paper), 10px 10px 0 0 var(--line), 20px 20px 0 -1px var(--paper), 20px 20px 0 0 var(--line); }
}
.layer__who { font-size: 13px; font-weight: 600; color: var(--cobalt); letter-spacing: .02em; }
.layer h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.18; margin: 10px 0 18px; }
.ticks li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }

/* product features */
.product { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.feature { display: grid; gap: 28px; align-items: center; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 880px) {
  .feature { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .feature--flip .feature__copy { order: 2; }
}
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -.012em; margin-bottom: 14px; text-wrap: balance; }
.feature p { color: var(--ink-2); max-width: 30em; }

.mini { background: var(--paper-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 10px; box-shadow: var(--shadow); }
.msg { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.msg b { font-weight: 600; margin-left: 6px; }
.msg p { color: var(--ink-2); margin-top: 4px; }
.msg--ai { border-color: color-mix(in srgb, var(--cobalt) 40%, var(--line)); box-shadow: 0 0 0 4px var(--cobalt-soft); }
.msg__act { display: flex; gap: 8px; margin-top: 10px; }
.tag { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--paper-2); border-radius: 6px; padding: 2px 7px; }
.tag--brand { background: var(--cobalt-soft); color: var(--cobalt); }
.pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.pill--brand { background: var(--cobalt); border-color: var(--cobalt); color: var(--cobalt-ink); }

.mini--flow { justify-items: center; gap: 0; padding-block: 28px; }
.node { width: min(320px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; font-weight: 600; }
.node small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.node--trig { border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-soft); }
.node--trig small { color: var(--cobalt); }
.node--wait { border-style: dashed; }
.wire { width: 2px; height: 18px; background: linear-gradient(var(--line-2), var(--line-2)) center/2px 100% no-repeat; position: relative; overflow: hidden; }
.wire::after { content: ""; position: absolute; left: 0; top: -8px; width: 2px; height: 8px; background: var(--cobalt); animation: flow 2.4s linear infinite; }
.wire:nth-of-type(4)::after { animation-delay: .5s; } .wire:nth-of-type(6)::after { animation-delay: 1s; } .wire:nth-of-type(8)::after { animation-delay: 1.5s; }
@keyframes flow { to { top: 26px; } }

.mini--call { gap: 14px; }
.call { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.call b { display: block; font-size: 15px; }
.call small { color: var(--muted); font-size: 13px; }
.call__ring { width: 42px; height: 42px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.call__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); animation: ring 1.8s var(--ease) infinite; }
.call__ring::after { content: ""; position: absolute; inset: 12px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5h3.5l1.8 4.6-2.3 1.4a11 11 0 0 0 6.5 6.5l1.4-2.3 4.6 1.8V19a1.5 1.5 0 0 1-1.6 1.5C10.6 20 4 13.4 3.5 5.1A1.5 1.5 0 0 1 5 3.5z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5h3.5l1.8 4.6-2.3 1.4a11 11 0 0 0 6.5 6.5l1.4-2.3 4.6 1.8V19a1.5 1.5 0 0 1-1.6 1.5C10.6 20 4 13.4 3.5 5.1A1.5 1.5 0 0 1 5 3.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.callsteps { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px; }
.callsteps li { position: relative; padding: 11px 0 11px 30px; font-size: 14.5px; border-top: 1px solid var(--line); }
.callsteps li:first-child { border-top: 0; }
.callsteps li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.callsteps li.done::before { background: var(--ok); border-color: var(--ok); }
.callsteps li.done::after { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 3.5px; margin-top: -3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.callsteps li.now { font-weight: 600; }
.callsteps li.now::before { border-color: var(--cobalt); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 10px var(--cobalt); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 10px var(--cobalt), 0 0 0 5px var(--cobalt-soft); } }

.mini--pay { grid-template-columns: 1fr; }
@media (min-width: 520px) { .mini--pay { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.inv { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 4px; justify-items: start; }
.inv--b { margin-top: 0; }
@media (min-width: 520px) { .inv--b { margin-top: 36px; } }
.inv__row { display: flex; justify-content: space-between; width: 100%; font-size: 13px; color: var(--muted); }
.inv strong { font-family: var(--serif); font-weight: 400; font-size: 30px; font-variant-numeric: tabular-nums; }
.inv small { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.badge { font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.badge--due { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.badge--ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }

.grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid li { background: var(--card); padding: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; }
.grid svg { grid-row: span 2; width: 22px; height: 22px; fill: none; stroke: var(--cobalt); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.grid b { font-size: 16px; }
.grid span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* packs */
.packs { padding: clamp(56px, 8vw, 104px) 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.packlist { display: grid; gap: 12px; margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .packlist { grid-template-columns: repeat(4, 1fr); } }
.pack { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 4px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.pack:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pack b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; }
.pack small { font-size: 13.5px; color: var(--muted); }
.pack--lead { grid-column: 1 / -1; background: var(--ink); color: var(--paper); border-color: var(--ink); padding: 24px; }
.pack--lead b { font-size: 28px; }
.pack--lead small { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: 15px; }
@media (min-width: 900px) { .pack--lead { grid-column: span 2; grid-row: span 2; align-content: end; } .pack--lead b { font-size: 34px; } }
.pack__tag { justify-self: start; font-size: 12px; font-weight: 600; color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent); border-radius: 99px; padding: 3px 10px; margin-bottom: auto; }
@media (min-width: 900px) { .pack__tag { margin-bottom: 64px; } }
.market { grid-column: 1 / -1; display: flex; gap: 24px; align-items: center; justify-content: space-between; border: 1px dashed var(--line-2); border-radius: 16px; padding: 22px 24px; }
.market h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.market p { color: var(--ink-2); margin-top: 4px; }

/* platform: the one dark band */
.built { padding: clamp(64px, 9vw, 120px) 0; background: #15140f; color: #efe9dd; }
@media (prefers-color-scheme: dark) { .built { background: #0c0b0a; border-block: 1px solid var(--line); } }
.built__in { display: grid; gap: 44px; }
@media (min-width: 900px) { .built__in { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.built p { color: #c9c2b4; max-width: 32em; margin-top: 18px; }
.kicker--soft { color: #9fb3ff; }
.title--inv { color: #fbf7ef; }
.specs { display: grid; grid-template-columns: 1fr; border-top: 1px solid #34312a; }
@media (min-width: 560px) { .specs { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.specs li { padding: 18px 0; border-bottom: 1px solid #34312a; }
.specs b { display: block; font-weight: 600; color: #fbf7ef; }
.specs span { font-size: 14.5px; color: #b5ae9f; }

/* faq */
.faq { padding: clamp(64px, 9vw, 120px) 0; }
.faq .title { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* access CTA */
.access { padding: clamp(72px, 10vw, 136px) 0; text-align: center; background: radial-gradient(60% 70% at 50% 100%, var(--cobalt-soft), transparent 70%); }
.access__in { display: grid; justify-items: center; gap: 4px; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; width: min(520px, 100%); }
.signup input { flex: 1 1 240px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 16px var(--sans); }
.signup input::placeholder { color: var(--muted); }
.signup input:focus-visible { outline-offset: 1px; border-radius: 999px; }
.signup .btn { min-height: 52px; flex: 0 0 auto; }
.signup__msg { flex-basis: 100%; min-height: 1.5em; font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.signup__msg.is-err { color: var(--warn); }

.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.foot .logo { color: var(--ink); }

/* reveal on scroll (only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* phone polish */
.brandbar__label, .swatch { white-space: nowrap; }
@media (max-width: 699px) {
  .brandbar__label { display: none; }
  .ask { font-size: 13.5px; white-space: nowrap; overflow: hidden; }
  .ask kbd { display: none; }
  .hero .lede { font-size: 17.5px; }
}
.pack--wide { grid-column: span 2; }
@media (max-width: 699px) { .brandbar { scroll-padding-inline: 20px; } }
/* hero shows at once: a short CSS rise, never waits on the scroll observer */
.js .hero__copy .reveal { opacity: 1; transform: none; transition: none; animation: rise .6s var(--ease) both; }
.js .hero__copy .reveal:nth-child(2) { animation-delay: .05s; } .js .hero__copy .reveal:nth-child(3) { animation-delay: .1s; } .js .hero__copy .reveal:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: .001; transform: translateY(10px); } }
