@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2-variations'), url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --font: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    --hue: 170;
    --hue-2: 182;
    --accent: hsl(var(--hue) 58% 34%);
    --accent-strong: hsl(var(--hue) 60% 27%);
    --accent-soft: hsl(var(--hue) 55% 40% / .1);
    --accent-gradient: linear-gradient(135deg, hsl(var(--hue) 60% 38%) 0%, hsl(var(--hue-2) 55% 33%) 100%);
    --violet: hsl(252 70% 60%);
    --violet-soft: hsl(252 80% 60% / .1);
    --amber: hsl(36 90% 45%);
    --amber-soft: hsl(36 95% 50% / .12);
    --rose: hsl(350 70% 52%);
    --rose-soft: hsl(350 80% 55% / .1);
    --sky: hsl(205 80% 46%);
    --sky-soft: hsl(205 85% 50% / .1);
    --super: hsl(218 60% 50%);
    --super-soft: hsl(218 70% 55% / .1);
    --ok: hsl(150 55% 34%);
    --ok-soft: hsl(150 55% 40% / .12);

    --bg: #ffffff;
    --bg-2: #f6f8f8;
    --surface: #ffffff;
    --surface-2: #f4f6f7;
    --border: rgba(16, 32, 40, .08);
    --border-strong: rgba(16, 32, 40, .14);
    --text: #121a1f;
    --text-2: #4d5961;
    --text-3: #87929a;

    --shadow-sm: 0 1px 2px rgba(16, 32, 40, .06);
    --shadow-md: 0 12px 32px -14px rgba(16, 40, 48, .22);
    --shadow-lg: 0 40px 80px -36px rgba(12, 40, 44, .38);

    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --container: 1180px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: hsl(var(--hue) 60% 40% / .2); }

.sprite { display: none; }
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.lbl-short { display: none; }

.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 13px; border: 1px solid transparent;
    font: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms, color 180ms, border-color 180ms;
}
.btn .i { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
.btn:hover .i { transform: translateX(-3px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px hsl(var(--hue) 60% 40% / .25); }
.btn-lg { height: 54px; padding: 0 26px; border-radius: 16px; font-size: 16px; }
.btn-primary { background: var(--accent-gradient); color: #fff; box-shadow: 0 10px 24px -10px hsl(var(--hue) 60% 30% / .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px hsl(var(--hue) 60% 30% / .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-soft:hover { background: hsl(var(--hue) 55% 40% / .16); transform: translateY(-2px); }
.btn-soft:hover .i { transform: none; }
.btn-white { background: #fff; color: var(--accent-strong); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800;
}
.eyebrow .i { width: 15px; height: 15px; }
.gradient-text {
    background: linear-gradient(120deg, hsl(var(--hue) 65% 36%), hsl(var(--hue-2) 70% 42%), hsl(205 75% 48%), hsl(var(--hue) 65% 36%));
    background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 7s linear infinite; white-space: nowrap;
}

.progress-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress-bar span { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(0); background: var(--accent-gradient); }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background 220ms, box-shadow 220ms, height 220ms; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--border), 0 10px 30px -24px rgba(16, 40, 48, .5); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-gradient); color: #fff; box-shadow: 0 8px 18px -8px hsl(var(--hue) 60% 30% / .7); }
.logo-mark .i { width: 22px; height: 22px; stroke-width: 2.4; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { position: relative; padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--text-2); transition: color 160ms, background 160ms; }
.nav > a:hover { color: var(--text); background: var(--surface-2); }
.nav > a.is-active { color: var(--accent); }
.nav-mobile-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); place-items: center; cursor: pointer; }
.menu-toggle .i { width: 22px; height: 22px; }

.hero { position: relative; padding: 64px 0 120px; overflow: hidden; }
.hero-bg { position: absolute; inset: -20% -10% 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; top: 0; right: -80px; background: hsl(var(--hue) 70% 70% / .55); }
.blob-2 { width: 460px; height: 460px; top: 26%; left: -120px; background: hsl(205 85% 75% / .5); animation-delay: -6s; }
.blob-3 { width: 360px; height: 360px; bottom: -40px; right: 30%; background: hsl(252 85% 82% / .45); animation-delay: -11s; }
.grid-fade { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 900; line-height: 1.3; }
.lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--text-2); max-width: 560px; line-height: 2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; }

.hero-visual { position: relative; perspective: 1400px; }
.mock {
    position: relative; border-radius: var(--r-xl); background: rgba(255, 255, 255, .92); border: 1px solid var(--border);
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .5); overflow: hidden;
    transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform 500ms var(--ease-out);
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fff, var(--surface-2)); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e6e8; }
.dots i:first-child { background: #ff8a80; } .dots i:nth-child(2) { background: #ffd180; } .dots i:last-child { background: #69f0ae; }
.mock-title { flex: 1; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 800; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-title .i { color: var(--accent); }
.mock-saved { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ok); }
.mock-saved .i { width: 14px; height: 14px; stroke-width: 3; }
.mock-saved.is-saving { color: var(--text-3); }
.mock-days { display: flex; gap: 8px; padding: 14px 18px 4px; }
.mock-days span { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 12px; background: var(--surface-2); font-size: 13px; font-weight: 800; line-height: 1.5; }
.mock-days small { font-size: 11px; font-weight: 600; color: var(--text-3); }
.mock-days .is-on { background: var(--accent-gradient); color: #fff; box-shadow: 0 8px 18px -10px hsl(var(--hue) 60% 30% / .8); }
.mock-days .is-on small { color: rgba(255, 255, 255, .8); }
.mock-list { display: flex; flex-direction: column; gap: 8px; padding: 12px 18px 20px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mock-row .num { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; }
.mock-row .num.s { background: var(--super); color: #fff; }
.thumb { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; border: 1px solid var(--border); background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: 26px; }
.t1 { background-image: linear-gradient(transparent 45%, #3d4a55 45%, #3d4a55 55%, transparent 55%), radial-gradient(circle at 50% 70%, #f1c7a8 30%, transparent 32%); }
.t2 { background-image: linear-gradient(35deg, transparent 45%, #3d4a55 45%, #3d4a55 55%, transparent 55%), radial-gradient(circle at 45% 65%, #e9b896 30%, transparent 32%); }
.t3 { background-image: linear-gradient(90deg, transparent 18%, #7b8a96 18%, #7b8a96 22%, transparent 22%, transparent 78%, #7b8a96 78%, #7b8a96 82%, transparent 82%), radial-gradient(circle at 50% 55%, #f1c7a8 26%, transparent 28%); }
.t4 { background-image: radial-gradient(circle at 25% 50%, #3d4a55 14%, transparent 16%), radial-gradient(circle at 75% 50%, #3d4a55 14%, transparent 16%), radial-gradient(circle at 50% 60%, #e9b896 24%, transparent 26%); }
.t5 { background-image: linear-gradient(transparent 20%, #7b8a96 20%, #7b8a96 28%, transparent 28%), radial-gradient(circle at 50% 62%, #f1c7a8 28%, transparent 30%); }
.mock-row .name { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; font-weight: 800; line-height: 1.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .name small { font-size: 11px; font-weight: 600; color: var(--text-3); }
.pill { display: inline-flex; align-items: baseline; gap: 3px; padding: 4px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pill b { font-size: 15px; font-weight: 900; color: var(--text); }
.pill.is-flash { animation: flash 900ms var(--ease); }
.mock-super { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 10px 10px 10px; padding-inline-start: 14px; border-radius: 16px; background: var(--super-soft); border: 1px solid hsl(218 60% 55% / .25); }
.mock-super::before { content: ''; position: absolute; inset-inline-start: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 4px; background: var(--super); }
.super-tag { position: absolute; top: 7px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 999px; background: var(--super); color: #fff; font-size: 11px; font-weight: 800; }
.super-tag .i { width: 12px; height: 12px; }
.mock-row.is-new { border-color: hsl(var(--hue) 60% 40% / .45); box-shadow: 0 0 0 4px var(--accent-soft); animation: row-in 4.8s var(--ease-out) infinite; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px;
    background: rgba(255, 255, 255, .95); border: 1px solid var(--border); box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; line-height: 1.5; white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 800; }
.float-card small { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.fc-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); }
.fc-icon.ok { background: var(--ok-soft); color: var(--ok); }
.fc-icon .i { width: 18px; height: 18px; }
.fc-pdf { top: -46px; right: 28px; }
.fc-sms { bottom: -48px; left: 20px; animation-delay: -2s; }
.fc-student { bottom: -52px; right: 28px; animation-delay: -4s; }
.fc-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; background: linear-gradient(145deg, hsl(280 70% 88%), hsl(310 70% 80%)); color: hsl(280 55% 32%); }
.fc-bmi b { color: var(--ok); }
.fc-scale { position: relative; display: block; width: 110px; height: 5px; margin-top: 5px; border-radius: 99px; background: linear-gradient(90deg, hsl(200 80% 60%) 0 18%, hsl(150 55% 45%) 18% 50%, hsl(38 92% 55%) 50% 75%, hsl(358 75% 58%) 75%); direction: ltr; }
.fc-scale em { position: absolute; top: 50%; left: 45%; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--text); transform: translate(-50%, -50%); animation: bmi-dot 5s ease-in-out infinite; }

.rotator { position: relative; display: inline-grid; vertical-align: bottom; color: var(--accent); }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); filter: blur(4px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out), filter 520ms var(--ease-out); white-space: nowrap; }
.rotator > span.is-on { opacity: 1; transform: none; filter: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); filter: blur(4px); }
.rotator::after { content: ''; position: absolute; inset-inline: 0; bottom: .08em; height: .14em; border-radius: 99px; background: hsl(var(--hue) 60% 45% / .22); }

.marquee { position: relative; padding: 18px 0; border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 12px; padding-inline-end: 12px; }
.marquee-group span { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.marquee-group span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-gradient); }


.section { padding: 96px 0; }
.section-tint { background: linear-gradient(180deg, var(--bg-2), #fff); }
.compare-section { background: linear-gradient(180deg, #fff, var(--bg-2)); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2, .split-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.section-head p, .split-copy > p { color: var(--text-2); font-size: 17px; line-height: 2; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.compare-col { padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.compare-col.is-new { position: relative; border-color: hsl(var(--hue) 55% 40% / .3); box-shadow: var(--shadow-md), 0 0 0 4px var(--accent-soft); }
.compare-col.is-old { background: var(--bg-2); }
.compare-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.compare-head h3 { font-size: 20px; font-weight: 900; }
.compare-badge { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; }
.compare-badge .i { width: 20px; height: 20px; stroke-width: 2.6; }
.is-old .compare-badge { background: var(--rose-soft); color: var(--rose); }
.is-new .compare-badge { background: var(--accent-gradient); color: #fff; }
.compare ul { display: flex; flex-direction: column; gap: 12px; }
.compare li { position: relative; padding-inline-start: 28px; font-size: 15px; font-weight: 600; line-height: 1.9; color: var(--text-2); opacity: 0; transform: translateX(-10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.compare li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: var(--rose-soft); }
.compare li::after { content: ''; position: absolute; inset-inline-start: 5px; top: calc(.55em + 7px); width: 6px; height: 2px; border-radius: 2px; background: var(--rose); }
.is-old li { text-decoration: line-through; text-decoration-color: hsl(350 70% 52% / .35); }
.is-new li { color: var(--text); }
.is-new li::before { background: var(--accent-soft); }
.is-new li::after { inset-inline-start: 5px; top: calc(.55em + 4px); width: 7px; height: 4px; border-radius: 0; background: none; border-inline-start: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.compare-col.is-in li { opacity: 1; transform: none; }
.compare-col.is-in li:nth-child(2) { transition-delay: 90ms; } .compare-col.is-in li:nth-child(3) { transition-delay: 180ms; } .compare-col.is-in li:nth-child(4) { transition-delay: 270ms; } .compare-col.is-in li:nth-child(5) { transition-delay: 360ms; }

.tour { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.tour-tabs { display: flex; flex-direction: column; gap: 10px; }
.tour-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: border-color 220ms, box-shadow 220ms, transform 220ms var(--ease-out); }
.tour-tab:hover { transform: translateX(-3px); }
.tour-tab .i { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--surface-2); color: var(--text-2); transition: background 220ms, color 220ms; }
.tour-tab span { display: flex; flex-direction: column; line-height: 1.6; }
.tour-tab b { font-size: 16px; font-weight: 900; }
.tour-tab small { font-size: 13px; color: var(--text-3); font-weight: 600; }
.tour-tab.is-on { border-color: hsl(var(--hue) 55% 40% / .35); box-shadow: var(--shadow-md); }
.tour-tab.is-on .i { background: var(--accent-gradient); color: #fff; }
.tour-tab:focus-visible { outline: none; box-shadow: 0 0 0 4px hsl(var(--hue) 60% 40% / .25); }
.tour-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--accent-gradient); transform: scaleX(0); transform-origin: right; }
.tour-tab.is-on .tour-progress { animation: tour-progress var(--tour-ms, 6500ms) linear forwards; }
.tour.is-paused .tour-tab.is-on .tour-progress { animation-play-state: paused; }
.tour-stage { position: relative; min-height: 400px; padding: 26px; border-radius: var(--r-xl); background: radial-gradient(600px 240px at 0% 0%, hsl(var(--hue) 70% 60% / .12), transparent 70%), #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.tour-pane { animation: pane-in 600ms var(--ease-out) both; }
.tour-pane[hidden] { display: none; }

.bank-mock, .diet-mock, .profile-mock { display: flex; flex-direction: column; gap: 14px; }
.bank-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 15px; border: 1px solid hsl(var(--hue) 55% 40% / .35); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); font-size: 16px; font-weight: 700; }
.bank-search .i { width: 20px; height: 20px; color: var(--text-3); }
.caret { width: 2px; height: 22px; background: var(--accent); animation: caret 1s steps(1) infinite; }
.bank-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bank-cat { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); line-height: 1.6; transition: background 300ms, border-color 300ms, transform 300ms var(--ease-out); }
.bank-cat b { font-size: 14.5px; font-weight: 900; }
.bank-cat small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.bank-cat.is-hit { background: var(--accent-soft); border-color: hsl(var(--hue) 55% 40% / .3); transform: translateY(-2px); }
.bank-results { display: flex; flex-direction: column; gap: 8px; }
.bank-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(10px); }
.is-on .bank-item { animation: item-in 500ms var(--ease-out) forwards; }
.is-on .bank-item:nth-child(1) { animation-delay: 1.5s; } .is-on .bank-item:nth-child(2) { animation-delay: 1.65s; } .is-on .bank-item:nth-child(3) { animation-delay: 1.8s; }
.bank-item .name { flex: 1; display: flex; flex-direction: column; font-size: 14px; font-weight: 800; line-height: 1.6; }
.bank-item .name small { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.bank-item .play { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.bank-item .play .i { width: 14px; height: 14px; }
.bank-item .add { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-gradient); color: #fff; font-size: 20px; font-weight: 700; line-height: 1; }

.diet-mock { flex-direction: row; align-items: center; gap: 28px; }
.diet-ring { position: relative; width: 210px; height: 210px; flex-shrink: 0; }
.diet-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg, .ring-fg { fill: none; stroke-width: 10; }
.ring-bg { stroke: var(--surface-2); }
.ring-fg { stroke: hsl(var(--hue) 60% 40%); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; }
.is-on .ring-fg { animation: ring-fill 1.6s var(--ease-out) .2s forwards; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.4; }
.ring-label b { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ring-label small { font-size: 12px; color: var(--text-3); font-weight: 700; }
.diet-meals { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.meal { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(-12px); }
.is-on .meal { animation: item-in-x 520ms var(--ease-out) forwards; }
.is-on .meal:nth-child(1) { animation-delay: .3s; } .is-on .meal:nth-child(2) { animation-delay: .45s; } .is-on .meal:nth-child(3) { animation-delay: .6s; } .is-on .meal:nth-child(4) { animation-delay: .75s; }
.meal .name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; font-weight: 800; line-height: 1.6; }
.meal .name small { font-size: 11.5px; color: var(--text-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meal > b { font-size: 15px; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.meal-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber); flex-shrink: 0; }
.meal-icon .i { width: 17px; height: 17px; }
.meal.alt { border-style: dashed; background: var(--bg-2); box-shadow: none; }
.meal.alt .meal-icon { background: var(--sky-soft); color: var(--sky); }
.meal.alt > b { color: var(--text-3); }

.pm-head { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: radial-gradient(300px 120px at 100% 0%, hsl(330 70% 60% / .14), transparent 70%), #fff; border: 1px solid var(--border); line-height: 1.6; }
.pm-head div { flex: 1; min-width: 0; }
.pm-head b { display: block; font-size: 18px; font-weight: 900; }
.pm-head small { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.pm-avatar { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; font-weight: 900; font-size: 18px; background: linear-gradient(145deg, hsl(330 70% 88%), hsl(350 70% 80%)); color: hsl(335 55% 34%); }
.pm-code { padding: 6px 12px; border-radius: 10px; background: var(--surface-2); border: 1px dashed var(--border-strong); font-size: 15px; font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--text-2); }
.pm-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pm-metrics span { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); line-height: 1.5; }
.pm-metrics small { font-size: 12px; color: var(--text-3); font-weight: 700; }
.pm-metrics b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pm-metrics .ok b { color: var(--ok); }
.pm-programs { display: flex; flex-direction: column; gap: 8px; }
.pm-program { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 14px; background: #fff; border: 1px solid var(--border); opacity: 0; transform: translateY(10px); }
.is-on .pm-program { animation: item-in 500ms var(--ease-out) forwards; }
.is-on .pm-program:nth-child(1) { animation-delay: .3s; } .is-on .pm-program:nth-child(2) { animation-delay: .45s; } .is-on .pm-program:nth-child(3) { animation-delay: .6s; }
.pm-program .name { flex: 1; display: flex; flex-direction: column; font-size: 14px; font-weight: 800; line-height: 1.6; }
.pm-program .name small { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.pm-program em { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.pm-program em.gray { background: var(--surface-2); color: var(--text-3); }
.pm-program.muted { background: var(--bg-2); }
.ps-icon.gray { background: var(--surface-2); color: var(--text-3); }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 26px; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms; }
.feature::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--hue) 70% 50% / .08), transparent 45%); opacity: 0; transition: opacity 300ms; pointer-events: none; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: hsl(var(--hue) 50% 40% / .25); }
.feature:hover::after { opacity: 1; }
.feature.span-2 { grid-column: span 2; }
.feature.span-full { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; column-gap: 22px; }
.feature.span-full h3, .feature.span-full p { grid-column: 2; }
.feature.span-full .feature-icon { grid-row: 1 / span 2; }
.feature.span-full .feature-demo { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
.feature h3 { font-size: 18.5px; font-weight: 900; }
.feature p { color: var(--text-2); font-size: 14.5px; line-height: 2; }
.feature-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feature-icon .i { width: 24px; height: 24px; }
.feature-icon.violet { background: var(--violet-soft); color: var(--violet); }
.feature-icon.amber { background: var(--amber-soft); color: var(--amber); }
.feature-icon.rose { background: var(--rose-soft); color: var(--rose); }
.feature-icon.sky { background: var(--sky-soft); color: var(--sky); }
.feature-demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.chip b { color: var(--accent); font-variant-numeric: tabular-nums; }
.chip.super { background: var(--super-soft); border-color: transparent; color: var(--super); }
.chip.super b { color: var(--super); }
.chip.ghost { color: var(--text-3); }
.chip .i { width: 15px; height: 15px; }
.demo-builder .chip { animation: chip-pop 6s var(--ease-out) infinite; }
.demo-builder .chip:nth-child(2) { animation-delay: .4s; } .demo-builder .chip:nth-child(3) { animation-delay: .8s; } .demo-builder .chip:nth-child(4) { animation-delay: 1.2s; }
.demo-profile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mini-metric { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--border); line-height: 1.5; }
.mini-metric small { font-size: 11.5px; color: var(--text-3); font-weight: 700; }
.mini-metric b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mini-metric.ok b { color: var(--ok); }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 62px; right: 16%; left: 16%; height: 2px; background: repeating-linear-gradient(90deg, hsl(var(--hue) 50% 40% / .35) 0 8px, transparent 8px 16px); transform: scaleX(0); transform-origin: right; transition: transform 1.4s var(--ease-out) .3s; }
.steps.is-in::before { transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 24px; text-align: center; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step-num { position: absolute; top: 14px; inset-inline-end: 16px; font-size: 13px; font-weight: 900; color: var(--text-3); }
.step-icon { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent-gradient); color: #fff; box-shadow: 0 0 0 8px #fff, 0 14px 26px -12px hsl(var(--hue) 60% 30% / .7); }
.step-icon .i { width: 28px; height: 28px; }
.step h3 { font-size: 19px; font-weight: 900; margin-top: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; line-height: 2; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.check-list .i { width: 24px; height: 24px; padding: 5px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); stroke-width: 3; }

.phone-wrap { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone { position: relative; width: 300px; padding: 12px; border-radius: 46px; background: #11181d; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b343a; animation: float 7s ease-in-out infinite; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 24px; border-radius: 999px; background: #11181d; transform: translateX(-50%); z-index: 2; }
.phone-screen { display: flex; flex-direction: column; gap: 10px; min-height: 560px; padding: 52px 14px 18px; border-radius: 36px; background: #f4f6f7; overflow: hidden; }
.ps-hero { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 20px; background: radial-gradient(240px 90px at 100% 0%, hsl(var(--hue) 70% 55% / .22), transparent 70%), #fff; border: 1px solid var(--border); line-height: 1.5; }
.ps-hero small { display: block; font-size: 11px; color: var(--text-3); font-weight: 600; }
.ps-hero b { font-size: 16px; font-weight: 900; }
.ps-avatar { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-weight: 900; background: linear-gradient(145deg, hsl(280 70% 88%), hsl(310 70% 80%)); color: hsl(280 55% 32%); }
.ps-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ps-metrics span { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--border); line-height: 1.5; }
.ps-metrics small { font-size: 10.5px; color: var(--text-3); font-weight: 700; }
.ps-metrics b { font-size: 17px; font-weight: 900; }
.ps-metrics .ok b { color: var(--ok); }
.ps-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.ps-card-top { display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.ps-card-top div { flex: 1; min-width: 0; }
.ps-card-top small { display: block; font-size: 10.5px; color: var(--text-3); font-weight: 700; }
.ps-card-top b { font-size: 14px; font-weight: 900; }
.ps-card-top em { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.ps-card-top em.warn { background: var(--amber-soft); color: var(--amber); }
.ps-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ps-icon.green { background: var(--ok-soft); color: var(--ok); }
.ps-icon .i { width: 18px; height: 18px; }
.ps-progress { display: block; height: 6px; border-radius: 99px; background: #e8ecee; overflow: hidden; }
.ps-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent-gradient); transition: width 1.6s var(--ease-out) .4s; }
.ps-progress.green span { background: var(--ok); }
.is-in .ps-progress span { width: 22%; }
.is-in .ps-progress.green span { width: 86%; }
.ps-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ps-actions span { display: grid; place-items: center; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 800; }
.ps-actions .primary { background: var(--accent-gradient); color: #fff; }
.fc-link { bottom: 64px; right: -10px; animation-delay: -3s; }
.fc-link .fc-icon { background: var(--accent-soft); color: var(--accent); }

.paper-wrap { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.paper { width: 100%; max-width: 440px; aspect-ratio: 210 / 297; padding: 22px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--border); transform: rotate(-2.5deg); transition: transform 600ms var(--ease-out); display: flex; flex-direction: column; gap: 14px; }
.paper-wrap:hover .paper { transform: rotate(0deg) scale(1.02); }
.paper-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-soft), var(--super-soft)); line-height: 1.5; }
.paper-head div { flex: 1; min-width: 0; }
.paper-head b { display: block; font-size: 13px; font-weight: 900; }
.paper-head small { display: block; font-size: 9.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paper-logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: linear-gradient(145deg, hsl(320 70% 88%), hsl(340 70% 80%)); color: hsl(330 55% 32%); }
.paper-kind { padding: 3px 9px; border-radius: 999px; background: var(--accent-gradient); color: #fff; font-size: 9.5px; font-weight: 800; }
.paper-title b { display: block; font-size: 16px; font-weight: 900; }
.paper-title small { font-size: 10px; color: var(--text-3); }
.paper-cols { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.paper-day { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; border: 1px solid var(--border); }
.paper-day b { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 900; }
.paper-day b i { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; font-style: normal; font-size: 9px; background: var(--accent-gradient); color: #fff; }
.paper-day span { height: 13px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-2) 60%, transparent 60%, transparent 70%, #e6eaec 70%); }
.paper-day span.sup { background: linear-gradient(90deg, var(--super-soft) 60%, transparent 60%, transparent 70%, hsl(218 60% 55% / .2) 70%); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: border-color 200ms, box-shadow 200ms; }
.faq details[open] { border-color: hsl(var(--hue) 50% 40% / .3); box-shadow: var(--shadow-md); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 800; font-size: 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--text-3); transition: transform 260ms var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--accent); }
.faq-body { padding: 0 22px 20px; color: var(--text-2); line-height: 2; }

.cta { padding: 40px 0 110px; }
.cta-box { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px 32px; border-radius: 36px; text-align: center; color: #fff; background: linear-gradient(135deg, hsl(var(--hue) 62% 28%), hsl(var(--hue-2) 60% 24%) 55%, hsl(205 60% 26%)); box-shadow: var(--shadow-lg); isolation: isolate; }
.cta-box h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; }
.cta-box p { font-size: 17px; color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.cta-blob-1 { width: 380px; height: 380px; top: -160px; right: -80px; background: hsl(var(--hue) 80% 60% / .55); z-index: -1; }
.cta-blob-2 { width: 320px; height: 320px; bottom: -160px; left: -60px; background: hsl(205 90% 65% / .45); z-index: -1; animation-delay: -8s; }

.footer { padding: 36px 0 44px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.footer-links a:hover { color: var(--accent); }
.copyright { font-size: 13.5px; color: var(--text-3); }

.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.hero-visual.reveal { transform: translateY(40px) scale(.97); }
.hero-visual.reveal.is-in { transform: none; }

@keyframes shine { to { background-position: -300% 0; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(.95); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes flash { 0% { background: var(--accent-soft); border-color: var(--accent); transform: scale(1); } 40% { transform: scale(1.12); } 100% { background: var(--surface-2); border-color: var(--border); transform: scale(1); } }
@keyframes row-in { 0%, 8% { opacity: 0; transform: translateY(-10px) scale(.96); } 18%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes bmi-dot { 0%, 100% { left: 42%; } 50% { left: 47%; } }
@keyframes tour-progress { to { transform: scaleX(1); } }
@keyframes pane-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes item-in { to { opacity: 1; transform: none; } }
@keyframes item-in-x { to { opacity: 1; transform: none; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes ring-fill { to { stroke-dashoffset: 62; } }
@keyframes chip-pop { 0%, 6% { opacity: 0; transform: translateY(8px) scale(.9); } 14%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-4px); } }

@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 72px; }
    .hero-copy { align-items: center; text-align: center; }
    .lead { margin: 0 auto; }
    .hero-cta, .hero-points { justify-content: center; }
    .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature.span-full { display: flex; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .split.reverse .split-copy { order: 0; }
    .split-copy { align-items: center; text-align: center; }
    .tour { grid-template-columns: minmax(0, 1fr); }
    .tour-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .tour-tabs::-webkit-scrollbar { display: none; }
    .tour-tab { flex: 1; min-width: 200px; }
    .tour-tab:hover { transform: none; }
    .check-list { align-items: flex-start; }
}

@media (max-width: 860px) {
    .nav { position: fixed; top: var(--header-h); inset-inline: 12px; z-index: 49; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
    .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .nav > a { padding: 12px 14px; font-size: 16px; }
    .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
    .menu-toggle { display: grid; }
    .hide-sm { display: none; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .steps::before { display: none; }
}

@media (max-width: 560px) {
    :root { --header-h: 64px; }
    .container { padding: 0 16px; }
    .header-actions .btn-primary { height: 42px; padding: 0 14px; font-size: 13.5px; }
    .header-actions .btn-primary .i { display: none; }
    .menu-toggle { width: 42px; height: 42px; }
    .hero { padding: 28px 0 72px; }
    .hero-cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .hero-cta .btn { min-width: 0; padding: 0 12px; font-size: 15px; height: 52px; }
    .lbl-long { display: none; }
    .lbl-short { display: inline; }
    .mock { transform: none; border-radius: 22px; }
    .mock-days span:nth-child(4), .hide-xs { display: none; }
    .mock-list { padding: 10px 12px 16px; }
    .mock-days { padding: 12px 12px 2px; }
    .fc-pdf { top: -40px; right: 6px; }
    .fc-sms { bottom: -44px; left: 6px; }
    .fc-student { bottom: -48px; right: 6px; }
    .fc-student .fc-scale { width: 70px; }
    .float-card { padding: 8px 11px; font-size: 12px; }
    .fc-icon, .fc-avatar { width: 30px; height: 30px; border-radius: 9px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 36px; }
    .bento { grid-template-columns: minmax(0, 1fr); }
    .compare { grid-template-columns: minmax(0, 1fr); }
    .compare-col { padding: 22px 18px; }
    .tour-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
    .tour-tab { min-width: 0; flex-direction: column; gap: 6px; padding: 12px 6px; text-align: center; }
    .tour-tab .i { width: 38px; height: 38px; padding: 9px; }
    .tour-tab b { font-size: 13px; }
    .tour-tab small { display: none; }
    .tour-stage { min-height: 0; padding: 16px; }
    .bank-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bank-cat:nth-child(n + 5) { display: none; }
    .diet-mock { flex-direction: column; gap: 18px; }
    .diet-ring { width: 170px; height: 170px; }
    .diet-meals { width: 100%; }
    .pm-code { display: none; }
    .feature.span-2 { grid-column: auto; }
    .demo-profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .phone { width: 270px; }
    .phone-screen { min-height: 500px; }
    .fc-link { right: 0; bottom: 20px; }
    .paper { transform: none; }
    .cta-box { padding: 48px 20px; border-radius: 28px; }
    .cta-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .cta-actions .btn { padding: 0 12px; font-size: 14.5px; }
    .footer-row { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; filter: none; }
    .compare li, .bank-item, .meal, .pm-program { opacity: 1; transform: none; }
    .ring-fg { stroke-dashoffset: 62; }
    .mock { transform: none; }
}
