:root {
  --ink: #17171b;
  --muted: #686870;
  --line: #e7e7ec;
  --paper: #ffffff;
  --soft: #f7f7fa;
  --purple: #6d4aff;
  --purple-dark: #5031d7;
  --purple-soft: #eeeaff;
  --yes: #35a86b;
  --no: #ef5b5b;
  --shadow: 0 18px 50px rgba(38, 26, 88, 0.13);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231,231,236,.8);
}
.nav {
  width: min(1120px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #7b5cff, #5636df);
  border-radius: 10px;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(109, 74, 255, .24);
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}
.nav-links a:hover { color: var(--ink); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .nav-links a:focus-visible, .brand:focus-visible, .footer-links a:focus-visible {
  outline: 3px solid rgba(109,74,255,.3);
  outline-offset: 3px;
}
.button-primary { background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(23,23,27,.14); }
.button-primary:hover { background: #2b2b31; }
.button-secondary { background: white; border-color: var(--line); color: var(--ink); }
.button-secondary:hover { border-color: #cfcfd8; }
.apple-icon { width: 17px; height: 20px; fill: currentColor; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(109,74,255,.16), transparent 31%),
    radial-gradient(circle at 15% 75%, rgba(255,190,92,.13), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image: radial-gradient(#766fa0 0.8px, transparent 0.8px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.hero-grid {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  border: 1px solid #ded6ff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.hero h1 {
  margin: 20px 0 18px;
  max-width: 650px;
  font-size: clamp(52px, 6.6vw, 84px);
  line-height: .96;
  letter-spacing: -.065em;
}
.hero h1 span { color: var(--purple); }
.hero-copy {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 14px; color: #85858d; font-size: 13px; }

.phone-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(109,74,255,.2);
  border-radius: 50%;
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 7px rgba(109,74,255,.1);
}
.orbit::before { left: 25px; top: 87px; }
.orbit::after { right: 48px; bottom: 56px; background: #f4a83a; box-shadow: 0 0 0 7px rgba(244,168,58,.11); }
.phone {
  position: relative;
  width: 284px;
  min-height: 500px;
  padding: 13px;
  border: 7px solid #19191d;
  border-radius: 42px;
  background: #19191d;
  box-shadow: var(--shadow), 0 30px 80px rgba(80,49,215,.18);
  transform: rotate(2.5deg);
}
.phone-screen {
  min-height: 460px;
  overflow: hidden;
  background: #f7f7fa;
  border-radius: 29px;
  padding: 16px 15px;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; margin: 4px 2px 18px; }
.phone-logo { font-size: 19px; font-weight: 900; letter-spacing: -.05em; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e7e1ff; color: var(--purple-dark); font-size: 12px; font-weight: 800; }
.poll-card { padding: 17px; background: white; border: 1px solid #e8e8ee; border-radius: 18px; box-shadow: 0 9px 25px rgba(36,31,60,.07); }
.poll-meta { display: flex; align-items: center; gap: 8px; color: #7d7d85; font-size: 11px; font-weight: 700; }
.mini-avatar { width: 26px; height: 26px; display: grid; place-items: center; background: #ffe8bd; border-radius: 50%; }
.poll-card h3 { margin: 14px 0 15px; font-size: 22px; line-height: 1.18; letter-spacing: -.035em; }
.poll-photo {
  height: 125px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 52px;
  background: linear-gradient(145deg, #6c51dc, #a46ee7 52%, #edb56b);
}
.vote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.vote { padding: 10px; border-radius: 10px; font-size: 13px; font-weight: 850; text-align: center; }
.vote-yes { background: #e9f7ef; color: #257a4e; }
.vote-no { background: #fff0f0; color: #ba3f3f; }
.results { margin-top: 12px; }
.results-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 750; color: #777780; }
.bar { height: 8px; margin-top: 6px; overflow: hidden; background: #f0d4d4; border-radius: 8px; }
.bar span { display: block; width: 72%; height: 100%; background: var(--yes); border-radius: 8px; }
.bottom-nav { display: flex; justify-content: space-around; margin: 20px 0 1px; color: #aaaab2; font-size: 19px; }
.bottom-nav .active { color: var(--purple); }
.float-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(34,26,75,.12);
  font-weight: 800;
  font-size: 13px;
}
.chip-one { left: -34px; top: 90px; transform: rotate(-5deg); }
.chip-two { right: -44px; bottom: 95px; transform: rotate(5deg); }

.section { padding: 96px 0; }
.section-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section-head { max-width: 680px; margin-bottom: 45px; }
.section-kicker { color: var(--purple); font-weight: 850; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section h2 { margin: 10px 0 12px; font-size: clamp(36px, 4vw, 52px); line-height: 1.06; letter-spacing: -.05em; }
.section-sub { margin: 0; color: var(--muted); font-size: 18px; }
.soft-section { background: var(--soft); border-block: 1px solid #eeeeF2; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; min-height: 235px; padding: 25px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.step-number { width: 36px; height: 36px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple-dark); border-radius: 10px; font-weight: 900; }
.step h3 { margin: 38px 0 8px; font-size: 20px; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step::after { content: "→"; position: absolute; right: -13px; top: 50%; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 50%; font-size: 13px; }
.step:last-child::after { display: none; }

.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.feature-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.feature-card.large { grid-row: span 2; min-height: 478px; color: white; border: 0; background: linear-gradient(145deg, #1f1f25 0%, #35275f 100%); overflow: hidden; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--purple-soft); color: var(--purple); font-size: 21px; }
.feature-card.large .feature-icon { background: rgba(255,255,255,.13); color: white; }
.feature-card h3 { margin: 20px 0 8px; font-size: 24px; letter-spacing: -.035em; }
.feature-card p { max-width: 500px; margin: 0; color: var(--muted); }
.feature-card.large p { color: rgba(255,255,255,.7); }
.question-cloud { position: relative; height: 220px; margin-top: 35px; }
.bubble { position: absolute; max-width: 210px; padding: 12px 15px; border-radius: 14px; background: white; color: var(--ink); font-size: 13px; font-weight: 750; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.bubble:nth-child(1) { left: 0; top: 12px; transform: rotate(-3deg); }
.bubble:nth-child(2) { right: 3px; top: 58px; transform: rotate(4deg); }
.bubble:nth-child(3) { left: 55px; bottom: 6px; transform: rotate(2deg); }

.cta { padding: 80px 0 96px; }
.cta-card {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 48px;
  text-align: center;
  color: white;
  border-radius: 28px;
  background: linear-gradient(145deg, #6d4aff, #4e2bc9);
  box-shadow: 0 24px 70px rgba(80,49,215,.23);
}
.cta-card h2 { margin: 0 auto 14px; max-width: 700px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.055em; }
.cta-card p { margin: 0 auto 28px; max-width: 590px; color: rgba(255,255,255,.78); font-size: 18px; }
.cta-card .button-primary { background: white; color: var(--ink); }

.site-footer { padding: 28px 0 38px; border-top: 1px solid var(--line); }
.footer-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-copy { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.legal-main { min-height: calc(100vh - 150px); background: linear-gradient(180deg, #faf9ff, white 280px); }
.legal-wrap { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 100px; }
.legal-label { color: var(--purple); font-size: 13px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.legal-wrap h1 { margin: 10px 0 8px; font-size: clamp(40px, 6vw, 60px); line-height: 1.04; letter-spacing: -.05em; }
.last-updated { margin: 0 0 36px; color: var(--muted); font-size: 14px; }
.legal-intro { margin: 0 0 36px; padding: 22px 24px; background: var(--purple-soft); border: 1px solid #ded6ff; border-radius: 14px; color: #3e2f77; font-size: 17px; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.025em; }
.legal-section p, .legal-section li { color: #55555d; }
.legal-section p { margin: 0; }
.legal-section ul { margin: 0; padding-left: 22px; }
.legal-section li + li { margin-top: 10px; }
.legal-section strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 38px; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .phone-stage { min-height: 500px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.large { min-height: 430px; }
}

@media (max-width: 640px) {
  .nav { width: min(100% - 32px, 1120px); height: 64px; }
  .nav-links a:not(.nav-app) { display: none; }
  .nav-app { padding: 0 14px; min-height: 42px; border-radius: 10px; background: var(--ink); color: white !important; }
  .hero { min-height: 100vh; }
  .hero-grid { width: min(100% - 36px, 1120px); padding: 58px 0 70px; }
  .hero h1 { font-size: 52px; }
  .hero-copy { font-size: 18px; }
  .phone { width: 264px; transform: rotate(1deg); }
  .orbit { width: 340px; height: 340px; }
  .chip-one { left: -16px; }
  .chip-two { right: -16px; }
  .section { padding: 72px 0; }
  .section-inner { width: min(100% - 36px, 1120px); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 200px; }
  .step::after { display: none; }
  .feature-card { padding: 24px; }
  .cta-card { width: min(100% - 28px, 1120px); padding: 52px 24px; border-radius: 22px; }
  .footer-inner { width: min(100% - 36px, 1120px); align-items: flex-start; flex-direction: column; }
  .legal-wrap { padding-top: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Public browser poll */
.poll-page {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 80% 5%, rgba(109,74,255,.28), transparent 28rem),
    radial-gradient(circle at 5% 85%, rgba(53,168,107,.12), transparent 24rem),
    #0d0d12;
}
.poll-header {
  width: min(720px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.poll-header .brand { color: #fff; }
.poll-app-link {
  padding: 9px 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255,255,255,.07);
}
.poll-shell { width: min(560px, calc(100% - 28px)); margin: 12px auto 0; padding-bottom: 36px; }
.web-poll-card {
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: rgba(25,25,34,.94);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}
.poll-state { min-height: 420px; display: grid; place-items: center; align-content: center; text-align: center; }
.poll-state h1 { margin: 20px 0 6px; font-size: 27px; letter-spacing: -.04em; }
.poll-state p { max-width: 360px; margin: 0 0 22px; color: #a7a7b4; }
.poll-state-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--purple); font-size: 28px; font-weight: 900; }
.poll-spinner { width: 42px; height: 42px; border: 4px solid rgba(255,255,255,.15); border-top-color: #8b73ff; border-radius: 50%; animation: poll-spin .8s linear infinite; }
@keyframes poll-spin { to { transform: rotate(360deg); } }
.web-poll-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #aaaab8; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #53d98b; box-shadow: 0 0 0 5px rgba(83,217,139,.11); }
.web-poll-media { overflow: hidden; margin: 0 -2px; border-radius: 20px; background: #050506; }
.web-poll-media img, .web-poll-media video { width: 100%; max-height: 520px; display: block; object-fit: contain; background: #050506; }
.web-poll-card > h1 { margin: 20px 0 6px; color: #fff; font-size: clamp(27px, 7vw, 38px); line-height: 1.12; letter-spacing: -.045em; }
.web-poll-timer { margin: 0 0 20px; color: #9999a8; font-size: 13px; font-weight: 700; }
.web-vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.web-vote-button { min-height: 66px; padding: 12px; border: 0; border-radius: 18px; font: inherit; font-size: 16px; font-weight: 900; letter-spacing: .025em; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.web-vote-button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.web-vote-button:active { transform: scale(.98); }
.web-vote-button:disabled { cursor: wait; opacity: .6; }
.web-vote-yes { color: #092919; background: #53d98b; }
.web-vote-no { color: #370b11; background: #ff6479; }
.web-vote-help { margin: 10px 0 0; color: #858594; text-align: center; font-size: 12px; }
.web-results { margin-top: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.04); }
.web-result-row + .web-result-row { margin-top: 15px; }
.web-result-label { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 13px; }
.web-result-label span { color: #c9c9d2; font-weight: 800; }
.web-result-track { height: 13px; overflow: hidden; border-radius: 999px; background: #292934; }
.web-result-fill { display: block; width: 0; height: 100%; border-radius: inherit; transition: width .45s ease; }
.yes-fill { background: #53d98b; }
.no-fill { background: #ff6479; }
.web-vote-total { margin: 14px 0 0; color: #9999a8; text-align: center; font-size: 13px; font-weight: 700; }
.web-after-vote { margin-top: 18px; text-align: center; }
.web-after-vote > p { margin: 0 0 14px; font-weight: 800; }
.web-after-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.web-after-actions .button-secondary { color: #fff; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); cursor: pointer; }
.web-after-actions .button-primary { background: #fff; color: #17171b; }
.web-poll-toast { min-height: 20px; margin: 12px 0 0; color: #ffcf70; text-align: center; font-size: 13px; }
.app-vote-gate {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px 14px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.app-vote-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #17171b; background: #fff; font-size: 22px; font-weight: 900; }
.app-vote-gate h2 { margin: 0 0 4px; color: #fff; font-size: 18px; line-height: 1.2; }
.app-vote-gate p { margin: 0; color: #aaaab8; font-size: 14px; line-height: 1.45; }
.app-open-button { grid-column: 1 / -1; width: 100%; min-height: 50px; border: 0; cursor: pointer; }
.app-store-fallback { grid-column: 1 / -1; color: #c8c8d2; text-align: center; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.app-open-button:focus-visible, .app-store-fallback:focus-visible { outline: 3px solid #ffcf70; outline-offset: 3px; }
.poll-footer { width: min(560px, calc(100% - 28px)); margin: 0 auto; padding: 0 0 28px; color: #696978; text-align: center; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 520px) {
  .poll-header { min-height: 64px; }
  .poll-shell { margin-top: 4px; }
  .web-poll-card { padding: 17px; border-radius: 23px; }
  .web-vote-button { min-height: 62px; border-radius: 16px; }
}

.poll-page [hidden] { display: none !important; }
