/* Hallmark · shape: Workbench · genre: editorial · theme: brand · redesign: full · job: sign up · draw: e9d627 · copy: kept, terms verbatim
 * paper: oklch(95% 0.012 75) · accent: oklch(70% 0.06 80) · display: Cormorant Garamond · body: Jost · hero: Settled (draw: Corridor, swapped: the product is the strongest real thing) · nav: edge-aligned (the shared topbar, kept) · footer: mast · signature: the day of the wedding at 21:14, built live in the hero
 * axes: light/high-contrast-serif/warm · posture: quiet (gold under 5%) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P and E, the hero sentence is the owner's two-sentence line kept as found; set it at lead size on six columns instead of cutting words */
/* Hallmark · waive 84 · the six pieces are built samples, the dev database holds client guest lists · capturing the running app would publish wedding couples' private data on the landing */
/* Hallmark · answered F4 · the filled mini button and the pressed period switch are states of the product sample and the toggle, not second primary buttons */
/* Hallmark · dismissed kept figures 78%, 62%, 01 to 06 · the portal and budget figures sit in the desktop stage, shown one at a time; the numerals are the ledger's ol counter */
/* Hallmark · dropped "Para wedding planners" eyebrow, the hero desk of six pieces, the teardown stage copy, .entry__artifact repeats, the reassembly chips · 54 names the eyebrow; each piece now shows once */

@import url("./landing/tokens.d477d3517f46.css");
@import url("./landing/base.d37ee2639c74.css");

/* ============================================================
   SERENZA · landing.css
   The planner's environment, piece by piece. Brand from DESIGN.md:
   cream paper, forest ink, aged gold under five percent. Cormorant
   speaks, Jost reports. Flat at rest; shadow only as a response.
   ============================================================ */

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--space-3xl); }
h1, h2, h3 { color: var(--color-ink); }
.lead { color: var(--color-ink-2); font-weight: 300; }

/* the shared topbar, restated for the landing: sentence case, untracked */
.topbar { color: var(--color-ink); }
.topbar.scrolled { background: color-mix(in oklab, var(--color-paper) 92%, transparent); box-shadow: 0 1px 0 var(--color-rule); }
.brand { color: var(--color-ink); }
.brand__dot { fill: var(--color-accent); }
.brand .wm { font-family: var(--font-display); letter-spacing: 0; color: currentColor; }
.topbar nav a {
  font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: 0; text-transform: none;
  color: var(--color-ink-2); white-space: nowrap; padding-block: var(--space-xs);
}
.topbar nav a:hover { color: var(--color-ink); text-decoration: underline; }
.topbar__mobile-menu a { font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.topbar__burger span { background: var(--color-ink); }

/* buttons: one primary style, 48px tall, sentence case */
.btn {
  font-family: var(--font-body); font-size: var(--text-md); font-weight: 400;
  letter-spacing: 0; text-transform: none; line-height: 1;
  min-height: 48px; padding: 0 var(--space-lg); gap: var(--space-xs);
  border-radius: var(--radius-control); border: 1px solid var(--color-ink);
  background: var(--color-ink); color: var(--color-paper);
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.btn:hover { background: var(--color-forest-2); border-color: var(--color-forest-2); color: var(--color-paper); }
.btn:active { background: var(--color-sage-deep); border-color: var(--color-sage-deep); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn--lg { min-height: 52px; padding: 0 var(--space-xl); font-size: var(--text-md); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--gold { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.btn--gold:hover { background: var(--color-gold-ink); border-color: var(--color-gold-ink); color: var(--color-paper); }
.topbar .right { gap: var(--space-sm); }
.topbar .right .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); letter-spacing: 0; }
.topbar__mobile-menu .btn { min-height: 48px; }

.skip-link {
  position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal);
  background: var(--color-ink); color: var(--color-paper); padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-control); transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.mock-caption { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reveal { opacity: 1; transform: none; }

/* split head block: the head on 1 to 6, its line on 8 to 12 */
.split-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns);
  align-items: end; margin-bottom: var(--space-2xl);
}
.split-head h2 { grid-column: 1 / span 7; }
.split-head .lead { grid-column: 8 / -1; }
@media (max-width: 60rem) {
  .split-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .split-head h2, .split-head .lead { grid-column: 1 / -1; }
}

/* ============================================================
   HERO · Settled: the copy on six columns, the day at work on six
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: var(--space-4xl) var(--space-2xl);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  column-gap: var(--space-3xl); align-items: center;
}
.hero h1 { font-size: var(--text-display); line-height: 1.02; max-width: 14ch; }
.hero__lead { margin-top: var(--space-lg); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__terms { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.hero__figure[data-slot] { margin: 0; background: none; overflow: visible; display: grid; gap: var(--space-sm); justify-items: center; }
.hero__art { width: min(100%, 38rem); --art-size: 1.5rem; }
.hero__art .art { box-shadow: var(--shadow-lift); border-color: var(--color-sand); }
.hero__figure figcaption { justify-self: center; }

@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: calc(var(--space-3xl) + var(--space-md)) var(--section-gap-s); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .hero__art { --art-size: 1rem; }
}
@media (max-width: 40rem) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ============================================================
   ARTEFACTOS · the product built, sized in em from --art-size
   ============================================================ */
.art {
  font-size: var(--art-size, 1rem);
  background: var(--color-paper-2);
  border: 1px solid var(--color-paper-3);
  border-radius: var(--radius-card);
  padding: 1.1em 1.2em;
  display: flex; flex-direction: column; gap: 0.8em;
  width: 100%; text-align: left; color: var(--color-ink);
  font-family: var(--font-body);
}
.art__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4em 0.7em; }
.art__label { font-size: 0.8125em; font-weight: 500; color: var(--color-ink-2); }
.art__label--gold { color: var(--color-gold-ink); }
.art__meta { font-size: 0.8125em; color: var(--color-muted); white-space: nowrap; }
.art__live { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.8125em; font-weight: 500; color: var(--color-sage-deep); white-space: nowrap; }
.art__pulse { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--color-sage); }
.art__foot {
  font-size: 0.8125em; font-weight: 300; color: var(--color-muted);
  border-top: 1px solid var(--color-paper-3); padding-top: 0.7em; margin-top: auto;
  display: flex; align-items: center; gap: 0.45em; line-height: 1.4;
}
.art__foot--ok { color: var(--color-sage-deep); }

/* 01 · the day */
.tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tl__row { display: flex; align-items: center; gap: 0.8em; padding: 0.55em 0.65em; border-top: 1px solid var(--color-paper-3); }
.tl__row:first-child { border-top: 0; }
.tl__time { font-family: var(--font-display); font-size: 1.15em; color: var(--color-ink); width: 2.9em; flex: 0 0 auto; line-height: 1; font-variant-numeric: tabular-nums; }
.tl__what { font-size: 0.875em; color: var(--color-ink); flex: 1; min-width: 0; line-height: 1.3; }
.tl__what small { display: block; font-size: 0.86em; font-weight: 300; color: var(--color-muted); margin-top: 0.1em; }
.tl__row--now { background: color-mix(in oklab, var(--color-accent) 14%, transparent); border-radius: var(--radius-control); border-color: transparent; }
.tl__row--now + .tl__row { border-top: 0; }
.tl__row--now .tl__time { color: var(--color-gold-ink); }
.tl__now {
  flex: 0 0 auto; font-size: 0.75em; font-weight: 500; color: var(--color-gold-ink);
  border: 1px solid color-mix(in oklab, var(--color-accent) 55%, transparent);
  padding: 0.2em 0.65em; border-radius: var(--radius-pill);
}

/* 02 · quotes */
.art__link {
  font-size: 0.8125em; color: var(--color-gold-ink);
  background: var(--color-paper); border: 1px solid var(--color-paper-3);
  border-radius: var(--radius-pill); padding: 0.35em 0.85em; align-self: flex-start;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rfq-reply { background: var(--color-paper); border: 1px solid var(--color-paper-3); border-radius: var(--radius-control); padding: 0.8em 0.9em; display: flex; flex-direction: column; gap: 0.5em; }
.rfq-reply__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6em; }
.rfq-reply__who { font-family: var(--font-display); font-size: 1.05em; line-height: 1.1; }
.rfq-reply__when { font-size: 0.8125em; font-weight: 300; color: var(--color-muted); white-space: nowrap; }
.rfq-reply__price { font-family: var(--font-display); font-size: 1.6em; line-height: 1; }
.rfq-reply__actions { display: flex; align-items: center; gap: 0.5em; flex-wrap: wrap; }
.mini-btn { font-size: 0.8125em; padding: 0.4em 0.85em; border-radius: var(--radius-control); line-height: 1; border: 1px solid var(--color-paper-3); color: var(--color-ink-2); }
.mini-btn--primary { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }

/* 03 · couple portal */
.portal-names { font-family: var(--font-display); font-size: 1.6em; line-height: 1.05; margin-top: 0.1em; }
.portal-date { font-family: var(--font-display); font-size: 1em; color: var(--color-gold-ink); }
.portal-progress { display: flex; align-items: center; gap: 0.6em; }
.portal-progress__track { flex: 1; height: 0.25em; background: var(--color-paper-3); border-radius: var(--radius-pill); overflow: hidden; }
.portal-progress__track i { display: block; height: 100%; background: var(--color-sage); }
.portal-progress__pc { font-size: 0.8125em; color: var(--color-sage-deep); white-space: nowrap; }

/* 04 · budget */
.money-bar { height: 0.3em; background: var(--color-paper-3); border-radius: var(--radius-pill); overflow: hidden; }
.money-bar i { display: block; height: 100%; background: var(--color-sage); }
.pay { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55em; }
.pay__row { display: flex; align-items: center; gap: 0.55em; font-size: 0.875em; }
.pay__dot { width: 0.6em; height: 0.6em; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7em; line-height: 1; }
.pay__dot--pending { background: var(--color-accent); }
.pay__dot--paid { background: var(--color-sage); color: var(--color-paper-2); width: 1.1em; height: 1.1em; }
.pay__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay__date { font-size: 0.93em; color: var(--color-muted); white-space: nowrap; }
.pay__amt { font-family: var(--font-display); font-size: 1.1em; white-space: nowrap; }

/* 05 · documents */
.docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35em; }
.docs__row { display: flex; align-items: center; gap: 0.65em; padding: 0.5em 0.6em; border-radius: var(--radius-control); font-size: 0.875em; border: 1px solid transparent; }
.docs__row--active { background: var(--color-paper); border-color: var(--color-paper-3); }
.docs__ext { flex: 0 0 auto; width: 2.4em; height: 2.4em; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--color-paper-3); font-size: 0.8125em; font-weight: 500; }
.docs__ext--gold { background: var(--color-gold-ink); color: var(--color-paper); }
.docs__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs__tag { flex: 0 0 auto; font-size: 0.86em; padding: 0.2em 0.6em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-accent) 16%, transparent); color: var(--color-gold-ink); white-space: nowrap; }

/* 06 · attention queue */
.attn { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5em; }
.attn__row { display: flex; gap: 0.6em; align-items: flex-start; padding: 0.6em 0.7em; border-radius: var(--radius-control); background: var(--color-paper); border: 1px solid var(--color-paper-3); }
.attn__row--urgent { border-color: color-mix(in oklab, var(--color-urgent) 45%, transparent); }
.attn__glyph { flex: 0 0 auto; width: 1.4em; height: 1.4em; display: grid; place-items: center; border-radius: 50%; font-size: 0.8125em; font-weight: 500; line-height: 1; background: color-mix(in oklab, var(--color-urgent) 14%, transparent); color: var(--color-urgent); }
.attn__glyph--gold { background: color-mix(in oklab, var(--color-accent) 18%, transparent); color: var(--color-gold-ink); }
.attn__glyph--soft { background: var(--color-paper-3); color: var(--color-ink-2); }
.attn__what { font-size: 0.875em; flex: 1; min-width: 0; line-height: 1.35; }
.attn__what small { display: block; font-size: 0.86em; font-weight: 300; color: var(--color-muted); margin-top: 0.15em; }

/* ============================================================
   PRODUCT · Pinned: one piece held on the stage, the ledger beside it
   ============================================================ */
.product { padding-block: var(--section-gap) var(--section-gap-s); }
.product__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns);
  row-gap: var(--space-lg); align-items: end; margin-bottom: var(--space-3xl);
}
.product__head h2 { grid-column: 1 / span 7; }
.product__lead { grid-column: 1 / span 7; max-width: 40ch; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.375rem, 1.2vw + 1rem, 1.953rem); line-height: 1.3; color: var(--color-ink); }
.product__lead .mute { color: inherit; }

.product__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.product__stage { grid-column: 1 / span 6; position: sticky; top: var(--space-3xl); display: grid; gap: var(--space-md); }
.product__caption { justify-self: start; }

.workspace-field { display: grid; --art-size: 1.125rem; }
.workspace-item {
  grid-area: 1 / 1; display: grid; gap: var(--space-md); align-content: start;
  text-decoration: none; color: inherit; border-radius: var(--radius-card);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long);
}
.workspace-item__no { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; color: var(--color-gold-ink); font-variant-numeric: tabular-nums; }
.workspace-item__art { display: block; width: min(100%, 36rem); }
.workspace-item:hover .art { box-shadow: var(--shadow-lift); }
.workspace-field[data-active="01"] [data-part="01"],
.workspace-field[data-active="02"] [data-part="02"],
.workspace-field[data-active="03"] [data-part="03"],
.workspace-field[data-active="04"] [data-part="04"],
.workspace-field[data-active="05"] [data-part="05"],
.workspace-field[data-active="06"] [data-part="06"] {
  opacity: 1; visibility: visible;
  transition: opacity var(--dur-long) var(--ease-out), visibility 0s;
}

.teardown__ledger {
  grid-column: 8 / -1; list-style: none; margin: 0; padding: var(--space-2xl) 0 var(--space-4xl);
  display: flex; flex-direction: column; gap: var(--space-4xl); counter-reset: piece;
}
.entry {
  counter-increment: piece; scroll-margin-top: var(--space-3xl);
  display: grid; grid-template-columns: var(--space-2xl) minmax(0, 1fr); column-gap: var(--space-md);
}
.entry::before {
  content: counter(piece, decimal-leading-zero);
  grid-row: 1 / span 4; font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1;
  color: var(--color-muted); font-variant-numeric: tabular-nums;
}
.entry.is-active::before { color: var(--color-gold-ink); }
.entry > * { grid-column: 2; }
.entry__title { font-size: var(--text-title); line-height: 1.15; margin-bottom: var(--space-md); }
.entry__scene { font-family: var(--font-display); font-size: var(--text-lead); line-height: 1.45; color: var(--color-forest-2); margin-bottom: var(--space-lg); max-width: 46ch; }
.entry__plan { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-md); }
.entry__points { list-style: none; margin: 0; padding: var(--space-md) 0 0; border-top: 1px solid var(--color-rule); display: flex; flex-direction: column; gap: var(--space-xs); }
.entry__points li { font-weight: 300; color: var(--color-ink-2); line-height: 1.5; padding-left: var(--space-lg); position: relative; }
.entry__points li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: var(--space-sm); border-top: 1px solid var(--color-sage); }

@media (max-width: 63.9375rem) {
  .product__head { grid-template-columns: minmax(0, 1fr); margin-bottom: var(--space-2xl); }
  .product__head h2, .product__lead { grid-column: 1 / -1; grid-row: auto; }
  .product__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .product__stage { grid-column: 1 / -1; position: static; min-width: 0; }
  /* the stage becomes a rail: every piece visible, scrolled by touch and keyboard */
  .workspace-field {
    display: flex; gap: var(--space-md); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--space-2xs);
    padding: var(--space-2xs) var(--space-2xs) var(--space-md); --art-size: 0.9375rem;
  }
  .workspace-item { flex: 0 0 min(20rem, 84%); scroll-snap-align: start; opacity: 1; visibility: visible; transition: none; }
  .teardown__ledger { grid-column: 1 / -1; padding: 0; gap: var(--space-3xl); }
}

/* ============================================================
   INVENTORY · Index: nine rows across the width
   ============================================================ */
.inventory { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.inv { border-top: 1px solid var(--color-ink); }
.inv__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns);
  align-items: baseline; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule);
}
.inv__name { grid-column: 1 / span 4; font-family: var(--font-display); font-size: var(--text-title); line-height: 1.15; min-width: 0; }
.inv__desc { grid-column: 5 / span 5; color: var(--color-ink-2); font-weight: 300; min-width: 0; line-height: 1.45; }
.inv__plan { grid-column: 10 / -1; justify-self: end; text-align: right; font-size: var(--text-sm); color: var(--color-muted); min-width: 0; }
@media (max-width: 48rem) {
  .inv__row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xs); }
  .inv__name, .inv__desc, .inv__plan { grid-column: 1; justify-self: start; text-align: left; }
}

/* ============================================================
   LA CUENTA · a working control on forest
   ============================================================ */
.cuenta {
  --color-focus: var(--color-focus-on-dark);
  background: var(--color-ink); color: var(--color-on-dark);
  padding-block: var(--section-gap-s);
}
.cuenta h2 { color: var(--color-on-dark); }
.cuenta .lead { color: var(--color-on-dark-2); margin-top: var(--space-lg); }
.cuenta__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.cuenta__head { grid-column: 1 / span 5; }
.calc { grid-column: 7 / -1; display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.calc__label { font-size: var(--text-md); color: var(--color-on-dark-2); }
.calc__input {
  display: flex; align-items: center; gap: var(--space-xs); min-width: 0;
  min-height: 52px; padding-inline: var(--space-md);
  border: 1px solid var(--color-on-dark-2); border-radius: var(--radius-control);
  background: var(--color-forest-2);
}
.calc__input:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.calc__sym { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-sand); }
.calc__input input {
  flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--color-on-dark);
  font-family: var(--font-display); font-size: var(--text-xl); height: 48px; padding: 0;
}
.calc__input input:focus-visible { outline: none; }
.calc__rows { margin: var(--space-xs) 0 0; border-top: 1px solid color-mix(in oklab, var(--color-on-dark) 28%, transparent); }
.calc__row {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md);
  padding-block: var(--space-md); border-bottom: 1px solid color-mix(in oklab, var(--color-on-dark) 28%, transparent); min-width: 0;
}
.calc__row dt { color: var(--color-on-dark-2); font-weight: 300; }
.calc__row dd { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-on-dark); min-width: 0; overflow-wrap: break-word; text-align: right; font-variant-numeric: tabular-nums; }
.calc__row--big dd { font-size: var(--text-display-s); line-height: 1.05; color: var(--color-sand); }
.calc__note { font-size: var(--text-sm); color: var(--color-on-dark-2); max-width: 60ch; }
@media (max-width: 60rem) {
  .cuenta__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .cuenta__head, .calc { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .calc__row--big dd { font-size: var(--text-2xl); text-align: left; }
}

/* ============================================================
   PRICING · the plans, the period switch, the comparison
   ============================================================ */
.pricing { padding-block: var(--section-gap-l) var(--section-gap); }

.pricing-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); min-width: 0; }
.cycle-toggle { display: inline-flex; padding: var(--space-2xs); gap: var(--space-2xs); border: 1px solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper-2); max-width: 100%; }
.cycle-toggle__btn {
  display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md);
  border: 0; border-radius: var(--radius-control); background: transparent; color: var(--color-ink-2);
  font-family: var(--font-body); font-size: var(--text-md); cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.cycle-toggle__btn:hover { color: var(--color-ink); background: var(--color-paper-3); }
.cycle-toggle__btn:active { background: var(--color-rule); }
.cycle-toggle__btn[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.cycle-toggle__pill { font-size: var(--text-sm); color: var(--color-gold-ink); }
.cycle-toggle__btn[aria-pressed="true"] .cycle-toggle__pill { color: var(--color-sand); }

.currency-control { display: inline-flex; align-items: center; gap: var(--space-sm); }
.currency-control__lead { display: inline-flex; align-items: baseline; gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.currency-control__sym { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-gold-ink); }
.currency-menu { position: relative; }
.currency-menu__trigger {
  display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md);
  border: 1px solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper-2);
  color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.currency-menu__trigger:hover { border-color: var(--color-ink); }
.currency-menu__trigger:active { background: var(--color-paper-3); }
.currency-menu__chevron { transition: transform var(--dur-short) var(--ease-out); }
.currency-menu.is-open .currency-menu__chevron { transform: rotate(180deg); }
.currency-menu__list {
  position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown);
  list-style: none; margin: 0; padding: var(--space-2xs); min-width: 15rem; max-height: 22rem; overflow-y: auto;
  background: var(--color-paper-2); border: 1px solid var(--color-paper-3); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.currency-menu.is-open .currency-menu__list { opacity: 1; visibility: visible; transform: none; }
.currency-menu__option {
  display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-sm);
  border-radius: var(--radius-control); color: var(--color-ink); text-decoration: none; font-size: var(--text-md);
}
.currency-menu__option:hover, .currency-menu__option:focus-visible { background: var(--color-paper-3); }
.currency-menu__option.is-current { color: var(--color-gold-ink); }
.currency-menu__opt-sym { font-family: var(--font-display); width: 1.5em; text-align: center; }
.currency-menu__opt-name { flex: 1; min-width: 0; }
.currency-menu__opt-code { font-size: var(--text-sm); color: var(--color-muted); }

.pricing-banner { margin-bottom: var(--space-xl); min-width: 0; }
.pricing-banner__msg { display: none; margin: 0; font-size: var(--text-md); color: var(--color-ink-2); max-width: 70ch; }
.pricing-banner__msg strong { color: var(--color-ink); font-weight: 500; }
#pricing-block[data-cycle="monthly"] .pricing-banner__msg--monthly,
#pricing-block[data-cycle="yearly"] .pricing-banner__msg--yearly { display: block; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); align-items: stretch; --price-fs: clamp(2.75rem, 3.6vw, 3.5rem); }
.pricing-grid--dense { --price-fs: clamp(2rem, 2.8vw, 2.75rem); }
.pricing-grid--ultra { --price-fs: clamp(1.625rem, 2.2vw, 2.125rem); }
.pricing-card {
  display: flex; flex-direction: column; gap: var(--space-lg); min-width: 0;
  padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2);
}
.pricing-card--featured { border-color: var(--color-ink); background: var(--color-paper-2); }
.pricing-card__head { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.pricing-card__badge { align-self: flex-start; font-size: var(--text-sm); color: var(--color-gold-ink); min-height: 1.5em; }
.pricing-card__badge--placeholder { visibility: hidden; }
.pricing-card__name { font-size: var(--text-section); line-height: 1; }
.pricing-card__tag { color: var(--color-ink-2); font-weight: 300; min-height: 3em; }
.pricing-card__price { display: flex; flex-direction: column; gap: var(--space-2xs); margin-top: var(--space-sm); min-width: 0; }
#pricing-block[data-cycle="monthly"] .pricing-card__price--yearly,
#pricing-block[data-cycle="yearly"] .pricing-card__price--monthly { display: none; }
.price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); min-width: 0; }
.price-fig { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-size: var(--price-fs); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; min-width: 0; }
.price-fig__sym { font-size: 0.6em; }
.price-fig[data-pos="before"] .price-fig__sym { margin-inline-end: 0.04em; }
.price-fig[data-pos="after"] { flex-direction: row-reverse; }
.price-fig[data-pos="after"] .price-fig__sym { margin-inline-start: 0.08em; }
.price-period { font-size: var(--text-md); color: var(--color-ink-2); }
.price-old-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.price-old { color: var(--color-muted); }
.pricing-card__list { list-style: none; margin: 0; padding: var(--space-md) 0 0; border-top: 1px solid var(--color-rule); display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }
.pricing-card__list li { font-weight: 300; color: var(--color-ink-2); line-height: 1.45; min-width: 0; }
.pricing-card__limit { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-ink) !important; font-weight: 400 !important; }
.pricing-card__cta { width: 100%; margin-top: auto; }
.pricing-foot { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); max-width: 75ch; }
@media (max-width: 60rem) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
  .pricing-card__tag { min-height: 0; }
}
@media (max-width: 40rem) {
  .pricing-card { padding: var(--space-lg); }
  .pricing-controls { flex-direction: column; align-items: stretch; }
  .cycle-toggle { width: 100%; }
  .cycle-toggle__btn { flex: 1; justify-content: center; padding: 0 var(--space-sm); }
  .pricing-grid--dense { --price-fs: clamp(1.75rem, 8vw, 2.375rem); }
  .pricing-grid--ultra { --price-fs: clamp(1.5rem, 6.5vw, 1.875rem); }
}

.compare { margin-top: var(--space-3xl); }
.compare__title { margin-bottom: var(--space-lg); }
.compare__scroll { overflow-x: auto; border-radius: var(--radius-control); }
.compare__table { width: 100%; border-collapse: collapse; }
.compare__table th, .compare__table td { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-rule); }
.compare__table thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-align: center; border-bottom-color: var(--color-ink); }
.compare__table thead .compare__feat-head { text-align: left; }
.compare__table tbody th { font-weight: 300; text-align: left; color: var(--color-ink); }
.compare__table td { text-align: center; font-size: var(--text-lg); color: var(--color-sage-deep); width: 16%; }
.c-abbr { display: none; }
.compare__limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-lg) 0 0; }
.compare__limits dt { font-size: var(--text-sm); color: var(--color-muted); }
.compare__limits dd { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); }
@media (max-width: 48rem) {
  .compare__table th, .compare__table td { padding: var(--space-sm) var(--space-xs); }
  .compare__table tbody th { font-size: var(--text-sm); }
  .c-full { display: none; }
  .c-abbr { display: inline; }
  .compare__limits { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
}

/* ============================================================
   FAQ · Rows: the head on 1 to 4, the questions on 6 to 12
   ============================================================ */
.faq { padding-block: var(--section-gap) var(--section-gap); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: var(--space-3xl); }
.faq-list { grid-column: 6 / -1; border-top: 1px solid var(--color-ink); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--color-rule); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  min-height: 52px; padding: var(--space-xs) var(--space-xs) var(--space-xs) 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.25; color: var(--color-ink);
}
.faq-q > span:first-child { min-width: 0; }
.faq-q:hover { color: var(--color-forest-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.faq-q:active { color: var(--color-sage-deep); }
.faq-q .mk { flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; line-height: 1; margin-inline-end: var(--space-2xs); font-family: var(--font-body); font-size: var(--text-xl); color: var(--color-ink-2); transition: transform var(--dur-short) var(--ease-out); }
.faq-item[data-open="true"] .faq-q .mk { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--dur-short) var(--ease-out), visibility 0s; }
.faq-a > div { min-height: 0; overflow: hidden; color: var(--color-ink-2); font-weight: 300; line-height: 1.65; max-width: 62ch; }
.faq-item[data-open="true"] .faq-a > div { padding-bottom: var(--space-lg); }
.faq-a a { color: var(--color-gold-ink); }
@media (max-width: 60rem) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .faq__head, .faq-list { grid-column: 1 / -1; position: static; }
}

/* ============================================================
   CLOSE · the hero's action again, on linen
   ============================================================ */
.close { background: var(--color-paper-3); padding-block: var(--section-gap-s); }
.close__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; }
.close__copy { grid-column: 1 / span 7; }
.close__head { font-size: var(--text-display); line-height: 1.02; max-width: 14ch; }
.close .lead { margin-top: var(--space-lg); }
.close__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.close__actions .hero__terms { margin: 0; }
.trust-bar { grid-column: 9 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-ink); }
.trust-bar li { padding-block: var(--space-sm); border-bottom: 1px solid var(--color-muted); color: var(--color-ink); }
.trust-bar a { color: inherit; }
@media (max-width: 60rem) {
  .close__grid { grid-template-columns: minmax(0, 1fr); }
  .close__copy, .trust-bar { grid-column: 1 / -1; }
}

/* ============================================================
   FOOTER · a mast, the wordmark over the links
   ============================================================ */
.foot { --color-focus: var(--color-focus-on-dark); background: var(--color-ink); color: var(--color-on-dark); padding-block: var(--space-3xl) var(--space-xl); }
.foot__mast { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-md) var(--space-xl); padding-bottom: var(--space-xl); border-bottom: 1px solid color-mix(in oklab, var(--color-on-dark) 24%, transparent); }
.foot__brand { color: var(--color-on-dark); }
.foot__brand .wm { font-size: clamp(3.5rem, 9vw, 8.5rem); line-height: 0.9; }
.foot .tag { font-family: var(--font-display); font-size: var(--text-lead); color: var(--color-on-dark-2); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-xl); }
.foot__links nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.foot__links a { color: var(--color-on-dark); text-decoration: none; white-space: nowrap; padding-block: var(--space-2xs); }
.foot__links a:hover { text-decoration: underline; }
.foot__legal a { color: var(--color-on-dark-2); font-size: var(--text-sm); }
.fbot .fine { color: inherit; }
.fbot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); color: var(--color-on-dark-2); }

/* ============================================================
   STATES & MOTION
   ============================================================ */
a:active { opacity: 0.8; }
.workspace-item:focus-visible, .faq-q:focus-visible, .compare__scroll:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .workspace-item, .faq-a, .faq-q .mk, .currency-menu__list, .currency-menu__chevron, .btn, .cycle-toggle__btn { transition: none; }
}
