/* ================================================================
   GOVELING LANDING — design tokens
   Type:  Geist (sans) + Instrument Serif (display accents)
   Color: warm off-white, ink black, brand blue→purple, coral, mint
   ================================================================ */

:root {
  /* color */
  --ink: #0B0F1A;
  --ink-2: #1B2030;
  --muted: #57607A;
  --muted-2: #8A92A6;
  --line: #ECECE6;
  --line-2: #E1E2DC;
  --bg: #FBFAF7;          /* warm off-white */
  --surface: #FFFFFF;
  --surface-warm: #F4F2EC;
  /* Brand */
  --purple: #4F1E81;       /* exact logo purple */
  --purple-2: #6B30A8;
  --purple-3: #8B5CF6;
  --orange: #DD4715;       /* exact airship orange */
  --orange-2: #F26430;
  /* Supporting (matches in-app palette) */
  --blue: #2563EB;
  --blue-2: #3B82F6;
  --coral: #DD4715;        /* alias → brand orange */
  --coral-2: #F26430;
  --mint: #10B981;
  --mint-2: #34D399;
  --amber: #F59E0B;

  /* type */
  --f-sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, monospace;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;

  /* layout */
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;

  /* shadows */
  --sh-sm: 0 1px 2px rgba(13,18,29,.06), 0 2px 6px rgba(13,18,29,.04);
  --sh-md: 0 4px 14px rgba(13,18,29,.06), 0 18px 40px rgba(13,18,29,.08);
  --sh-lg: 0 10px 30px rgba(13,18,29,.08), 0 40px 80px rgba(13,18,29,.14);
  --sh-phone: 0 30px 60px -20px rgba(13,18,29,.35), 0 60px 120px -30px rgba(60,30,140,.25);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display:block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px var(--pad);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0; /* allow the logo to shrink in tight nav layouts instead of overflowing */
}
.brand__logo {
  /* A fixed `height` + the global `img{max-width:100%}` squashed the logo
     horizontally when the nav got tight on mobile. `object-fit: contain`
     keeps the artwork's aspect ratio even if the box is capped narrower,
     so it scales down cleanly instead of distorting. */
  height: 30px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.footer__brand .brand__logo { height: 34px; }
.nav__links {
  display: flex;
  gap: 28px;
  justify-self: center;
  font-size: 15px;
  color: var(--ink-2);
}
.nav__links a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content:''; position:absolute; left:0; right:100%; bottom:0;
  height: 1.5px; background: var(--ink);
  transition: right .22s ease;
}
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.link-quiet { color: var(--muted); font-size: 15px; padding: 8px 4px; }
.link-quiet:hover { color: var(--ink); }
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
}
.nav__burger span {
  display: block; width: 16px; height: 1.5px;
  background: var(--ink);
  position: absolute; left: 11px; top: 16px;
  transition: transform .2s, top .2s;
}
.nav__burger span:last-child { top: 22px; }

/* Info-page nav: the long section list only appears in the mobile burger.
   On desktop the sticky .info-toc sidebar handles section navigation. */
@media (min-width: 901px) {
  .nav--info .nav__links { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 14px; height: 14px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-1px); box-shadow: var(--sh-sm); }
.btn--light { background: #fff; color: var(--ink); padding: 14px 22px; font-weight: 500; }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }

/* App-store buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 10.5px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; font-weight: 400;}
.store-btn strong { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.store-btn--invert { background: #fff; color: var(--ink); }

/* ===== LANGUAGE PICKER ===== */
.lang-picker { position: relative; }
.lang-picker__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  font-family: var(--f-mono);
  letter-spacing: .04em;
  transition: border-color .15s ease, color .15s ease;
}
.lang-picker__btn:hover { border-color: var(--purple); color: var(--purple); }
.lang-picker__btn svg { width: 14px; height: 14px; opacity: .75; }
.lang-picker__chev { width: 10px !important; height: 10px !important; opacity: .6 !important; }
.lang-picker__current { line-height: 1; }
.lang-picker__menu {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  padding: 6px;
  min-width: 200px;
  z-index: 200;
  display: flex; flex-direction: column;
  animation: pickerIn .18s ease;
}
.lang-picker__menu[hidden] { display: none !important; }
@keyframes pickerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.lang-picker__menu [data-lang] {
  display: grid;
  grid-template-columns: 22px 1fr 16px;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-2);
  text-align: left;
  transition: background .12s ease, color .12s ease;
}
.lang-picker__menu [data-lang]:hover { background: color-mix(in oklab, var(--surface-warm) 80%, white); color: var(--ink); }
.lang-picker__menu [data-lang].is-active { color: var(--purple); font-weight: 500; }
.lang-picker__check { width: 14px; height: 14px; opacity: 0; }
.lang-picker__menu [data-lang].is-active .lang-picker__check { opacity: 1; }
.lang-picker__flag { font-size: 16px; line-height: 1; }
.lang-picker__label { white-space: nowrap; }

@media (max-width: 900px) {
  .lang-picker__btn { padding: 7px 8px; }
  .lang-picker__current { display: none; }
  .lang-picker__chev { display: none; }
  .lang-picker__menu { right: -20px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 64px var(--pad) 96px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.hero__bg-blob {
  position:absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.hero__bg-blob--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #93C5FD 0%, transparent 70%);
  right: -100px; top: -120px;
}
.hero__bg-blob--b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #DDD6FE 0%, transparent 70%);
  left: -120px; top: 200px;
}

.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  white-space: nowrap;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--mint) 20%, transparent);
}
.eyebrow--invert { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); color: #fff; }
.eyebrow--invert .eyebrow__dot { background: var(--mint-2); }

.hero__title {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -.035em;
  font-weight: 600;
  margin: 22px 0 22px;
}
.hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  background: linear-gradient(120deg, var(--purple) 0%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  max-width: 520px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 32px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.hero__cta--centerish { justify-content: flex-start; }

.hero__signals {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.hero__signals li {
  display: flex; flex-direction: column;
}
.hero__signals strong {
  font-size: 22px; font-weight: 600;
  letter-spacing: -.02em;
}
.hero__signals span {
  font-size: 12.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin-top: 2px;
}

/* ===== HERO PHONE STAGE ===== */
.hero__stage {
  position: relative;
  min-height: 620px;
}

.phone {
  --rot: 0deg;
  --x: 0px;
  --y: 0px;
  position: relative;
  width: 270px;
  aspect-ratio: 9 / 19.5;
  background: #0B0F1A;
  border-radius: 38px;
  padding: 8px;
  box-shadow: var(--sh-phone);
  transform: rotate(var(--rot)) translate(var(--x), var(--y));
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.phone__screen {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone__screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 24px;
  background: #0B0F1A;
  border-radius: 999px;
  z-index: 2;
}
.phone--back { position: absolute; left: 50%; top: 50%; transform-origin: center; margin: -300px 0 0 -135px; transform: rotate(var(--rot)) translate(var(--x), var(--y)); filter: brightness(.96); }
.phone--front { position: absolute; left: 50%; top: 50%; transform-origin: center; margin: -300px 0 0 -135px; z-index: 2; }
.phone--single { margin: 0 auto; }
.phone--tilt { transform: rotate(var(--rot)); }

.hero__stage:hover .phone--back { transform: rotate(calc(var(--rot) - 2deg)) translate(calc(var(--x) - 8px), var(--y)); }
.hero__stage:hover .phone--front { transform: rotate(calc(var(--rot) + 1deg)) translate(calc(var(--x) + 4px), -8px); }

/* Floating cards over phones */
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-md);
  z-index: 4;
  font-size: 13.5px;
  white-space: nowrap;
}
.float-card small { display: block; color: var(--muted); font-size: 11.5px; letter-spacing: .02em; }
.float-card strong { display: block; font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.float-card__icon, .float-card__avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--purple) 12%, white);
  flex: none;
}
.float-card__icon--mint { background: color-mix(in oklab, var(--mint) 12%, white); }
.float-card__icon svg, .float-card__avatar svg { width: 20px; height: 20px; }
.float-card--ai { bottom: 16%; left: -6%; top: auto; }
.float-card--link { bottom: 13%; right: -10%; }
.float-card--rating { top: 12%; right: -6%; }
.float-card--saved { bottom: 12%; left: -8%; }
.float-card__stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }

/* ===== PUSH NOTIFICATION CARD (hero core) ===== */
.push-card {
  position: absolute;
  top: 2%;
  right: 2%;
  width: 290px;
  max-width: 78vw;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 13px 15px;
  box-shadow: var(--sh-lg);
  z-index: 5;
  animation: pushIn .7s cubic-bezier(.2,.8,.2,1) .2s both;
}
@media (prefers-reduced-motion: reduce) { .push-card { animation: none; } }
@keyframes pushIn {
  0%   { transform: translateY(-14px) scale(.96); }
  100% { transform: none; }
}
.push-card__head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.push-card__app {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13,18,29,.12);
  flex: none;
}
.push-card__app img { width: 100%; height: 100%; object-fit: contain; }
.push-card__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-2);
  text-transform: uppercase;
  flex: 1;
}
.push-card__time {
  font-size: 11.5px;
  color: var(--muted-2);
}
.push-card__body { display: flex; flex-direction: column; gap: 3px; }
.push-card__body strong {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.25;
}
.push-card__body span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.push-card::after {
  content: '';
  position: absolute;
  left: 14px; top: -7px;
  width: 28px; height: 5px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--purple) 40%, transparent);
}

.pulse {
  position: absolute; right: 12px; top: 12px;
  width: 8px; height: 8px;
  background: var(--mint); border-radius: 50%;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--mint) 60%, transparent);
  animation: pulse 2s infinite;
}
.pulse--mint { position: static; display: inline-block; margin-right: 4px; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--mint) 60%, transparent); }
  70%  { box-shadow: 0 0 0 8px color-mix(in oklab, var(--mint) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--mint) 0%, transparent); }
}

/* ===== STRIP ===== */
.strip {
  padding: 18px var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface-warm) 55%, white);
}
.strip__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.strip__label {
  font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
}
.strip__logos { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
}
.chip svg { width: 16px; height: 16px; }

/* ===== SECTION HEADS ===== */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 var(--pad);
}
.section-head--left { text-align: left; max-width: var(--maxw); padding: 0; margin-left: 0; }
.kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}
.kicker--light { color: color-mix(in oklab, white 80%, var(--purple-2) 50%); }
.section-title {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 0 0 18px;
}
.section-title--light { color: #fff; }
.section-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}
.section-sub--light { color: rgba(255,255,255,.7); margin-left: 0; }

/* ===== FLOW (How it works) ===== */
.flow { padding: 100px var(--pad); }
.flow__steps {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.step__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.step__num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--purple);
  letter-spacing: .08em;
}
.step h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
}
.step p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 24px;
  flex: 1;
}
.step__visual {
  margin: 0 -28px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface-warm) 50%, white), white 60%);
  padding: 24px;
  border-top: 1px solid var(--line);
  display: grid; place-items: center;
  min-height: 280px;
}
.step__visual img {
  max-height: 360px;
  border-radius: 18px;
  box-shadow: var(--sh-md);
}
.step__visual--share { background: linear-gradient(160deg, #EDE9FE, #FCE7F3 100%); }

.share-sheet {
  width: 240px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.share-sheet__title { font-size: 12px; color: var(--muted); margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.share-sheet__row { display: flex; gap: 10px; margin-bottom: 12px; }
.share-sheet__app {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fff;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
}
.share-sheet__app--gov {
  background: #fff;
  border-color: var(--purple);
  outline-color: var(--purple);
  padding: 5px;
}
.share-sheet__app--gov img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
.share-sheet__app.is-active {
  outline: 3px solid color-mix(in oklab, var(--purple) 60%, transparent);
  outline-offset: 3px;
  transform: scale(1.05);
}
.share-sheet__caption { font-size: 12.5px; color: var(--muted); }

/* ===== BENTO ===== */
.features { padding: 60px var(--pad) 100px; }
.bento {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 20px;
}
.bento__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 24px;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento__card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.bento__card--ai      { grid-column: span 4; grid-row: span 2; }
.bento__card--collab  { grid-column: span 2; grid-row: span 2; background: linear-gradient(165deg, #ECFDF5 0%, #ffffff 70%); }
.bento__card--docs    { grid-column: span 3; background: var(--ink); color: #fff; border-color: var(--ink); }
.bento__card--mode    { grid-column: span 3; }
.bento__card--i18n    { grid-column: span 2; }
.bento__card--recap   { grid-column: span 4; flex-direction: row; align-items: center; padding: 0; gap: 0; }

.bento__copy { display: flex; flex-direction: column; gap: 10px; }
.bento__copy h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 4px 0 8px;
}
.bento__copy p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
  max-width: 50ch;
}
.bento__card--docs .bento__copy p { color: rgba(255,255,255,.7); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.tag--purple { background: color-mix(in oklab, var(--purple) 14%, white); color: var(--purple); }
.tag--mint   { background: color-mix(in oklab, var(--mint) 14%, white); color: #047857; }
.tag--blue   { background: color-mix(in oklab, var(--blue) 14%, white); color: var(--blue); }
.tag--coral  { background: color-mix(in oklab, var(--coral) 16%, white); color: #C2410C; }
.tag--ink    { background: rgba(255,255,255,.1); color: #fff; }

.ticks {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14.5px; color: var(--ink-2);
  margin-top: 10px;
}
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--mint) 25%, white);
  background-image: radial-gradient(circle, var(--mint) 22%, transparent 24%);
}

/* AI card route */
.bento__visual { display: flex; }
.route-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--sh-md);
  margin-top: auto;
}
.route-card__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  gap: 12px; flex-wrap: wrap;
}
.route-card__head strong { font-size: 15px; }
.badge {
  font-size: 11.5px; font-weight: 500;
  padding: 4px 10px; border-radius: 999px;
}
.badge--mint { background: color-mix(in oklab, var(--mint) 14%, white); color: #047857; }
.route-list { display: flex; flex-direction: column; gap: 12px; position: relative; }
.route-list::before {
  content: ''; position: absolute;
  left: 5.5px; top: 16px; bottom: 16px;
  width: 1px;
  background: var(--line-2);
}
.route-list li { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.route-list li > div strong { display: block; font-size: 14.5px; font-weight: 500; }
.route-list li > div small { color: var(--muted); font-size: 12.5px; font-family: var(--f-mono); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: 4px; box-shadow: 0 0 0 3px white, 0 0 0 4px var(--line-2); }
.dot--mint { background: var(--mint); }
.dot--blue { background: var(--blue); }
.dot--purple { background: var(--purple); }
.dot--coral { background: var(--coral); }

/* Collab card */
.bento__visual--collab {
  flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 8px 4px;
}
.collab-avatars { display: flex; }
.ava {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; font-size: 18px;
  color: #fff;
  border: 3px solid #fff;
  margin-left: -14px;
  box-shadow: var(--sh-sm);
}
.ava:first-child { margin-left: 0; }
.ava--1 { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.ava--2 { background: linear-gradient(135deg, var(--coral), #EAB308); }
.ava--3 { background: linear-gradient(135deg, var(--mint), #0EA5E9); }
.ava--ghost { background: #F1F2EE; color: var(--muted); font-size: 14px; }
.collab-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  box-shadow: var(--sh-sm);
}

/* Docs (dark) card */
.bento__visual--docs {
  flex-direction: column;
  gap: 12px;
  position: relative;
  margin-top: auto;
}
.doc-card {
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px 20px;
  color: rgba(255,255,255,.92);
}
.doc-card--passport { background: linear-gradient(135deg, #1E3A8A, #312E81); }
.doc-card--ticket   { transform: translateY(-30px) translateX(28px) rotate(2deg); background: linear-gradient(135deg, #4C1D95, #1E1B4B); }
.doc-card__row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 14px; }
.doc-card__row small { font-size: 11.5px; opacity: .6; text-transform: uppercase; letter-spacing: .08em; }
.doc-card__row strong { font-family: var(--f-mono); font-weight: 500; }
.doc-card__chip {
  width: 36px; height: 26px; border-radius: 5px;
  background: linear-gradient(135deg, #FBBF24, #B45309);
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}

/* Mode (live map) */
.bento__card--mode { background: linear-gradient(165deg, #FFF7ED 0%, #fff 70%); }
.bento__visual--mode { align-items: stretch; }
.mode-map {
  position: relative;
  width: 100%; height: 200px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.mode-map svg { width: 100%; height: 100%; display: block; }
.mode-pin {
  position: absolute; left: 64%; top: 36%;
  width: 16px; height: 16px;
}
.mode-pin__dot {
  position: absolute; inset: 4px;
  background: var(--coral); border-radius: 50%;
  border: 2px solid #fff;
}
.mode-pin__halo {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--coral) 40%, transparent);
  animation: halo 2s infinite;
}
@keyframes halo {
  0% { transform: scale(.4); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* i18n list */
.lang-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  font-size: 14px;
  margin-top: auto;
}
.lang-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.lang-list li:nth-last-child(-n+2) { border-bottom: 0; }
.lang-list .flag { font-size: 16px; }

/* Recap card (horizontal) */
.bento__card--recap .bento__copy { padding: 36px 0 36px 36px; flex: 1; }
.bento__card--recap .bento__visual {
  flex: 1; min-width: 0;
  align-items: stretch; justify-content: flex-end;
  padding: 24px 24px 0 0;
  background: linear-gradient(135deg, #FED7AA 0%, #BBF7D0 100%);
  margin-left: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  align-self: stretch;
}
.bento__visual--recap img {
  width: 100%; max-width: 280px;
  margin: 0 auto;
  border-radius: 24px 24px 0 0;
  box-shadow: var(--sh-md);
  display: block;
}

/* ===== COMMUNITY ===== */
.community {
  background: linear-gradient(160deg, #0B0F1A 0%, #14102B 60%, #1B0F3A 100%);
  color: #fff;
  padding: 110px var(--pad);
  position: relative;
  overflow: hidden;
}
.community::before {
  content: ''; position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 60%);
  filter: blur(40px);
  opacity: .4;
}
.community::after {
  content: ''; position: absolute;
  bottom: -80px; left: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 60%);
  filter: blur(40px);
  opacity: .3;
}
.community__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.community__copy h2 { color: #fff; }
.community__points {
  display: flex; flex-direction: column; gap: 12px;
  margin: 28px 0 36px;
  font-size: 15.5px;
  color: rgba(255,255,255,.85);
}
.community__points li { display: flex; align-items: center; gap: 14px; }
.bullet {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-2), var(--purple-2));
  flex: none;
  box-shadow: 0 0 0 4px rgba(124,58,237,.18);
}
.community__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}

/* ===== DUO ===== */
.duo {
  max-width: var(--maxw);
  margin: 100px auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.duo__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}
.duo__card--expenses { background: linear-gradient(165deg, #FEF3C7 0%, #ffffff 60%); }
.duo__card--country  { background: linear-gradient(165deg, #DBEAFE 0%, #ffffff 60%); }
.duo__copy h3 {
  font-size: 26px; font-weight: 600;
  letter-spacing: -.025em;
  margin: 8px 0 10px;
}
.duo__copy p { color: var(--muted); font-size: 15px; margin: 0; }
.duo__visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--sh-md);
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px var(--pad) 80px;
}
.pricing .section-head { margin-bottom: 48px; }

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  margin: 0 auto 36px;
  padding: 5px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
  justify-self: center;
}
.pricing { display: flex; flex-direction: column; align-items: center; position: relative; }

/* ===== PRICING CURTAIN (censorship overlay) ===== */
.pricing__locked { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }
.pricing__locked .billing-toggle,
.pricing__locked .pricing__cards {
  filter: blur(6px);
  opacity: .82;
  pointer-events: none;
  user-select: none;
}
.pricing-curtain {
  position: absolute;
  inset: -8px -4%;
  z-index: 20;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 80% at 50% 42%, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 45%, transparent 72%),
    color-mix(in oklab, #94A3B8 16%, transparent);
  backdrop-filter: saturate(120%) blur(7px);
  -webkit-backdrop-filter: saturate(120%) blur(7px);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
}
.pricing-curtain__inner {
  text-align: center;
  max-width: 460px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pricing-curtain__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  color: var(--ink-2);
  box-shadow: var(--sh-sm);
}
.pricing-curtain__icon svg { width: 26px; height: 26px; }
.pricing-curtain__badge {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #374151; background: rgba(255,255,255,.85);
  padding: 5px 14px; border-radius: 999px;
  box-shadow: var(--sh-sm);
}
.pricing-curtain__title {
  font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -.025em;
  margin: 4px 0 0; color: #1F2430; line-height: 1.12;
  text-shadow: 0 1px 10px rgba(255,255,255,.85);
}
.pricing-curtain__desc {
  font-size: 15.5px; line-height: 1.55; color: #2C3340; margin: 0; text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(255,255,255,.8);
}

/* ===== COMING SOON / BETA MODAL ===== */
.billing-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.billing-toggle__btn:hover { color: var(--ink); }
.billing-toggle__btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(13,18,29,.06), 0 2px 6px rgba(13,18,29,.04);
}
.billing-toggle__save {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: color-mix(in oklab, var(--mint) 18%, white);
  color: #047857;
  padding: 3px 8px;
  border-radius: 999px;
}
.billing-toggle__btn.is-active .billing-toggle__save {
  background: color-mix(in oklab, var(--mint) 26%, white);
}

.pricing__cards {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.price-card--pro {
  background: linear-gradient(170deg, #1B0F3A 0%, #0B0F1A 100%);
  border-color: transparent;
  color: #fff;
}
.price-card--pro .price-card__features { color: rgba(255,255,255,.85); }
.price-card--pro .price-card__features li::before {
  background: color-mix(in oklab, var(--purple-2) 45%, transparent);
  background-image: radial-gradient(circle, var(--purple-2) 22%, transparent 24%);
}
.price-card__shine {
  position: absolute;
  inset: -50% -20% auto auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 60%);
  filter: blur(40px);
  opacity: .55;
  pointer-events: none;
}
.price-card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  position: relative;
}
.price-card__head h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
}
.price-card__amount {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
  flex-wrap: wrap;
}
.price-card__currency {
  font-size: 13px;
  font-family: var(--f-mono);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}
.price-card--pro .price-card__currency { color: rgba(255,255,255,.55); }
.price-card__price {
  font-size: 56px;
  letter-spacing: -.04em;
  font-weight: 600;
  line-height: 1;
}
.price-card__note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 4px;
  font-family: var(--f-mono);
}
.price-card--pro .price-card__note { color: rgba(255,255,255,.5); }
.price-card--pro .price-card__amount { border-color: rgba(255,255,255,.08); }
.price-card__amount strong {
  font-size: 56px;
  letter-spacing: -.04em;
  font-weight: 600;
  line-height: 1;
}
.price-card__amount--soon strong {
  font-size: 56px;
  font-weight: 400;
  background: linear-gradient(120deg, var(--purple-2) 0%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-card__amount small {
  font-size: 14px;
  color: var(--muted);
  font-family: var(--f-mono);
}
.price-card--pro .price-card__amount small { color: rgba(255,255,255,.55); }
.price-card__features {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
}
.price-card--pro .price-card__features { color: rgba(255,255,255,.85); }
.price-card__features li {
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--mint) 25%, white);
  background-image: radial-gradient(circle, var(--mint) 22%, transparent 24%);
}
.price-card__cta {
  margin-top: auto;
  justify-content: center;
  padding: 14px 18px;
  position: relative;
}
.price-card--pro .price-card__cta {
  background: #fff;
  color: var(--ink);
}

@media (max-width: 800px) {
  .pricing__cards { grid-template-columns: 1fr; }
}

/* ===== BAND (stats) ===== */
.band {
  background: var(--ink);
  color: #fff;
  padding: 28px var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: var(--maxw);
  margin: 0 auto 100px;
  border-radius: var(--radius-lg);
}
.band__item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 0;
  border-left: 1px solid rgba(255,255,255,.08);
  padding-left: 24px;
}
.band__item:first-child { border-left: 0; padding-left: 0; }
.band__item strong {
  font-size: 28px; font-weight: 600;
  letter-spacing: -.02em;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
}
.band__item span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ===== QUOTE ===== */
.quote {
  padding: 80px var(--pad);
  text-align: center;
}
.quote figure { max-width: 820px; margin: 0 auto; }
.quote blockquote {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 28px;
  font-style: italic;
  color: var(--ink);
}
.quote figcaption {
  display: inline-flex; align-items: center; gap: 14px;
}
.quote__ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
}
.quote figcaption strong { display: block; font-size: 15px; font-weight: 600; }
.quote figcaption small { display: block; font-size: 13px; color: var(--muted); }

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(124,58,237,.6) 0%, transparent 50%),
    radial-gradient(100% 80% at 90% 90%, rgba(37,99,235,.55) 0%, transparent 55%),
    linear-gradient(160deg, #1B0F3A 0%, #0B0F1A 100%);
  color: #fff;
  padding: 100px var(--pad);
  margin: 0 var(--pad);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.cta__title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 16px 0 16px;
}
.cta__copy p {
  color: rgba(255,255,255,.7);
  font-size: 17px;
  max-width: 480px;
  margin: 0 0 28px;
}
.cta__phones {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  min-height: 540px;
}
.cta__phones .phone { width: 230px; }
.cta__phones .phone:first-child { transform: rotate(-6deg) translateX(40px); }
.cta__phones .phone--front-cta { transform: rotate(8deg) translateX(-40px) translateY(20px); }

/* ===== FOOTER ===== */
.footer {
  padding: 80px var(--pad) 28px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.footer__top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer__brand p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.footer__cols h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-2);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__cols a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.footer__cols a:hover { color: var(--purple); }
.footer__bottom {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer__bottom small { font-size: 13px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: color .15s, border-color .15s;
}
.footer__social a:hover { color: var(--purple); border-color: var(--purple); }
.footer__social svg { width: 16px; height: 16px; }

/* ===== COMING SOON / BETA MODAL ===== */
.beta-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.beta-modal[hidden] { display: none; }
.beta-modal__overlay { position: absolute; inset: 0; background: rgba(11,15,26,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: betaFade .2s ease; }
.beta-modal__dialog {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 30px;
  box-shadow: var(--sh-lg);
  animation: betaPop .28s cubic-bezier(.2,.8,.2,1);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes betaFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes betaPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.beta-modal__x {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--muted);
  transition: color .15s, border-color .15s;
}
.beta-modal__x:hover { color: var(--ink); border-color: var(--ink-2); }
.beta-modal__x svg { width: 16px; height: 16px; }
.beta-modal__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple); background: color-mix(in oklab, var(--purple) 12%, white);
  padding: 5px 12px; border-radius: 999px;
}
.beta-modal__title { font-size: 27px; font-weight: 600; letter-spacing: -.025em; margin: 16px 0 8px; line-height: 1.1; }
.beta-modal__sub { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 22px; }

.beta-form { display: flex; flex-direction: column; gap: 14px; }
.beta-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.beta-form__field { display: flex; flex-direction: column; gap: 6px; }
.beta-form__field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.beta-req { color: var(--coral); margin-left: 2px; }
.beta-form__field input[type="text"], .beta-form__field input[type="email"] {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.beta-form__field input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px color-mix(in oklab, var(--purple) 16%, transparent); }
.beta-form__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.beta-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; cursor: pointer; user-select: none; transition: all .15s ease;
}
.beta-chip input { position: absolute; opacity: 0; pointer-events: none; }
.beta-chip:hover { border-color: var(--purple); }
.beta-chip:has(input:checked) { background: var(--purple); color: #fff; border-color: var(--purple); }
.beta-form__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; border: 0; padding: 13px 20px; border-radius: 999px;
  font-weight: 500; font-size: 15px; cursor: pointer; margin-top: 4px;
  transition: transform .15s, box-shadow .15s;
}
.beta-form__submit:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.beta-form__submit:disabled { opacity: .6; cursor: default; transform: none; }
.beta-form__submit svg { width: 14px; height: 14px; }
.beta-form__note { font-size: 12px; color: var(--muted-2); text-align: center; margin: 2px 0 0; }
.beta-form__success {
  display: none;
  background: color-mix(in oklab, var(--mint) 10%, white);
  border: 1px solid color-mix(in oklab, var(--mint) 30%, transparent);
  border-radius: 10px; padding: 14px 16px; color: #065F46; font-size: 14px;
}
.beta-form.is-sent .beta-form__success { display: block; }
.beta-form.is-sent .beta-form__field,
.beta-form.is-sent .beta-form__submit,
.beta-form.is-sent .beta-form__note { display: none; }
.beta-form__error {
  background: color-mix(in oklab, var(--coral) 10%, white);
  border: 1px solid color-mix(in oklab, var(--coral) 35%, transparent);
  border-radius: 10px; padding: 14px 16px; color: #B91C1C; font-size: 14px;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.bento__card.reveal { transition-delay: .05s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bento__card--ai      { grid-column: span 6; grid-row: auto; }
  .bento__card--collab  { grid-column: span 3; grid-row: auto; }
  .bento__card--docs    { grid-column: span 3; }
  .bento__card--mode    { grid-column: span 3; }
  .bento__card--i18n    { grid-column: span 3; }
  .bento__card--recap   { grid-column: span 6; }
}

@media (max-width: 900px) {
  /* Mobile nav menu (burger). Collapsed by default; revealed by body.menu-open.
     Positioned absolutely so it drops out of the nav grid (which then has the
     expected brand / cta / burger columns). */
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: 6px var(--pad) 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  body.menu-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links a {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid color-mix(in oklab, var(--line) 50%, transparent);
  }
  .nav__links a:last-child { border-bottom: 0; }
  /* Group labels (only present in the info-page burger menu) */
  .nav__links h4 {
    margin: 14px 0 2px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted-2);
  }
  .nav__links h4:first-child { margin-top: 4px; }
  /* Tall info menu can overflow short screens — let it scroll */
  .nav--info .nav__links { max-height: calc(100vh - 70px); overflow-y: auto; }

  .nav__cta .link-quiet { display: none; }
  .nav__burger { display: inline-grid; place-items: center; }
  /* Animate the two bars into an X when the menu is open */
  body.menu-open .nav__burger span { top: 19px; }
  body.menu-open .nav__burger span:first-child { transform: rotate(45deg); }
  body.menu-open .nav__burger span:last-child { transform: rotate(-45deg); }
  .nav { grid-template-columns: 1fr auto auto; gap: 16px; }

  .hero { padding-bottom: 60px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__stage {
    min-height: 520px;
    margin-top: 60px;
    transform: scale(.85);
  }

  .flow__steps { grid-template-columns: 1fr; }
  .step__visual { min-height: 240px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--ai,
  .bento__card--collab,
  .bento__card--docs,
  .bento__card--mode,
  .bento__card--i18n,
  .bento__card--recap { grid-column: span 2; }
  .bento__card--recap { flex-direction: column; }
  .bento__card--recap .bento__copy { padding: 32px; }
  .bento__card--recap .bento__visual { margin-left: 0; margin-top: 0; padding: 24px; border-radius: 0; }

  .community__inner { grid-template-columns: 1fr; gap: 40px; }
  .community__stage { min-height: 540px; transform: scale(.9); }

  .duo { grid-template-columns: 1fr; }
  .duo__card { grid-template-columns: 1fr; }
  .duo__visual { max-width: 240px; margin: 0 auto; }

  .band {
    grid-template-columns: repeat(2, 1fr);
    margin-left: var(--pad);
    margin-right: var(--pad);
  }
  .band__item:nth-child(3) { border-left: 0; padding-left: 0; }

  .cta__inner { grid-template-columns: 1fr; }
  .cta__phones { min-height: 460px; transform: scale(.85); }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 16px; }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(36px, 11vw, 56px); }
  .section-title { font-size: clamp(30px, 8vw, 44px); }
  .hero__signals { gap: 22px; }
  .hero__signals strong { font-size: 18px; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--ai,
  .bento__card--collab,
  .bento__card--docs,
  .bento__card--mode,
  .bento__card--i18n,
  .bento__card--recap { grid-column: span 1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .cta { margin: 0 12px; padding: 70px 24px; }
  .float-card--ai { left: -2%; top: 6%; bottom: auto; }
  .float-card--link { right: -2%; bottom: 8%; }
  .float-card--rating { top: 4%; right: -2%; }
  .float-card--saved { bottom: 4%; left: -2%; }
  .push-card { right: -2%; top: 26%; width: 250px; }
}
