/* Marketing site: one stylesheet, mobile first, no build step.

   Design system shared with the host app (keep the two in step):
   palette  ink #1B1530 · paper #F3F4F8 · card #FFF · bloom #D3245F · lemon #F6D63B · sea #2E8C83 · stone #6B6880
   type     Piazzolla (display) · Commissioner (body) · JetBrains Mono (counts, times, prices)
   shape    4 px spacing scale · cards 14-20 px radius · poll rows fully rounded · soft plum shadows
   signature the poll: rounded option rows whose fill grows as answers come in (hero), echoed quietly in
            the step progress, the host's stacked bar and the closing "So, are you coming?" buttons.

   Contents: fonts · tokens · base · type · layout · header · buttons · hero · chat + poll · steps ·
             phones · host list · features · audiences · privacy · pricing · closing band · FAQ ·
             form · prose · footer · motion
*/

/* ------------------------------------------------------------------ fonts
   Subsets (Greek + Latin) of the OFL fonts from github.com/google/fonts; licences in assets/fonts/OFL-*.txt.
   Variable weights: Piazzolla 600-900 (italic 700-900), Commissioner 400-700, JetBrains Mono 400-700. */
@font-face { font-family: "Piazzolla"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("../fonts/piazzolla.woff2") format("woff2"); }
@font-face { font-family: "Piazzolla"; font-style: italic; font-weight: 700 900; font-display: swap;
  src: url("../fonts/piazzolla-italic.woff2") format("woff2"); }
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/commissioner.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/jetbrains-mono.woff2") format("woff2"); }

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;

  --ink: #1B1530;
  --paper: #F3F4F8;
  --card: #FFFFFF;
  --bloom: #D3245F;
  --lemon: #F6D63B;
  --sea: #2E8C83;
  --stone: #6B6880;

  /* derived (text pairs checked for >= 4.5:1) */
  --bloom-deep: #A81C4B;      /* hover, text on bloom tint (5.9:1) */
  --bloom-tint: #FBE3EA;
  --sea-ink: #23736B;         /* sea as text: 5.6:1 on card, 5.1:1 on paper */
  --sea-tint: #D9EEEB;
  --lemon-tint: #FCF1BF;
  --stone-tint: #E9E8F0;
  --chat: #ECEDF3;            /* chat background inside the mock screens */
  --track: #E3E4EC;           /* empty poll row / bar */
  --line: rgba(27, 21, 48, 0.12);
  --line-strong: rgba(27, 21, 48, 0.22);
  --on-ink: #F3F4F8;
  --on-ink-soft: #B9B4CC;     /* secondary text on ink: 8.7:1 */

  --shadow-sm: 0 1px 2px rgba(27, 21, 48, 0.06), 0 2px 8px -2px rgba(27, 21, 48, 0.08);
  --shadow: 0 1px 2px rgba(27, 21, 48, 0.06), 0 18px 40px -18px rgba(27, 21, 48, 0.30);
  --shadow-lg: 0 2px 4px rgba(27, 21, 48, 0.06), 0 40px 80px -32px rgba(27, 21, 48, 0.40);

  --display: "Piazzolla", "Georgia", serif;
  --body: "Commissioner", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Consolas", ui-monospace, monospace;

  /* type scale (major third, fluid at the top) */
  --t-xs: 0.8125rem;                                   /* 13 */
  --t-sm: 0.9375rem;                                   /* 15 */
  --t-base: 1.0625rem;                                 /* 17 */
  --t-md: 1.25rem;                                     /* 20 */
  --t-lg: clamp(1.375rem, 1.2rem + 0.6vw, 1.5625rem);  /* 22-25 */
  --t-xl: clamp(1.875rem, 1.35rem + 2vw, 2.75rem);     /* 30-44 */
  --t-2xl: clamp(2.375rem, 1.5rem + 3.6vw, 4.375rem);  /* 38-70 */
  --t-3xl: clamp(3rem, 1.6rem + 6vw, 6.75rem);         /* 48-108 */

  /* spacing (4 px steps) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px;
  --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px; --s32: 128px;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --pill: 999px;

  --wrap: 1200px;
  --gutter: 16px;
  --section: clamp(64px, 9vw, 120px);
  --focus: var(--ink);
}
@media (min-width: 600px) { :root { --gutter: 32px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lemon); color: var(--ink); }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[class], ol[class], .footer-nav ul, .plan ul, .included ul { list-style: none; padding: 0; }
b, strong { font-weight: 650; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 50;
  background: var(--ink); color: var(--on-ink); padding: var(--s2) var(--s4); border-radius: var(--r-sm);
}
.skip:focus { top: var(--s3); }

/* ------------------------------------------------------------------ type */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.012em;
  word-spacing: 0.06em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-2xl); font-weight: 900; letter-spacing: -0.02em; word-spacing: 0.09em; line-height: 1.02; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); font-weight: 700; line-height: 1.2; }
.lead { font-size: var(--t-md); line-height: 1.5; color: var(--ink); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--stone); }
.small { font-size: var(--t-sm); }
.label { font-family: var(--mono); font-size: var(--t-xs); color: var(--stone); letter-spacing: 0; }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-white { background: var(--card); }
.section-head { display: grid; gap: var(--s4); align-content: start; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { color: var(--stone); }
.section-head.flat { margin-bottom: 0; }
.section-flush { padding-top: 0; }
.section-head-split { max-width: none; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s12); }
}

/* Two sections on the same background are separated by a hairline. */
.section-rule { padding-top: 0; }
.section-rule > .wrap::before { content: ""; display: block; border-top: 1px solid var(--line-strong); margin-bottom: var(--section); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 244, 248, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s6); min-height: 68px; padding-top: var(--s2); padding-bottom: var(--s2); }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1;
  margin-right: auto;
}
.wordmark svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s6); width: 100%; }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }
.nav-links a, .nav-login { text-decoration: none; font-weight: 500; padding: var(--s2) 0; }
.nav-links a:hover, .nav-login:hover { text-decoration: underline; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--bloom); text-decoration-thickness: 2px; }
.nav-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: var(--t-xs); }
.lang-switch a, .lang-switch span { padding: 6px 8px; border-radius: var(--pill); text-decoration: none; }
.lang-switch [aria-current] { background: var(--ink); color: var(--on-ink); }
.lang-switch a:hover { background: var(--stone-tint); }
.menu-toggle {
  display: none; align-items: center; gap: var(--s2);
  font: 600 var(--t-sm) var(--body); color: var(--ink);
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--pill);
  padding: 9px 16px; cursor: pointer;
}
.menu-toggle svg { width: 16px; height: 16px; }
/* With JavaScript, small screens fold the navigation behind the menu button. */
@media (max-width: 899px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: var(--s4);
    padding: var(--s3) 0 var(--s5);
  }
  .js .site-nav.is-open .nav-links { flex-direction: column; gap: 0; }
  .js .site-nav.is-open .nav-links a { display: block; padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-md); }
  .js .site-nav.is-open .nav-actions { justify-content: space-between; }
}
@media (min-width: 900px) {
  .site-nav { width: auto; flex-wrap: nowrap; gap: var(--s8); }
  .nav-links { flex-wrap: nowrap; gap: var(--s6); }
  .nav-actions { flex-wrap: nowrap; }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 24px; border-radius: var(--pill);
  font: 600 var(--t-base) / 1.2 var(--body); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bloom); color: #fff; box-shadow: 0 10px 24px -12px rgba(211, 36, 95, 0.7); }
.btn-primary:hover { background: var(--bloom-deep); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--card); border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: var(--t-sm); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}
.hero-copy { display: grid; gap: var(--s6); justify-items: start; }
.status-pill {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--mono); font-size: var(--t-xs); color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 12px 6px 10px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sea); }
.hero h1 { max-width: 13em; }
.hero h1:lang(el) { font-size: clamp(2.25rem, 1.4rem + 3.3vw, 4rem); max-width: 14em; }
/* The one italic moment: the promise, underlined by a poll bar that fills when the answers are in. */
.hero-em {
  font-style: italic; font-weight: 900; white-space: nowrap;
  display: inline-block; position: relative; isolation: isolate;
}
.hero-em::after {
  content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.06em; bottom: 0.06em; height: 0.24em;
  background: var(--lemon); border-radius: var(--pill); transform-origin: left center;
}
.hero .lead { max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.privacy-line { display: flex; gap: var(--s3); align-items: flex-start; max-width: 32em; font-size: var(--t-sm); color: var(--stone); }
.privacy-line svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--sea-ink); }
.hero-demo { display: flex; justify-content: center; }
@media (min-width: 960px) { .hero-demo { justify-content: flex-end; } }

/* ------------------------------------------------------------------ chat + poll (em-based, so the same
   component works in the hero and, smaller, inside the phone screens) */
.chat {
  position: relative; width: min(100%, 420px); font-size: 15px; line-height: 1.45;
  background: var(--chat); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding-bottom: 2.6em;
}
.chat-head {
  display: flex; align-items: center; gap: 0.75em; padding: 0.85em 1em;
  background: var(--card); border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 1px solid var(--line);
}
.avatar {
  width: 2.4em; height: 2.4em; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--bloom-tint); color: var(--bloom-deep); font-weight: 700; font-size: 0.85em;
}
.chat-who { display: grid; line-height: 1.25; }
.chat-who b { font-weight: 650; }
.chat-who small { font-size: 0.82em; color: var(--stone); }
.chat-body { display: grid; gap: 0.6em; padding: 0.9em 0.9em 0; }
.bubble {
  background: var(--card); border-radius: 0.35em 1.05em 1.05em 1.05em; padding: 0.55em 0.75em 0.45em;
  box-shadow: 0 1px 1px rgba(27, 21, 48, 0.06); max-width: 92%;
}
.bubble-out { justify-self: end; background: var(--sea-tint); border-radius: 1.05em 0.35em 1.05em 1.05em; }
.bubble p + p { margin-top: 0.35em; }
.bubble time, .bubble .when { display: block; text-align: right; font-family: var(--mono); font-size: 0.72em; color: var(--stone); margin-top: 0.2em; }
.bubble-media { padding: 0.3em 0.3em 0.45em; }
.bubble-media p { padding: 0.35em 0.45em 0; }
.bubble-media time { padding-right: 0.45em; }

/* the invitation picture, drawn (assets/img/poster.svg) with the names set on top in the display face */
.poster { position: relative; container-type: inline-size; border-radius: 0.75em; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-names {
  position: absolute; left: 7cqw; top: 25cqw; width: 42cqw;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 7.6cqw; line-height: 1;
  color: var(--on-ink);
}
.poster-names span { display: block; }
.poster-names .amp { color: var(--lemon); font-size: 0.8em; margin: 0.08em 0; }
.poster-date { position: absolute; left: 7cqw; top: 51cqw; font-family: var(--mono); font-size: 3.3cqw; color: var(--lemon); letter-spacing: 0.04em; }
.gif-badge {
  position: absolute; right: 3cqw; bottom: 3cqw; font-family: var(--mono); font-weight: 700; font-size: 3cqw;
  background: rgba(27, 21, 48, 0.72); color: var(--on-ink); border-radius: 0.5em; padding: 0.15em 0.55em;
}

.poll { width: 92%; padding: 0.7em 0.85em 0.6em; }
.poll-q { font-weight: 700; font-size: 1.06em; line-height: 1.3; }
.poll-hint { font-size: 0.8em; color: var(--stone); margin-top: 0.1em; }
.poll-options { display: grid; gap: 0.45em; margin: 0.7em 0 0.4em; }
.poll-opt {
  position: relative; display: flex; align-items: center; gap: 0.6em;
  min-height: 2.5em; padding: 0.35em 0.9em 0.35em 0.45em;
  border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
}
.poll-opt .fill {
  position: absolute; inset: 0 auto 0 0; z-index: -1; width: var(--p, 0%);
  background: var(--sea-tint); border-radius: var(--pill);
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.poll-opt.is-no .fill { background: var(--stone-tint); }
/* fills of the drawn examples (the hero script animates --p itself) */
.p-9 { --p: 9.2%; } .p-33 { --p: 33.3%; } .p-65 { --p: 65.3%; } .p-66 { --p: 66.6%; } .p-100 { --p: 100%; }
.radio {
  width: 1.55em; height: 1.55em; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 2px solid var(--line-strong); background: var(--card);
}
.radio svg { width: 0.9em; height: 0.9em; opacity: 0; }
.poll-opt.is-mine .radio { background: var(--sea); border-color: var(--sea); color: #fff; }
.poll-opt.is-mine .radio svg { opacity: 1; }
.opt-label { flex: 1; font-weight: 600; }
.opt-count { font-family: var(--mono); font-weight: 600; font-size: 0.92em; font-feature-settings: "tnum" 1; }
.poll-foot { display: flex; justify-content: space-between; gap: 1em; font-size: 0.78em; color: var(--stone); }
.poll-foot .mono { font-size: 0.95em; }

/* the host's live tally, pinned to the hero card */
.tally {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  display: inline-flex; align-items: center; gap: 0.6em; white-space: nowrap;
  background: var(--ink); color: var(--on-ink); border-radius: var(--pill);
  padding: 0.7em 1.15em; font-size: 0.93em; box-shadow: var(--shadow);
}
.tally b { font-family: var(--mono); font-weight: 600; color: var(--lemon); font-feature-settings: "tnum" 1; display: inline-block; min-width: 2ch; text-align: right; }
.tally .sep { color: var(--on-ink-soft); }
.live-dot { position: relative; width: 0.55em; height: 0.55em; border-radius: 50%; background: #45C2B5; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -0.35em; border-radius: 50%; border: 2px solid #45C2B5; opacity: 0; }
.chat figcaption { margin-top: 2.6em; }

/* ------------------------------------------------------------------ how it works */
.steps { display: grid; gap: var(--s5); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.step {
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: var(--s6); display: grid; gap: var(--s4); align-content: start;
}
.step-progress { display: flex; align-items: center; gap: var(--s3); }
.step-progress .mono { font-size: var(--t-xs); color: var(--stone); white-space: nowrap; }
.step-bar { flex: 1; height: 8px; border-radius: var(--pill); background: var(--track); overflow: hidden; }
.step-bar span { display: block; height: 100%; width: var(--p); background: var(--sea); border-radius: inherit; }
.step h3 { font-size: var(--t-md); line-height: 1.25; }
.step p { color: var(--stone); font-size: var(--t-sm); }
.step-art {
  background: var(--paper); border-radius: var(--r); padding: var(--s4); min-height: 172px;
  display: grid; align-content: center; gap: var(--s2); font-size: var(--t-sm);
}
/* step 1: the event form in miniature */
.mini-field { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; display: grid; }
.mini-field .label { font-size: 11px; }
.mini-field b { font-weight: 600; font-size: 14px; }
.mini-upload { display: grid; grid-template-columns: 76px 1fr; gap: var(--s3); align-items: center; }
.mini-upload .poster { border-radius: 8px; }
.mini-upload .poster-names, .mini-upload .poster-date, .mini-upload .gif-badge { display: none; }
.mini-upload span { font-size: 13px; color: var(--stone); line-height: 1.35; }
/* step 2: QR code and linked numbers */
.mini-qr { display: grid; grid-template-columns: 96px 1fr; gap: var(--s4); align-items: center; }
.mini-qr img { width: 96px; height: 96px; background: var(--card); border-radius: 10px; padding: 8px; }
.linked { display: grid; gap: var(--s2); font-size: 13px; line-height: 1.3; }
.linked li { display: flex; align-items: center; gap: 8px; }
.linked .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--sea); color: #fff; display: grid; place-items: center; flex: none; }
.linked .ok svg { width: 11px; height: 11px; }
.linked .wait { width: 18px; height: 18px; border-radius: 50%; border: 2px dashed var(--stone); flex: none; }
/* step 3: guests ticked, sending paced */
.mini-guests { display: grid; gap: 6px; }
.mini-guest { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.mini-guest .box { width: 16px; height: 16px; border-radius: 4px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.mini-guest .box svg { width: 10px; height: 10px; }
.mini-guest .mono { margin-left: auto; font-size: 11px; color: var(--stone); }
.mini-send { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--stone); margin-top: 2px; }
.mini-send b { font-family: var(--mono); color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ guest phones */
.phones {
  display: grid; grid-auto-flow: column; grid-auto-columns: 244px; gap: var(--s5);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: var(--s2) var(--gutter) var(--s6); margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: thin;
}
@media (min-width: 1100px) {
  .phones { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; padding: 0; margin: 0; gap: var(--s6); }
}
.phone-item { scroll-snap-align: center; display: grid; gap: var(--s4); align-content: start; }
.phone {
  width: 244px; height: 470px; margin: 0 auto; padding: 9px; border-radius: 38px;
  background: var(--ink); box-shadow: var(--shadow);
}
.phone-screen {
  height: 100%; border-radius: 30px; overflow: hidden; background: var(--chat);
  display: flex; flex-direction: column; font-size: 12.5px;
}
.phone-screen .chat-head { border-radius: 0; padding: 1.9em 0.9em 0.7em; font-size: 0.95em; }
.phone-screen .chat-body { flex: 1; align-content: end; padding: 0.7em 0.65em 0.9em; overflow: hidden; }
.phone-screen .poll { width: 100%; max-width: 100%; }
.phone-item figcaption { text-align: center; display: grid; gap: 2px; }
.phone-item figcaption b { font-family: var(--display); font-weight: 700; font-size: var(--t-md); }
.phone-item figcaption span { color: var(--stone); font-size: var(--t-sm); }
.day-chip { justify-self: center; font-size: 0.78em; color: var(--stone); background: var(--card); border-radius: var(--pill); padding: 0.15em 0.8em; margin-bottom: 0.2em; }
.typed-note { font-size: 0.8em; color: var(--stone); text-align: center; padding: 0.2em 0.5em; }

/* ------------------------------------------------------------------ host's list (mock) */
.host {
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  display: grid;
}
@media (min-width: 1000px) { .host { grid-template-columns: minmax(0, 1fr) 320px; } }
.host-main { padding: clamp(16px, 3vw, 28px); display: grid; gap: var(--s5); min-width: 0; }
.host-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s3) var(--s6); }
.host-title { display: grid; gap: 2px; }
.host-title b { font-family: var(--display); font-weight: 800; font-size: var(--t-lg); line-height: 1.15; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: var(--t-xs); color: var(--sea-ink); }
.live .live-dot { background: var(--sea); }
.fake-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--pill);
  padding: 7px 14px; font-size: var(--t-sm); font-weight: 600; white-space: nowrap;
}
.fake-btn svg { width: 16px; height: 16px; color: var(--sea-ink); }
.fake-btn .mono { font-size: 11px; color: var(--stone); font-weight: 400; }
.host-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
@media (min-width: 640px) { .host-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat { background: var(--paper); border-radius: var(--r); padding: var(--s3) var(--s4); display: grid; gap: 2px; }
.stat b { font-family: var(--mono); font-weight: 600; font-size: 1.75rem; line-height: 1.1; font-feature-settings: "tnum" 1; }
.stat span { font-size: var(--t-xs); color: var(--stone); line-height: 1.3; }
.stat.is-yes b { color: var(--sea-ink); }
.stat.is-attn { background: var(--lemon-tint); }
.stat.is-people { background: var(--ink); color: var(--on-ink); }
.stat.is-people span { color: var(--on-ink-soft); }
@media (max-width: 639px) { .stat.is-attn { grid-column: span 2; } }
.stack { display: flex; height: 12px; border-radius: var(--pill); overflow: hidden; gap: 2px; background: var(--card); }
.stack span { display: block; height: 100%; }
.stack .s-yes { background: var(--sea); width: 65.3%; }     /* 64 of 98 */
.stack .s-no { background: var(--stone); width: 9.2%; }     /* 9 */
.stack .s-wait { background: var(--track); width: 23.5%; }  /* 23 */
.stack .s-attn { background: var(--lemon); width: 2%; }     /* 2 */
.stack-legend { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); font-size: var(--t-xs); color: var(--stone); margin-top: calc(-1 * var(--s2)); }
.stack-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.guest-rows { display: grid; border-top: 1px solid var(--line); }
.guest-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s3); align-items: center;
  padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm);
}
.guest-row.is-head { font-family: var(--mono); font-size: 11px; color: var(--stone); padding: var(--s2) 0; }
.guest-row.is-head > span { font-size: 11px; }
.guest-row .g-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guest-row .g-extra { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--stone); }
.guest-row .g-people, .guest-row .g-menu, .guest-row .g-time { display: none; }
.guest-row.is-head .g-extra { display: none; }
.guest-row.is-selected { background: linear-gradient(90deg, var(--lemon-tint), transparent); margin: 0 calc(-1 * var(--s3)); padding-left: var(--s3); padding-right: var(--s3); border-radius: var(--r-sm); }
@media (min-width: 640px) {
  .guest-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.25fr) 64px minmax(0, 1fr) 56px; }
  .guest-row .g-people, .guest-row .g-menu, .guest-row .g-time { display: block; }
  .guest-row .g-extra { display: none; }
  .guest-row .g-people, .guest-row .g-time { font-family: var(--mono); font-size: var(--t-xs); }
  .guest-row .g-time { color: var(--stone); text-align: right; }
}
.status {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  font-size: var(--t-xs); font-weight: 600; border-radius: var(--pill); padding: 3px 10px; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-yes { background: var(--sea-tint); color: var(--sea-ink); }
.status.is-no { background: var(--stone-tint); color: #4F4C63; }
.status.is-wait { background: var(--paper); color: var(--stone); }
.status.is-attn { background: var(--lemon-tint); color: #6A5300; }
.host-side { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(16px, 3vw, 24px); display: grid; gap: var(--s3); align-content: start; }
@media (min-width: 1000px) { .host-side { border-top: 0; border-left: 1px solid var(--line); } }
.host-side .chat-body { padding: 0; font-size: 13px; }
.host-side .bubble { max-width: 88%; }
.host-side h3 { font-family: var(--body); font-size: var(--t-sm); font-weight: 650; }
.fix-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.fix-row .fake-btn { font-size: 13px; padding: 6px 12px; background: var(--card); }

/* ------------------------------------------------------------------ features */
.features { display: grid; gap: var(--s10) var(--s8); }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature-group h3 { font-size: var(--t-lg); padding-bottom: var(--s3); border-bottom: 2px solid var(--ink); }
.feature-list { display: grid; }
.feature-list li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.feature-list b { font-weight: 650; }
.feature-list span { color: var(--stone); font-size: var(--t-sm); }
.feature-list q { quotes: "«" "»"; color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------------------ audiences */
.audiences { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .audiences { grid-template-columns: repeat(4, 1fr); } }
.audience { border-top: 2px solid var(--ink); padding-top: var(--s4); display: grid; gap: var(--s2); align-content: start; }
.audience h3 { font-size: var(--t-md); }
.audience p { color: var(--stone); font-size: var(--t-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s2); }
.chips li { font-size: var(--t-xs); border: 1px solid var(--line-strong); border-radius: var(--pill); padding: 3px 10px; }

/* ------------------------------------------------------------------ privacy */
.privacy-grid { display: grid; gap: var(--s10); }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: start; } }
.privacy-quote { font-size: var(--t-xl); line-height: 1.12; }
.privacy-quote span { color: var(--sea-ink); }
.checks { display: grid; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.checks li:first-child { padding-top: 0; }
.checks svg { width: 22px; height: 22px; color: var(--sea-ink); margin-top: 2px; }
.checks b { display: block; font-weight: 650; }
.checks span { color: var(--stone); font-size: var(--t-sm); }

/* ------------------------------------------------------------------ pricing */
.price-strip { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .price-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .price-strip { grid-template-columns: repeat(4, 1fr); } }
.price-cell { background: var(--card); border-radius: var(--r); padding: var(--s5); display: grid; gap: var(--s1); box-shadow: var(--shadow-sm); }
.price-cell b { font-family: var(--display); font-weight: 700; font-size: var(--t-md); }
.price-cell .price { font-family: var(--mono); font-weight: 600; font-size: var(--t-lg); color: var(--ink); line-height: 1.3; }
.price-cell span { color: var(--stone); font-size: var(--t-sm); }
.price-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3) var(--s6); margin-top: var(--s6); }
.intro-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: var(--t-xs); background: var(--lemon-tint); border-radius: var(--pill); padding: 4px 12px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--bloom); text-decoration-thickness: 2px; }

.plans { display: grid; gap: var(--s5); }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--s6);
  display: flex; flex-direction: column; gap: var(--s4); border: 1px solid transparent;
}
.plan.is-featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan-tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; background: var(--ink); color: var(--on-ink); border-radius: var(--pill); padding: 3px 10px; }
.plan h2 { font-size: var(--t-lg); font-weight: 800; }
.plan .for { color: var(--stone); font-size: var(--t-sm); min-height: 3em; }
.plan .price { font-family: var(--mono); font-weight: 600; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; }
.plan .per { font-size: var(--t-sm); color: var(--stone); font-family: var(--body); font-weight: 400; letter-spacing: 0; }
.plan ul { display: grid; gap: var(--s2); font-size: var(--t-sm); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s2); }
.plan li svg { width: 16px; height: 16px; color: var(--sea-ink); margin-top: 3px; }
.plan .lead-in { font-weight: 650; grid-template-columns: 1fr; }
.plan .btn { margin-top: auto; }
.included { margin-top: var(--s12); display: grid; gap: var(--s4); }
.included-title { font-size: var(--t-sm); }
.included ul { display: flex; flex-wrap: wrap; gap: var(--s2); }
.included li { background: var(--card); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 14px; font-size: var(--t-sm); }

/* ------------------------------------------------------------------ closing band */
.closing { background: var(--ink); color: var(--on-ink); padding: clamp(72px, 10vw, 136px) 0; --focus: var(--lemon); }
.closing-inner { display: grid; gap: var(--s8); justify-items: start; }
.closing h2 { font-size: var(--t-3xl); font-weight: 900; letter-spacing: -0.03em; line-height: 0.98; }
.closing h2 .q { color: var(--bloom); }
.closing p { color: var(--on-ink-soft); max-width: 34em; font-size: var(--t-md); }
.closing-poll { display: grid; gap: var(--s3); width: min(100%, 560px); }
.closing-poll a {
  position: relative; display: flex; align-items: center; gap: var(--s4); min-height: 60px;
  padding: 10px 24px 10px 12px; border-radius: var(--pill); text-decoration: none;
  border: 1px solid rgba(243, 244, 248, 0.25); font-weight: 600; font-size: var(--t-md);
  overflow: hidden; isolation: isolate; transition: border-color 0.2s;
}
.closing-poll a::before {
  content: ""; position: absolute; inset: 0 auto 0 0; z-index: -1; width: 0;
  background: rgba(243, 244, 248, 0.10); border-radius: inherit; transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.closing-poll a:hover::before, .closing-poll a:focus-visible::before { width: 100%; }
.closing-poll a:hover { border-color: var(--on-ink); }
.closing-poll .radio { border-color: rgba(243, 244, 248, 0.5); background: transparent; width: 32px; height: 32px; }
.closing-poll a.is-yes { background: var(--bloom); border-color: var(--bloom); color: #fff; }
.closing-poll a.is-yes::before { background: var(--bloom-deep); }
.closing-poll a.is-yes .radio { border-color: #fff; }
.closing-poll .arrow { margin-left: auto; width: 20px; height: 20px; }

/* ------------------------------------------------------------------ page head (inner pages) */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-head .wrap { display: grid; gap: var(--s5); justify-items: start; }
.page-head h1 { max-width: 16em; }
.page-head .lead { color: var(--stone); }

/* ------------------------------------------------------------------ FAQ */
.faq-layout { display: grid; gap: var(--s10); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s16); align-items: start; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: var(--s4); align-items: center;
  padding: var(--s5) 0; font-family: var(--display); font-weight: 700; font-size: var(--t-md); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tog {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center;
  transition: transform 0.2s, background-color 0.2s;
}
.faq summary .tog svg { width: 14px; height: 14px; }
.faq details[open] summary .tog { transform: rotate(45deg); background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.faq summary:hover .tog { border-color: var(--ink); }
.faq .answer { padding: 0 0 var(--s6); max-width: 44em; display: grid; gap: var(--s3); color: #3A3550; }
.faq .answer ul { padding-left: 1.2em; display: grid; gap: var(--s1); }
.aside-card { background: var(--card); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-sm); display: grid; gap: var(--s4); justify-items: start; }
.aside-card h2 { font-size: var(--t-lg); }
.aside-card p { color: var(--stone); font-size: var(--t-sm); }
@media (min-width: 1000px) { .aside-card { position: sticky; top: 100px; } }

/* ------------------------------------------------------------------ request form */
.request-layout { display: grid; gap: var(--s10); }
@media (min-width: 1000px) { .request-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s16); align-items: start; } }
.next-steps { display: grid; gap: var(--s4); counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s3); align-items: start; }
.next-steps li::before {
  counter-increment: next; content: counter(next);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: var(--t-sm); background: var(--card); border: 1px solid var(--line-strong);
}
.next-steps b { display: block; font-weight: 650; }
.next-steps span { color: var(--stone); font-size: var(--t-sm); }
.form-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); }
.form { display: grid; gap: var(--s5); }
.form-row { display: grid; gap: var(--s5); }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: var(--t-sm); }
.field .opt { font-weight: 400; color: var(--stone); }
.field .hint { font-size: var(--t-xs); color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 var(--t-base) / 1.4 var(--body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 11px 14px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231B1530' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; background: var(--card); }
.field [aria-invalid="true"] { border-color: var(--bloom-deep); background: #FFF7F9; }
.field .error { display: flex; gap: 6px; align-items: flex-start; color: var(--bloom-deep); font-size: var(--t-sm); font-weight: 600; }
.field .error[hidden] { display: none; }
.field .error svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.error-summary { border: 2px solid var(--bloom-deep); border-radius: var(--r); padding: var(--s4) var(--s5); background: #FFF7F9; display: grid; gap: var(--s2); }
.error-summary h2 { font-family: var(--body); font-size: var(--t-base); font-weight: 700; color: var(--bloom-deep); }
.error-summary ul { padding-left: 1.2em; display: grid; gap: 2px; }
.error-summary a { color: var(--bloom-deep); font-weight: 600; }
.form-actions { display: grid; gap: var(--s4); justify-items: start; }
.notice { border-radius: var(--r); padding: var(--s4) var(--s5); background: var(--lemon-tint); display: grid; gap: var(--s1); font-size: var(--t-sm); }
.notice b { font-weight: 700; }
.notice.is-ok { background: var(--sea-tint); }
.notice-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.or-line { font-size: var(--t-sm); color: var(--stone); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.form-privacy { font-size: var(--t-xs); color: var(--stone); }

/* ------------------------------------------------------------------ prose (privacy, terms) */
.draft-banner { display: flex; gap: var(--s3); align-items: flex-start; background: var(--lemon-tint); border-radius: var(--r); padding: var(--s4) var(--s5); font-size: var(--t-sm); max-width: 46rem; }
.draft-banner b { font-weight: 700; }
.prose { max-width: 46rem; display: grid; gap: var(--s10); }
.prose section { display: grid; gap: var(--s3); }
.prose h2 { font-size: var(--t-lg); }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--s2); }
.prose p, .prose li { color: #3A3550; }
.prose .todo { background: var(--lemon-tint); padding: 0 4px; border-radius: 4px; font-family: var(--mono); font-size: 0.9em; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--s16) 0 var(--s10); font-size: var(--t-sm); }
.footer-grid { display: grid; gap: var(--s10); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 2fr; gap: var(--s16); } }
.footer-brand { display: grid; gap: var(--s3); justify-items: start; align-content: start; }
.footer-brand p { color: var(--stone); max-width: 24em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8) var(--s6); }
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-nav h2 { font-family: var(--mono); font-weight: 400; font-size: var(--t-xs); color: var(--stone); margin-bottom: var(--s3); }
.footer-nav ul { display: grid; gap: var(--s2); }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal { margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s8); color: var(--stone); font-size: var(--t-xs); }

/* ------------------------------------------------------------------ motion
   The hero plays once (card in → invitation → poll → answers tick in → tally → underline), then rests.
   Without JavaScript, or with reduced motion, everything is shown in its final state. */
.d1 { --d: 0.35s; } .d2 { --d: 1s; } .d3 { --d: 1.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-tally { from { opacity: 0; transform: translate(-50%, 90%); } to { opacity: 1; transform: translate(-50%, 50%); } }
@keyframes ping { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .js .chat.is-waiting, .js .chat.is-waiting .anim, .js .chat.is-waiting .tally { opacity: 0; }
  .js .hero.is-waiting .hero-em::after { transform: scaleX(0); }
  .js .chat.is-playing { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .js .chat.is-playing .anim { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--d, 0s); }
  .js .chat.is-playing .tally { animation: rise-tally 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--d, 0s); }
  .js .tally .live-dot::after { animation: ping 1.6s ease-out 3; animation-delay: 4.8s; }
  .js .hero.is-done .hero-em::after { animation: underline 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .js .chat .poll-opt.is-mine .radio { transition: background-color 0.25s, border-color 0.25s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
