/* invibeapp.com — one stylesheet for every page (pages built by site/build.mjs).
   Palette = the app's dark palette (app/src/theme/palettes.ts): night base,
   signature green for "live", gold only for Premium, purple surfaces. */

/* Fonts are served from this site, not Google Fonts, so a visitor's IP never
   reaches a third party (PRD 11.6). Rubik + Karantina, SIL OFL 1.1 — licenses in
   /assets/fonts/. Hebrew and Latin subsets; the browser fetches only what a
   page actually uses (unicode-range). */
@font-face { font-family: 'Karantina'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/karantina-hebrew-400-normal.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Karantina'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/karantina-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Karantina'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/karantina-hebrew-700-normal.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Karantina'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/karantina-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/rubik-hebrew-400-normal.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/rubik-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/rubik-hebrew-500-normal.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/rubik-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/rubik-hebrew-600-normal.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/rubik-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/rubik-hebrew-700-normal.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/rubik-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #12111A;
  --bg-deep: #0C0B12;
  --surface: #1E1B2E;
  --surface-alt: #2D264F;
  --line: #2E2847;
  --line-strong: #3B3363;
  --text: #FFFFFF;
  --body: #E2E0EC;
  --muted: #9490A8;
  --accent: #00E676;
  --on-accent: #12111A;
  --gold: #F59E0B;
  --violet: #6A5ACD;

  --display: 'Karantina', 'Rubik', sans-serif;
  --sans: 'Rubik', system-ui, sans-serif;

  --r-card: 22px;
  --r-pill: 999px;
  --wrap: 1140px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* The hero glows bleed past the viewport on purpose. `clip` (not `hidden`)
   trims them without turning body into a scroll container, which would
   break the sticky header. */
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* Film grain over everything — atmosphere, not decoration. */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ type */

.display {
  font-family: var(--display);
  font-weight: 700;
  color: var(--text);
  line-height: .92;
  letter-spacing: .5px;
  margin: 0;
}
h1.display { font-size: clamp(64px, 12vw, 148px); }
h2.display { font-size: clamp(48px, 7.5vw, 96px); }
h3 { color: var(--text); font-size: 21px; line-height: 1.3; margin: 0 0 8px; font-weight: 600; }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--body); max-width: 34ch; margin: 22px 0 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .4px; color: var(--accent);
  margin: 0 0 18px;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 230, 118, .6); animation: live 2s infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, .55); }
  70% { box-shadow: 0 0 0 12px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}
.accent { color: var(--accent); }
.gold { color: var(--gold); }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: var(--r-pill); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px rgba(0, 230, 118, .55); }
.btn-accent:hover { box-shadow: 0 16px 40px -10px rgba(0, 230, 118, .7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(30, 27, 46, .5); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 15px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 176px; padding: 10px 22px; border-radius: 16px;
  background: var(--text); color: var(--bg); text-decoration: none; line-height: 1.2;
  transition: transform .25s var(--ease);
}
.store:hover { transform: translateY(-2px); }
.store small { font-size: 12px; opacity: .7; }
.store span { font-size: 19px; font-weight: 700; }
.store.is-soon { background: transparent; color: var(--text); border: 1px dashed var(--line-strong); cursor: default; }
.store.is-soon:hover { transform: none; }
.store.is-soon small { color: var(--accent); opacity: 1; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 17, 26, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(18, 17, 26, .88); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { border-radius: 10px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: .5px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500;
  position: relative; padding-block: 6px; transition: color .2s;
}
.site-nav ul a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a[aria-current='page'] { color: var(--text); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current='page']::after { transform: scaleX(1); }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line); cursor: pointer;
  }
  .menu-btn i { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .menu-btn[aria-expanded='true'] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded='true'] i:nth-of-type(2) { opacity: 0; }
  .menu-btn[aria-expanded='true'] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 16px 20px 28px; background: var(--bg-deep); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .nav-cta { margin-top: 12px; }
}

/* ------------------------------------------------------------ reveal */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay='1'] { transition-delay: .1s; }
.js .reveal[data-delay='2'] { transition-delay: .2s; }
.js .reveal[data-delay='3'] { transition-delay: .3s; }
.js .reveal[data-delay='4'] { transition-delay: .4s; }

/* Page-load stagger for the hero. */
.rise { animation: rise 1s var(--ease) both; }
.rise-1 { animation-delay: .08s; } .rise-2 { animation-delay: .2s; }
.rise-3 { animation-delay: .32s; } .rise-4 { animation-delay: .44s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ hero */

.hero { position: relative; padding: 64px 0 40px; isolation: isolate; overflow-x: clip; }
.hero::before, .hero::after {
  content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px; inset-inline-start: -160px; top: -120px;
  background: radial-gradient(circle, rgba(0, 230, 118, .22), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 620px; height: 620px; inset-inline-end: -220px; top: 120px;
  background: radial-gradient(circle, rgba(106, 90, 205, .35), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 .line { display: block; }
.hero h1 .accent { text-shadow: 0 0 40px rgba(0, 230, 118, .35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.age { direction: ltr; unicode-bidi: isolate; display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; color: var(--text); }

@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ------------------------------------------------------------ phone */

.phone-stage { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: 300px; height: 610px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2A2540, #15131F 55%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 0 10px rgba(46, 40, 71, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotate(-4deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2.5deg) translateY(-14px); } }
.phone::before {
  content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #07060B; z-index: 3;
}
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); }
.screen-top { padding: 58px 16px 10px; background: linear-gradient(var(--bg) 75%, transparent); position: relative; z-index: 2; }
.screen-title { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 17px; }
.chips { display: flex; gap: 6px; margin-top: 10px; overflow: hidden; }
.chip {
  flex: none; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--muted); background: var(--surface);
}
.chip.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.feed { position: absolute; inset: 118px 12px 0; overflow: hidden; mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); }
.feed-track { display: flex; flex-direction: column; gap: 10px; animation: feed 26s linear infinite; }
.phone-stage:hover .feed-track { animation-play-state: paused; }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.status {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 13px;
  font-size: 13px; line-height: 1.5;
}
.status.is-premium { border-color: rgba(245, 158, 11, .7); box-shadow: 0 0 18px -6px rgba(245, 158, 11, .45); }
.status-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--surface-alt), var(--violet));
  display: grid; place-items: center; font-size: 13px; color: var(--text); font-weight: 700;
}
.status-name { color: var(--text); font-weight: 600; font-size: 13px; }
.status-name .online { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-inline-start: 5px; vertical-align: middle; }
.status .chip { margin-inline-start: auto; font-size: 10.5px; padding: 2px 8px; }
.status p { margin: 0 0 8px; color: var(--body); }
.status-foot { display: flex; justify-content: space-between; align-items: center; }
.status-foot time { font-size: 11px; color: var(--muted); }
.reply { font-size: 11.5px; font-weight: 700; color: var(--accent); border: 1px solid rgba(0, 230, 118, .45); padding: 3px 12px; border-radius: var(--r-pill); }
.phone-caption { margin-top: 26px; font-size: 13px; color: var(--muted); }

/* Floating signal bubbles around the phone. */
.ping {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--text);
  background: rgba(30, 27, 46, .9); border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .9);
  animation: bob 6s ease-in-out infinite;
}
.ping-1 { top: 70px; inset-inline-start: -10px; }
.ping-2 { bottom: 120px; inset-inline-end: -20px; animation-delay: -3s; }
.ping b { color: var(--accent); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .ping { display: none; } .phone { width: 270px; height: 560px; } }

/* ------------------------------------------------------------ marquee */

.marquee {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-deep); padding: 18px 0; margin-top: 40px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 22px; padding-inline: 22px;
  font-family: var(--display); font-size: clamp(34px, 5vw, 56px); font-weight: 700; color: var(--text); white-space: nowrap;
}
.marquee-track span::after { content: '✦'; font-family: var(--sans); font-size: 18px; color: var(--accent); }
.marquee-track span:nth-child(3n + 2) { color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ------------------------------------------------------------ sections */

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { font-size: 19px; margin: 18px 0 0; color: var(--body); }
@media (max-width: 700px) { .section { padding: 84px 0; } }

/* How it works — three steps with giant numerals. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 34px 28px 30px; border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--surface), rgba(30, 27, 46, .35));
  border: 1px solid var(--line); overflow: hidden;
}
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; inset-inline-end: 18px; top: -18px;
  font-family: var(--display); font-size: 150px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color .4s, color .4s;
}
.step:hover::before { -webkit-text-stroke-color: var(--accent); }
.step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 230, 118, .1); color: var(--accent); margin-bottom: 70px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Bento of the three pillars. */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  grid-column: span 2; position: relative; padding: 30px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tile.wide { grid-column: span 4; }
.tile .glyph { font-size: 30px; margin-bottom: 14px; display: block; }
.tile p { margin: 0; color: var(--muted); }
.tile .tag { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--accent); font-weight: 600; }
.tile-glow::after {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  inset-inline-start: -80px; bottom: -160px; background: radial-gradient(circle, rgba(0, 230, 118, .18), transparent 65%);
}
@media (max-width: 900px) { .tile, .tile.wide { grid-column: span 6; } }

/* Communities — the vote card fills when it scrolls into view. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.idea-list { margin: 0 0 16px; padding-inline-start: 20px; display: grid; gap: 8px; }
.idea-list li::marker { color: var(--accent); }
.idea-list a { color: var(--accent); }
.vote-card {
  position: relative; z-index: 1; padding: 28px; border-radius: 28px; background: var(--surface);
  border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 1);
}
.vote-card:first-child { z-index: 2; }
.vote-card + .vote-card { margin-top: -30px; margin-inline-start: 48px; transform: rotate(2deg); opacity: .55; }
.vote-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vote-card h3 { font-size: 22px; margin: 14px 0 4px; }
.vote-card p { margin: 0; color: var(--muted); font-size: 15px; }
.bar { height: 10px; border-radius: 10px; background: var(--bg); margin: 22px 0 10px; overflow: hidden; }
.bar i {
  display: block; height: 100%; width: 0; border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), #7CFFB5);
  box-shadow: 0 0 20px rgba(0, 230, 118, .6);
  transition: width 2.2s var(--ease) .3s;
}
.vote-card.in .bar i, html:not(.js) .bar i { width: var(--fill); }
.vote-meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.vote-meta b { color: var(--text); }
.pill-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); background: rgba(0, 230, 118, .1); padding: 6px 12px; border-radius: var(--r-pill); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: rgba(0, 230, 118, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300E676' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Safety — a quiet, dense grid. */
.safety { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.safety > div { background: var(--bg); padding: 30px 26px; }
.safety h3 { font-size: 18px; }
.safety p { margin: 0; color: var(--muted); font-size: 15px; }
.safety .big { font-family: var(--display); font-size: 58px; line-height: 1; color: var(--accent); margin-bottom: 12px; font-weight: 700; }
@media (max-width: 900px) { .safety { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .safety { grid-template-columns: 1fr; } }

/* Premium — the only gold on the page. */
.premium {
  position: relative; padding: 56px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(245, 158, 11, .16), transparent 55%), var(--surface);
  border: 1px solid rgba(245, 158, 11, .35);
}
.premium .display { color: var(--gold); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.perk { padding: 20px; border-radius: 18px; background: rgba(18, 17, 26, .6); border: 1px solid var(--line); }
.perk h3 { font-size: 17px; margin-bottom: 4px; }
.perk p { margin: 0; font-size: 14px; color: var(--muted); }
.fair { margin-top: 28px; font-size: 15px; color: var(--muted); }
.fair b { color: var(--text); }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } .premium { padding: 34px 22px; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* Download CTA. */
.cta {
  position: relative; text-align: center; padding: 110px 20px; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: var(--bg-deep); border: 1px solid var(--line);
}
.cta::before {
  content: ''; position: absolute; inset: auto 0 -60% 0; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 230, 118, .28), transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.cta .stores { justify-content: center; margin-top: 34px; }
.cta p { max-width: 520px; margin: 18px auto 0; font-size: 19px; }

/* ------------------------------------------------------------ inner pages */

.page-hero { position: relative; padding: 72px 0 40px; isolation: isolate; overflow-x: clip; }
.page-hero::before {
  content: ''; position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%;
  inset-inline-start: -180px; top: -260px; filter: blur(80px);
  background: radial-gradient(circle, rgba(106, 90, 205, .3), transparent 65%);
}
.page-hero .lead { max-width: 48ch; }
.page-hero--doc { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.page-hero--doc h1.display { font-size: clamp(56px, 9vw, 110px); }
.doc-meta { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.doc-meta a { color: var(--accent); }

/* Legal documents: sticky contents + a readable column. */
.doc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; padding-block: 48px 110px; align-items: start; }
.doc-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-inline-end: 8px; }
.toc-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .4px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.doc-toc a {
  display: block; padding: 6px 14px; font-size: 14px; line-height: 1.45; color: var(--muted); text-decoration: none;
  border-inline-start: 2px solid transparent; margin-inline-start: -1px; transition: color .2s, border-color .2s;
}
.doc-toc a:hover, .doc-toc a.is-active { color: var(--text); border-inline-start-color: var(--accent); }
.doc { max-width: 74ch; font-size: 17px; }
.doc h2 { font-size: 26px; color: var(--text); margin: 52px 0 14px; padding-top: 8px; line-height: 1.3; }
.doc h3 { margin-top: 30px; }
.doc p { margin: 0 0 14px; }
.doc .clause { display: grid; grid-template-columns: 3.4em 1fr; gap: 4px; }
.doc .num { color: var(--muted); font-variant-numeric: tabular-nums; }
.doc ul { margin: 0 0 16px; padding-inline-start: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--text); }
.doc a { color: var(--accent); }
.doc-intro { padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.doc-intro p:last-child { margin: 0; }
.appendix { margin-top: 64px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.vendor strong { display: block; color: var(--text); }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { position: static; max-height: none; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
}

/* Cards (legal hub, about, contact). */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  display: block; position: relative; padding: 30px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s;
}
a.card:hover { transform: translateY(-4px); border-color: var(--accent); }
a.card::after { content: '←'; position: absolute; inset-inline-end: 26px; top: 26px; color: var(--accent); font-size: 22px; transition: transform .3s var(--ease); }
a.card:hover::after { transform: translateX(-6px); }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

.tenets { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.tenets li {
  counter-increment: t; display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.tenets li::before { content: '0' counter(t); font-family: var(--display); font-size: 84px; line-height: .8; font-weight: 700; color: var(--accent); }
.tenets h3 { font-size: 24px; }
.tenets p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .tenets li { grid-template-columns: 1fr; gap: 6px; } }

.mail-card { padding: 40px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line-strong); }
.mail-big { font-family: var(--display); font-size: clamp(34px, 9.4vw, 80px); font-weight: 700; color: var(--text); line-height: 1; overflow-wrap: anywhere; direction: ltr; text-align: right; margin: 8px 0 26px; }
@media (max-width: 560px) { .mail-card { padding: 26px 20px; } .mail-actions .btn { width: 100%; } }
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.copied { color: var(--accent); font-size: 15px; font-weight: 600; min-height: 1.6em; margin: 14px 0 0; }

/* Small funnel pages (reset password, proposal invite). */
.funnel { max-width: 560px; margin-inline: auto; text-align: center; padding: 72px 20px 110px; }
.funnel .stores { justify-content: center; margin-top: 16px; }
.funnel .card { text-align: center; margin-top: 30px; }
.funnel .btn { width: 100%; margin-top: 26px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ footer */

.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.2fr; gap: 32px; padding-bottom: 44px; }
.site-footer h2 { font-size: 14px; color: var(--muted); font-weight: 600; margin: 0 0 14px; letter-spacing: .3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--body); transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-brand p { margin: 14px 0 0; color: var(--muted); }
.age-note { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mail { direction: ltr; unicode-bidi: embed; }
.site-footer .social-title { margin-top: 26px; }
.site-footer .social { display: flex; gap: 10px; }
.social-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--body); }
.social-link:hover { border-color: var(--accent); }
.social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ guides */

.crumbs { padding-top: 26px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '‹'; margin-inline-end: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--body); }
.page-hero--guide { padding-top: 34px; }
.page-hero--guide h1.display { font-size: clamp(54px, 9vw, 112px); }
.page-hero--guide .lead { max-width: 52ch; }

.guide { padding-block: 24px 20px; font-size: 18px; line-height: 1.75; }
.guide h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 56px; }
.guide h2:first-child { margin-top: 8px; }
.guide ol { margin: 0 0 18px; padding-inline-start: 24px; }
.guide ol li { margin-bottom: 10px; padding-inline-start: 4px; }
.guide ol li::marker { color: var(--accent); font-weight: 700; }
.guide .quote-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.guide .quote-list li { margin: 0; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.guide .quote-list li::marker { content: none; }
.summary { padding: 22px 24px; margin: 0 0 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--accent); }
.summary p { margin: 0; color: var(--body); }
.summary strong { color: var(--accent); }
.app-box { position: relative; margin: 40px 0; padding: 28px; border-radius: var(--r-card); background: linear-gradient(160deg, var(--surface-alt), var(--surface) 70%); border: 1px solid var(--line-strong); overflow: hidden; }
.app-box::after { content: ''; position: absolute; inset-inline-start: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(rgba(0, 230, 118, .16), transparent 70%); pointer-events: none; }
.app-box .kicker { margin-bottom: 10px; }
.app-box h3 { font-size: 24px; }
.app-box p { color: var(--body); }
.app-box p:last-child { margin-bottom: 0; }
.app-box .btn { margin-top: 8px; }
.guide .app-box a.btn { color: var(--on-accent); text-decoration: none; }
.note-box { margin: 32px 0; padding: 20px 22px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--body); font-size: 16px; }
.note-box p { margin: 0; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-strong); font-size: 20px; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 18px; }
.faq-item h3 { margin: 0; font-size: 18px; }
.faq-a { padding: 0 24px 22px; color: var(--body); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--accent); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 26px; color: var(--text); margin: 0 0 18px; }

.hero--intent { padding-top: 24px; }
.vibe-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.vibe-wall .status { margin: 0; }
@media (max-width: 900px) { .vibe-wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vibe-wall { grid-template-columns: 1fr; } }

.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: 6px; padding-inline-end: 56px; }
.guide-card h3 { margin: 0; }
.guide-card .guide-card-kicker { color: var(--accent); font-size: 13px; font-weight: 600; }
@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide-cards { grid-template-columns: 1fr; } .app-box { padding: 22px 18px; } .guide { font-size: 17px; } }

/* ------------------------------------------------------------ motion off */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bar i { width: var(--fill); }
  html { scroll-behavior: auto; }
}
