/* Aura Food landing — palette synced with the app: dark canvas, indigo accent
   (the --gold* variables keep their names but now hold the app accent), and a
   semantic colour per domain (protein coral, fat violet, carbs teal, water
   azure, activity lime, weight rose, AI aurora). */

:root {
  --bg: #0a0e18;
  --bg-2: #0e1322;
  --surface: rgba(22, 28, 44, .72);
  --surface-solid: #161c2c;
  --raised: #1d2438;
  --outline: rgba(143, 140, 255, .16);
  --hairline: rgba(255, 255, 255, .07);
  --text: #f5f6f9;
  --text-2: #cdd3df;
  --muted: #8d96aa;
  --gold: #8f8cff;
  --gold-light: #bdbbff;
  --gold-dark: #6764e6;
  --on-gold: #0a0e18;
  --protein: #ff8a73;
  --fat: #a78bfa;
  --carbs: #3fd0c9;
  --water: #5cb8ff;
  --activity: #b7e36b;
  --weight: #ff7aa8;
  --aurora: #8f7cff;
  --success: #4ade80;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
::selection { background: rgba(143, 140, 255, .35); }

/* ---------- background ---------- */
.aura-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
  radial-gradient(1200px 700px at 80% -10%, rgba(143, 140, 255, .10), transparent 60%),
  radial-gradient(900px 600px at -10% 30%, rgba(143, 124, 255, .10), transparent 60%),
  linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; will-change: transform; }
.orb-gold { width: 520px; height: 520px; background: #7a77f0; top: -160px; right: -120px; animation: drift 22s var(--ease) infinite alternate; }
.orb-aurora { width: 460px; height: 460px; background: #5d4bd1; top: 40%; left: -200px; opacity: .28; animation: drift 26s var(--ease) infinite alternate-reverse; }
.orb-teal { width: 380px; height: 380px; background: #1f8f8a; bottom: -160px; right: 10%; opacity: .22; animation: drift 30s var(--ease) infinite alternate; }
.grain { position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift { to { transform: translate3d(60px, 80px, 0) scale(1.12); } }

.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(143, 140, 255, .10), transparent 65%); transform: translate3d(-999px, -999px, 0); transition: opacity .4s; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px clamp(16px, 4vw, 56px);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(10, 14, 24, .78), rgba(10, 14, 24, .45)); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-color: var(--hairline); background: rgba(10, 14, 24, .86); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand b { color: var(--gold); font-weight: 800; }
.brand-mark { flex: none; display: block; width: 38px; height: 38px; border-radius: 22.37%; overflow: hidden; border: 1px solid var(--outline); box-shadow: 0 6px 18px -6px rgba(143, 140, 255, .55); }
.brand-mark img { display: block; width: 100%; height: 100%; border-radius: 22.37%; object-fit: cover; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.nav-links a { position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 16px; font-weight: 800; font-size: 15.5px; cursor: pointer; border: 0; overflow: hidden; transition: transform .18s var(--ease), box-shadow .3s, background .3s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-gold { color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark)); box-shadow: 0 14px 40px -12px rgba(143, 140, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-gold:hover::before { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 18px 50px -12px rgba(143, 140, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(143, 140, 255, .45); }
.btn-sm { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 72px); max-width: 1240px; margin: 0 auto; padding: clamp(40px, 8vw, 110px) clamp(16px, 4vw, 56px) 60px; min-height: calc(100vh - 76px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(143, 140, 255, .08); border: 1px solid var(--outline); color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 2.4s ease-in-out infinite; }
.dot.aurora { background: var(--aurora); box-shadow: 0 0 12px var(--aurora); }
.dot.lime { background: var(--activity); box-shadow: 0 0 12px var(--activity); }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.2vw, 78px); font-weight: 800; }
.gradient-text { background: linear-gradient(100deg, var(--gold-light), var(--gold) 40%, #5fe3d0 75%, var(--gold-light)); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
.gradient-text.aurora { background-image: linear-gradient(100deg, #c4b8ff, var(--aurora) 45%, #5cb8ff 80%, #c4b8ff); }
.gradient-text.lime { background-image: linear-gradient(100deg, #e5f8b8, var(--activity) 45%, #3fd0c9 80%, #e5f8b8); }
@keyframes shine { to { background-position: 220% center; } }
.lead { margin-top: 22px; max-width: 560px; color: var(--text-2); font-size: clamp(16px, 1.6vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-stats li { max-width: 170px; }
.hero-stats b { display: block; font-size: 34px; font-weight: 800; color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--text-2); font-size: 13.5px; line-height: 1.4; }

/* ---------- phone ---------- */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; perspective: 1400px; }
.phone { position: relative; width: 310px; height: 640px; border-radius: 48px; padding: 12px; background: linear-gradient(145deg, #2a3147, #0d111c 55%, #1f2538);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 0 2px rgba(255, 255, 255, .04), 0 40px 120px -40px rgba(143, 140, 255, .35); transform-style: preserve-3d; transition: transform .6s var(--ease); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 96px; height: 26px; margin-left: -48px; border-radius: 20px; background: #05070c; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: radial-gradient(130% 70% at 80% 0%, rgba(143, 140, 255, .12), transparent 55%), linear-gradient(180deg, #0f1424, #0a0e18); }
.screen-slide { position: absolute; inset: 0; padding: 56px 14px 14px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.screen-slide.active { opacity: 1; transform: none; }
.s-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; font-weight: 800; font-size: 15px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); }
.avatar.aurora { background: linear-gradient(135deg, #c4b8ff, var(--aurora)); }
.live { font-style: normal; color: #ff6b6b; font-size: 11px; font-weight: 800; animation: pulse 1.6s infinite; }
.card { border-radius: 20px; padding: 14px; background: linear-gradient(160deg, rgba(36, 44, 66, .9), rgba(20, 25, 40, .9)); border: 1px solid var(--hairline); }
.energy { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-color: rgba(143, 140, 255, .22); }
.energy-info small { color: var(--text-2); font-size: 11px; font-weight: 700; }
.energy-info strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.energy-info em { display: block; font-style: normal; color: var(--text-2); font-size: 11px; margin-bottom: 8px; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.pill.gold { color: var(--gold); background: rgba(143, 140, 255, .12); border: 1px solid rgba(143, 140, 255, .3); }
.ring { width: 92px; height: 92px; }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: rgba(143, 140, 255, .14); }
.ring .arc { stroke: url(#none); stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 6px rgba(143, 140, 255, .6)); transition: stroke-dashoffset 1.6s var(--ease); }
.active .ring .arc { stroke-dashoffset: 85; }
.ring text { fill: var(--gold); font-size: 22px; font-weight: 800; text-anchor: middle; }
.macros { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 10px; border-top: 1px solid var(--hairline); }
.macros div { font-size: 10px; }
.macros i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; }
.macros span { color: var(--text-2); font-weight: 700; }
.macros b { display: block; font-size: 11px; margin: 2px 0 5px; }
u { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; text-decoration: none; }
u s { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.4s var(--ease) .3s; }
.active u s, .in u s { width: var(--w); }
.c-protein, .b-protein { background: var(--protein); }
.c-fat, .b-fat { background: var(--fat); }
.c-carbs, .b-carbs { background: var(--carbs); }
.b-water { background: var(--water); }
.b-steps { background: var(--activity); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { border-radius: 16px; padding: 10px 9px; background: rgba(30, 37, 56, .9); border: 1px solid var(--hairline); font-size: 10px; }
.tile .ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; font-style: normal; font-size: 13px; margin-bottom: 8px; }
.ic.water { background: rgba(92, 184, 255, .14); } .ic.weight { background: rgba(255, 122, 168, .14); } .ic.steps { background: rgba(183, 227, 107, .14); }
.tile small { color: var(--text-2); display: block; }
.tile b { display: block; font-size: 12.5px; margin: 1px 0 6px; }
.tile em { font-style: normal; color: var(--weight); font-weight: 700; }
.insight { display: flex; gap: 10px; align-items: flex-start; border-color: rgba(143, 124, 255, .3); font-size: 11.5px; color: var(--text-2); }
.spark { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; font-style: normal; color: #fff; background: linear-gradient(135deg, #c4b8ff, var(--aurora)); }

.plate { position: relative; height: 300px; border-radius: 24px; overflow: hidden; background:
  radial-gradient(circle at 50% 55%, #f2e8d6 0 38%, #d9cdb7 39% 42%, transparent 43%),
  radial-gradient(circle at 38% 48%, #ff8a73 0 11%, transparent 12%),
  radial-gradient(circle at 60% 46%, #c9b27a 0 13%, transparent 14%),
  radial-gradient(circle at 52% 66%, #6fae5a 0 10%, transparent 11%),
  linear-gradient(160deg, #232a4a, #10142a); }
.scan-line { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 22px 4px rgba(143, 140, 255, .6); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 88%; } }
.tag { position: absolute; padding: 5px 9px; border-radius: 10px; font-size: 10.5px; font-weight: 800; color: var(--text); background: rgba(10, 14, 24, .78); border: 1px solid rgba(143, 140, 255, .35); backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); transition: .6s var(--ease); }
.active .tag { opacity: 1; transform: none; }
.t1 { left: 10%; top: 26%; transition-delay: .5s !important; } .t2 { right: 8%; top: 36%; transition-delay: .9s !important; } .t3 { left: 30%; bottom: 16%; transition-delay: 1.3s !important; }
.result b { font-size: 15px; }
.kbju { display: flex; gap: 12px; margin: 8px 0 12px; font-size: 10.5px; color: var(--text-2); }
.kbju em { display: block; font-style: normal; font-size: 17px; font-weight: 800; color: var(--gold); }
.kbju .c1 em { color: var(--protein); } .kbju .c2 em { color: var(--fat); } .kbju .c3 em { color: var(--carbs); }
.mini-btn { width: 100%; height: 38px; border: 0; border-radius: 12px; font: inherit; font-weight: 800; font-size: 12.5px; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }

.map { height: 330px; border-radius: 22px; overflow: hidden; background: #111827; border: 1px solid var(--hairline); }
.map-svg { width: 100%; height: 100%; }
.streets path { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 10; }
.route-glow, .route-line { fill: none; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.route-glow { stroke: rgba(143, 140, 255, .25); stroke-width: 12; }
.route-line { stroke: url(#route); stroke-width: 4.5; }
.active .route-glow, .active .route-line { animation: draw 3.2s var(--ease) forwards .2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.start { fill: #34d399; stroke: #fff; stroke-width: 3; }
.me { fill: var(--gold); stroke: #fff; stroke-width: 3; animation: pulse 1.6s infinite; transform-origin: 260px 30px; }
.run strong { display: block; text-align: center; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.run-stats { display: flex; justify-content: space-around; font-size: 10.5px; color: var(--muted); }
.run-stats em { display: block; text-align: center; font-style: normal; font-size: 16px; font-weight: 800; color: var(--gold); }
.run-stats span:nth-child(2) em { color: var(--carbs); } .run-stats span:nth-child(3) em { color: var(--protein); }

.chat { display: flex; flex-direction: column; gap: 8px; padding: 8px 2px; }
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 18px; font-size: 12.5px; opacity: 0; transform: translateY(10px); transition: .5s var(--ease); }
.active .bubble { opacity: 1; transform: none; }
.active .bubble:nth-child(2) { transition-delay: .6s; } .active .bubble:nth-child(3) { transition-delay: 1.2s; }
.bubble.them { align-self: flex-start; background: var(--raised); border: 1px solid var(--hairline); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; color: var(--on-gold); background: linear-gradient(135deg, #bdbbff, #8f8cff); border-bottom-right-radius: 6px; }
.typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 14px; border-radius: 18px; background: var(--raised); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 30% { transform: translateY(-5px); opacity: .5; } }

.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 16px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: rgba(22, 28, 44, .82); border: 1px solid var(--outline); backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.float-chip i { font-style: normal; }
.chip-1 { top: 12%; left: -6%; animation-delay: -1s; }
.chip-2 { top: 48%; right: -10%; animation-delay: -3s; }
.chip-3 { bottom: 12%; left: -2%; animation-delay: -5s; }
.slide-dots { position: absolute; bottom: -8px; display: flex; gap: 8px; }
.slide-dots span { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .18); transition: width .4s var(--ease), background .4s; cursor: pointer; }
.slide-dots span.on { width: 26px; background: var(--gold); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--hairline); background: rgba(255, 255, 255, .015); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { color: var(--text-2); font-weight: 700; font-size: 17px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(16px, 4vw, 56px); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .split-copy h2, .download-card h2 { margin-top: 18px; font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.section-head p, .split-copy p { margin-top: 18px; color: var(--text-2); font-size: clamp(15.5px, 1.4vw, 18px); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%); opacity: 0; transition: opacity .4s; }
.feature:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--accent) 60%, transparent); }
.feature:hover::before { opacity: 1; }
.f-icon { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 24px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); color: var(--accent); font-weight: 800; }
.feature h3 { position: relative; font-size: 20px; font-weight: 800; }
.feature p { position: relative; margin-top: 10px; color: var(--text-2); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.split.reverse .split-copy { order: 2; }
.checks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--text-2); }
.checks li b { color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 12px; font-weight: 900; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.checks.small li { font-size: 14.5px; }

.ai-card { padding: 26px; border-radius: 28px; background: linear-gradient(160deg, rgba(36, 40, 70, .9), rgba(18, 22, 38, .92)); border: 1px solid rgba(143, 124, 255, .3); box-shadow: var(--shadow), 0 0 80px -30px rgba(143, 124, 255, .55); }
.ai-q { margin-left: auto; max-width: 85%; padding: 13px 16px; border-radius: 20px 20px 6px 20px; color: var(--on-gold); font-weight: 700; font-size: 15px; background: linear-gradient(135deg, #bdbbff, #8f8cff); }
.ai-a { margin-top: 18px; padding: 16px; border-radius: 20px 20px 20px 6px; background: rgba(255, 255, 255, .04); border: 1px solid var(--hairline); }
.ai-badge { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #c4b8ff, var(--aurora)); }
.typewriter { min-height: 72px; color: var(--text); font-size: 15px; }
.typewriter::after { content: "▍"; margin-left: 2px; color: var(--aurora); animation: blink 1s steps(1) infinite; }
.typewriter.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.ai-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ai-options div { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--hairline); opacity: 0; transform: translateY(10px); transition: .6s var(--ease); }
.ai-options.show div { opacity: 1; transform: none; }
.ai-options.show div:nth-child(2) { transition-delay: .2s; }
.ai-options b { display: block; font-size: 14px; }
.ai-options span { color: var(--text-2); font-size: 12.5px; }

.activity-demo { display: grid; place-items: center; gap: 30px; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid rgba(183, 227, 107, .2); }
.steps-ring { position: relative; width: 240px; height: 240px; }
.steps-ring svg { width: 100%; height: 100%; }
.steps-ring circle { fill: none; stroke-width: 14; }
.steps-ring .track { stroke: rgba(183, 227, 107, .12); }
.steps-ring .arc { stroke: var(--activity); stroke-linecap: round; stroke-dasharray: 528; stroke-dashoffset: 528; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 10px rgba(183, 227, 107, .5)); transition: stroke-dashoffset 2s var(--ease); }
.in .steps-ring .arc { stroke-dashoffset: 85; }
.steps-inner { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.steps-inner span { font-size: 24px; }
.steps-inner b { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; }
.steps-inner small { color: var(--text-2); }
.week-bars { display: flex; align-items: flex-end; gap: 14px; height: 110px; }
.week-bars i { width: 22px; height: 0; border-radius: 8px; background: linear-gradient(0deg, rgba(183, 227, 107, .18), rgba(183, 227, 107, .5)); transition: height 1.2s var(--ease); }
.week-bars i.today { background: linear-gradient(0deg, rgba(183, 227, 107, .7), var(--activity)); box-shadow: 0 0 18px rgba(183, 227, 107, .45); }
.in .week-bars i { height: var(--h); }
.week-bars i:nth-child(2) { transition-delay: .07s; } .week-bars i:nth-child(3) { transition-delay: .14s; } .week-bars i:nth-child(4) { transition-delay: .21s; }
.week-bars i:nth-child(5) { transition-delay: .28s; } .week-bars i:nth-child(6) { transition-delay: .35s; } .week-bars i:nth-child(7) { transition-delay: .42s; }

.coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.coach-card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); transition: transform .4s var(--ease), border-color .4s; }
.coach-card:hover { transform: translateY(-6px); border-color: rgba(143, 124, 255, .45); }
.coach-num { font-size: 44px; font-weight: 800; background: linear-gradient(135deg, #c4b8ff, var(--aurora)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coach-card h3 { margin-top: 10px; font-size: 21px; }
.coach-card p { margin-top: 10px; color: var(--text-2); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-weight: 800; font-size: 20px; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 10px 28px -10px rgba(143, 140, 255, .7); }
.steps h3 { margin-top: 18px; font-size: 20px; }
.steps p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin-inline: auto; align-items: stretch; gap: 22px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--hairline); }
.price-card.featured { border-color: rgba(143, 140, 255, .5); background: linear-gradient(170deg, rgba(143, 140, 255, .10), rgba(22, 28, 44, .85) 45%); box-shadow: 0 40px 90px -40px rgba(143, 140, 255, .5); }
.ribbon { position: absolute; top: -13px; right: 24px; z-index: 1; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 8px 20px -8px rgba(143, 140, 255, .8); }
.price-card h3 { font-size: 20px; color: var(--text-2); overflow-wrap: anywhere; }
.price { margin-top: 10px; }
.price b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.price span { display: block; color: var(--text-2); font-size: 14px; }
.price-card .checks { flex: 1; margin-bottom: 28px; }
.note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--hairline); overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--outline); }
.faq summary { position: relative; padding: 20px 56px 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 24px; color: var(--gold); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; animation: open .4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

.download-card { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 60px); border-radius: 34px; text-align: center; background: linear-gradient(160deg, rgba(36, 44, 66, .85), rgba(14, 18, 30, .95)); border: 1px solid var(--outline); box-shadow: var(--shadow); }
.dl-glow { position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(143, 140, 255, .22), transparent); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.dl-icon { position: relative; margin: 0 auto; border-radius: 22.37%; box-shadow: 0 18px 40px -12px rgba(139, 92, 246, .55); }
.download-card p { position: relative; margin-top: 14px; color: var(--text-2); font-size: 17px; }
.download-card h2 { position: relative; }
.stores { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; border-radius: 16px; background: #f5f6f9; color: #0a0e18; font-weight: 800; font-size: 18px; transition: transform .2s var(--ease), box-shadow .3s; }
.store svg { width: 28px; height: 28px; fill: #0a0e18; }
.store svg.ico-color { fill: initial; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1; }
.store span { text-align: left; line-height: 1.15; }
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -14px rgba(244, 239, 228, .55); }
.store.soon { opacity: .55; pointer-events: none; }

/* ---------- payment info & guarantees ---------- */
.payment-badges-wrap { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.payment-badges-title { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.payment-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge-pay { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hairline); font-size: 13.5px; font-weight: 700; color: var(--text); transition: border-color .2s, background .2s; }
.badge-pay:hover { border-color: var(--outline); background: rgba(255, 255, 255, .08); }
.badge-pay svg { width: 20px; height: 20px; flex-shrink: 0; }
.badge-pay.gold { border-color: var(--outline); background: rgba(143, 140, 255, .08); color: var(--gold-light); }

.guarantees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.guarantee-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); transition: border-color .3s, transform .2s var(--ease); }
.guarantee-card:hover { border-color: var(--outline); transform: translateY(-3px); }
.guarantee-card .g-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; background: rgba(143, 140, 255, .12); border: 1px solid var(--outline); color: var(--gold); }
.guarantee-card h4 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--text); }
.guarantee-card p { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.guarantee-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); font-size: 13.5px; }
.guarantee-card li { margin-bottom: 4px; }

/* ---------- legal & requisites section ---------- */
.legal-section { padding-top: 40px; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1100px; margin: 0 auto; }
.legal-box { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); transition: border-color .3s; }
.legal-box:hover { border-color: var(--outline); }
.legal-box-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.legal-box-head .icon { font-size: 24px; }
.legal-box-head h3 { font-size: 20px; font-weight: 800; color: var(--text); }
.req-table { display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; font-size: 14.5px; }
.req-dt { color: var(--muted); font-weight: 600; }
.req-dd { color: var(--text); font-weight: 600; word-break: break-word; }
.req-dd a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.req-dd a:hover { color: var(--gold-light); }

.doc-links { display: flex; flex-direction: column; gap: 12px; }
.doc-link-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--hairline); transition: border-color .2s, background .2s, transform .2s; cursor: pointer; }
.doc-link-item:hover { border-color: var(--outline); background: rgba(143, 140, 255, .06); transform: translateX(3px); }
.doc-link-info { display: flex; align-items: center; gap: 14px; }
.doc-link-info .d-icon { font-size: 20px; }
.doc-link-info h5 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--text); }
.doc-link-info p { margin: 0; font-size: 13px; color: var(--text-2); }
.doc-link-action { font-size: 13px; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; }

/* ---------- modals ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 8, 15, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-window { position: relative; width: 100%; max-width: 860px; max-height: 85vh; border-radius: 26px; background: #131828; border: 1px solid var(--outline); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .85); display: flex; flex-direction: column; transform: translateY(20px) scale(.98); transition: transform .3s var(--ease); overflow: hidden; }
.modal-backdrop.open .modal-window { transform: translateY(0) scale(1); }
.modal-header { padding: 22px 28px; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(22, 28, 44, .7); }
.modal-header h3 { font-size: 20px; font-weight: 800; color: var(--text); }
.modal-close { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--hairline); color: var(--text-2); font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.modal-close:hover { background: rgba(143, 140, 255, .15); border-color: var(--outline); color: var(--gold); }
.modal-body { padding: 28px; overflow-y: auto; color: var(--text-2); font-size: 14.5px; line-height: 1.68; scroll-behavior: smooth; }
.modal-body h4 { margin: 24px 0 10px; font-size: 17px; font-weight: 800; color: var(--text); }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 12px; }
.modal-body ul { margin: 8px 0 16px 20px; padding: 0; }
.modal-body li { margin-bottom: 6px; }
.modal-body .highlight-box { padding: 16px 20px; border-radius: 14px; background: rgba(143, 140, 255, .07); border: 1px solid var(--outline); margin: 16px 0; color: var(--text); }
.modal-footer { padding: 16px 28px; border-top: 1px solid var(--hairline); display: flex; justify-content: flex-end; background: rgba(22, 28, 44, .7); }

/* ---------- footer expanded ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 56px clamp(16px, 4vw, 56px) 36px; background: linear-gradient(180deg, transparent, rgba(14, 19, 34, .6)); }
.footer-wrap { max-width: 1240px; margin: 0 auto; display: grid; gap: 36px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--text-2); font-size: 14px; max-width: 320px; line-height: 1.55; }
.footer-col h4 { margin: 0 0 16px; font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-divider { height: 1px; background: var(--hairline); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13.5px; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a { color: var(--muted); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .lead { margin-inline: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-1 { left: 2%; } .chip-2 { right: 0; } .chip-3 { left: 4%; }
}
@media (max-width: 1180px) {
  .nav-links { position: fixed; inset: 70px 12px auto; flex-direction: column; gap: 4px; padding: 12px; border-radius: 20px; background: rgba(14, 19, 34, .97); border: 1px solid var(--hairline); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .3s var(--ease); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav-links a { padding: 14px 12px; border-radius: 12px; font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(255, 255, 255, .04); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: block; }
  .nav-tools { margin-left: auto; gap: 8px; }
  .nav-tools + .burger { margin-left: 8px; }
  .page-account .nav-tools { margin-left: 0; }
}
@media (max-width: 1080px) {
  .pricing { gap: 16px; }
  .pricing .price-card { padding: 24px; }
  .pricing .price b { font-size: 36px; }
}
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .coach-grid, .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .acc-pricing { grid-template-columns: 1fr; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; transform: scale(.9); margin: -20px 0; }
  .float-chip { font-size: 11.5px; padding: 9px 12px; }
  .chip-1 { top: 6%; left: -2%; } .chip-2 { top: 50%; right: -4%; } .chip-3 { bottom: 8%; left: 0; }
  .hero-stats { gap: 18px; }
  .hero-stats li { max-width: 140px; }
  .ai-options { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .req-table { grid-template-columns: 1fr; gap: 4px; }
  .req-dt { margin-top: 10px; font-size: 12.5px; }
  .footer-top { grid-template-columns: 1fr; }
  .modal-window { max-height: 92vh; border-radius: 20px; }
  .modal-body { padding: 18px; }
  .modal-header { padding: 16px 18px; }
}
@media (max-width: 380px) {
  .hero-visual { transform: scale(.82); margin: -50px 0; }
  .float-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .route-glow, .route-line { stroke-dashoffset: 0; }
  .week-bars i { height: var(--h); }
}

/* ---------- language switch & account button (nav) ---------- */
.nav-tools { display: flex; align-items: center; gap: 12px; }
@media (min-width: 1181px) { .nav-links + .nav-tools { margin-left: 8px; } }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--hairline); background: rgba(255, 255, 255, .03); }
.lang-switch button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button[aria-pressed="true"] { background: rgba(143, 140, 255, .16); color: var(--gold-light); }
.lang-switch button:hover { color: var(--text); }
.nav-account { white-space: nowrap; }
.nav-back { color: var(--text-2); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.nav-back:hover { color: var(--gold); }

/* ---------- how to buy ---------- */
.buy-steps { list-style: none; margin: 0 auto 28px; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.buy-steps li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--hairline); }
.buy-steps li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-weight: 900; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.buy-steps b { display: block; font-size: 15px; }
.buy-steps small { display: block; color: var(--text-2); font-size: 13px; line-height: 1.35; }
.price-card .af-spacer { flex: 1; min-height: 20px; }
.price-card .btn { width: 100%; }
.af-note { color: var(--text-2); text-align: center; }

/* ---------- sign-in & checkout dialog ---------- */
.af-window { max-width: 440px; padding: 0; overflow: auto; }
.af-x { position: absolute; top: 14px; right: 14px; z-index: 2; }
.af-body { padding: 30px 28px 26px; }
.af-title { font-size: 24px; font-weight: 800; margin: 0 40px 8px 0; }
.af-lead { color: var(--text-2); font-size: 14.5px; line-height: 1.5; margin-bottom: 20px; }
.af-lead b { color: var(--gold-light); }
.af-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin: 0 0 6px; }
.af-input { width: 100%; height: 50px; padding: 0 16px; margin-bottom: 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(5, 8, 15, .55); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.af-input:focus { outline: none; border-color: rgba(143, 140, 255, .6); box-shadow: 0 0 0 3px rgba(143, 140, 255, .14); }
.af-input::placeholder { color: var(--muted); }
.af-submit { width: 100%; margin-top: 4px; }
.af-submit:disabled { opacity: .5; cursor: default; }
.af-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; margin-bottom: 10px; border-radius: 14px; border: 1px solid #dadce0; background: #fff; color: #1f1f1f; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s; }
.af-social:active { transform: scale(.98); }
.af-social svg { width: 20px; height: 20px; flex: none; }
.af-social[data-social="apple"] { background: #000; color: #fff; border-color: #000; }
.af-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.af-or::before, .af-or::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.af-msg { display: none; margin: 0 0 12px; padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.4; }
.af-msg.err { display: block; background: rgba(255, 138, 115, .12); color: #ffb3a3; }
.af-msg.ok { display: block; background: rgba(74, 222, 128, .1); color: #a7f3c4; }
.af-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; color: var(--text-2); font-size: 14px; }
.af-link { border: 0; padding: 0; background: none; color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.af-fine { margin-top: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.5; text-align: center; }
.af-fine a, .af-check a { color: var(--gold); text-decoration: underline; }
.af-plan { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; margin: 14px 0 10px; border-radius: 18px; border: 1px solid rgba(143, 140, 255, .4); background: linear-gradient(160deg, rgba(143, 140, 255, .1), rgba(22, 28, 44, .6)); }
.af-plan-name { font-weight: 800; }
.af-plan-period { color: var(--text-2); font-size: 13.5px; }
.af-plan-price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.af-until { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.af-until b { color: var(--gold-light); }
.af-who { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--hairline); font-size: 14px; color: var(--text-2); }
.af-who b { color: var(--text); word-break: break-all; }
.af-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--text-2); cursor: pointer; line-height: 1.45; }
.af-auto-terms { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line, rgba(255,255,255,.1)); color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.af-auto-terms a { color: var(--gold); text-decoration: underline; }
.acc-renew .acc-actions { margin-top: 12px; }
.acc-renew .af-fine { text-align: left; }
.af-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }

/* ---------- account page ---------- */
.page-account .nav { justify-content: space-between; }
.account-page { max-width: 1180px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 40px) 80px; min-height: 70vh; }
.account-head { margin-bottom: 28px; }
.account-head h1 { font-size: clamp(32px, 5vw, 48px); margin: 14px 0 10px; }
.account-head p { color: var(--text-2); max-width: 620px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.acc-main, .acc-side { display: grid; gap: 22px; min-width: 0; }
.acc-card { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--hairline); }
.acc-card.premium { border-color: rgba(143, 140, 255, .45); background: linear-gradient(160deg, rgba(143, 140, 255, .12), rgba(22, 28, 44, .85) 55%); }
.acc-guest { max-width: 460px; margin: 0 auto; }
.acc-guest .acc-card { padding: 30px 28px; }
.acc-profile { display: flex; align-items: center; gap: 14px; }
.acc-avatar { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; font-weight: 900; font-size: 20px; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.acc-id { flex: 1; min-width: 0; display: grid; }
.acc-id span { color: var(--text-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-status { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.acc-kicker { display: block; color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.acc-big { display: block; font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.acc-sub { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.acc-badge { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hairline); color: var(--text-2); font-size: 13px; font-weight: 700; }
.acc-badge.on { border-color: rgba(74, 222, 128, .4); color: #a7f3c4; background: rgba(74, 222, 128, .08); }
.acc-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.acc-h { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.acc-note { color: var(--text-2); font-size: 14px; }
.acc-pricing { justify-content: start; width: 100%; max-width: none; margin: 14px 0 0; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.acc-pricing .price-card { padding: 22px; }
.acc-pricing .price b { font-size: 32px; }
.acc-pricing .price-card .btn { padding-inline: 10px; font-size: 14px; white-space: nowrap; }
.acc-pay-badges { justify-content: flex-start; }
.acc-history { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.acc-history li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.acc-history li:first-child { border-top: 0; }
.acc-history div { display: grid; }
.acc-history span { color: var(--text-2); font-size: 13px; }
.acc-amount { text-align: right; }
.acc-paid { color: #a7f3c4 !important; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.acc-result { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 22px; border-radius: 20px; border: 1px solid var(--outline); background: rgba(22, 28, 44, .85); }
.acc-result.ok { border-color: rgba(74, 222, 128, .45); background: linear-gradient(160deg, rgba(74, 222, 128, .12), rgba(22, 28, 44, .85)); }
.acc-result.bad { border-color: rgba(255, 138, 115, .45); background: linear-gradient(160deg, rgba(255, 138, 115, .12), rgba(22, 28, 44, .85)); }
.acc-result p { color: var(--text-2); font-size: 14px; }
.acc-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 900; font-size: 20px; }
.acc-result.ok .acc-mark { border-color: var(--success); color: var(--success); }
.acc-result.bad .acc-mark { border-color: var(--protein); color: var(--protein); }
.acc-result-actions { margin-left: auto; }
.acc-dismiss { position: absolute; top: 10px; right: 12px; text-decoration: none; color: var(--muted); }
.acc-loading { display: flex; justify-content: center; gap: 8px; padding: 80px 0; }
.acc-loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: acc-dot 1s infinite ease-in-out; }
.acc-loading span:nth-child(2) { animation-delay: .15s; }
.acc-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes acc-dot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: none; } }
.footer-mini { padding: 28px clamp(16px, 4vw, 56px); }

@media (max-width: 980px) {
  .acc-grid { grid-template-columns: 1fr; }
  .buy-steps { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 600px) {
  .af-body { padding: 26px 18px 20px; }
  .af-window { max-height: 94vh; }
  .nav-account { height: 38px; padding: 0 12px; width: auto; }
  .nav-back { display: none; }
  .lang-switch button { padding: 5px 8px; }
  .acc-status { flex-direction: column-reverse; }
  .acc-result { flex-wrap: wrap; }
  .acc-result-actions { margin-left: 0; width: 100%; }
  .acc-profile { flex-wrap: wrap; }
  .acc-profile .btn { width: auto; }
  .af-plan { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
}

/* ---------- useful links: articles, calculators, guides ---------- */
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.seo-col { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); }
.seo-col h3 { font-size: 20px; margin-bottom: 14px; }
.seo-col ul { list-style: none; margin: 0; padding: 0; }
.seo-col li { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.seo-col li a { color: var(--text-2); transition: color .2s; }
.seo-col li a:hover { color: var(--gold-light); }
.seo-more { display: inline-block; margin-top: 8px; color: var(--gold); font-weight: 700; font-size: 15px; }
@media (max-width: 900px) { .seo-grid { grid-template-columns: 1fr; } }

/* Account: plans slider. The slide in focus is lit; it opens on the user's plan. */
.plan-slider { margin-top: 6px; min-width: 0; max-width: 100%; }
.plan-slider { --w: min(300px, 74vw); }
.plan-track { position: relative; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 26px max(8px, calc(50% - var(--w) / 2)) 78px; margin-bottom: -48px; scrollbar-width: none; outline: none; }
.plan-track::-webkit-scrollbar { display: none; }
.plan-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.plan-track .price-card { flex: 0 0 var(--w); scroll-snap-align: center; padding: 26px; opacity: .55; transform: scale(.94); transform-origin: center; transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.plan-track .price-card.is-focus { opacity: 1; transform: none; border-color: rgba(143, 140, 255, .55); box-shadow: 0 30px 70px -34px rgba(143, 140, 255, .65); }
.plan-track .price .price b, .plan-track .price b { font-size: 36px; }
.plan-track .price-card .btn { white-space: nowrap; }
.cur-tag { position: absolute; top: -13px; left: 24px; z-index: 1; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #a7f3c4; background: #10241f; border: 1px solid rgba(74, 222, 128, .45); }
.plan-nav { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 16px; }
.plan-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline); background: rgba(255, 255, 255, .05); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.plan-arrow:hover:not(:disabled) { background: rgba(143, 140, 255, .18); border-color: var(--outline); }
.plan-arrow:disabled { opacity: .3; cursor: default; }
.plan-dots { display: flex; gap: 8px; }
.plan-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.plan-dot.on { width: 26px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
@media (prefers-reduced-motion: reduce) { .plan-track .price-card { transition: none; } }
.footer-brand .brand-mark { width: 32px; height: 32px; }
