/* ZedVault early access site. Tokens match the app (zedvault-build/static/src/tokens.css).
   Raw colours live only in :root. Everything else uses the tokens. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --canvas: #ffffff;
  --canvas-2: #f6f5f0;
  --canvas-3: #ecebe3;
  --ink: #0a2518;
  --ink-muted: #4a6355;
  --ink-faint: #6f8579;
  --line: #e2e8e4;
  --line-strong: #c9d4cd;

  --brand-50: #eaf3ed;
  --brand-100: #d3e6da;
  --brand-600: #1a5a38;
  --brand: #0f3d26;
  --brand-900: #0a2518;
  --on-brand: #ffffff;
  --on-brand-muted: #b9d0c3;
  --on-brand-line: rgb(255 255 255 / 0.14);
  --on-brand-wash: rgb(255 255 255 / 0.07);

  --accent: #c9962a;
  --accent-hover: #b8861f;
  --accent-ink: #8a6410;
  --accent-soft: #fbf1d9;
  --on-accent: #0a2518;

  --success: #16794a;
  --success-soft: #e3f4ea;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --danger-on-dark: #ffb4a8;

  --chat-wall: #e7eee9;
  --phone-bezel: #061b10;
  --scrim: rgb(10 37 24 / 0.55);
  --spot-light: rgb(255 255 255 / 0.09);
  --hero-deep: #0a2518;
  --hero-deeper: #05140d;
  --hero-night: #061620;
  --hero-tint: rgb(15 61 38 / 0.85);
  --hero-glow: rgb(190 235 215 / 0.12);
  --photo-shade: rgb(5 20 13 / 0.78);
  --lead-shade: rgb(5 20 13 / 0.82);
  --aurora-mint: rgb(110 220 175 / 0.55);
  --aurora-teal: rgb(40 150 140 / 0.45);
  --aurora-soft: rgb(80 190 160 / 0.22);
  --aurora-deep: rgb(30 110 120 / 0.25);
  --ring: rgb(220 245 235 / 0.13);
  --ring-strong: rgb(220 245 235 / 0.22);
  --ring-faint: rgb(220 245 235 / 0.07);
  --ring-gold: rgb(201 150 42 / 0.45);

  --radius-card: 1.25rem;
  --radius-well: 1rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 200ms;
  --shadow-card: 0 1px 2px rgb(10 37 24 / 0.05), 0 4px 16px rgb(10 37 24 / 0.05);
  --shadow-pop: 0 10px 34px rgb(10 37 24 / 0.16), 0 2px 6px rgb(10 37 24 / 0.08);
  --shadow-deep: 0 30px 70px rgb(0 0 0 / 0.35);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --nav-h: 4.25rem;
  --strip-h: 4.25rem;

  --z-sticky: 20;
  --z-nav: 30;
  --z-toast: 60;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  margin: 0; min-height: 100dvh; background: var(--canvas); color: var(--ink);
  font: 400 1rem/1.6 var(--font-sans); font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { object-fit: cover; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 0.5rem; }
.on-dark :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 0.6rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); }
.lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--ink-muted); line-height: 1.6; max-width: 38rem; }
.on-dark .lede { color: var(--on-brand-muted); }
.muted { color: var(--ink-muted); }

/* Mode: one page, shop or sell. Server renders the first one, JS switches. */
html[data-mode="shop"] .for-sell, html[data-mode="sell"] .for-shop { display: none !important; }
.swap-in { animation: swap-in 380ms var(--ease-out) both; }
@keyframes swap-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo-mark { height: 2.1rem; width: auto; }
.logo-word { font: 800 1.35rem/1 var(--font-sans); letter-spacing: -0.02em; }
.logo-zed { color: var(--brand-900); }
.logo-vault { color: var(--accent-ink); }
.on-dark .logo-zed { color: var(--on-brand); }
.on-dark .logo-vault { color: var(--accent); }

/* Buttons: one shape, the pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.875rem; padding: 0 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 650 0.9375rem/1 var(--font-sans); white-space: nowrap; text-decoration: none; position: relative;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 120ms var(--ease), box-shadow var(--dur) var(--ease);
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-sm { min-height: 2.375rem; padding: 0 1rem; font-size: 0.875rem; }
.btn-lg { min-height: 3.375rem; padding: 0 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 1.1em; height: 1.1em; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover .btn-icon:not(.flip) { transform: translateX(3px); }
.btn-icon.flip { transform: rotate(180deg); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover:not(:disabled) { background: var(--accent-hover); }
.btn-primary, .btn-whatsapp { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover:not(:disabled), .btn-whatsapp:hover { background: var(--brand-600); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--canvas-2); }
.btn-quiet { background: var(--canvas-2); color: var(--ink); }
.btn-quiet:hover { background: var(--canvas-3); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 0.85rem; }
.btn-ghost:hover { background: var(--canvas-2); }
.btn-on-dark { background: transparent; color: var(--on-brand); border-color: rgb(255 255 255 / 0.35); }
.btn-on-dark:hover { background: var(--on-brand-wash); border-color: var(--on-brand); }
.btn.is-loading .btn-label { opacity: 0.55; }
.btn.is-loading::after { content: ""; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin 0.7s linear infinite; }
.btn.is-loading .btn-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 0; background: var(--canvas-2); color: var(--ink); flex: none; }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.icon-btn:hover { background: var(--canvas-3); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: var(--z-nav); background: transparent; color: var(--on-brand); transition: background-color 250ms var(--ease), box-shadow 250ms var(--ease); }
.nav-solid { background: var(--brand); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--nav-h); }
.nav-logo { text-decoration: none; border-radius: 0.5rem; }
.nav-links { display: none; gap: 2rem; margin-right: auto; margin-left: 2rem; opacity: 0; transition: opacity 300ms var(--ease); }
.nav-links a { color: var(--on-brand-muted); text-decoration: none; font-weight: 600; font-size: 0.9375rem; transition: color var(--dur) var(--ease); }
.nav-links a:hover { color: var(--on-brand); }
/* Over the hero but scrolled: a solid dark bar, so hero content never slides under the logo. */
.nav.is-scrolled { background: var(--hero-deeper); box-shadow: 0 1px 0 var(--on-brand-line); }
.nav.is-light { background: rgb(255 255 255 / 0.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-light .logo-zed { color: var(--brand-900); }
.nav.is-light .logo-vault { color: var(--accent-ink); }
.nav.is-light .nav-links a { color: var(--ink-muted); }
.nav.is-light .nav-links a:hover { color: var(--ink); }
.nav.is-light :focus-visible { outline-color: var(--brand); }
@media (min-width: 61.25rem) { .nav.is-light .nav-links { display: flex; opacity: 1; } }
.nav-row > * { flex: none; }
.nav-logo { display: inline-flex; align-items: center; height: 2.5rem; }
.nav-cta { display: flex; align-items: center; }
@media (max-width: 26rem) { .nav-cta .btn { padding-inline: 0.85rem; font-size: 0.8125rem; } .logo-word { font-size: 1.2rem; } .logo-mark { height: 1.85rem; } }

/* Hero: copy on deep green with an aurora of light, a photo beside it behind a slanted gold edge.
   At least one screen tall, from the navbar to the bottom of the trust strip, and free to grow
   when the optional details form opens (a fixed height clipped it). */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-brand);
  display: flex; flex-direction: column; justify-content: center;
  min-height: max(36rem, calc(100svh - var(--strip-h)));
  margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);
  background:
    radial-gradient(ellipse 70% 55% at 40% 45%, var(--hero-tint) 0%, transparent 70%),
    linear-gradient(172deg, var(--hero-deep) 0%, var(--hero-deeper) 55%, var(--hero-night) 100%);
}
.hero-bg { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.hero-light { position: absolute; inset: 0; background: radial-gradient(ellipse 38% 40% at 26% 42%, var(--hero-glow) 0%, transparent 72%); transition: translate 900ms var(--ease-out); }
html[data-mode="sell"] .hero-light { translate: 48% 0; }
.aurora {
  position: absolute; inset: -4% 44% 0 -14%; transition: translate 900ms var(--ease-out), scale 900ms var(--ease-out);
  background: url("../img/aurora-wide.webp") right top / cover no-repeat;
  animation: aurora 26s ease-in-out infinite alternate;
}
html[data-mode="sell"] .aurora { translate: 58vw 0; scale: -1 1; }
@keyframes aurora { from { transform: translate3d(0, -1.5%, 0) scale(1); } to { transform: translate3d(-2%, 1.5%, 0) scale(1.04); } }
.hero-grain {
  position: absolute; inset: 0; opacity: 0.11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: min(40rem, 54%); padding-block: clamp(1.5rem, 5vh, 3.5rem); transition: margin-left 900ms var(--ease-out), max-width 900ms var(--ease-out), opacity 420ms var(--ease); }
.hero.is-gliding .hero-copy { opacity: 0; transition: margin-left 900ms var(--ease-out), max-width 900ms var(--ease-out), opacity 160ms var(--ease); }
html[data-mode="sell"] .hero-copy { max-width: min(37rem, 49%); margin-left: calc(100% - min(37rem, 49%)); }
.hero-copy > [data-swap] { display: block; }

.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 0.3rem; border-radius: 999px; background: var(--on-brand-wash); border: 1px solid var(--on-brand-line); margin-bottom: clamp(1.5rem, 4.5vh, 2.75rem); isolation: isolate; }
.switch-btn { position: relative; z-index: 1; border: 0; background: transparent; color: var(--on-brand-muted); font-weight: 650; font-size: 0.9rem; padding: 0 1.15rem; min-height: 2.5rem; border-radius: 999px; transition: color 250ms var(--ease); white-space: nowrap; }
.switch-btn[aria-pressed="true"] { color: var(--brand-900); }
.switch-btn:hover:not([aria-pressed="true"]) { color: var(--on-brand); }
.switch-thumb { position: absolute; z-index: 0; top: 0.3rem; bottom: 0.3rem; left: 0.3rem; width: calc(50% - 0.3rem); border-radius: 999px; background: var(--on-brand); transition: transform 380ms var(--ease-out); }
html[data-mode="sell"] .switch-thumb { transform: translateX(100%); }

.hero-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 0.7rem + 2.6vw, 3rem); line-height: 1.1; letter-spacing: -0.018em; color: var(--on-brand); text-wrap: balance; }
.hero-title .line { display: block; }
.hero-title .line + .line { margin-top: 0.06em; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: clamp(1.1rem, 3vh, 1.6rem); max-width: 36rem; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0875rem); line-height: 1.6; color: var(--on-brand-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.5rem, 4vh, 2.25rem); }
.hero-micro { margin-top: 0.85rem; font-size: 0.875rem; color: var(--on-brand-muted); }
.hero-micro strong { color: var(--on-brand); }
.hero-perks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: clamp(1rem, 2.8vh, 1.6rem); font-size: 0.875rem; font-weight: 600; color: var(--on-brand); }
.hero-perks li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-perks svg { width: 1.05rem; height: 1.05rem; color: var(--accent); flex: none; }
.hero .join { margin-top: clamp(1.5rem, 4vh, 2.25rem); max-width: 31rem; }

/* Photo panel with a slanted edge and a thin gold rule just inside the green */
.hero-photo { position: absolute; z-index: 0; top: 0; left: 0; bottom: 0; width: 50vw; margin: 0; translate: 50vw 0; transition: translate 900ms var(--ease-out); }
html[data-mode="sell"] .hero-photo { translate: 0 0; }
.hero-photo::before { content: ""; position: absolute; inset: 0 -24px; z-index: 1; background: var(--accent); transition: clip-path 900ms var(--ease-out);
  clip-path: polygon(calc((100% - 48px) * 0.18 + 10px) 0, calc((100% - 48px) * 0.18 + 13px) 0, 13px 100%, 10px 100%); }
html[data-mode="sell"] .hero-photo::before { clip-path: polygon(calc((100% - 48px) * 0.82 + 35px) 0, calc((100% - 48px) * 0.82 + 38px) 0, calc(100% - 10px) 100%, calc(100% - 13px) 100%); }
.hero-photo-frame { position: absolute; inset: 0; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); background: var(--brand-600); transition: clip-path 900ms var(--ease-out); }
html[data-mode="sell"] .hero-photo-frame { clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%); }
/* Both photos stay in place and crossfade while the panel glides. */
html[data-mode] .hero-photo picture.for-shop, html[data-mode] .hero-photo picture.for-sell { display: block !important; opacity: 0; transition: opacity 700ms var(--ease); }
html[data-mode="shop"] .hero-photo picture.for-shop, html[data-mode="sell"] .hero-photo picture.for-sell { opacity: 1; }
.hero-photo picture, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-position: 50% 30%; }
.hero-photo .for-shop img { object-position: 50% 35%; }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--photo-shade) 0%, transparent 26%); pointer-events: none; }
/* Load choreography: copy rises, the photo slides in along its slant. Content shows without JS. */
.hero-title .line { animation: rise 900ms var(--ease-out) both; }
.hero-title .line + .line { animation-delay: 110ms; }
.hero-sub { animation: rise 900ms 220ms var(--ease-out) both; }
.hero-copy .join, .hero-actions { animation: rise 900ms 320ms var(--ease-out) both; }
.hero-perks, .hero-micro { animation: rise 900ms 420ms var(--ease-out) both; }
.hero-photo { animation: photo-in 1100ms 150ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { transform: translateX(48px); } to { transform: none; } }
.hero-photo .swap-in img { animation: fade-in 500ms var(--ease) both; }

/* Tablets and phones: the photo becomes a slanted band across the top, the copy sits below */
@media (max-width: 61.24rem) {
  .hero { justify-content: flex-start; padding-top: 0; }
  .hero-photo, html[data-mode="sell"] .hero-photo { position: relative; order: -1; width: 100%; height: clamp(11rem, 30svh, 20rem); flex: none; translate: none; }
  .hero-photo::before, html[data-mode="sell"] .hero-photo::before { inset: 0; clip-path: polygon(0 calc(100% - 22px), 100% calc(76% - 22px), 100% calc(76% - 19px), 0 calc(100% - 19px)); }
  .hero-photo-frame, html[data-mode="sell"] .hero-photo-frame { clip-path: polygon(0 0, 100% 0, 100% 76%, 0 100%); }
  .hero-photo img { object-position: 50% 30%; }
  .hero-photo-frame::after { background: linear-gradient(180deg, var(--photo-shade) 0%, transparent 45%); }
  .aurora { inset: 10% -30% 0 -30%; background-image: url("../img/aurora-tall.webp"); background-position: right top; }
  .hero-light { background: radial-gradient(ellipse 70% 40% at 50% 55%, var(--hero-glow) 0%, transparent 72%); }
  .hero-inner { flex: 1; display: flex; align-items: center; }
  .hero-copy, html[data-mode="sell"] .hero-copy { max-width: 36rem; margin-inline: auto; text-align: center; padding-block: 0.25rem 1.25rem; }
  html[data-mode="sell"] .hero-light, html[data-mode="sell"] .aurora { translate: none; scale: none; }
  .hero-copy .switch { margin-bottom: 1rem; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-perks { justify-content: center; }
  .hero .join { margin-inline: auto; text-align: left; }
  .hero .consent { justify-content: center; }
  .hero-photo { animation: none; }
}
@media (max-width: 37.49rem) {
  :root { --strip-h: 3.25rem; }
  .hero-title { font-size: clamp(1.85rem, 1.2rem + 3.4vw, 2.3rem); }
  .hero-sub { font-size: 0.975rem; line-height: 1.5; }
  .hero-perks { display: none; }
  .switch-btn { min-height: 2.25rem; font-size: 0.85rem; padding-inline: 0.95rem; }
  .hero .consent { font-size: 0.75rem; margin-top: 0.6rem; }
  .hero-actions .btn { width: 100%; }
}
@media (max-height: 44rem) and (min-width: 61.25rem) { .hero-perks { display: none; } }

/* Waitlist form */
.join { margin-top: 2rem; max-width: 33rem; }
.join-row { display: flex; align-items: center; gap: 0.35rem; padding: 0.35rem; border-radius: 999px; background: var(--canvas); box-shadow: 0 0 0 1.5px var(--line-strong); transition: box-shadow var(--dur) var(--ease); }
.on-dark .join-row { box-shadow: 0 8px 30px rgb(0 0 0 / 0.18); }
.join-row:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.join-input { flex: 1 1 0; width: 0; min-width: 0; height: 2.875rem; padding: 0 1.1rem; border: 0; background: transparent; color: var(--ink); font-size: 1rem; border-radius: 999px; }
.join-input::placeholder { color: var(--ink-faint); }
.join-input:focus { outline: none; }
.join-btn { min-height: 2.875rem; }
.join-row:has(.join-input[aria-invalid="true"]) { box-shadow: 0 0 0 2px var(--danger); }
.on-dark .join-row:has(.join-input[aria-invalid="true"]) { box-shadow: 0 0 0 2px var(--danger-on-dark); }
@media (max-width: 30rem) {
  .join-input { padding-inline: 0.9rem; font-size: 0.95rem; }
  .join-btn { padding-inline: 1rem; font-size: 0.875rem; }
  .join-btn .btn-icon { display: none; }
}
.consent { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 0.9rem; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-muted); cursor: pointer; }
.on-dark .consent { color: var(--on-brand-muted); }
.consent input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0.05rem 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { text-underline-offset: 2px; }
.on-dark .consent a { color: var(--on-brand); }
.field-err, .form-err { margin-top: 0.45rem; font-size: 0.8125rem; font-weight: 600; color: var(--danger); }
.on-dark .field-err { color: var(--danger-on-dark); }
.form-err { margin: 0 1.5rem 0.75rem; padding: 0.7rem 0.9rem; border-radius: 0.8rem; background: var(--danger-soft); }

.join-done { padding: 1.25rem; border-radius: var(--radius-card); background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-pop); animation: swap-in 450ms var(--ease-out) both; }
.join-done:focus { outline: none; }
.done-head { display: flex; gap: 0.85rem; align-items: flex-start; }
.done-tick { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--success); color: var(--on-brand); }
.done-tick svg { width: 1.3rem; height: 1.3rem; }
.done-title { font: 560 1.35rem/1.2 var(--font-display); }
.done-text { margin-top: 0.2rem; font-size: 0.9rem; color: var(--ink-muted); }
.share { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.share-label { font-size: 0.875rem; font-weight: 650; }
.share-count { color: var(--success); }
.share-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.share-url { flex: 1 1 12rem; min-width: 0; height: 2.375rem; padding: 0 0.9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--canvas-2); font-size: 0.8125rem; color: var(--ink-muted); }
.more { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 0.85rem; }
.more summary { cursor: pointer; font-size: 0.875rem; font-weight: 650; color: var(--brand-600); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-block; width: 1rem; font-weight: 700; }
.more[open] summary::before { content: "-"; }
.more-opt { color: var(--ink-faint); font-weight: 500; }
.more-form { display: grid; gap: 0.85rem; margin-top: 0.9rem; }
.more-saved { font-size: 0.85rem; font-weight: 650; color: var(--success); }

/* Fields */
.field { display: grid; gap: 0.4rem; }
.field > span { font-size: 0.875rem; font-weight: 650; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--ink-faint); }
.field input, .field select {
  width: 100%; height: 3rem; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--canvas); color: var(--ink); font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder { color: var(--ink-faint); }
.field select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%234a6355' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: 0.8125rem; color: var(--ink-muted); margin-top: -0.35rem; }
.grid-2 { display: grid; gap: 0.85rem; }
@media (min-width: 36rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.chips, .seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips legend, .seg legend { width: 100%; padding: 0; margin-bottom: 0.55rem; font-size: 0.875rem; font-weight: 650; color: var(--ink); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.375rem; padding: 0 0.95rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--canvas); font-size: 0.875rem; font-weight: 600; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.chip:hover span { border-color: var(--ink-muted); }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
fieldset[aria-invalid="true"] .chip span { border-color: var(--danger); }

/* Strip */
.strip { border-bottom: 1px solid var(--line); background: var(--canvas); min-height: var(--strip-h); display: flex; flex-direction: column; justify-content: center; }
.strip-facts { overflow: hidden; padding-block: 0.85rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 2.25rem; padding-right: 2.25rem; width: max-content; animation: marquee 26s linear infinite; }
.strip-facts:hover .strip-track, .strip-facts:active .strip-track { animation-play-state: paused; }
.strip-facts p { display: flex; align-items: center; gap: 0.55rem; font-size: 0.875rem; font-weight: 650; color: var(--ink); white-space: nowrap; flex: none; }
.strip-facts svg { width: 1.25rem; height: 1.25rem; color: var(--brand-600); flex: none; }
@media (min-width: 61.25rem) {
  .strip-facts { mask-image: none; padding-block: 1.25rem; }
  .strip-track { width: auto; padding-right: 0; justify-content: space-between; animation: none; }
  .strip-facts .dup { display: none; }
  .strip-facts p { font-size: 0.9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-facts { overflow-x: auto; scrollbar-width: none; }
  .strip-track { animation: none; }
  .strip-facts .dup { display: none; }
}
.strip-live { padding-block: 1.4rem; }
.strip-count { text-align: center; font-size: 1rem; color: var(--ink-muted); }
.strip-count strong { font: 600 1.35rem/1 var(--font-display); color: var(--ink); }
.marquee { position: relative; overflow: hidden; margin-top: 1rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; font: 500 1.35rem/1.2 var(--font-display); color: var(--ink-muted); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Problem */
.problem-head { max-width: 46rem; }
.problem-head .lede { margin-top: 1.1rem; }
.stories { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 48rem) { .stories { grid-template-columns: 1fr 1fr; } .story-photo { grid-column: 1 / -1; } }
@media (min-width: 61.25rem) { .stories { grid-template-columns: 0.8fr 1fr 1fr; } .story-photo { grid-column: auto; } }
.story-photo { margin: 0; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-card); }
@media (min-width: 48rem) and (max-width: 61.24rem) { .story-photo img { aspect-ratio: 16 / 9; object-position: 50% 30%; } }
.story-photo figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-muted); }
.story { padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--radius-card); background: var(--canvas-2); }
.story-h { font-size: 1.5rem; }
.chat { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 1.1rem; padding: 1rem; border-radius: var(--radius-well); background: var(--chat-wall); min-height: 17.5rem; }
.msg { max-width: 82%; padding: 0.55rem 0.8rem; border-radius: 1rem; font-size: 0.9rem; line-height: 1.4; box-shadow: 0 1px 1px rgb(10 37 24 / 0.06); }
.msg.them { align-self: flex-start; background: var(--canvas); border-bottom-left-radius: 0.3rem; }
.msg.me { align-self: flex-end; background: var(--brand-100); border-bottom-right-radius: 0.3rem; }
.msg.pay { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; background: var(--accent-soft); color: var(--accent-ink); }
.msg.pay svg { width: 1.05rem; height: 1.05rem; }
.seen { align-self: flex-end; font-size: 0.75rem; font-weight: 600; color: var(--ink-muted); margin-top: -0.15rem; }
.chat-armed .msg, .chat-armed .seen { opacity: 0; transform: translateY(8px) scale(0.98); }
.chat-play .msg, .chat-play .seen { animation: msg-in 420ms var(--ease-out) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.pains { display: grid; gap: 0.7rem; margin-top: 1.25rem; }
.pains li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9375rem; font-weight: 550; }
.pains svg { flex: none; width: 1.35rem; height: 1.35rem; padding: 0.22rem; border-radius: 50%; background: var(--danger-soft); color: var(--danger); margin-top: 0.05rem; }
.problem { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.turn { margin: clamp(3rem, 6vw, 5rem) auto 0; max-width: 48rem; text-align: center; font: 520 clamp(1.6rem, 1.1rem + 2vw, 2.5rem)/1.2 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.turn span { color: var(--brand-600); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.12em; text-underline-offset: 0.16em; }

/* Solution: one card, copy and photo split by a slanted edge */
.solution { padding-block: clamp(1rem, 2vw, 1.5rem) 0; }
.slant-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: clamp(1.25rem, 2.5vw, 2rem); background: var(--brand-50); }
@media (min-width: 61.25rem) { .slant-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); min-height: 40rem; } }
.slant-copy > *, .how li > * { min-width: 0; }
.slant-copy { position: relative; z-index: 1; padding: clamp(1.75rem, 4.5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; align-content: center; gap: 1.1rem; overflow-wrap: break-word; }
.how { counter-reset: how; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 1.25rem; }
.how li { counter-increment: how; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 0.5rem; padding-block: 1rem; border-top: 1px solid var(--brand-100); }
.how li::before { content: counter(how); grid-row: 1 / span 2; font: 600 1.35rem/1.2 var(--font-display); color: var(--accent-ink); }
.how h3 { font-size: 1.2rem; }
.how p { margin-top: 0.3rem; color: var(--ink-muted); font-size: 0.9625rem; max-width: 34rem; }
.slant-media { position: relative; margin: 0; min-height: 20rem; background: var(--brand-600); }
.slant-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 75%; }
@media (min-width: 61.25rem) {
  .slant-media { margin-left: -14%; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
}
@media (max-width: 61.24rem) {
  .slant-media { aspect-ratio: 4 / 3; min-height: 0; width: 100%; min-width: 0; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); margin-top: -1.5rem; }
}
.slant-badge { position: absolute; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1rem 0.7rem 0.7rem; border-radius: 1rem; background: var(--canvas); box-shadow: var(--shadow-pop); }
.slant-badge svg { width: 2.25rem; height: 2.25rem; padding: 0.45rem; border-radius: 0.7rem; background: var(--accent); color: var(--on-accent); flex: none; }
.slant-badge b { display: block; font-size: 0.875rem; }
.slant-badge small { display: block; font-size: 0.75rem; color: var(--ink-muted); }

/* Benefits */
.benefits-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.tabs { display: inline-flex; padding: 0.3rem; border-radius: 999px; background: var(--canvas-2); gap: 0.2rem; }
.tab { border: 0; background: transparent; padding: 0 1.15rem; min-height: 2.5rem; border-radius: 999px; font-weight: 650; font-size: 0.9rem; color: var(--ink-muted); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tab[aria-pressed="true"] { background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-card); }
.tab:hover:not([aria-pressed="true"]) { color: var(--ink); }

/* What changes for you: real product moments with a caption, not boxes of text.
   A large photo leads on the left, the key artifact sits beside it, three moments follow, a gold ribbon closes. */
.bx { display: grid; gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 61.25rem) {
  .bx { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .bx-lead { grid-column: 1 / 8; }
  .bx-side { grid-column: 8 / 13; }
  .bx-item { grid-column: span 4; align-self: start; }
  .ribbon { grid-column: 1 / -1; }
}
@media (min-width: 40rem) and (max-width: 61.24rem) {
  .bx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-lead, .bx-side, .ribbon { grid-column: 1 / -1; }
}
.bx h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); }
.bx p { color: var(--ink-muted); }
.bx-item h3, .bx-cap h3 { margin-top: 1.25rem; }
.bx-item p, .bx-cap p { margin-top: 0.45rem; max-width: 26rem; }

/* Lead photo, captioned on the image itself */
.bx-lead { position: relative; margin: 0; border-radius: clamp(1.25rem, 2vw, 1.75rem); overflow: hidden; aspect-ratio: 5 / 4; background: var(--brand-600); }
.bx-lead img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 39.99rem) { .bx-lead { aspect-ratio: 4 / 5; } .stamp { width: 5.5rem; height: 5.5rem; font-size: 0.85rem; } }
.bx-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--lead-shade) 100%); }
.bx-lead figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 3vw, 2.25rem); color: var(--on-brand); }
.bx-lead figcaption h3 { color: var(--on-brand); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.bx-lead figcaption p { color: var(--on-brand-muted); margin-top: 0.5rem; max-width: 30rem; }
.stamp { position: absolute; z-index: 1; top: clamp(1rem, 2.5vw, 1.75rem); right: clamp(1rem, 2.5vw, 1.75rem); display: grid; place-items: center; width: 7rem; height: 7rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 1rem/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; rotate: -12deg; box-shadow: inset 0 0 0 4px var(--accent), inset 0 0 0 6px var(--on-accent), var(--shadow-pop); }
.stamp.thud { animation: thud 600ms var(--ease-out) both; }
@keyframes thud { 0% { transform: scale(1.7); } 60% { transform: scale(0.94); } 100% { transform: scale(1); } }

/* Artifacts: pieces of the product, sitting on a soft green stage */
.art { background: var(--canvas); border-radius: 1.1rem; box-shadow: var(--shadow-pop); }
.art-stage { position: relative; display: grid; place-items: center; min-height: 15.5rem; padding: 1.75rem 1.25rem 0; border-radius: 1.5rem; background: radial-gradient(ellipse 80% 75% at 50% 100%, var(--brand-100) 0%, var(--brand-50) 55%, transparent 100%); overflow: hidden; }
.art-stage .mini-phone { align-self: end; }
.mini-phone { width: 12rem; height: 13.5rem; border: 0.45rem solid var(--phone-bezel); border-bottom: 0; border-radius: 1.75rem 1.75rem 0 0; overflow: hidden; background: var(--canvas); box-shadow: var(--shadow-pop); }
.mini-phone img { width: 100%; height: auto; }

.art-id { width: 100%; max-width: 26rem; padding: 1.25rem; }
.id-top { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.id-top b { display: block; font-size: 1rem; }
.id-top small { display: block; font-size: 0.8rem; color: var(--ink-muted); }
.id-avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--brand); color: var(--accent); font: 600 1.05rem/1 var(--font-display); flex: none; }
.id-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; }
.id-badge svg { width: 0.95rem; height: 0.95rem; }
.id-checks { display: grid; gap: 0.6rem; padding-top: 1rem; }
.id-checks li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.875rem; font-weight: 600; }
.id-checks svg { width: 1.2rem; height: 1.2rem; padding: 0.2rem; border-radius: 50%; background: var(--success); color: var(--on-brand); flex: none; }

.art-toast { display: flex; align-items: flex-start; gap: 0.7rem; width: min(100%, 17rem); padding: 0.85rem 1rem; text-align: left; }
.art-toast b { display: block; font-size: 0.875rem; }
.art-toast small { display: block; font-size: 0.75rem; color: var(--ink-muted); line-height: 1.4; margin-top: 0.1rem; }
.art-toast-2 { margin: -0.75rem 0 1.5rem 3.5rem; rotate: 2deg; }
.art-toast:first-child { rotate: -2deg; }
.toast-ico { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 0.7rem; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.toast-ico.ok { background: var(--success-soft); color: var(--success); }
.toast-ico svg { width: 1.15rem; height: 1.15rem; }

.art-cart { width: min(100%, 17rem); padding: 0.4rem 1rem 0; align-self: end; border-radius: 1.1rem 1.1rem 0 0; }
.cart-row { padding: 0.7rem 0; border-bottom: 1px dashed var(--line-strong); color: var(--ink) !important; }
.cart-row b { display: block; font-size: 0.85rem; }
.cart-row small { display: block; font-size: 0.75rem; color: var(--ink-muted); }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 0 1rem; font-size: 0.8rem; color: var(--ink-muted) !important; }
.cart-total b { color: var(--brand); font-size: 0.95rem; }

.rate { display: flex; align-items: baseline; gap: 0.9rem; margin: 0; color: var(--ink) !important; }
.rate s { font: 500 2rem/1 var(--font-display); color: var(--ink-faint); text-decoration-thickness: 2px; }
.rate b { font: 520 clamp(4.5rem, 3.5rem + 3vw, 6.5rem)/0.9 var(--font-display); color: var(--brand); letter-spacing: -0.04em; }
.rate-note { font-size: 0.85rem; font-weight: 650; color: var(--brand-600) !important; margin: 0.4rem 0 1.5rem; }
.art-stage:has(.rate) { align-content: center; place-items: center; }

.route { display: grid; gap: 0; width: min(100%, 15rem); margin: 0 0 1.5rem; padding: 0; text-align: left; }
.route li { position: relative; display: flex; align-items: center; gap: 0.8rem; padding-block: 0.7rem; font-size: 0.9rem; font-weight: 650; }
.route li + li::before { content: ""; position: absolute; left: 1.1rem; top: -0.7rem; height: 1.4rem; border-left: 2px dashed var(--brand-600); translate: -1px 0; }
.route-dot { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--canvas); color: var(--brand); box-shadow: var(--shadow-pop); flex: none; }
.route-dot.gold { background: var(--accent); color: var(--on-accent); }
.route-dot svg { width: 1.1rem; height: 1.1rem; }

.art.split { width: 100%; max-width: 27rem; padding: 1.4rem; }
.split-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; font-size: 0.9375rem; }
.split-row b { font-weight: 700; }
.split-row.muted { color: var(--ink-muted); }
.split-row.total { border-top: 1.5px dashed var(--line-strong); margin-top: 0.3rem; padding-top: 0.75rem; font-weight: 650; }
.split-row.total b { font: 600 1.35rem/1 var(--font-display); }
.split-bar { display: flex; gap: 3px; height: 0.8rem; margin-top: 1rem; border-radius: 999px; overflow: hidden; }
.split-bar .now { flex: 80; background: var(--brand); }
.split-bar .later { flex: 20; background: var(--accent); }
.split-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; margin-top: 0.7rem; font-size: 0.8125rem; color: var(--ink-muted); }
.split-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.split-legend i { width: 0.65rem; height: 0.65rem; border-radius: 50%; }
.split-legend i.now { background: var(--brand); }
.split-legend i.later { background: var(--accent); }
.split.grow .split-bar .now { animation: grow 900ms var(--ease-out) both; }
@keyframes grow { from { flex-grow: 0; } }

/* Gold ribbon: the closing offer, with notched ends like a ticket */
.ribbon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 3rem); background: var(--accent); color: var(--on-accent); clip-path: polygon(0 0, 100% 0, calc(100% - 1.1rem) 50%, 100% 100%, 0 100%, 1.1rem 50%); }
.ribbon p { margin: 0; color: var(--on-accent) !important; font: 520 clamp(1.25rem, 1rem + 0.9vw, 1.7rem)/1.25 var(--font-display); max-width: 40rem; text-wrap: balance; }

/* Proof band: the one dark feature band */
.proof { background: var(--brand-900); color: var(--on-brand); padding-block: var(--section); overflow: hidden; }
.proof-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 61.25rem) { .proof-grid { grid-template-columns: 1fr 25rem; } }
.proof .h2 { color: var(--on-brand); }
.proof .lede { margin-top: 1.1rem; }
.proof-live { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--on-brand-line); }
.proof-live p { display: grid; gap: 0.3rem; }
.proof-live strong { font: 520 clamp(2.4rem, 2rem + 1.5vw, 3.25rem)/1 var(--font-display); color: var(--accent); }
.proof-live span { font-size: 0.875rem; color: var(--on-brand-muted); }

.printer { width: 100%; max-width: 24rem; margin-inline: auto; }
.printer-machine { position: relative; padding: 0.9rem 1.1rem 2.1rem; border-radius: 1.5rem; background: var(--brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 20px 50px rgb(0 0 0 / 0.3); }
.printer-top { display: flex; justify-content: space-between; align-items: center; }
.printer-top .logo-mark { height: 1.7rem; }
.printer-top .logo-word { font-size: 1.1rem; }
.printer-led { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); }
.printer.is-printing .printer-led { animation: blink 0.5s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.printer-slot { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 0.85rem; height: 0.5rem; border-radius: 0.25rem; background: var(--phone-bezel); }
.printer-out { position: relative; margin: -1.2rem auto 0; width: 86%; overflow: hidden; padding-bottom: 0.5rem; }
.paper {
  position: relative; padding: 1.6rem 1.4rem 2rem; background: var(--canvas); color: var(--ink); font-size: 0.875rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 95% 100%, 90% calc(100% - 8px), 85% 100%, 80% calc(100% - 8px), 75% 100%, 70% calc(100% - 8px), 65% 100%, 60% calc(100% - 8px), 55% 100%, 50% calc(100% - 8px), 45% 100%, 40% calc(100% - 8px), 35% 100%, 30% calc(100% - 8px), 25% 100%, 20% calc(100% - 8px), 15% 100%, 10% calc(100% - 8px), 5% 100%, 0 calc(100% - 8px));
}
.printer.is-printing .paper { animation: feed 2.6s cubic-bezier(0.3, 0.6, 0.3, 1) both; }
@keyframes feed { 0% { transform: translateY(-100%); } 25% { transform: translateY(-72%); } 35% { transform: translateY(-70%); } 60% { transform: translateY(-30%); } 70% { transform: translateY(-28%); } 100% { transform: none; } }
.paper-h { font-weight: 800; font-size: 1rem; text-align: center; }
.paper-sub { text-align: center; font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.15rem; }
.paper hr { border: 0; border-top: 1.5px dashed var(--line-strong); margin-block: 0.9rem; }
.paper-group { font-weight: 750; font-size: 0.8125rem; margin-bottom: 0.3rem; }
.paper dl { margin: 0; }
.paper dl > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.2rem; }
.paper dt { color: var(--ink-muted); }
.paper dd { margin: 0; font-weight: 700; text-align: right; }
.paper-foot { text-align: center; font-weight: 700; font-size: 0.8125rem; color: var(--brand-600); }

/* CTA */
.cta { padding-block: var(--section); }
.cta-head { text-align: center; display: grid; justify-items: center; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cta-photo { margin: 0; border-radius: clamp(1.25rem, 2vw, 1.75rem); overflow: hidden; background: var(--brand-600); }
.cta-photo img { width: 100%; aspect-ratio: 21 / 9; }
@media (max-width: 48rem) { .cta-photo img { aspect-ratio: 4 / 3; } }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: clamp(-9rem, -10vw, -3rem); padding-inline: calc(var(--gutter) + clamp(0rem, 3vw, 2.5rem)); }
@media (min-width: 61.25rem) { .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.cta-card { min-width: 0; }
.cta-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.5rem; background: var(--canvas); box-shadow: var(--shadow-pop); border: 1px solid var(--line); }
.cta-card h3 { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem); }
.cta-card .ticks { margin-top: 1.1rem; }
.cta-card .join { margin-top: auto; padding-top: 1.5rem; max-width: none; }
.cta-sell { background: var(--brand-50); border-color: var(--brand-100); }
.cta-sell .btn { margin-top: 1.25rem; }
.cta-micro { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--ink-muted); text-align: center; }
.places { margin-top: auto; padding-top: 1.5rem; }
.places-bar { height: 0.6rem; border-radius: 999px; background: var(--canvas); overflow: hidden; }
.places-bar span { display: block; height: 100%; width: var(--w, 0%); background: var(--accent); border-radius: 999px; transition: width 1.2s var(--ease-out); }
.places p { margin-top: 0.55rem; font-size: 0.9rem; color: var(--ink-muted); }
.places strong { color: var(--ink); font-size: 1rem; }
.places-static { margin-top: auto; padding-top: 1.5rem; font-size: 0.9rem; font-weight: 600; color: var(--brand-600); }

.ticks { display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: 0.9375rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.18rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* FAQ */
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 61.25rem) { .faq-grid { grid-template-columns: 22rem 1fr; gap: 4rem; } .faq-side { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; } }
.faq-side .lede { margin-top: 1rem; }
.faq-contact { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.faq-side .tabs { margin-top: 2rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font: 600 clamp(1.05rem, 1rem + 0.3vw, 1.2rem)/1.35 var(--font-sans); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--canvas-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%230a2518' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform 300ms var(--ease-out), background-color var(--dur) var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.qa summary:hover::after { background-color: var(--canvas-3); }
.qa-body { padding: 0 3rem 1.4rem 0; color: var(--ink-muted); display: grid; gap: 0.75rem; }
.qa-body ul { display: grid; gap: 0.5rem; }
.qa-body li { position: relative; padding-left: 1.2rem; }
.qa-body li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); }
.qa-body a { color: var(--brand-600); font-weight: 600; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* Closer */
.closer { background: var(--canvas-2); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.closer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.closer-text { font: 520 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.2 var(--font-display); max-width: 36rem; text-wrap: balance; }

/* Footer */
.footer { background: var(--brand-900); color: var(--on-brand-muted); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer-logo { display: inline-block; text-decoration: none; }
.footer-tag { margin-top: 1rem; font: 520 1.35rem/1.2 var(--font-display); color: var(--on-brand); }
.footer-note { margin-top: 0.4rem; }
.footer-brand .btn { margin-top: 1.25rem; }
.footer-col { display: grid; align-content: start; gap: 0.7rem; }
.footer-h { font: 700 0.9375rem/1.3 var(--font-sans); color: var(--on-brand); letter-spacing: 0; margin-bottom: 0.25rem; }
.footer-col a, .footer-place { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--on-brand-muted); transition: color var(--dur) var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--on-brand); }
.ico { width: 1.1rem; height: 1.1rem; flex: none; }
.socials { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.socials:empty { display: none; }
.socials a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--on-brand-wash); }
.socials svg { width: 1.15rem; height: 1.15rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--on-brand-line); font-size: 0.8125rem; }

/* Sticky phone CTA */
.sticky-cta { position: fixed; z-index: var(--z-sticky); left: 0; right: 0; bottom: 0; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.97); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px rgb(10 37 24 / 0.08); transform: translateY(110%); transition: transform 350ms var(--ease-out); }
.sticky-cta.is-on { transform: none; }
@media (min-width: 61.25rem) { .sticky-cta { display: none; } }

/* Toast */
.toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(5.5rem + env(safe-area-inset-bottom)); translate: -50% 0; padding: 0.75rem 1.2rem; border-radius: 999px; background: var(--brand-900); color: var(--on-brand); font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-pop); animation: swap-in 300ms var(--ease-out) both; max-width: calc(100vw - 2rem); }

/* Letter of intent dialog */
.loi { width: min(40rem, calc(100vw - 2rem)); max-height: min(54rem, calc(100dvh - 2rem)); padding: 0; border: 0; border-radius: 1.5rem; background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-deep); overflow: hidden; }
.loi::backdrop { background: var(--scrim); }
.loi[open] { animation: dialog-in 360ms var(--ease-out) both; }
.loi[open]::backdrop { animation: fade-in 300ms var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
.loi-shell { display: flex; flex-direction: column; max-height: inherit; height: 100%; }
.loi-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.5rem 1rem; }
.loi-title { font-size: 1.5rem; }
.loi-sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-muted); font-weight: 600; }
.loi-progress { height: 3px; background: var(--line); }
.loi-progress span { display: block; height: 100%; width: 33.3%; background: var(--accent); transition: width 420ms var(--ease-out); }
.loi-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.loi-body { overflow-y: auto; padding: 1.4rem 1.5rem; flex: 1; overscroll-behavior: contain; }
.loi-step { display: grid; gap: 0.9rem; }
.loi-step.step-in { animation: swap-in 340ms var(--ease-out) both; }
.loi-lead { color: var(--ink-muted); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.loi-foot { display: flex; justify-content: flex-end; gap: 0.6rem; padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--canvas); }
.loi-foot [data-loi-back] { margin-right: auto; }
.loi-terms { padding: 1.2rem 1.25rem; border-radius: var(--radius-well); background: var(--brand-50); }
.loi-terms h3 { font-size: 1.2rem; margin-bottom: 0.85rem; }
.loi-terms .ticks li { font-size: 0.9rem; }
.letter-peek summary { cursor: pointer; font-weight: 650; font-size: 0.9rem; color: var(--brand-600); }
.letter-scroll { margin-top: 0.75rem; max-height: 15rem; overflow-y: auto; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-well); font-size: 0.85rem; color: var(--ink-muted); }
.sig-input { font-family: var(--font-display) !important; font-size: 1.25rem !important; font-style: italic; }
.loi-done { display: grid; justify-items: center; text-align: center; gap: 0.75rem; padding-block: 1.5rem; }
.loi-done:focus { outline: none; }
.seal-wrap { width: 7rem; height: 7rem; }
.seal-ring { fill: var(--accent); }
.seal-inner { fill: none; stroke: var(--on-accent); stroke-width: 2; stroke-dasharray: 4 5; }
.seal-tick { fill: none; stroke: var(--on-accent); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw 600ms 300ms var(--ease-out) forwards; }
.seal { animation: thud 600ms var(--ease-out) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-big { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 0.75rem; }
@media (max-width: 37.49rem) {
  .loi { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .loi-head { padding-top: calc(1rem + env(safe-area-inset-top)); }
}
body:has(.loi[open]) { overflow: hidden; }

/* Letter (public page and admin print) */
.letter-parties { font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.letter-sections { list-style: decimal; padding-left: 1.25rem; display: grid; gap: 1.1rem; }
.letter-sections > li::marker { font-weight: 700; color: var(--ink); }
.letter-sections h2 { font: 700 1rem/1.4 var(--font-sans); color: var(--ink); letter-spacing: 0; margin-bottom: 0.4rem; }
.letter-sections ul { list-style: disc; padding-left: 1.1rem; display: grid; gap: 0.35rem; }

/* Simple content pages: privacy, terms, letter */
.doc-hero { background: var(--brand); color: var(--on-brand); padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.doc-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }
.doc-hero p { margin-top: 0.8rem; color: var(--on-brand-muted); }
.doc { max-width: 46rem; padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.doc h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-muted); }
.doc p + p { margin-top: 0.75rem; }
.doc ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.45rem; margin-top: 0.6rem; }
.doc a { color: var(--brand-600); font-weight: 600; }
.doc .letter-sections h2 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.doc-note { margin-top: 2rem; padding: 1rem 1.2rem; border-radius: var(--radius-well); background: var(--canvas-2); font-size: 0.9rem; }

/* Reduced motion: everything still shows, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .dial-spin, .marquee-track { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; gap: 1rem 2rem; }
  .chat-armed .msg, .chat-armed .seen { opacity: 1; transform: none; }
}

@media print {
  .nav, .footer, .sticky-cta, .toast, .loi { display: none !important; }
}
