/* linkks.io landing
   Hero is a contained 1440×1080 frame: every element is placed in frame units (--u).
   Below the hero the page flows normally. */

:root {
  /* landing palette: lilac paper, warm plum ink, orchid purple */
  --u-page: min(calc(100vw / 1440), calc(100svh / 1080));   /* same unit as the hero frame */
  --paper: #F7FCF9;
  --dot: #D8ECE0;
  --surface: #FFFFFF;
  --tint: #EFFAF3;
  --line: #DCEBE2;
  --line-strong: #7F9A8C;
  --ink: #16302A;
  --ink-muted: #5E7068;
  --brand: #1F6F50;          /* forest: links, secondary actions */
  --on-brand: #FFFFFF;
  --brand-soft: #DFF3E7;
  --accent: #1F6F50;         /* forest: the main call to action */
  --on-accent: #FFFFFF;
  --highlight: #FFE9B3;      /* sun tint: featured items, Most picked */
  --on-highlight: #16302A;
  --note: #1F6F50;           /* handwritten notes, arrows, circles: brand, so the page stays three colours */
  --hero-ink: #1F6F50;       /* hero headline */
  --hero-sub: #4F665C;
  --sticky-1: #FFE9B3;
  --sticky-2: #DFF3E7;
  --sticky-3: #FCE4D6;
  --tape: rgba(31, 111, 80, 0.22);
  --redpen: #1F6F50;         /* hero handwritten note */
  --marker: #FFC53D;         /* hero highlighter swash */
  --danger: #C0362C;
  --shadow-stamp: 5px 5px 0 #143D2E;
  --shadow-lift: 0 18px 40px -24px rgba(22, 48, 42, 0.35);
  --shadow-note: 0 10px 18px -12px rgba(22, 48, 42, 0.35);

  --f-display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-note: "Caveat", "Bradley Hand", cursive;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 14px;
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #F4FBF7;
  background-image: radial-gradient(#D8ECE0 1.2px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--ink);
  font: 400 17px/1.55 var(--f-ui);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 var(--f-display); letter-spacing: -0.04em; }
.logo-mark { display: block; height: 30px; width: auto; flex: none; }
.logo-word { font: 800 30px/1 var(--f-display); letter-spacing: -0.05em; color: var(--brand); }
.logo-word b { font-weight: inherit; color: #D9960A; }

/* =================================================================
   HERO FRAME
   ================================================================= */
.hero {
  --u: min(calc(100vw / 1440), calc(100svh / 1080));
  position: relative;
  height: calc(1080 * var(--u));
  overflow: hidden;
  /* hero colour pass: lighter lilac page, indigo headline */
  --dot: #D8ECE0;
  --hero-ink: #1F6F50;
  --hero-sub: #4F665C;
  --hero-stamp: #143D2E;
  --redpen: #1F6F50;
  background: transparent;
}
.frame {
  position: absolute; top: 0; left: 50%;
  width: calc(1440 * var(--u)); height: calc(1080 * var(--u));
  transform: translateX(-50%);
}
.abs {
  position: absolute; margin: 0;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
}

/* logo, nav and buttons share one 40-unit row, centred on the same line */
.topbar .logo, .topbar .nav { height: calc(40 * var(--u)); display: flex; align-items: center; }
.topbar .nav { left: 0; right: 0; margin-inline: auto; width: max-content; }
.topbar .logo { gap: calc(8 * var(--u)); }
.topbar .logo-mark { height: calc(34 * var(--u)); }
.topbar .logo-word { font-size: calc(31 * var(--u)); }
.nav { display: flex; gap: calc(31 * var(--u)); font: 500 calc(16.4 * var(--u))/1.4 var(--f-ui); }
.nav a { text-decoration: none; color: var(--ink); opacity: .82; }
.nav a:hover { opacity: 1; }

.pill {
  display: grid; place-items: center;
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
  border-radius: 999px; text-decoration: none;
  font: 500 calc(15.5 * var(--u))/1 var(--f-ui);
  transition: transform .15s ease;
}
.pill:hover { transform: translateY(-1px); }
.menu-btn, .nav-login { display: none; }
.pill-light { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.pill-dark { background: var(--accent); color: var(--on-accent); font-weight: 700; }

.badge {
  display: grid; place-items: center;
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
  border-radius: 999px; background: #DFF3E7; color: #1F6F50;
  font: 600 calc(16.6 * var(--u))/1 var(--f-ui);
  left: 0; right: 0; margin-inline: auto; width: max-content; padding: 0 calc(20 * var(--u));
}

/* hand-drawn highlighter swash and pen circle */
.hl { position: relative; padding: 0 0.04em; }
.hl::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.02em; right: -0.02em; bottom: 0.13em; height: 0.2em;   /* ~40% of x-height, centred on the baseline */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M4 12c60-8 140-9 220-7 60 1 110 3 172-3l-3 30c-70 4-150 5-230 4-60-1-110 0-157 4z' fill='%23FFC53D'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.circled { position: relative; white-space: nowrap; color: var(--ink); margin-left: .5em; margin-right: .18em; }
.circled::after {
  content: ""; position: absolute; left: calc(-5% - 6px); top: -20%; width: calc(110% + 7px); height: 145%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M30 8C80 0 170 4 190 22c14 14-12 30-70 33-60 3-110-4-115-22C1 18 30 8 92 6c40-1 70 2 82 6' fill='none' stroke='%231F6F50' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

.headline {
  position: absolute; left: 0; right: 0; top: calc(176 * var(--u)); margin: 0;
  text-align: center; color: var(--hero-ink);
  font: 800 calc(88 * var(--u))/calc(92 * var(--u)) var(--f-display);
  letter-spacing: -0.045em;
}
.headline .line { display: block; text-wrap: balance; }
.headline .line2 { letter-spacing: -0.03em; }

.sub {
  position: absolute; left: 0; right: 0; top: calc(394 * var(--u)); margin: 0;
  text-align: center; color: var(--hero-sub);
  font: 400 calc(20.8 * var(--u))/calc(32 * var(--u)) var(--f-ui);
}



/* ---------- hero claim field ---------- */
.hero-claim {
  display: flex; align-items: center;
  width: calc(520 * var(--u)); height: calc(62 * var(--u));
  padding: 0 calc(7 * var(--u)) 0 calc(24 * var(--u));
  background: var(--surface); border: 2px solid var(--hero-stamp); border-radius: 999px;
  box-shadow: 5px 5px 0 var(--hero-stamp); z-index: 2;
}
.hero-claim label { font: 500 calc(18 * var(--u))/1 var(--f-mono); color: var(--ink-muted); white-space: nowrap; }
.hero-claim input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 500 calc(18 * var(--u))/1 var(--f-mono); padding: 0 calc(6 * var(--u)) 0 0;
}
.hero-claim input::placeholder { color: var(--ink-muted); opacity: .6; }
.hero-claim button {
  height: calc(48 * var(--u)); padding: 0 calc(28 * var(--u)); border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 700 calc(17 * var(--u))/1 var(--f-ui);
}
.hero-claim:focus-within { outline: 2px solid var(--focus, var(--brand)); outline-offset: 3px; }
.hero-claim.is-invalid { border-color: var(--danger); }
.hero-caption, .hero-msg {
  position: absolute; left: 0; right: 0; margin: 0; text-align: center;
  font: 400 calc(14 * var(--u))/1.3 var(--f-ui);
}
/* the caption is the screen-reader copy of the handwritten note; not shown */
.hero-caption, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-price { position: absolute; left: 0; right: 0; top: calc(574 * var(--u)); margin: 0; text-align: center; font: 400 calc(14 * var(--u))/1.3 var(--f-ui); color: var(--ink-muted); }
.hero-msg { top: calc(598 * var(--u)); color: var(--danger); font-weight: 600; }
.hero-msg.is-ok { color: var(--brand); }
.hero-note { transform: rotate(-4deg); transform-origin: left center; pointer-events: none; color: var(--redpen); z-index: 2; }
.hero-note span { font: 600 calc(30 * var(--u))/1 var(--f-note); white-space: nowrap; }
.hero-note svg {
  position: absolute; left: calc(-138 * var(--u)); top: calc(-30 * var(--u));
  width: calc(140 * var(--u)); height: calc(64 * var(--u)); overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 3px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- curved carousel ---------- */
.carousel {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.card {
  position: absolute; left: 0; top: 0;
  overflow: hidden; display: block;
  pointer-events: auto; cursor: grab;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  text-decoration: none; color: inherit;
  will-change: transform, clip-path;
  -webkit-tap-highlight-color: transparent;
}
.carousel.dragging .card { cursor: grabbing; }
.card-media { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.card-shot { width: 230px; height: 420px; object-fit: cover; object-position: top; display: block; opacity: 0; transition: opacity .4s ease; }
.card-shot.ready { opacity: 1; }
.card-ico {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: 6px;
  pointer-events: none;
}
.card-ico i {
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
  color: #3D2233;
}
.card-ico svg { width: 46%; height: 46%; }
.card-ico em {
  font: 600 11px/1 var(--f-ui); font-style: normal; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 999px; color: #3D2233;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}


/* =================================================================
   PAGE SECTIONS
   ================================================================= */
.wrap {
  max-width: calc(1364 * var(--u-page) + 40px); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
code { font-family: var(--f-mono); font-size: .86em; background: var(--tint); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.eyebrow { font: 600 1.7rem/1 var(--f-note); color: var(--note); transform: rotate(-2deg); transform-origin: left; }
.lede { color: var(--ink-muted); max-width: 60ch; font-size: 1.1rem; }
.head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }
section.block .wrap { padding-block: 96px; }
section.alt { background: transparent; }
section.block + section.block { border-top: 1px solid rgba(31, 111, 80, .12); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.98rem/1 var(--f-ui); padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }

.places { border-block: 1px solid var(--line); background: var(--surface); }
.places .wrap { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding-block: 22px; }
.places p { font: 600 0.78rem/1 var(--f-ui); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); }
.places ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--surface); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.feat p { color: var(--ink-muted); font-size: 0.97rem; }
.feat .tag { font: 500 0.78rem/1 var(--f-mono); color: var(--brand); }
.feat.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.feat.wide > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 901px) { .features > .feat:last-child { grid-column: span 2; } }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } .feat.wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); } }

.chart { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 10px; }
.chart-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.chart-top b { font: 700 1.7rem/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chart-top span { font-size: 0.78rem; color: var(--ink-muted); }
.chart svg { display: block; width: 100%; height: auto; margin-top: 10px; }
.chart .days { display: flex; justify-content: space-between; font: 0.68rem/1.4 var(--f-mono); color: var(--ink-muted); margin-top: 4px; }
.chart .note-small { font-size: 0.72rem; color: var(--ink-muted); margin-top: 8px; }

.showcase { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.showcase .head { margin-bottom: 0; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rules li { padding: 18px 20px; border-radius: 3px; background: var(--sticky-1); color: var(--ink); box-shadow: var(--shadow-note); transform: rotate(-1.2deg); }
.rules li:nth-child(2) { background: var(--sticky-2); transform: rotate(1deg); }
.rules li:nth-child(3) { background: var(--sticky-3); transform: rotate(-.6deg); }
.rules b { color: var(--ink); }
@media (max-width: 860px) { .showcase { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.steps li::before { content: "step " counter(s); font: 600 1.4rem/1 var(--f-note); color: var(--note); letter-spacing: 0.08em; text-transform: uppercase; }
.steps p { color: var(--ink-muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan.pick { position: relative; background: var(--surface); border: 1.5px solid var(--ink); box-shadow: var(--shadow-stamp); }
.plan.pick::before { content: ""; position: absolute; left: 50%; top: -10px; width: 84px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: var(--tape); }
.plan .price { font: 800 2.7rem/1 var(--f-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 0.95rem var(--f-ui); color: var(--ink-muted); letter-spacing: 0; }
.plan .for { color: var(--ink-muted); font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.badge-sm { font: 600 1.25rem/1 var(--f-note); background: var(--highlight); color: var(--on-highlight); padding: 4px 10px; border-radius: 2px; transform: rotate(3deg); box-shadow: var(--shadow-note); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-muted); margin-top: 12px; max-width: 65ch; }

.final { background: var(--brand); color: var(--on-brand); }
.final .wrap { padding-block: 88px; display: grid; gap: 26px; justify-items: start; }
.final h2 { font-size: clamp(2rem, 5.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; max-width: 16ch; }
.claim {
  display: flex; align-items: center; width: 100%; max-width: 560px;
  background: var(--surface); color: var(--ink); border-radius: 999px;
  padding: 6px 6px 6px 22px; border: 2px solid #143D2E; box-shadow: 5px 5px 0 #143D2E;
}
.claim label { font: 700 1.02rem var(--f-mono); white-space: nowrap; color: var(--ink-muted); }
.claim input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 700 1.02rem var(--f-mono); padding: 12px 6px 12px 0; }
.claim .btn { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.claim-note { font-size: 0.95rem; min-height: 1.5em; opacity: .92; }
.claim-note strong { font-family: var(--f-mono); }
@media (max-width: 480px) {
  .claim { flex-wrap: wrap; border-radius: 20px; padding: 14px 14px 14px 18px; }
  .claim .btn { width: 100%; margin-top: 8px; }
}

footer .wrap { padding-block: 40px 48px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--ink-muted); }
footer .logo-mark { height: 26px; }
footer .logo-word { font-size: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* =================================================================
   PHONES (≤ 820px): the hero becomes a stacked column
   ================================================================= */
@media (max-width: 820px) {
  .hero { --u: 1px; height: auto; }
  .frame {
    position: static; transform: none; width: auto; height: auto;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    padding-block: 12px 44px;
  }
  .abs { position: static; }
  .topbar {
    align-self: stretch; display: flex; justify-content: space-between; align-items: center;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    margin-bottom: 14px;
  }
  .topbar .logo-mark { height: 30px; }
  .topbar .logo-word { font-size: 27px; }
  .topbar { position: relative; z-index: 5; gap: 8px; }
  .topbar .actions { display: flex; gap: 8px; margin-left: auto; }
  .topbar .nav { display: none; }
  .topbar .login { display: none; }   /* on phones, Log in lives in the menu */
  .pill { white-space: nowrap; }
  .menu-btn {
    display: grid; gap: 5px; place-content: center; width: 40px; height: 40px; flex: none;
    border: 0; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer;
  }
  .menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .topbar.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .topbar.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar.is-open .nav {
    display: grid; position: absolute; left: 16px; right: 16px; top: calc(100% + 6px); width: auto; height: auto; margin: 0;
    padding: 8px; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 18px 40px -20px rgba(22, 48, 42, .35); font-size: 17px;
  }
  .topbar.is-open .nav a { padding: 12px 14px; border-radius: 12px; opacity: 1; }
  .topbar.is-open .nav a:hover { background: var(--tint); }
  .topbar.is-open .nav-login { display: block; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; border-radius: 0 0 12px 12px; font-weight: 600; }
  .pill { width: auto; padding: 0 18px; height: 40px; font-size: 15px; }
  .badge { width: auto; height: 34px; padding: 0 16px; font-size: 14px; }
  .headline, .sub { position: static; padding-inline: 20px; }
  .headline { font-size: clamp(38px, 10.5vw, 56px); line-height: 1.04; }
  .sub { font-size: 16px; line-height: 1.55; max-width: 34em; }
  .sub br { display: none; }
  .carousel { position: relative; inset: auto; width: 100%; height: 250px; margin-block: 6px; }
  .hero-claim { width: calc(100% - 32px); max-width: 440px; height: 56px; padding: 0 6px 0 18px; margin-top: 6px; }
  .hero-claim label, .hero-claim input { font-size: 16px; }
  .hero-claim button { height: 44px; padding: 0 20px; font-size: 16px; }
  .hero-price, .hero-msg { position: static; padding-inline: 16px; margin-top: -8px; font-size: 14px; }
  .hero-msg:empty { display: none; }
  .hero-note { display: none; }
}

/* =================================================================
   THEMES: slow-motion card fan
   ================================================================= */
.fan {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 55% at 88% 12%, #CFEBDB 0%, transparent 72%),
    radial-gradient(55% 60% at 95% 92%, #FFE3A0 0%, transparent 72%),
    radial-gradient(50% 55% at 5% 80%, #FBD9C6 0%, transparent 72%),
    radial-gradient(45% 50% at 25% 15%, #DFF3E7 0%, transparent 72%);
}
.fan-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center;
  padding-block: 112px;
}
.fan-copy { display: grid; gap: 20px; justify-items: start; max-width: 480px; }
.fan-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.fan-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink); }
.fan-points li { padding-left: 26px; position: relative; }
.fan-points li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg);
}
.fan-stage { position: relative; height: 600px; perspective: 1400px; perspective-origin: 65% 45%; }
.fan-card {
  position: absolute; left: 54%; top: 50%; width: 299px; height: 546px;   /* 230×420 scaled by 1.3 */
  margin: -273px 0 0 -150px; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(22, 48, 42, .45);
  transform-origin: 50% 60%;
  transform: translate3d(var(--x0, 0px), var(--y0, 0px), var(--z0, 0px)) rotateY(var(--ry0, 0deg)) rotateZ(var(--rz0, 0deg));
  transition: transform 2.6s cubic-bezier(.16, .84, .26, 1);
  transition-delay: var(--d, 0s);
  will-change: transform;
}
.fan-card .pg { transform: scale(1.3); transform-origin: 0 0; }
.fan-stage.is-in .fan-card {
  transform: translate3d(var(--x1), var(--y1), var(--z1)) rotateY(var(--ry1)) rotateZ(var(--rz1));
}
/* after the fan, a slow breathing float; each card on its own phase */
.fan-stage.is-settled .fan-card { animation: fan-float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes fan-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 920px) {
  .fan-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 72px; }
  .fan-stage { height: 400px; perspective: 900px; perspective-origin: 50% 50%; }
  .fan-card { left: 50%; margin-left: -150px; transform: translate3d(var(--x0, 0px), var(--y0, 0px), var(--z0, 0px)) rotateY(var(--ry0, 0deg)) rotateZ(var(--rz0, 0deg)) scale(.6); }
  .fan-stage.is-in .fan-card { transform: translate3d(calc(var(--x1) * .26), calc(var(--y1) * .36), calc(var(--z1) * .5)) rotateY(var(--ry1)) rotateZ(var(--rz1)) scale(.6); }
}
@media (prefers-reduced-motion: reduce) {
  .fan-card { transition: none; }
  .fan-stage.is-settled .fan-card { animation: none; }
}

/* =================================================================
   PAGE SECTIONS (deck)
   ================================================================= */
.todo { background: var(--highlight); color: var(--ink); font: 600 .9em/1.2 var(--f-mono); padding: 1px 5px; border-radius: 4px; border-bottom: 1.5px dashed var(--note); }
.caption { margin-top: 18px; color: var(--ink-muted); font-size: .95rem; }
.note-hand { font: 600 1.5rem/1.1 var(--f-note); color: var(--note); transform: rotate(-3deg); transform-origin: left; margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.head h3 { margin-top: 4px; }


.row-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
#ownership .row-grid { align-items: start; }
#ownership .head { padding-top: 24px; }
.row-grid .head { margin-bottom: 0; }
.row-grid.is-flipped .head { order: 2; }
.row-grid .visual { min-width: 0; display: grid; gap: 14px; justify-items: start; }

.speed { width: 100%; display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.speed-row { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 12px; font-weight: 600; }
.speed-bar { height: 14px; border-radius: 999px; background: var(--brand); width: var(--w); }
.speed-row.is-other .speed-bar { background: var(--line-strong); opacity: .5; }
.speed-row.is-other { color: var(--ink-muted); font-weight: 500; }
.speed-val { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }


.apps { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apps-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; min-width: 0; }
.apps-col.is-us { border-color: var(--brand); box-shadow: var(--shadow-stamp); }
.apps-col p { margin: 0 0 10px; font: 600 .72rem/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.apps-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.apps-col li { display: flex; justify-content: space-between; gap: 10px; }
.apps-col li b { font-weight: 600; color: var(--brand); white-space: nowrap; text-align: right; }
.apps-col:not(.is-us) li b { color: var(--ink-muted); }
.apps-foot { display: block; margin-top: 12px; font-size: .82rem; line-height: 1.4; color: var(--ink-muted); }


.cust { overflow: hidden; }
.cust-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.cust-copy { display: grid; gap: 18px; max-width: 520px; }
.cust-copy .caption { margin: 0; font-size: .88rem; }
.who { display: flex; flex-wrap: wrap; gap: 8px; }
.who button { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font: 600 .9rem/1 var(--f-ui); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.who button:hover { border-color: var(--line-strong); }
.who button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.cust-line { margin: 0; min-height: 3.2em; font-size: 1.05rem; color: var(--ink); }
.cust-line b { font-family: var(--f-display); font-weight: 700; }
.cust-line q { color: var(--ink-muted); font-style: italic; }
.cust-line q::before, .cust-line q::after { content: none; }
.cust-stage { position: relative; height: 600px; perspective: 1400px; perspective-origin: 55% 45%; }
.cust-card {
  position: absolute; left: 52%; top: 50%; width: 299px; height: 546px; margin: -273px 0 0 -150px;
  border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(22, 48, 42, .45);
  transform: translate3d(var(--x), var(--y), var(--z)) rotateY(var(--ry)) rotateZ(var(--rz));
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .5s ease;
  will-change: transform;
}
.cust-card .pg { transform: scale(1.3); transform-origin: 0 0; }
.cust-card.is-back { --x: -150px; --y: 26px; --z: -160px; --ry: 14deg; --rz: -8deg; z-index: 1; opacity: .9; }
.cust-card.is-hidden { --x: -150px; --y: 26px; --z: -200px; --ry: 14deg; --rz: -8deg; opacity: 0; z-index: 0; pointer-events: none; }
.cust-card.is-mid { --x: 10px; --y: 10px; --z: -60px; --ry: 6deg; --rz: -3deg; z-index: 2; }
.cust-card.is-front { --x: 150px; --y: -8px; --z: 40px; --ry: -8deg; --rz: 5deg; z-index: 3; }
.cust-card.is-out { --x: 320px; --y: 40px; --z: 80px; --ry: -14deg; --rz: 9deg; opacity: 0; z-index: 4; pointer-events: none; }
@media (max-width: 920px) {
  .cust .cust-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cust-stage { height: 400px; perspective: 900px; perspective-origin: 50% 50%; overflow: visible; }
  .cust-card { left: 50%; transform: translate3d(calc(var(--x) * .4), calc(var(--y) * .4), calc(var(--z) * .5)) rotateY(var(--ry)) rotateZ(var(--rz)) scale(.62); }
}
@media (prefers-reduced-motion: reduce) { .cust-card { transition: none; } }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 600 .74rem/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.compare thead th.us { color: var(--brand); }
.compare tbody th { font-weight: 500; }
.compare td.us { font-weight: 700; background: var(--brand-soft); }
.compare td:not(:first-child), .compare th:not(:first-child) { width: 27%; }
@media (max-width: 600px) {
  .compare { min-width: 0; font-size: .9rem; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare thead th { font-size: .66rem; letter-spacing: .05em; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 30%; }
}

.billing { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: -16px 0 28px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); }
.toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 .95rem/1 var(--f-ui); color: var(--ink-muted); cursor: pointer; }
.toggle button small { font-weight: 500; opacity: .8; }
.toggle button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(22,48,42,.15); }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.plan .price small { font: 500 .95rem var(--f-ui); }
.plan h3 { font-size: 1.2rem; }

.final h2 { max-width: 14ch; }
.claim label { color: var(--ink-muted); }
.claim .btn { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
footer .wrap { display: grid; gap: 18px; align-items: start; }
.foot-claim { margin: 0 0 6px; font: 800 clamp(1.3rem, 2.6vw, 1.9rem)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.foot-top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.foot-group a { text-decoration: none; color: var(--ink); }

@media (max-width: 1100px) { .cust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .row-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .row-grid.is-flipped .head { order: 0; }
  .apps { grid-template-columns: minmax(0, 1fr); }
  .plans-2 { grid-template-columns: minmax(0, 1fr); }
  section.block .wrap { padding-block: 72px; }
}
@media (max-width: 560px) { .cust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cust-shot { height: 240px; } }

/* =================================================================
   ANALYTICS DASHBOARD PREVIEW
   ================================================================= */
.analytics {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 55% at 88% 12%, #CFEBDB 0%, transparent 72%),
    radial-gradient(55% 60% at 95% 92%, #FFE3A0 0%, transparent 72%),
    radial-gradient(50% 55% at 5% 80%, #FBD9C6 0%, transparent 72%),
    radial-gradient(45% 50% at 25% 15%, #DFF3E7 0%, transparent 72%);
}
.analytics .head { margin-bottom: 32px; }
.dash-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; max-width: 900px; }
.dash-points li { padding-left: 26px; position: relative; }
.dash-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
@media (max-width: 600px) { .dash-points { grid-template-columns: minmax(0, 1fr); } }


/* =================================================================
   CUSTOM DOMAIN DEMO
   ================================================================= */
.domain-demo { width: 100%; display: grid; gap: 14px; justify-items: stretch; }
.domain-in { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; background: var(--surface); border: 2px solid var(--brand-deep); border-radius: 999px; box-shadow: var(--shadow-stamp); }
.domain-proto { font: 500 .95rem var(--f-mono); color: var(--ink-muted); }
.domain-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 1rem var(--f-mono); color: var(--ink); padding: 8px 0; }
.domain-in:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.domain-in .btn { padding: 11px 18px; font-size: .9rem; }
.domain-arrow { display: flex; align-items: center; gap: 10px; color: var(--note); margin: -4px 0 -4px 36px; }
.domain-arrow svg { width: 34px; height: 52px; }
.domain-arrow .note-hand { font-size: 1.35rem; transform: rotate(-3deg); }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lift); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--tint); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); opacity: .5; }
.browser-url { flex: 1; margin-left: 8px; display: flex; align-items: center; gap: 7px; padding: 6px 12px; background: var(--surface); border-radius: 999px; font: 600 .85rem var(--f-mono); color: var(--ink); min-width: 0; overflow: hidden; white-space: nowrap; }
.domain-lock { width: 9px; height: 11px; border: 2px solid var(--success, #2c7a4b); border-radius: 2px; position: relative; flex: none; }
.domain-lock::before { content: ""; position: absolute; left: 1px; top: -6px; width: 3px; height: 5px; border: 2px solid var(--success, #2c7a4b); border-bottom: 0; border-radius: 3px 3px 0 0; }
.browser-body { height: 400px; overflow: hidden; display: flex; justify-content: center; background: #FFF8E8; }
.browser-body .pg { transform: scale(1.05); transform-origin: top center; }
.domain-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: ds; }
.domain-steps li { counter-increment: ds; display: grid; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; min-width: 0; }
.domain-steps li::before { content: counter(ds); font: 700 .75rem/1 var(--f-mono); color: var(--brand); }
.domain-steps b { font-weight: 600; }
.domain-steps span { color: var(--ink-muted); font-size: .82rem; }
@media (max-width: 600px) { .domain-steps { grid-template-columns: minmax(0, 1fr); } .domain-in { flex-wrap: wrap; border-radius: 20px; padding: 12px; } .domain-in input { flex-basis: 100%; } .domain-in .btn { width: 100%; } .browser-body { height: 240px; } }

/* =================================================================
   AUTH: messages
   ================================================================= */

.auth-toast {
  position: fixed; z-index: 50; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; max-width: min(560px, calc(100vw - 32px));
  padding: 12px 12px 12px 18px; border-radius: 14px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(22, 48, 42, .45);
  font-size: .95rem; animation: toast-in .3s ease-out;
}
.auth-toast p { margin: 0; flex: 1; }
.auth-toast a { white-space: nowrap; font-weight: 700; color: var(--brand); text-decoration: none; }
.auth-toast a:hover { text-decoration: underline; }
.auth-toast button { border: 0; background: transparent; font-size: 1.3rem; line-height: 1; color: var(--ink-muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.auth-toast.is-ok { border-left: 4px solid var(--brand); }
.auth-toast.is-warn { border-left: 4px solid #D98A0E; }
.auth-toast.is-info { border-left: 4px solid var(--line-strong); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -8px); } }
@media (prefers-reduced-motion: reduce) { .auth-toast { animation: none; } }

/* =================================================================
   AUTH: log in / sign up dialog (floating layer: shadow-lift, radius-lg)
   ================================================================= */
.auth-modal {
  width: min(420px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; margin: auto;
  padding: 32px 28px 24px; border: 1px solid var(--line); border-radius: 24px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lift); font-family: var(--f-ui);
}
.auth-modal::backdrop { background: rgba(22, 48, 42, .32); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.auth-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.auth-close:hover { background: var(--tint); color: var(--ink); }
.auth-eyebrow { margin: 0; font: 600 27px/27px var(--f-note); color: var(--note); transform: rotate(-2deg); transform-origin: left; }
.auth-title { margin: 4px 0 20px; font: 700 28px/34px var(--f-display); letter-spacing: -.02em; }
.auth-google, .auth-submit {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border-radius: 999px;
  font: 600 15px/1 var(--f-ui); text-decoration: none; cursor: pointer; transition: transform .12s;
}
.auth-google { gap: 10px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.auth-submit { margin-top: 4px; border: 0; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.auth-google-icon { flex: none; }
.auth-google:hover, .auth-submit:hover:not(:disabled) { transform: translateY(-1px); }
.auth-google:active, .auth-submit:active:not(:disabled) { transform: translateY(1px); }
.auth-submit:disabled { opacity: .7; cursor: progress; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-muted); font: 600 12px/16px var(--f-ui); letter-spacing: .06em; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 14px; }
.auth-field[hidden], .auth-hint[hidden] { display: none; }
.auth-field label { display: block; margin: 0 0 6px 4px; font: 600 14px/20px var(--f-ui); }
.auth-input { width: 100%; height: 46px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: 400 16px/24px var(--f-ui); }
.auth-input[aria-invalid="true"] { border-color: var(--danger); }
.auth-hint { margin: 6px 0 0 4px; color: var(--ink-muted); font: 400 14px/20px var(--f-ui); }
.auth-field-err, .auth-form-err { margin: 6px 0 0 4px; color: var(--danger); font: 600 14px/20px var(--f-ui); }
.auth-field-err:empty, .auth-form-err:empty { display: none; }
.auth-foot { margin: 18px 0 0; text-align: center; color: var(--ink-muted); font-size: 14px; }
.auth-switch { padding: 0; border: 0; background: none; color: var(--brand); font: 700 14px/1 var(--f-ui); text-decoration: underline; cursor: pointer; }
.auth-modal :is(button, a, input):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .auth-google, .auth-submit { transition: none; } }

/* ---------- pricing: four plans, and the full comparison ---------- */
.plans.plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: 16px; align-items: stretch; }
.plans-4 .plan { padding: 26px 22px; gap: 14px; }
.plans-4 .plan .price { font-size: 2.3rem; }
.plans-4 .plan .btn { margin-top: auto; text-align: center; justify-content: center; }
.plans-4 .plan ul { font-size: .92rem; }
@media (max-width: 1100px) { .plans.plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans.plans-4 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

.plan-compare { margin: 40px 0 8px; }
.plan-compare > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); font: 600 .95rem/1 var(--f-ui); cursor: pointer; list-style: none; }
.plan-compare > summary::-webkit-details-marker { display: none; }
.plan-compare > summary::after { content: "+"; font-weight: 700; color: var(--brand); }
.plan-compare[open] > summary::after { content: "–"; }
.ptable-scroll { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ptable { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.ptable th, .ptable td { padding: 12px 14px; text-align: center; border-top: 1px solid var(--line); }
.ptable thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); border-top: 0; font: 700 1rem/1.2 var(--f-display); }
.ptable thead th:first-child, .ptable tbody th[scope="row"] { text-align: left; }
.ptable tbody th[scope="row"] { font-weight: 400; min-width: 260px; }
.ptable tbody th[scope="row"] b { display: block; font-weight: 600; }
.ptable tbody th[scope="row"] small { display: block; color: var(--ink-muted); font-size: .85rem; line-height: 1.3; }
.ptable .grp th { padding: 22px 14px 8px; text-align: left; background: var(--tint); border-top: 1px solid var(--line); font: 700 .8rem/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ptable .is-pick { background: var(--brand-soft); }
.ptable .grp .is-pick { background: var(--tint); }
.ptable .yes { color: var(--brand); font-weight: 700; font-size: 1.1rem; }
.ptable .no { color: var(--line-strong); }

/* the carousel's tiny looping animations (equalizer bars) rest while it is off screen */
.carousel.is-offscreen * { animation-play-state: paused !important; }

/* sign-in dialog: reset and forgot-password views */
.auth-google[hidden], .auth-or[hidden], .auth-foot[hidden], .auth-forgot[hidden] { display: none; }
.auth-forgot { justify-self: start; margin: -4px 0 0 4px; }
.auth-notice { margin: 0; color: var(--ink); }
.auth-notice:empty { display: none; }

/* ---- legal pages (terms/, privacy/) ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.legal .legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.legal h1 { font: 700 clamp(2rem, 5vw, 2.8rem)/1.05 var(--f-display); letter-spacing: -0.03em; margin: 0 0 8px; }
.legal .updated { color: var(--ink-muted); font-size: .95rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink); line-height: 1.6; max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal a { color: var(--brand); }
.legal .callout { background: var(--highlight); color: var(--on-highlight); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.legal table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink-muted); font-weight: 600; }
.legal-foot { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; color: var(--ink-muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px 18px; }
