/* ===== Sofia Landing — Design tokens ===== */
:root {
  --green-900: #1a2c24;
  --green-800: #213830;
  --green-700: #2a4437;        /* corporate */
  --green-600: #355648;
  --green-500: #4a7560;
  --green-400: #6fa389;
  --green-300: #a3cab8;
  --green-100: #e6efe9;
  --green-50:  #f3f7f4;

  --gold-500: #d4a857;
  --gold-400: #e6bf6e;
  --gold-300: #f0d49a;

  --ink-900:  #0e1814;
  --ink-700:  #2c3a33;
  --ink-500:  #5a6a62;
  --ink-400:  #8a958f;
  --ink-300:  #c2cac5;
  --ink-200:  #e3e8e5;
  --ink-100:  #f1f4f2;
  --paper:    #fbfbf8;
  --white:    #ffffff;

  --accent-red: #c25b4e;
  --accent-green: #3fa672;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --shadow-s: 0 1px 2px rgba(20,30,25,.06), 0 2px 6px rgba(20,30,25,.04);
  --shadow-m: 0 4px 12px rgba(20,30,25,.08), 0 12px 30px rgba(20,30,25,.06);
  --shadow-l: 0 12px 28px rgba(20,30,25,.10), 0 30px 60px rgba(20,30,25,.10);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text:    "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

a { color: inherit; text-decoration: none; }

/* ===== layout helpers ===== */
.container {
  width: min(1240px, 100% - 48px);
  margin: 0 auto;
}
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--dark { background: var(--green-900); color: var(--paper); }
.section--cream { background: var(--paper); }
.section--ink { background: var(--ink-100); }

.eyebrow {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); font-weight: 600;
}
.section--dark .eyebrow { color: var(--gold-400); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.04; }
h1.display { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.035em; }
h2.title   { font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.025em; }
h3.subtitle{ font-size: clamp(22px, 2vw, 28px); font-weight: 600; }
p { line-height: 1.55; }

.lead {
  font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: var(--ink-700);
  max-width: 720px;
}
.section--dark .lead { color: rgba(255,255,255,.78); }

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 60ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 220ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 380ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 460ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 540ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 620ms; }

/* ===== buttons ===== */
.tier { display: flex; flex-direction: column; }
.tier .btn { align-self: stretch; justify-content: center; text-align: center; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px;
  transition: transform 180ms var(--ease), box-shadow 220ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--green-700); color: var(--paper);
  box-shadow: 0 6px 18px rgba(42,68,55,.28);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 700ms var(--ease);
  pointer-events: none;
}
.btn--primary:hover::before { transform: translateX(110%); }
.btn--primary:hover { box-shadow: 0 10px 26px rgba(42,68,55,.36); }
.btn--ghost { color: var(--green-700); background: var(--green-100); }
.btn--ghost:hover { background: var(--green-300); }
.btn--gold {
  background: var(--gold-500); color: var(--ink-900);
  box-shadow: 0 0 0 0 rgba(212,168,87,.55);
  animation: btn-pulse 4s var(--ease) infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,87,.55), 0 8px 22px rgba(212,168,87,.3); }
  50%      { box-shadow: 0 0 0 14px rgba(212,168,87,0), 0 12px 30px rgba(212,168,87,.45); }
}
.btn--xl { padding: 22px 36px; font-size: 19px; border-radius: 999px; }

/* ===== nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(12px);
  background: rgba(251,251,248,.7);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.scrolled { border-color: rgba(20,30,25,.08); background: rgba(251,251,248,.85); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.nav__brand .dot { width: 28px; height: 28px; border-radius: 8px; background: var(--green-700); display: grid; place-items: center; color: var(--gold-400); font-weight: 800; font-size: 14px; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-700); }
.nav__links a:hover { color: var(--green-700); }
@media (max-width: 800px) { .nav__links { display: none; } }
.nav__cta { display: flex; gap: 10px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
  display: flex; align-items: center;
  background:
    radial-gradient(1100px 600px at 85% 10%, rgba(212,168,87,.15), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(42,68,55,.10), transparent 60%),
    var(--paper);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .35;
  background-image:
    linear-gradient(to right, rgba(42,68,55,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42,68,55,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridFloat 18s ease-in-out infinite;
}
@keyframes gridFloat {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(-12px,-8px); }
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  pointer-events: none; z-index: 0;
}
.hero__blob.b1 { width: 480px; height: 480px; background: rgba(111,163,137,.55); top: -120px; left: -120px; animation: blob1 22s ease-in-out infinite; }
.hero__blob.b2 { width: 420px; height: 420px; background: rgba(212,168,87,.45); bottom: -120px; right: 10%; animation: blob2 26s ease-in-out infinite; }
.hero__blob.b3 { width: 380px; height: 380px; background: rgba(42,68,55,.35); top: 30%; right: -120px; animation: blob3 24s ease-in-out infinite; }
@keyframes blob1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,80px)} }
@keyframes blob2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-80px,-40px)} }
@keyframes blob3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,60px)} }

.mouse-light {
  position: fixed; pointer-events: none; z-index: 1;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,87,.15), transparent 60%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  transition: transform 350ms var(--ease);
  mix-blend-mode: multiply;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; gap: 48px; } }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(63,166,114,.10); color: var(--green-700);
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(63,166,114,.25);
}
.badge .ping {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green);
}
.badge .ping::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--accent-green); opacity: .55;
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0%{transform:scale(0.7);opacity:.6} 75%,100%{transform:scale(2.2);opacity:0} }

.hero h1 .tw { display: inline; }
.hero h1 .caret {
  display: inline-block; width: 6px; height: 0.85em;
  background: var(--green-700); margin-left: 4px; vertical-align: -0.08em;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__micro { color: var(--ink-500); font-size: 14px; margin-top: 16px; }

.scroll-arrow {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-700); color: var(--gold-400);
  display: grid; place-items: center; z-index: 3;
  animation: bob 2s ease-in-out infinite;
  transition: transform 200ms var(--ease);
}
.scroll-arrow:hover { transform: translateX(-50%) scale(1.15); }
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* chat demo */
.chat-card {
  position: relative;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-l);
  padding: 22px;
  border: 1px solid var(--ink-200);
}
.chat-card::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(212,168,87,.4), transparent 50%, rgba(42,68,55,.3));
  z-index: -1; filter: blur(14px); opacity: .6;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-200); margin-bottom: 14px; }
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  display: grid; place-items: center; color: var(--gold-400); font-weight: 700;
  position: relative;
}
.chat-avatar::after {
  content:""; position:absolute; right:-2px; bottom:-2px;
  width: 12px; height: 12px; background: var(--accent-green);
  border: 2px solid #fff; border-radius: 50%;
}
.chat-meta { display: flex; flex-direction: column; }
.chat-meta b { font-size: 15px; }
.chat-meta span { font-size: 12px; color: var(--ink-500); }
.chat-channel {
  margin-left: auto; font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700); font-weight: 600;
}

.chat-body { display: flex; flex-direction: column; gap: 10px; min-height: 320px; max-height: 420px; overflow: hidden; padding: 4px 4px; scroll-behavior: smooth; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; }
.bubble--client { background: var(--ink-100); color: var(--ink-900); border-bottom-left-radius: 6px; }
.bubble--sofia  { background: var(--green-700); color: var(--paper); align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble--system { font-size: 12px; color: var(--ink-400); text-align: center; align-self: center; }
.typing { display: inline-flex; gap: 4px; padding: 10px 14px; background: var(--ink-100); border-radius: 18px; border-bottom-left-radius: 6px; }
.typing span { width: 6px; height: 6px; background: var(--ink-400); border-radius: 50%; animation: dot 1.2s infinite ease-in-out; }
.typing span:nth-child(2){ animation-delay: .15s; } .typing span:nth-child(3){ animation-delay: .3s; }
@keyframes dot { 0%,80%,100%{transform: translateY(0); opacity: .35} 40%{transform: translateY(-4px); opacity: 1} }

/* ===== Proof strip ===== */
.proof { background: var(--green-900); color: var(--paper); padding: 80px 0 70px; }
.proof h2 { color: var(--paper); text-align: center; }
.proof__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; opacity: .95; }
.logos {
  margin-top: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-weight: 600; letter-spacing: -.01em;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  white-space: nowrap;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.logo:hover { color: var(--paper); border-color: rgba(212,168,87,.4); background: rgba(212,168,87,.08); }
.logo__mark { width: 22px; height: 22px; border-radius: 6px; background: rgba(212,168,87,.25); display: grid; place-items: center; font-size: 11px; color: var(--gold-400); font-weight: 800; }

.counters { display: flex; justify-content: center; gap: 56px; margin-top: 44px; flex-wrap: wrap; }
.counter { text-align: center; }
.counter__num { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; color: var(--gold-400); letter-spacing: -.03em; }
.counter__label { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 4px; }
.proof__caption { text-align: center; color: rgba(255,255,255,.4); font-size: 12px; margin-top: 24px; }

/* ===== SOFIA block 3 ===== */
.sofia-intro { background: var(--paper); }
.sofia-intro__top {
  display: grid; grid-template-columns: 0.95fr 1.2fr; gap: 64px; align-items: center;
}
@media (max-width: 980px) { .sofia-intro__top { grid-template-columns: 1fr; } }

.sofia-portrait {
  position: relative; aspect-ratio: 1/1; max-width: 460px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 30px 80px rgba(42,68,55,.25);
  overflow: visible;
  transition: transform 600ms var(--ease);
}
.sofia-photo {
  position: absolute; inset: 14px;
  width: calc(100% - 28px); height: calc(100% - 28px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.08);
}
.sofia-portrait::before {
  content: ""; position: absolute; inset: -8%;
  border-radius: 50%; border: 1px dashed rgba(212,168,87,.4);
  animation: orbitSpin 30s linear infinite;
}
.sofia-portrait::after {
  content: ""; position: absolute; inset: -16%;
  border-radius: 50%; border: 1px dashed rgba(212,168,87,.2);
  animation: orbitSpin 50s linear infinite reverse;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.sofia-portrait .face {
  position: relative; z-index: 2; width: 70%; height: 70%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #f4dac0, #e1bb98 60%, #c89a73 100%);
  box-shadow: inset -16px -22px 40px rgba(120,80,40,.25), inset 12px 18px 30px rgba(255,255,255,.25);
  display: grid; place-items: center;
}
.sofia-portrait .hair {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, #2c1f15 0%, #4a2e1a 35%, transparent 55%);
  border-radius: 50%;
  z-index: 3;
}
.sofia-portrait .eyes { position: absolute; top: 44%; left: 0; right: 0; display: flex; justify-content: center; gap: 14%; z-index: 4; }
.sofia-portrait .eye { width: 9%; height: 5%; background: #2c1f15; border-radius: 50%; }
.sofia-portrait .smile {
  position: absolute; top: 60%; left: 50%; transform: translateX(-50%);
  width: 22%; height: 6%; border-radius: 0 0 80px 80px;
  background: #b86a5a; z-index: 4;
}
.sofia-portrait .badge-orb {
  position: absolute; bottom: 12%; right: 8%;
  background: var(--gold-500); color: var(--ink-900);
  font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  z-index: 5; box-shadow: 0 6px 14px rgba(0,0,0,.2);
}

.abilities {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 56px;
}
@media (max-width: 980px) { .abilities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .abilities { grid-template-columns: 1fr; } }

.ability {
  position: relative; cursor: pointer;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-l);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms ease;
}
.ability:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); border-color: var(--green-300); }
.ability__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 16px;
  transition: background 200ms ease, color 200ms ease;
}
.ability:hover .ability__icon { background: var(--green-700); color: var(--gold-400); }
.ability h4 { font-size: 19px; margin-bottom: 6px; }
.ability p { color: var(--ink-500); font-size: 14.5px; line-height: 1.5; }
.ability__demo {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 400ms var(--ease), opacity 300ms ease, margin-top 300ms ease;
}
.ability.open .ability__demo { max-height: 240px; opacity: 1; margin-top: 16px; }
.ability__demo-inner {
  padding: 14px; border-radius: 12px; background: var(--ink-100);
  font-size: 13.5px; color: var(--ink-700);
}

.sofia-intro__caption { text-align: center; margin-top: 40px; color: var(--ink-500); font-size: 15px; }

/* ===== SOFIA IN ACTION block 4 ===== */
.action { background: var(--green-900); color: var(--paper); }
.action h2, .action .lead { color: var(--paper); }
.action__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.action__head .lead { margin: 16px auto 0; }

.carousel { position: relative; max-width: 1100px; margin: 0 auto; }
.carousel__progress { position: relative; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; margin-bottom: 22px; }
.carousel__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 33.33%; background: var(--gold-400); transition: transform 600ms var(--ease); }
.carousel__viewport { position: relative; min-height: 540px; }
.case {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl); padding: 36px;
  opacity: 0; transform: translateX(40px); pointer-events: none;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.case.active { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case__meta .tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(212,168,87,.15); color: var(--gold-400); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.case__meta h3 { font-size: 32px; margin: 18px 0 12px; line-height: 1.1; }
.case__meta p { color: rgba(255,255,255,.7); }
.case__metric {
  margin-top: 24px; padding: 22px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(212,168,87,.18), rgba(212,168,87,.05));
  border: 1px solid rgba(212,168,87,.3);
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.case.active .case__metric.show { opacity: 1; transform: none; box-shadow: 0 0 30px rgba(212,168,87,.18); }
.case__metric small { font-size: 12px; color: var(--gold-400); letter-spacing: .08em; text-transform: uppercase; }
.case__metric b { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; line-height: 1.3; }

.case__chat {
  background: var(--paper); color: var(--ink-900);
  border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 380px; max-height: 460px; overflow: hidden;
}
.case__chat .bubble { font-size: 14px; }
.case__chat-head {
  display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 1px solid var(--ink-200);
}

.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: var(--paper); transition: background 200ms ease; }
.car-btn:hover { background: rgba(255,255,255,.06); }
.dots { display: flex; gap: 8px; }
.dot-btn { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); transition: width 200ms ease, background 200ms ease; }
.dot-btn.active { width: 24px; border-radius: 4px; background: var(--gold-400); }
.action__cta { text-align: center; margin-top: 48px; color: rgba(255,255,255,.7); }
.action__cta a { color: var(--gold-400); border-bottom: 1px solid rgba(212,168,87,.4); padding-bottom: 2px; }

/* ===== EVERYWHERE block 5 ===== */
.everywhere { background: var(--paper); }
.orbit-wrap { position: relative; height: 720px; margin-top: 60px; }
.orbit-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--green-500), var(--green-800) 70%);
  display: grid; place-items: center; color: var(--gold-400); font-weight: 700; font-size: 22px;
  box-shadow: 0 20px 60px rgba(42,68,55,.3);
  z-index: 3;
}
.orbit-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  border: 1px dashed var(--ink-200); border-radius: 50%;
  pointer-events: none;
}
.orbit-ring.r1 { width: 560px; height: 560px; }
.orbit-ring.r2 { width: 360px; height: 360px; }
.orbit-channels {
  position: absolute; inset: 0;
  pointer-events: none;
}
/* 11 channels equally spaced around the ring (step 360/11 ≈ 32.73°), radius 280 */
.channel {
  position: absolute;
  width: 110px;
  margin-left: -55px; margin-top: -45px;
  text-align: center;
  pointer-events: auto;
}
.channel.c1  { left: calc(50% + 0px);    top: calc(50% - 280px); }   /* top */
.channel.c2  { left: calc(50% + 151px);  top: calc(50% - 236px); }   /* top-right */
.channel.c3  { left: calc(50% + 255px);  top: calc(50% - 116px); }   /* upper right */
.channel.c4  { left: calc(50% + 277px);  top: calc(50% + 40px); }    /* right */
.channel.c5  { left: calc(50% + 211px);  top: calc(50% + 183px); }   /* lower right */
.channel.c6  { left: calc(50% + 79px);   top: calc(50% + 269px); }   /* bottom right */
.channel.c7  { left: calc(50% - 79px);   top: calc(50% + 269px); }   /* bottom left */
.channel.c8  { left: calc(50% - 211px);  top: calc(50% + 183px); }   /* lower left */
.channel.c9  { left: calc(50% - 277px);  top: calc(50% + 40px); }    /* left */
.channel.c10 { left: calc(50% - 255px);  top: calc(50% - 116px); }   /* upper left */
.channel.c11 { left: calc(50% - 151px);  top: calc(50% - 236px); }   /* top-left */

.channel-inner {
  width: 90px; height: 90px; border-radius: 22px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-m);
  display: grid; place-items: center;
  color: var(--green-700);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
  cursor: pointer;
  animation: float-c 6s ease-in-out infinite;
}
.channel.c2  .channel-inner { animation-delay: -0.5s; }
.channel.c3  .channel-inner { animation-delay: -1s; }
.channel.c4  .channel-inner { animation-delay: -1.5s; }
.channel.c5  .channel-inner { animation-delay: -2s; }
.channel.c6  .channel-inner { animation-delay: -2.5s; }
.channel.c7  .channel-inner { animation-delay: -3s; }
.channel.c8  .channel-inner { animation-delay: -3.5s; }
.channel.c9  .channel-inner { animation-delay: -4s; }
.channel.c10 .channel-inner { animation-delay: -4.5s; }
.channel.c11 .channel-inner { animation-delay: -5s; }
@keyframes float-c { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.channel:hover .channel-inner { transform: scale(1.08); box-shadow: var(--shadow-l); animation-play-state: paused; }
.channel-label {
  display: block;
  margin-top: 10px;
  font-size: 12px; color: var(--ink-500); white-space: nowrap;
  font-weight: 500;
}

.orbit-msg {
  position: absolute; left: 50%; top: 50%;
  background: var(--green-700); color: var(--paper);
  padding: 8px 14px; border-radius: 999px; font-size: 13px;
  pointer-events: none; opacity: 0;
  box-shadow: 0 8px 24px rgba(42,68,55,.35);
  z-index: 4;
}
.orbit-msg.fly { animation: flyToCenter 2.4s var(--ease) forwards; }
@keyframes flyToCenter {
  0%   { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.6); }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(.4); }
}

.everywhere__caption { text-align: center; margin-top: 40px; color: var(--ink-500); font-size: 15px; }

@media (max-width: 760px) {
  .orbit-wrap { height: auto; }
  .orbit-channels, .orbit-ring, .orbit-center { display: none; }
  .channels-stack { display: flex; flex-direction: column; gap: 14px; max-width: 460px; margin: 0 auto; }
}
.channels-stack { display: none; }
@media (max-width: 760px) {
  .channels-stack { display: flex; }
  .channels-stack .channel-inner { width: 100%; height: 64px; border-radius: 14px; display: flex; align-items: center; gap: 14px; padding: 0 18px; margin: 0; animation: none; transform: none; }
  .channels-stack .channel-inner b { font-size: 15px; }
  .channels-stack .channel-inner span { font-size: 13px; color: var(--ink-500); }
}

.channels-extra {
  text-align: center; margin-top: 32px; max-width: 720px;
  margin-left: auto; margin-right: auto;
  color: var(--ink-500); font-size: 15px; line-height: 1.6;
}
.channels-extra b { color: var(--ink-900); font-weight: 600; }

/* Способность «в разработке»: приглушённая карточка + плашка */
.ability--soon { position: relative; }
.ability--soon h4, .ability--soon p { opacity: 0.7; }
.ability--soon .ability__icon { opacity: 0.55; }
.ability__badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold-500); color: var(--ink-900);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Tier picker modal (для формы регистрации) ===== */
.tier-modal__overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 30, 25, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.tier-modal__panel {
  background: var(--paper); border-radius: 24px;
  width: 100%; max-width: 760px; max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.tier-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; border-bottom: 1px solid var(--ink-200);
  position: sticky; top: 0; background: var(--paper); z-index: 1;
}
.tier-modal__head b { font-size: 18px; color: var(--ink-900); }
.tier-modal__close {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-500);
  transition: background 200ms ease, color 200ms ease;
}
.tier-modal__close:hover { background: var(--ink-100); color: var(--ink-900); }
.tier-modal__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  padding: 22px 26px;
}
@media (max-width: 600px) { .tier-modal__grid { grid-template-columns: 1fr; } }

.tier-pick {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; text-align: left;
  background: var(--white); border: 1.5px solid var(--ink-200);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.tier-pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--green-300); }
.tier-pick--active { border-color: var(--green-700); background: var(--green-100); }
.tier-pick--featured { border-color: var(--gold-400); }
.tier-pick--featured.tier-pick--active { border-color: var(--green-700); }
.tier-pick__badge {
  position: absolute; top: -10px; right: 14px;
  background: var(--gold-500); color: var(--ink-900);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.tier-pick__name { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; }
.tier-pick__price { display: flex; align-items: baseline; gap: 6px; }
.tier-pick__price b { font-size: 26px; color: var(--green-900); letter-spacing: -0.02em; }
.tier-pick__price span { font-size: 13px; color: var(--ink-500); }
.tier-pick__note { font-size: 13px; color: var(--ink-700); line-height: 1.4; }
.tier-pick__check {
  position: absolute; top: 14px; right: 14px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-700); color: var(--paper);
  display: grid; place-items: center;
}
.tier-pick--featured .tier-pick__check { top: 18px; }

/* ===== FOR WHOM block 6 ===== */
.niches { background: var(--ink-100); }
.niche-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 980px) { .niche-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .niche-grid { grid-template-columns: 1fr; } }
.niche {
  position: relative; padding: 28px;
  background: var(--white); border-radius: var(--radius-l);
  border: 1px solid var(--ink-200);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
  overflow: hidden;
}
.niche:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.niche__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 14px;
}
.niche h4 { font-size: 19px; margin: 0 0 4px; }
.niche__count { font-size: 13px; color: var(--ink-500); margin-bottom: 14px; }
.niche__demo {
  margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--ink-100);
  font-size: 13px; color: var(--ink-700); min-height: 90px;
  display: flex; flex-direction: column; gap: 6px;
}
.niche__metric {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ink-200);
  display: flex; align-items: baseline; gap: 8px;
}
.niche__metric b { font-size: 22px; color: var(--green-700); font-weight: 700; }
.niche__metric span { font-size: 13px; color: var(--ink-500); }

.niches__cta { text-align: center; margin-top: 40px; color: var(--ink-700); }
.niches__cta .underline-grow { position: relative; }
.niches__cta .underline-grow::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green-700); transition: width 300ms var(--ease);
}
.niches__cta .underline-grow:hover::after { width: 100%; }

/* ===== PRICING block 7 ===== */
.pricing { background: var(--paper); }
.toggler {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: var(--ink-100); border: 1px solid var(--ink-200);
  margin: 24px auto 0;
}
.toggler button {
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--ink-500); transition: background 200ms ease, color 200ms ease;
  display: flex; align-items: center; gap: 8px;
}
.toggler button.active { background: var(--green-700); color: var(--paper); }
.toggler button .save {
  font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--gold-500); color: var(--ink-900);
}

/* 3 колонки пока скрыт Премиум (звонки в разработке). Когда вернём 4-й тариф — поменять на repeat(4, 1fr). */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; max-width: 1080px; margin-left: auto; margin-right: auto; }
@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative;
  background: var(--white); border-radius: 24px; padding: 28px;
  border: 1px solid var(--ink-200);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms ease;
  display: flex; flex-direction: column;
}
.tier:hover { transform: translateY(-12px); box-shadow: var(--shadow-l); border-color: var(--green-300); }
.tier--featured {
  border: 2px solid var(--green-700);
  background: linear-gradient(180deg, var(--green-900), var(--green-800));
  color: var(--paper);
}
.tier--featured .tier__price b { color: var(--gold-400); }
.tier--featured .tier__features li { color: rgba(255,255,255,.85); }
.tier--featured .tier__features li.x { color: rgba(255,255,255,.35); }
.tier--featured .tier__sub { color: rgba(255,255,255,.55); }
.tier--featured .btn--ghost { background: var(--gold-500); color: var(--ink-900); }
.tier--featured .btn--ghost:hover { background: var(--gold-400); }

.tier__pop {
  position: absolute; top: -14px; right: 24px;
  background: var(--gold-500); color: var(--ink-900);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  animation: wobble 4s ease-in-out infinite;
}
@keyframes wobble { 0%,100%{transform: rotate(-2deg)} 50%{transform: rotate(2deg)} }

.tier__name { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; }
.tier--featured .tier__name { color: var(--gold-400); }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 6px; }
.tier__price b { font-size: 38px; letter-spacing: -.03em; color: var(--green-900); }
.tier__price span { color: var(--ink-500); }
.tier__sub { font-size: 13px; color: var(--ink-500); margin-bottom: 6px; }
.tier__desc { font-size: 14px; color: var(--ink-700); margin-bottom: 18px; }
.tier--featured .tier__desc { color: rgba(255,255,255,.8); }
.tier__features { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier__features li { font-size: 14px; color: var(--ink-700); display: flex; gap: 10px; line-height: 1.4; opacity: 0; transform: translateX(-6px); transition: opacity 350ms ease, transform 350ms ease; }
.tier.in .tier__features li { opacity: 1; transform: none; }
.tier.in .tier__features li:nth-child(1){transition-delay:60ms}
.tier.in .tier__features li:nth-child(2){transition-delay:120ms}
.tier.in .tier__features li:nth-child(3){transition-delay:180ms}
.tier.in .tier__features li:nth-child(4){transition-delay:240ms}
.tier.in .tier__features li:nth-child(5){transition-delay:300ms}
.tier.in .tier__features li:nth-child(6){transition-delay:360ms}
.tier.in .tier__features li:nth-child(7){transition-delay:420ms}
.tier.in .tier__features li:nth-child(8){transition-delay:480ms}
.tier.in .tier__features li:nth-child(9){transition-delay:540ms}
.tier.in .tier__features li:nth-child(10){transition-delay:600ms}
.tier__features li.x { color: var(--ink-400); }
.tier__features .check { color: var(--accent-green); font-weight: 700; flex-shrink: 0; }
.tier__features .x .check { color: var(--ink-300); }

.packs { margin-top: 56px; }
.packs h3 { font-size: 24px; margin-bottom: 6px; }
.packs__sub { color: var(--ink-500); margin-bottom: 22px; }
.packs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .packs__grid { grid-template-columns: repeat(2,1fr); } }
.pack {
  position: relative; padding: 22px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--ink-200);
  transition: transform 250ms var(--ease);
  perspective: 800px;
}
.pack:hover { transform: rotateX(4deg) rotateY(-4deg) translateY(-4px); box-shadow: var(--shadow-m); }
.pack__name { font-size: 13px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .1em; }
.pack__price { font-size: 22px; font-weight: 700; margin: 6px 0 4px; color: var(--green-900); letter-spacing: -.02em; }
.pack__meta { font-size: 13px; color: var(--ink-500); }
.pack__discount {
  position: absolute; top: -10px; right: 14px;
  background: var(--accent-green); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  transform: scale(.9); transition: transform 200ms var(--ease);
}
.pack:hover .pack__discount { transform: scale(1.05) translateY(-2px); }

/* calculator */
.calc {
  margin-top: 64px; padding: 36px;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--paper); border-radius: var(--radius-xl);
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc h3 { font-size: 26px; color: var(--paper); margin-bottom: 8px; }
.calc__sub { color: rgba(255,255,255,.6); margin-bottom: 24px; font-size: 14px; }
.calc__field { margin-bottom: 20px; }
.calc__field label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: rgba(255,255,255,.8); }
.calc__field label b { color: var(--gold-400); }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; background: rgba(255,255,255,.15); border-radius: 3px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-400); cursor: grab;
  box-shadow: 0 0 0 6px rgba(212,168,87,.18);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-400); cursor: grab; border: none;
  box-shadow: 0 0 0 6px rgba(212,168,87,.18);
}

.calc__result {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  align-self: center;
}
.calc__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: rgba(255,255,255,.7); }
.calc__row b { font-weight: 600; color: var(--paper); }
.calc__save {
  margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 4px;
}
.calc__save small { color: var(--gold-400); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.calc__save b { font-size: 36px; color: var(--gold-400); font-weight: 700; letter-spacing: -.02em; transition: text-shadow 200ms ease; }
.calc__save b.flash { text-shadow: 0 0 18px rgba(63,166,114,.7); }
.calc__year { font-size: 13px; color: rgba(255,255,255,.5); }

/* ===== FAQ ===== */
.faq { background: var(--ink-100); }
.faq__list { max-width: 880px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: 18px; overflow: hidden;
  transition: background 200ms ease, border-color 200ms ease;
}
.faq__item:hover { border-color: var(--green-300); }
.faq__q {
  width: 100%; text-align: left; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-size: 17px; font-weight: 600;
}
.faq__q .arrow {
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink-100);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 300ms var(--ease), background 200ms ease;
}
.faq__item.open .faq__q .arrow { transform: rotate(180deg); background: var(--green-100); }
.faq__item.open { background: var(--paper); }
.faq__a {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 350ms var(--ease), opacity 250ms ease;
}
.faq__item.open .faq__a { max-height: 320px; opacity: 1; }
.faq__a-inner { padding: 0 24px 24px; color: var(--ink-700); font-size: 15.5px; line-height: 1.6; }

/* ===== Final CTA ===== */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--green-900); color: var(--paper);
  padding: 140px 0;
  text-align: center;
}
.final-cta::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(700px 500px at 30% 20%, rgba(212,168,87,.18), transparent 60%),
    radial-gradient(700px 500px at 70% 70%, rgba(63,166,114,.18), transparent 60%);
  filter: blur(20px); animation: aurora 20s ease-in-out infinite;
  pointer-events: none;
}
@keyframes aurora { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-30px)} }
.final-cta h2 { color: var(--paper); font-size: clamp(48px, 6.5vw, 88px); }
.final-cta h2 .word { display: inline-block; opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.final-cta h2.in .word { opacity: 1; transform: none; }
.final-cta h2.in .word:nth-child(1){transition-delay: 0ms}
.final-cta h2.in .word:nth-child(2){transition-delay: 80ms}
.final-cta h2.in .word:nth-child(3){transition-delay: 160ms}
.final-cta h2.in .word:nth-child(4){transition-delay: 240ms}
.final-cta__lead { color: rgba(255,255,255,.7); margin: 22px auto 36px; font-size: clamp(16px, 1.4vw, 20px); max-width: 600px; }
.final-cta .btn--gold:hover { transform: scale(1.04); }
.final-cta__links { margin-top: 24px; display: flex; gap: 22px; justify-content: center; font-size: 15px; color: rgba(255,255,255,.7); }
.final-cta__links a:hover { color: var(--gold-400); }
.final-cta__foot { margin-top: 80px; color: rgba(255,255,255,.4); font-size: 14px; }

.spark {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-400);
  opacity: .6; animation: fall linear infinite;
}
@keyframes fall {
  0% { transform: translateY(-20px); opacity: 0; }
  10% { opacity: .7; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ===== footer ===== */
.foot {
  background: var(--green-900); color: rgba(255,255,255,.55);
  padding: 40px 0 28px; font-size: 13px;
}
.foot__row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot a:hover { color: var(--gold-400); }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* ===== Registration block ===== */
.register {
  position: relative;
  background: var(--green-900);
  color: var(--paper);
  overflow: hidden;
}
.register::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.register::after {
  content: ""; position: absolute;
  width: 600px; height: 600px;
  top: -200px; right: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,87,.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.register .title { color: var(--paper); }
.register .lead { color: rgba(255,255,255,.7); }
.register .eyebrow { color: var(--gold-400); }
.register__head { max-width: 760px; margin: 0 auto 48px; position: relative; z-index: 2; }

.reg-card {
  position: relative; z-index: 2;
  max-width: 560px; margin: 0 auto;
  background: var(--white); color: var(--ink-900);
  border-radius: 28px; padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 600px) { .reg-card { padding: 24px; border-radius: 20px; } }

.reg-tier {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(63,166,114,.08);
  border: 1px solid rgba(63,166,114,.25);
}
.reg-tier__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--green-700); color: var(--gold-400);
  display: grid; place-items: center; flex-shrink: 0;
}
.reg-tier b { display: block; font-size: 15px; }
.reg-tier span { display: block; font-size: 13px; color: var(--ink-500); margin-top: 2px; }
.reg-tier__change {
  margin-left: auto; font-size: 13px; color: var(--green-700); font-weight: 600;
  flex-shrink: 0;
}
.reg-tier__change:hover { text-decoration: underline; }

.reg-row { display: flex; flex-direction: column; }
.reg-row--inn { display: flex; flex-direction: row; align-items: flex-end; gap: 10px; }
.reg-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .reg-row--two { grid-template-columns: 1fr; } }

.reg-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.reg-label {
  font-size: 13px; font-weight: 600; color: var(--ink-700);
  display: flex; justify-content: space-between; align-items: center;
}
.reg-label em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--ink-400); text-transform: lowercase; }
.reg-field input {
  font: inherit; font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink-900);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  width: 100%;
}
.reg-field input::placeholder { color: var(--ink-400); }
.reg-field input:focus {
  border-color: var(--green-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(42,68,55,.10);
}
.reg-hint { font-size: 12px; color: var(--ink-400); margin-top: 2px; }

.reg-check {
  flex-shrink: 0;
  padding: 13px 18px; border-radius: 12px;
  background: var(--green-700); color: var(--paper);
  font-weight: 600; font-size: 14px;
  transition: background 180ms ease, transform 120ms ease;
  height: 46px;
}
.reg-check:hover { background: var(--green-600); }
.reg-check:active { transform: scale(0.97); }

.reg-promo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--green-700);
  padding: 4px 0; align-self: flex-start;
}
.reg-promo svg { transition: transform 250ms var(--ease); }
.reg-promo.open svg { transform: rotate(180deg); }
.reg-promo__field {
  max-height: 0; overflow: hidden;
  transition: max-height 300ms var(--ease), margin 200ms ease;
  margin-top: -10px;
}
.reg-promo.open + .reg-promo__field {
  max-height: 80px;
  margin-top: 0;
}
.reg-promo__field input {
  font: inherit; font-size: 15px; width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: var(--paper); outline: none;
}
.reg-promo__field input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(42,68,55,.10);
}

.reg-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.5; color: var(--ink-500);
  cursor: pointer;
}
.reg-consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--green-700); width: 16px; height: 16px; cursor: pointer; }
.reg-consent a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }

.reg-submit { width: 100%; justify-content: center; }
.reg-foot { text-align: center; font-size: 14px; color: var(--ink-500); margin: 4px 0 0; }
.reg-foot a { color: var(--green-700); font-weight: 600; }
.reg-foot a:hover { text-decoration: underline; }

.reg-success {
  position: absolute; inset: 0;
  background: var(--white);
  border-radius: 28px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 32px; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity 400ms var(--ease);
}
.reg-success.show { opacity: 1; pointer-events: auto; }
.reg-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-green); color: var(--white);
  display: grid; place-items: center; font-size: 32px; font-weight: 700;
  margin-bottom: 8px;
  animation: pop 500ms var(--ease);
}
@keyframes pop { 0%{transform:scale(0)} 70%{transform:scale(1.15)} 100%{transform:scale(1)} }
.reg-success b { font-size: 22px; }
.reg-success span { color: var(--ink-500); font-size: 14px; }
