/* ---------------------------------------------------------------------------------------------
   Preproject — landing page.

   The palette is the brand mark's (assets/logo.png): its orange #f16030 as the accent, its
   near-black as the dark ground, its cream #fcf0d5 as the light ground. Fraunces for names,
   Bricolage Grotesque for everything else. Dark by default, light when the system (or the
   toggle) says so.
   --------------------------------------------------------------------------------------------- */

:root {
  --ground: #0f1312;
  --surface: #181d1b;
  --raised: #232926;
  --line: #363e39;
  --ink: #f4ecdb;
  --faint: #a0a295;
  --accent: #f16030;
  --accent-fg: #0f1312;
  --ember: #ef4747;
  --gold: #e4c170;
  --moss: #8fbf8f;
  --task: #b5a88c;
  --crew-1: #b79cf0; --crew-2: #f08db8; --crew-3: #7fa0f2;
  --crew-4: #5fcbb8; --crew-5: #d2a06a; --crew-6: #9dafbf;
  --crew-fg: #0f1312;
  --shadow: 0 18px 50px -24px rgb(0 0 0 / 0.85);
  --glow: 0.09;

  --sans: "Bricolage Grotesque", ui-sans-serif, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: Fraunces, "Iowan Old Style", Charter, Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ground: #faf1dc;
    --surface: #fffcf3;
    --raised: #f0e4c8;
    --line: #ded0ae;
    --ink: #191511;
    --faint: #6f6752;
    --accent: #b3400e;
    --accent-fg: #fff6e8;
    --ember: #b3261e;
    --gold: #94741f;
    --moss: #3e7d3e;
    --task: #6e6246;
    --crew-1: #6d4fb0; --crew-2: #b0477a; --crew-3: #3f63c4;
    --crew-4: #2e8a7a; --crew-5: #8a5a2b; --crew-6: #6b6454;
    --crew-fg: #fffcf3;
    --shadow: 0 16px 40px -28px rgb(43 32 16 / 0.5);
    --glow: 0.07;
  }
}
:root[data-theme="light"] {
  --ground: #faf1dc;
  --surface: #fffcf3;
  --raised: #f0e4c8;
  --line: #ded0ae;
  --ink: #191511;
  --faint: #6f6752;
  --accent: #b3400e;
  --accent-fg: #fff6e8;
  --ember: #b3261e;
  --gold: #94741f;
  --moss: #3e7d3e;
  --task: #6e6246;
  --crew-1: #6d4fb0; --crew-2: #b0477a; --crew-3: #3f63c4;
  --crew-4: #2e8a7a; --crew-5: #8a5a2b; --crew-6: #6b6454;
  --crew-fg: #fffcf3;
  --shadow: 0 16px 40px -28px rgb(43 32 16 / 0.5);
  --glow: 0.07;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The chart ground: a faint ruled grid with a soft accent glow behind the fold. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 36rem at 72% -8%, color-mix(in srgb, var(--accent) calc(var(--glow) * 100%), transparent), transparent 70%),
    radial-gradient(44rem 30rem at 6% 4%, color-mix(in srgb, var(--gold) calc(var(--glow) * 45%), transparent), transparent 70%),
    linear-gradient(to right, color-mix(in srgb, var(--line) 42%, transparent) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 42%, transparent) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0, #000 60rem, transparent 86rem);
}

h1, h2, h3, .f-display {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

.lbl {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 600;
  font-stretch: 87.5%;
  letter-spacing: 0.015em;
  line-height: 1.3;
}

/* ---- buttons ------------------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 9px;
  font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 140ms, border-color 140ms, color 140ms, transform 140ms;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 84%, var(--ink)); }
.btn-ghost { border-color: var(--line); color: var(--ink); font-weight: 500; background: transparent; }
.btn-ghost:hover { background: var(--raised); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 8px; }
.btn-big { height: 46px; padding: 0 22px; font-size: 15.5px; }

/* ---- top bar ------------------------------------------------------------------------------ */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms, background-color 160ms;
}
.topbar.is-stuck { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; height: 64px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
}
.wordmark .glyph { color: var(--accent); display: inline-flex; }
.wordmark .glyph img { display: block; }

.topnav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.topnav a {
  color: var(--faint); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 140ms;
}
.topnav a:hover { color: var(--ink); }
.topnav a.btn-accent, .topnav a.btn-accent:hover { color: var(--accent-fg); }
@media (max-width: 760px) { .topnav .nav-link { display: none; } }

.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  color: var(--faint); cursor: pointer; transition: color 140ms, background-color 140ms;
}
.theme-btn:hover { color: var(--ink); background: var(--raised); }
.theme-btn .icon-moon { display: none; }
:root[data-theme="light"] .theme-btn .icon-moon { display: block; }
:root[data-theme="light"] .theme-btn .icon-sun { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .icon-moon { display: block; }
  :root:not([data-theme="dark"]) .theme-btn .icon-sun { display: none; }
}

/* ---- sections ----------------------------------------------------------------------------- */

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 46rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-top: 0.6rem; }
.section-head p { color: var(--faint); font-size: 17px; margin-top: 0.9rem; }

.rule { height: 1px; background: linear-gradient(to right, var(--line), transparent); border: 0; margin: 0; }

/* ---- hero --------------------------------------------------------------------------------- */

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px 5px 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12.5px; font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.015em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-left: 2px; }

.hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); margin-top: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--faint); font-size: clamp(16.5px, 1.5vw, 18.5px); margin-top: 1.3rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 1.4rem; color: var(--faint); font-size: 13.5px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--moss); flex: none; }

/* ---- the app mock (hand-built from the app's own parts) ------------------------------------ */

.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: var(--raised);
  border-bottom: 1px solid var(--line);
}
.mock-bar .lights { display: flex; gap: 6px; }
.mock-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar .url {
  margin-left: 4px; color: var(--faint); font-size: 12px; font-feature-settings: "tnum";
}
.mock-bar .live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  color: var(--moss); font-size: 11.5px; font-weight: 600; font-stretch: 87.5%;
}
.mock-bar .live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.mock-body { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .mock-body { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }

.now-col { padding: 14px 0 10px; border-right: 1px solid var(--line); }
.now-head { padding: 0 14px 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.now-head .where { color: var(--faint); font-size: 11.5px; font-weight: 600; font-stretch: 87.5%; }
.now-head .name { font-family: var(--display); font-weight: 600; font-size: 17px; margin-top: 2px; }
.now-head .meta { color: var(--faint); font-size: 12px; margin-top: 3px; }
.now-head .meta b { color: var(--accent); font-weight: 600; }

.now-col .lbl { padding: 10px 14px 5px; }
.now-col .lbl:first-of-type { padding-top: 0; }

.tile {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 8px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.tile:last-child { border-bottom: 0; }
.tile-text { min-width: 0; flex: 1; }
.tile-text > span { display: block; }
.tile-title { font-size: 14px; line-height: 1.3; }
.tile.is-milestone .tile-title { font-weight: 600; }
.tile.is-done .tile-title { color: var(--faint); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--faint) 60%, transparent); }
.tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-top: 3px; color: var(--faint); font-size: 11.5px; }
.tile-meta .late { color: var(--ember); font-weight: 600; }
.tile-meta .soon { color: var(--accent); font-weight: 600; }
.star { color: var(--gold); flex: none; margin-top: 1px; }

/* type marks: hollow ring = task, hollow diamond = milestone, flask = question; moss when done */
.tm { flex: none; width: 16px; height: 16px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; }
.tm-task::before { content: ""; width: 12px; height: 12px; border: 1.7px solid currentColor; border-radius: 50%; }
.tm-milestone::before { content: ""; width: 11px; height: 11px; border: 1.7px solid currentColor; transform: rotate(45deg); }
.tm-done::before { background: currentColor; }
.tm.t-task { color: var(--task); }
.tm.t-milestone { color: var(--gold); }
.tm.t-spike { color: var(--ember); }
.tm.t-done { color: var(--moss); }

.crew {
  flex: none; width: 19px; height: 19px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--crew-fg); font-size: 9.5px; font-weight: 700; letter-spacing: 0.01em;
}
.crew-1 { background: var(--crew-1); } .crew-2 { background: var(--crew-2); }
.crew-3 { background: var(--crew-3); } .crew-4 { background: var(--crew-4); }

.quick-add {
  margin: 10px 14px 0; padding: 7px 10px;
  background: var(--ground); border: 1px solid var(--line); border-radius: 8px;
  color: var(--faint); font-size: 13px;
  display: flex; align-items: center; gap: 7px;
}
.quick-add .typed { color: var(--ink); }
.quick-add .caret {
  width: 1.5px; height: 15px; background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .quick-add .caret { animation: none; } }

.map-col { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.map-switch { display: flex; gap: 3px; padding: 3px; background: var(--ground); border: 1px solid var(--line); border-radius: 8px; }
.map-switch span {
  flex: 1; text-align: center; padding: 4px 6px; border-radius: 6px;
  color: var(--faint); font-size: 11.5px; font-weight: 600; font-stretch: 87.5%;
}
.map-switch span.on { background: var(--raised); color: var(--ink); }
.map-col svg { width: 100%; height: auto; display: block; }
.map-caption { color: var(--faint); font-size: 11.5px; }

/* ---- idea cards --------------------------------------------------------------------------- */

.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2.6rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 1.4rem 1.4rem 1.5rem;
}
.card h3 { font-size: 19px; margin-top: 0.9rem; }
.card p { color: var(--faint); font-size: 14.5px; margin-top: 0.6rem; }
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, currentColor 14%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}
.m-ember { color: var(--ember); } .m-accent { color: var(--accent); }
.m-gold { color: var(--gold); } .m-moss { color: var(--moss); }
.m-task { color: var(--task); } .m-crew { color: var(--crew-1); }

/* ---- feature rows ------------------------------------------------------------------------- */

.feature {
  display: grid; gap: clamp(1.8rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .feature.flip .feature-art { order: -1; }
}
.feature h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 0.55rem; }
.feature > div > p { color: var(--faint); font-size: 16px; margin-top: 0.85rem; }
.feature ul { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.feature li { display: flex; gap: 9px; font-size: 14.5px; color: var(--faint); }
.feature li b { color: var(--ink); font-weight: 600; }
.feature li svg { flex: none; margin-top: 4px; color: var(--accent); }

.art {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  padding: 1rem; box-shadow: var(--shadow);
}
.art svg { width: 100%; height: auto; display: block; }

/* the quick-add key */
.syntax { display: grid; gap: 0.5rem; margin-top: 1rem; }
.syntax div { display: flex; align-items: baseline; gap: 11px; font-size: 14px; color: var(--faint); }
.syntax code {
  flex: none; width: 1.6rem; text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 600;
  color: var(--ink);
}
.syntax .k-gold { color: var(--gold); } .syntax .k-ember { color: var(--ember); }
.syntax .k-accent { color: var(--accent); } .syntax .k-task { color: var(--task); }

/* ---- grid of smaller features --------------------------------------------------------------*/

.grid-feats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin-top: 2.6rem; }
@media (min-width: 640px) { .grid-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat { background: var(--surface); padding: 1.35rem 1.4rem 1.5rem; }
.feat h4 { margin: 0.75rem 0 0; font-size: 15.5px; font-weight: 600; }
.feat p { color: var(--faint); font-size: 14px; margin-top: 0.4rem; }
.feat .mark { width: 30px; height: 30px; border-radius: 8px; }

/* ---- apps --------------------------------------------------------------------------------- */

.apps { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin-top: 2.6rem; }
.app-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.app-card h3 { font-size: 20px; }
.app-card p { color: var(--faint); font-size: 14.5px; }
.app-card .btn { margin-top: auto; align-self: flex-start; }
.app-card .tag {
  align-self: flex-start; margin-top: auto;
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--faint); font-size: 12px; font-weight: 600; font-stretch: 87.5%;
}

/* ---- closing call ---------------------------------------------------------------------------*/

.closing {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(2rem, 5vw, 3.4rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.closing h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.closing p { color: var(--faint); font-size: 17px; margin-top: 1rem; margin-inline: auto; max-width: 34rem; }
.closing .hero-cta { justify-content: center; }

/* ---- footer ------------------------------------------------------------------------------- */

footer { border-top: 1px solid var(--line); padding-block: 2.2rem 3rem; margin-top: clamp(3rem, 7vw, 5rem); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-left: auto; }
.foot a { color: var(--faint); text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--ink); }
.foot .copy { color: var(--faint); font-size: 13.5px; }

/* ---- entrance ------------------------------------------------------------------------------*/

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

:where(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---- corrections and small screens ----------------------------------------------------------*/

/* anchors land below the sticky bar */
section[id] { scroll-margin-top: 76px; }

/* the mock stacks under 560px: the divider moves to the bottom of the NOW column */
@media (max-width: 559px) {
  .now-col { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .mock-bar .url { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Safari still wants the prefix for the fading grid */
body::before { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 60rem, transparent 86rem); }

/* ---- how it works: the three beats ----------------------------------------------------------*/

.steps { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 2.6rem; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  padding: 1.4rem; display: flex; flex-direction: column; gap: 0.8rem;
}
.step .n {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  color: var(--accent); font-size: 13px; font-weight: 700; font-feature-settings: "tnum";
}
.step h3 { font-size: 19px; }
.step > p { color: var(--faint); font-size: 14.5px; }
.step-art {
  margin-top: auto; padding: 11px 12px;
  background: var(--ground); border: 1px solid var(--line); border-radius: 10px;
}
.step-art svg { width: 100%; height: auto; display: block; }
.step-art .tile { padding: 6px 0; }
.step-art .tile:last-child { border-bottom: 0; }
.bars i { display: block; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--faint) 30%, transparent); }
.bars i + i { margin-top: 8px; }
.bars i.lit { background: color-mix(in srgb, var(--accent) 55%, transparent); }
.step .syntax { margin-top: 0; }
.step .syntax div { font-size: 13.5px; }

/* ---- hero: read in five seconds -------------------------------------------------------------*/

/* the scan row is a column, not a sentence: three ticks the eye takes one at a time */
.hero-note { flex-direction: column; gap: 0.55rem; font-size: 14px; }
.hero-note span { align-items: flex-start; }
.hero-note svg { margin-top: 4px; }

.cta-micro { margin-top: 0.85rem; color: var(--faint); font-size: 13px; }

/* the two captions under the mock say what each half of the picture is for */
.now-caption {
  margin: 12px 14px 2px;
  color: var(--accent);
  font-size: 12px; font-weight: 600; font-stretch: 87.5%; line-height: 1.35;
}
.map-caption { line-height: 1.35; }

/* ---- pricing page --------------------------------------------------------------------------*/

.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-top: 0.7rem; }
.page-head > p { color: var(--faint); font-size: 17.5px; margin: 1.1rem auto 0; max-width: 36rem; }

.billing {
  display: inline-flex; gap: 3px; margin: 2rem auto 0; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.billing button {
  padding: 7px 15px; border: 0; border-radius: 7px; background: transparent;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--faint); cursor: pointer;
  transition: background-color 140ms, color 140ms;
}
.billing button[aria-pressed="true"] { background: var(--raised); color: var(--ink); }
.billing-note { display: block; margin-top: 0.8rem; color: var(--moss); font-size: 13px; font-weight: 600; }
.billing-note[hidden] { display: none; }

.price-grid {
  display: grid; gap: 1.2rem; margin-top: 2.6rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 820px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.price-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
  padding: 1.8rem 1.7rem 1.9rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.price-card.is-featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow);
}
.price-card .flag {
  position: absolute; top: -11px; left: 1.7rem;
  padding: 3px 10px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 11.5px; font-weight: 700; font-stretch: 87.5%; letter-spacing: 0.015em;
}
.price-card h2 { font-size: 21px; }
.price-card .who { color: var(--faint); font-size: 14.5px; }
.price-amount {
  display: flex; align-items: baseline; gap: 7px; margin: 0.9rem 0 0.2rem;
  font-family: var(--display); font-weight: 600; letter-spacing: -0.02em;
}
.price-amount .num { font-size: clamp(2.3rem, 5vw, 2.9rem); line-height: 1; font-feature-settings: "tnum"; }
.price-amount .per { font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.price-sub { color: var(--faint); font-size: 13.5px; min-height: 1.3em; }

.price-card ul { list-style: none; margin: 1.4rem 0 1.7rem; padding: 0; display: grid; gap: 0.65rem; }
.price-card li { display: flex; gap: 9px; font-size: 14.5px; }
.price-card li svg { flex: none; margin-top: 4px; color: var(--moss); }
.price-card li b { font-weight: 600; }
.price-card .btn { margin-top: auto; }

.included {
  margin-top: 2.6rem; padding: 1.6rem 1.7rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
}
.included ul {
  list-style: none; margin: 1.1rem 0 0; padding: 0;
  display: grid; gap: 0.6rem 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.included li { display: flex; gap: 9px; color: var(--faint); font-size: 14.5px; }
.included li svg { flex: none; margin-top: 4px; color: var(--accent); }
.included li b { color: var(--ink); font-weight: 600; }

.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin-top: 2.6rem; }
.faq details { background: var(--surface); }
.faq summary {
  display: flex; align-items: center; gap: 10px; padding: 1.05rem 1.4rem; cursor: pointer;
  font-size: 15.5px; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; width: 9px; height: 9px;
  border-right: 1.8px solid var(--faint); border-bottom: 1.8px solid var(--faint);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 160ms;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--raised); }
.faq p { padding: 0 1.4rem 1.2rem; color: var(--faint); font-size: 14.5px; max-width: 48rem; }

.fineprint { margin-top: 1.6rem; color: var(--faint); font-size: 13px; }

.cta-micro a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.cta-micro a:hover { border-bottom-color: currentColor; }
.closing .cta-micro { margin-top: 1.1rem; }
.topnav a[aria-current="page"] { color: var(--ink); }
