/* ============================================================
   Trotii — Design Tokens + Landing Page Styles
   ============================================================ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --color-bg:          #FCFCFD;
  --color-surface:     #FFFFFF;
  --color-surface-alt: #F9FAFB;

  --fg-1: #101828;
  --fg-2: #344054;
  --fg-3: #475467;
  --fg-4: #667085;
  --fg-5: #98A2B3;

  --border-subtle:  #F2F4F7;
  --border-light:   #EAECF0;
  --border-default: #D0D5DD;

  --brand-a:       #5B6FC7;
  --brand-a-dark:  #4A5CB0;
  --brand-a-light: #ECEFFE;
  --brand-a-pale:  #F1F3FA;

  --brand-b:       #B35A88;
  --brand-b-dark:  #994A74;
  --brand-b-light: #D08BAD;
  --brand-b-pale:  #F5EDF1;

  --success:    #12B76A;
  --success-bg: #ECFDF3;

  --badge-influencer-bg: #FEF0C7;
  --badge-influencer-fg: #93370D;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,.10);
  --shadow-md: 0 4px 8px rgba(16,24,40,.10);
  --shadow-lg: 0 12px 16px rgba(16,24,40,.08);

  --section-pad: 96px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ─── Container ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,252,253,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--fg-3); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--fg-1); }

/* ─── Wordmark ────────────────────────────────────────────── */
.wordmark { font-family: var(--font-sans); font-weight: 800; font-size: 22px; letter-spacing: 0.10em; color: var(--fg-1); }
.wordmark .ii-a { color: var(--brand-a); }
.wordmark .ii-b { color: var(--brand-b); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none;
  transition: transform .12s, background .15s;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--fg-1); color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 4px 10px rgba(16,24,40,.10);
}
.btn--primary:hover { background: #1d2939; color: #fff; }

/* Store buttons */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--fg-1); color: #fff;
  height: 56px; padding: 0 22px; border-radius: 14px;
  text-decoration: none; transition: transform .15s, background .15s;
}
.store-btn:hover { background: #1d2939; color: #fff; transform: translateY(-1px); }
.store-btn svg { flex-shrink: 0; }
.store-meta { display: flex; flex-direction: column; line-height: 1.1; }
.store-meta-top { font-size: 11px; opacity: .8; letter-spacing: 0.04em; }
.store-meta-bot { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

/* ─── Type helpers ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--brand-a);
  background: var(--brand-a-light); padding: 6px 12px; border-radius: 9999px;
}
.eyebrow--mauve { color: var(--brand-b-dark); background: var(--brand-b-pale); }

.display-headline {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.02;
  letter-spacing: -0.035em; font-weight: 800; margin: 0;
  color: var(--fg-1); text-wrap: balance;
}
.display-headline em { font-style: italic; font-family: 'Fraunces', serif; font-weight: 500; }
.display-headline .accent-a { color: var(--brand-a); }

.section-headline {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 800; margin: 0 0 16px;
  color: var(--fg-1); text-wrap: balance;
}
.section-headline em { font-style: italic; font-family: 'Fraunces', serif; font-weight: 500; }

.lede { font-size: 19px; line-height: 1.55; color: var(--fg-3); margin: 0; text-wrap: pretty; max-width: 56ch; }

/* ─── Sections ────────────────────────────────────────────── */
section { padding: var(--section-pad) 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .lede { margin: 16px auto 0; text-align: center; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--fg-4); }
.hero-meta .dot { width: 4px; height: 4px; background: var(--fg-5); border-radius: 9999px; }
.hero-stars { color: var(--brand-b); letter-spacing: 1px; }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg-shapes .shape { position: absolute; border-radius: 9999px; filter: blur(80px); opacity: .40; }
.hero-bg-shapes .shape-a { width: 480px; height: 480px; background: var(--brand-a-light); top: -120px; left: -160px; }
.hero-bg-shapes .shape-b { width: 420px; height: 420px; background: var(--brand-b-pale); bottom: -160px; right: -120px; }
.hero > .container { position: relative; z-index: 1; }

/* ─── Phone mock ──────────────────────────────────────────── */
.phone-stage {
  position: relative; display: flex;
  justify-content: center; align-items: center; min-height: 640px;
}
.phone-stage::before, .phone-stage::after { display: none; }

.screenshot-back {
  position: absolute; z-index: 1;
  width: 180px; height: 340px; border-radius: 28px;
  box-shadow: 0 12px 32px -8px rgba(16,24,40,.22);
  object-fit: cover; object-position: top;
}
.screenshot-back-left { left: 24px; top: 80px; transform: rotate(-10deg); }
.screenshot-back-right { right: 24px; bottom: 80px; transform: rotate(8deg); }
.phone {
  position: relative; z-index: 2; width: 320px; height: 660px;
  background: #0e0f12; border-radius: 48px; padding: 12px;
  box-shadow: 0 0 0 2px #1f2024, 0 30px 60px -20px rgba(16,24,40,.40), 0 12px 24px -8px rgba(16,24,40,.20);
}
.phone-screen {
  width: 100%; height: 100%; background: var(--color-bg);
  border-radius: 28px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #0e0f12; border-radius: 9999px; z-index: 5;
}

/* ─── Floating cards ──────────────────────────────────────── */
.float-card {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--fg-1);
  animation: float 5s ease-in-out infinite; white-space: nowrap;
}
.float-card .fc-avatars { display: flex; }
.float-card .fc-avatars > * { border: 2px solid #fff; margin-left: -8px; }
.float-card .fc-avatars > *:first-child { margin-left: 0; }
.float-card.fc-tl { top: 60px; left: -8px; animation-delay: -1s; }
.float-card.fc-br { bottom: 100px; right: -16px; animation-delay: -3s; }
.float-card.fc-mr { top: 320px; right: -32px; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ─── Mini avatar ─────────────────────────────────────────── */
.mini-avatar {
  border-radius: 9999px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}

/* ─── Live Poll ───────────────────────────────────────────── */
.live-poll { display: flex; flex-direction: column; gap: 12px; background: var(--color-surface); }
.live-poll--phone { height: 100%; padding: 56px 14px 16px; border-radius: 38px; }
.live-poll--standalone {
  border: 1px solid var(--border-subtle); border-radius: 24px;
  padding: 18px; box-shadow: var(--shadow-md); width: 100%; max-width: 420px; margin: 0 auto;
}
.lp-header { display: flex; align-items: center; gap: 10px; }
.lp-name-row { display: flex; align-items: center; gap: 6px; }
.lp-name { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.lp-badge {
  font-size: 10px; font-weight: 600; padding: 2px 6px;
  background: var(--badge-influencer-bg); color: var(--badge-influencer-fg);
  border-radius: 9999px; letter-spacing: 0.02em;
}
.lp-meta { font-size: 11px; font-weight: 500; color: var(--fg-4); letter-spacing: 0.04em; margin-top: 2px; }
.lp-icon-btn {
  width: 32px; height: 32px; border-radius: 9999px; border: none;
  background: transparent; color: var(--fg-3); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.lp-icon-btn:hover { background: var(--color-surface-alt); }
.lp-question { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--fg-1); text-wrap: pretty; }
.lp-question em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; }
.lp-options { display: flex; flex-direction: column; gap: 8px; }
.lp-opt {
  position: relative; height: 158px; border-radius: 14px; overflow: hidden;
  border: none; padding: 0; background: var(--color-surface-alt);
  cursor: pointer; transition: transform .25s, box-shadow .25s; width: 100%;
}
.lp-opt:disabled { cursor: default; }
.lp-opt.picked { transform: scale(1.005); }
.lp-opt img { width: 100%; height: 100%; object-fit: cover; }
.lp-fill {
  position: absolute; top: 0; left: 0; bottom: 0; width: 0;
  opacity: 0.78; transition: width .5s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.lp-fill-a { background: linear-gradient(90deg, rgba(109,127,212,.93), #5B6FC7); }
.lp-fill-b { background: linear-gradient(90deg, rgba(197,106,152,.93), #B35A88); }
.lp-result-row {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); pointer-events: none;
}
.lp-side-label { font-size: 13px; font-weight: 600; opacity: .95; }
.lp-pct { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lp-side-pill {
  position: absolute; top: 12px; left: 14px;
  padding: 4px 10px; background: rgba(255,255,255,.94);
  color: var(--fg-1); font-size: 13px; font-weight: 600; border-radius: 9999px;
  pointer-events: none;
}
.lp-winner-pill {
  position: absolute; top: 12px; right: 14px;
  padding: 4px 10px; background: rgba(255,255,255,.94);
  color: var(--fg-1); font-size: 11px; font-weight: 600;
  border-radius: 9999px; letter-spacing: 0.04em; text-transform: uppercase;
  pointer-events: none;
}
.lp-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border-subtle); padding-top: 8px; margin-top: 4px;
}
.lp-tally { font-size: 12px; color: var(--fg-4); font-weight: 500; }
.lp-vote-again {
  display: none; align-items: center; gap: 6px;
  border: none; background: var(--brand-a-light); color: var(--brand-a);
  font-size: 12px; font-weight: 600; padding: 6px 10px;
  border-radius: 9999px; cursor: pointer; font-family: inherit;
}
.lp-vote-again.show { display: inline-flex; }
.lp-actions { display: flex; gap: 2px; }

/* ─── How it works ────────────────────────────────────────── */
.hiw-header { margin-bottom: 72px; }
.hiw-headline {
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02;
  letter-spacing: -0.035em; font-weight: 800; margin: 12px 0 0;
  color: var(--fg-1); text-wrap: balance;
}
.hiw-headline em { font-style: italic; font-family: 'Fraunces', serif; font-weight: 500; }
.hiw-steps { display: flex; flex-direction: column; gap: 80px; }
.hiw-step { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hiw-text { display: flex; flex-direction: column; }
.hiw-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em; color: var(--fg-4); margin-bottom: 10px; display: block; }
.hiw-title { font-size: 30px; font-weight: 800; letter-spacing: -0.022em; margin: 0 0 10px; color: var(--fg-1); }
.hiw-desc { font-size: 16px; line-height: 1.65; color: var(--fg-3); margin: 0; max-width: 36ch; }

/* Step 1 — post card, bottom-cropped so photos bleed off */
.hiw-s1-stage { position: relative; padding-bottom: 32px; }
.hiw-s1-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 20px 20px 0 0; padding: 14px 14px 0;
  box-shadow: 0 16px 40px -8px rgba(16,24,40,.18); overflow: hidden;
}
.hiw-s1-header { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; }
.hiw-s1-name { font-size: 13px; font-weight: 600; color: var(--fg-1); }
.hiw-s1-sub { font-size: 12px; color: var(--fg-4); }
.hiw-s1-caption { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.hiw-s1-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hiw-s1-opt { position: relative; border-radius: 12px 12px 0 0; overflow: hidden; aspect-ratio: 3/4; }
.hiw-s1-opt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hiw-s1-pill {
  position: absolute; top: 8px; left: 8px;
  width: 23px; height: 23px; border-radius: 9999px;
  font-size: 11px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.hiw-s1-pill-a { background: var(--brand-a); }
.hiw-s1-pill-b { background: var(--brand-b); }
/* Reaction chips floating outside the card */
.hiw-reaction {
  position: absolute; background: #fff; border: 1px solid var(--border-light);
  border-radius: 10px; padding: 7px 11px;
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--fg-1); white-space: nowrap;
  box-shadow: 0 4px 14px -4px rgba(16,24,40,.12);
  animation: float 5s ease-in-out infinite;
}
.hiw-reaction-1 { bottom: 4px; left: 0; transform: rotate(-1.5deg); animation-delay: -1s; }
.hiw-reaction-2 { bottom: 48px; right: -14px; transform: rotate(2deg); animation-delay: -3s; }

/* Step 2 — cascading vote rows, no card wrapper */
@keyframes hiw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hiw-s2-stage { display: flex; flex-direction: column; gap: 8px; }
.hiw-s2-lock {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--fg-4);
  padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 4px;
}
.hiw-s2-votes { display: flex; flex-direction: column; gap: 6px; }
.hiw-s2-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 1px 4px rgba(16,24,40,.05);
}
.hiw-s2-r1 { margin-left: 0; }
.hiw-s2-r2 { margin-left: 28px; }
.hiw-s2-r3 { margin-left: 10px; }
.hiw-s2-r4 { margin-left: 36px; }
.hiw-s2-meta { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.hiw-s2-name { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.hiw-s2-time { font-size: 11px; color: var(--fg-4); }
.hiw-s2-tag {
  width: 28px; height: 28px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.hiw-s2-tag-a { background: var(--brand-a-light); color: var(--brand-a); }
.hiw-s2-tag-b { background: var(--brand-b-pale); color: var(--brand-b); }
.hiw-s2-footer { font-size: 12px; color: var(--fg-4); font-weight: 500; padding-top: 4px; }
.hiw-typing-dots { display: flex; align-items: center; gap: 3px; }
.hiw-typing-dots span {
  width: 5px; height: 5px; border-radius: 9999px;
  background: var(--fg-4); animation: hiw-pulse 1.2s ease-in-out infinite;
}
.hiw-typing-dots span:nth-child(2) { animation-delay: .2s; }
.hiw-typing-dots span:nth-child(3) { animation-delay: .4s; }

/* Step 3 — photos without card wrapper, dominant percentages */
.hiw-s3-stage { display: flex; flex-direction: column; gap: 12px; }
.hiw-s3-meta { display: flex; align-items: center; gap: 10px; }
.hiw-winner-pill { background: var(--success-bg); color: var(--success); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; }
.hiw-s3-votes { font-size: 13px; color: var(--fg-4); font-weight: 500; }
.hiw-s3-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 16px; overflow: hidden; }
.hiw-s3-photo { position: relative; aspect-ratio: 3/5; overflow: hidden; }
.hiw-s3-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hiw-s3-lose img { filter: brightness(0.6) saturate(0.4); }
.hiw-s3-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
}
.hiw-s3-win .hiw-s3-overlay { background: linear-gradient(to top, rgba(74,92,176,.65) 0%, transparent 55%); }
.hiw-s3-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: 0.08em; }
.hiw-s3-pct { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.hiw-s3-pct-dim { font-size: 26px; opacity: .7; }
.hiw-s3-comments { display: flex; flex-direction: column; gap: 7px; }
.hiw-s3-cmt { display: flex; align-items: flex-start; gap: 8px; }
.hiw-s3-cmt-text { font-size: 13px; color: var(--fg-2); background: var(--color-surface-alt); padding: 6px 10px; border-radius: 10px; flex: 1; line-height: 1.4; }


/* ─── Demo ────────────────────────────────────────────────── */
.demo-stage {
  background: linear-gradient(180deg,#fff 0%,var(--color-surface-alt) 100%);
  border: 1px solid var(--border-subtle); border-radius: 32px;
  padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px; align-items: center;
}
.demo-copy { display: flex; flex-direction: column; gap: 20px; }
.demo-bullets { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.demo-bullet { display: flex; gap: 14px; align-items: flex-start; }
.bullet-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-a-light); color: var(--brand-a); flex-shrink: 0;
}
.demo-bullet:nth-child(2) .bullet-icon { background: var(--brand-b-pale); color: var(--brand-b); }
.demo-bullet:nth-child(3) .bullet-icon { background: var(--success-bg); color: var(--success); }
.demo-bullet h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.demo-bullet p  { margin: 0; font-size: 14px; color: var(--fg-3); line-height: 1.5; }

/* ─── Features ────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card {
  background: var(--color-surface); border: 1px solid var(--border-subtle);
  border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-light); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-a-light); color: var(--brand-a);
}
.feature-card.b .feature-icon { background: var(--brand-b-pale); color: var(--brand-b); }
.feature-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.feature-card p  { font-size: 14px; line-height: 1.55; color: var(--fg-3); margin: 0; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 8px; cursor: pointer;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--fg-1);
  background: transparent; border: none; width: 100%; text-align: left; transition: color .15s;
}
.faq-q:hover { color: var(--brand-a); }
.faq-q .chev { transition: transform .25s; color: var(--fg-4); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--brand-a); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner { padding: 0 8px 24px; font-size: 16px; line-height: 1.6; color: var(--fg-3); max-width: 64ch; }

/* ─── Atmosphere section ──────────────────────────────────── */
.atmo-section {
  background: var(--fg-1); padding: 96px 0;
  position: relative; overflow: hidden;
}
.atmo-section::before {
  content: ''; position: absolute; width: 500px; height: 500px;
  border-radius: 9999px; background: var(--brand-a); filter: blur(100px);
  opacity: 0.22; top: -200px; right: -100px; pointer-events: none;
}
.atmo-section::after {
  content: ''; position: absolute; width: 420px; height: 420px;
  border-radius: 9999px; background: var(--brand-b); filter: blur(100px);
  opacity: 0.18; bottom: -150px; left: 12%; pointer-events: none;
}
.atmo-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 52px; text-align: center;
}
.atmo-kicker {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.10em; color: rgba(255,255,255,.35); margin: 0;
}
.atmo-statement {
  font-size: clamp(36px, 5vw, 60px); line-height: 1.02;
  letter-spacing: -0.035em; font-weight: 800; color: #fff;
  margin: 10px 0 0; text-wrap: balance;
}
.atmo-statement em { font-style: italic; font-family: 'Fraunces', serif; font-weight: 500; color: var(--brand-b-light); }

/* Collage */
.atmo-collage { display: flex; gap: 12px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.atmo-col { display: flex; flex-direction: column; gap: 10px; }
.atmo-col-center { margin-top: 28px; }

/* Comment chips */
.atmo-comment {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--fg-1); white-space: nowrap;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.35);
  animation: float 5s ease-in-out infinite;
}
.atmo-c1 { transform: rotate(-1.5deg); animation-delay: -1s; }
.atmo-c2 { transform: rotate(1deg);   animation-delay: -2.5s; }
.atmo-c3 { transform: rotate(-0.8deg); animation-delay: -3.5s; }

/* Vote result card */
.atmo-vote-card {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 16px;
  box-shadow: 0 16px 36px -8px rgba(0,0,0,.35); min-width: 220px;
}
.atmo-vote-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.atmo-vote-row:last-of-type { margin-bottom: 0; }
.atmo-vlbl { font-size: 11px; font-weight: 700; width: 14px; flex-shrink: 0; }
.atmo-vlbl-a { color: var(--brand-a); }
.atmo-vlbl-b { color: var(--brand-b); }
.atmo-vtrack { flex: 1; height: 7px; background: var(--border-subtle); border-radius: 9999px; overflow: hidden; }
.atmo-vfill { height: 100%; border-radius: 9999px; }
.atmo-vfill-a { background: var(--brand-a); }
.atmo-vfill-b { background: var(--brand-b); }
.atmo-vpct { font-size: 12px; font-weight: 700; color: var(--fg-1); width: 30px; text-align: right; flex-shrink: 0; }
.atmo-vmeta { font-size: 11px; color: var(--fg-4); font-weight: 500; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-subtle); }

/* Winner badge */
.atmo-badge {
  background: var(--success-bg); border: 1px solid rgba(18,183,106,.2);
  border-radius: 12px; padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,.25); transform: rotate(1.5deg);
}
.atmo-badge-label { font-size: 13px; font-weight: 700; color: var(--success); }
.atmo-badge-margin { font-size: 12px; color: var(--fg-3); font-weight: 500; }

/* Live pill */
.atmo-live {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 9999px; padding: 8px 14px;
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--fg-2); white-space: nowrap;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,.25);
  animation: float 6s ease-in-out infinite; animation-delay: -4s;
}
.atmo-live-dot {
  width: 6px; height: 6px; background: var(--success); border-radius: 9999px;
  flex-shrink: 0; animation: hiw-pulse 2s ease-in-out infinite;
}
.atmo-live-avs { display: flex; }

/* Download link */
.atmo-download {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.45);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 2px; transition: color .15s, border-color .15s;
}
.atmo-download:hover { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.4); }

/* ─── Footer ──────────────────────────────────────────────── */
footer { padding: 40px 0 32px; border-top: 1px solid var(--border-subtle); }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 28px; margin-bottom: 20px; border-bottom: 1px solid var(--border-subtle);
}
.footer-left .wordmark { font-size: 17px; letter-spacing: 0.14em; }
.footer-tagline { margin: 10px 0 0; font-size: 13px; color: var(--fg-4); font-weight: 400; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.footer-app-link {
  font-size: 14px; font-weight: 500; color: var(--fg-2);
  text-decoration: none; transition: color .15s;
}
.footer-app-link:hover { color: var(--brand-a); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-5);
}
.footer-legal { display: flex; align-items: center; gap: 8px; }
.footer-legal a { color: var(--fg-5); text-decoration: none; transition: color .15s; }
.footer-legal a:hover { color: var(--fg-2); }
.footer-copy { color: var(--fg-5); }

/* ─── Static pages ────────────────────────────────────────── */
.static-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,252,253,.85);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.static-nav .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.static-nav .nav-links { display: flex; gap: 32px; align-items: center; }
.static-nav .nav-links a { color: var(--fg-3); font-size: 15px; font-weight: 500; transition: color .15s; text-decoration: none; }
.static-nav .nav-links a:hover { color: var(--fg-1); }
.legal-hero { padding: 80px 0 48px; position: relative; overflow: hidden; }
.legal-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(540px 380px at 12% -10%,var(--brand-a-light),transparent 60%),
              radial-gradient(540px 380px at 92% 0%,var(--brand-b-pale),transparent 60%);
  opacity: .55; pointer-events: none;
}
.legal-hero > .container { position: relative; z-index: 1; }
.legal-hero h1 { font-size: clamp(40px,5.5vw,64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; margin: 16px 0 12px; text-wrap: balance; }
.legal-hero h1 em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--brand-a); }
.legal-hero .meta { font-size: 14px; color: var(--fg-4); margin-top: 8px; letter-spacing: 0.02em; }
.legal-body { padding: 32px 0 96px; }
.legal-body .container { max-width: 1100px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: flex-start; }
.legal-toc {
  position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px;
  padding: 16px; background: var(--color-surface); border: 1px solid var(--border-subtle); border-radius: 16px;
}
.legal-toc a { color: var(--fg-3); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; text-decoration: none; transition: background .15s, color .15s; }
.legal-toc a:hover { background: var(--brand-a-light); color: var(--brand-a); }
.legal-toc-title { font-size: 12px; font-weight: 600; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.10em; padding: 6px 12px 12px; }
.legal-content {
  background: var(--color-surface); border: 1px solid var(--border-subtle);
  border-radius: 24px; padding: 48px 56px; font-size: 16px; line-height: 1.7; color: var(--fg-2);
}
.legal-content > .lede { font-size: 18px; line-height: 1.6; color: var(--fg-3); margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle); max-width: none; }
.legal-content h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; color: var(--fg-1); scroll-margin-top: 96px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; color: var(--fg-1); }
.legal-content p { margin: 0 0 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--brand-a); font-weight: 500; }
.legal-content a:hover { color: var(--brand-a-dark); }
.legal-content strong { color: var(--fg-1); font-weight: 600; }
.legal-callout { background: var(--brand-a-pale); border: 1px solid rgba(91,111,199,0.25); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; font-size: 15px; color: var(--fg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--color-surface); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 24px;
  display: flex; gap: 16px; align-items: flex-start; text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-light); }
.cc-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand-a-light); color: var(--brand-a); flex-shrink: 0; }
.contact-card.b .cc-icon { background: var(--brand-b-pale); color: var(--brand-b); }
.contact-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--fg-1); }
.contact-card p { font-size: 14px; color: var(--fg-3); margin: 0 0 6px; line-height: 1.5; }
.contact-card .cc-link { font-size: 14px; font-weight: 600; color: var(--brand-a); }
.contact-form { background: var(--color-surface); border: 1px solid var(--border-subtle); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-form h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--fg-1); }
.field input, .field textarea, .field select { font-family: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-default); background: var(--color-bg); color: var(--fg-1); outline: none; transition: border-color .15s, box-shadow .15s; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand-a); box-shadow: 0 0 0 4px var(--brand-a-light); }
.field textarea { min-height: 140px; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; align-items: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .demo-stage { grid-template-columns: 1fr; padding: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .atmo-collage { gap: 10px; }
  .atmo-col-center { margin-top: 16px; }
  .nav-links { display: none; }
  .hiw-step { grid-template-columns: 1fr; gap: 40px; }
  .hiw-s2-r2 { margin-left: 16px; }
  .hiw-s2-r4 { margin-left: 20px; }
  .hiw-reaction-2 { right: 0; }
}
@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: relative; top: auto; }
  .legal-content { padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .static-nav .nav-links { display: none; }
}
@media (max-width: 600px) {
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-right { align-items: flex-start; }
  .atmo-comment { white-space: normal; max-width: 200px; }
  .float-card.fc-mr, .float-card.fc-br { display: none; }
}
