/* RevenuePilot — landing page styles. Dark, calm, Liquid Glass. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #07070b;
  --bg-2: #0d0d14;
  --text: #f5f5f7;
  --muted: rgba(235, 235, 245, 0.66);
  --faint: rgba(235, 235, 245, 0.42);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #8b7cf6;
  --accent-2: #6d5ae6;
  --blue: #5ac8fa;
  --green: #34d399;
  --amber: #ffc542;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: 20px;
  --nav-h: 64px;
  color-scheme: dark;
}
:lang(ja) { --font: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif; }
:lang(ko) { --font: "Inter", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; }
:lang(zh-Hans) { --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(zh-Hant) { --font: "Inter", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3,
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3, :lang(zh-Hant) h1, :lang(zh-Hant) h2, :lang(zh-Hant) h3 { letter-spacing: 0; line-height: 1.2; word-break: keep-all; line-break: strict; }
:lang(ja) p, :lang(zh-Hans) p, :lang(zh-Hant) p { line-break: strict; }
:lang(ko) p { word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) summary, :lang(ja) p { word-break: auto-phrase; }
h1, h2 { hyphens: manual; overflow-wrap: break-word; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(ru) h2, :lang(ru) h3, :lang(nl) h2, :lang(nl) h3 { hyphens: auto; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(139, 124, 246, 0.45); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #000; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

/* ---------- ambient background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% -10%, rgba(109, 90, 230, 0.20), transparent 60%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.o1 { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, #6d5ae6 0%, transparent 68%); }
.o2 { width: 460px; height: 460px; right: -180px; top: 30vh; background: radial-gradient(circle, rgba(90, 200, 250, .75) 0%, transparent 66%); opacity: .32; }
.o3 { width: 420px; height: 420px; left: 30%; top: 85vh; background: radial-gradient(circle, rgba(139, 124, 246, .8) 0%, transparent 66%); opacity: .28; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 10px 12px 0; padding-top: max(10px, env(safe-area-inset-top)); }
.nav {
  max-width: 1160px; margin: 0 auto; height: 54px; border-radius: 999px; display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 10px; transition: background .4s var(--ease), border-color .4s var(--ease);
  background: rgba(14, 14, 22, 0.55);
}
.nav.scrolled { background: rgba(14, 14, 22, 0.78); border-color: var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; font-size: 16px; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: none; gap: 2px; margin: 0 auto; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .25s, background .25s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-get {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--text); color: #0a0a0f;
  text-decoration: none; font-weight: 600; font-size: 14px; transition: transform .3s var(--ease), background .3s; white-space: nowrap;
}
.nav-get:hover { background: #fff; transform: translateY(-1px); }
.apple-s { width: 15px; height: 15px; margin-top: -2px; }
@media (max-width: 420px) { .nav-get span { display: none; } .nav-get { width: 38px; padding: 0; justify-content: center; } .brand span { font-size: 15px; } }

.ic { width: 18px; height: 18px; flex: none; }

/* language dropdown */
.lang { position: relative; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 11px; border-radius: 999px; cursor: pointer;
  color: var(--muted); font-size: 13.5px; font-weight: 600; border: 1px solid transparent; transition: color .25s, background .25s, border-color .25s; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: rgba(255, 255, 255, 0.07); border-color: var(--line); }
.lang .ic { width: 16px; height: 16px; }
.lang .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang[open] .chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px; max-width: calc(100vw - 24px); max-height: min(70vh, 520px); overflow: auto; padding: 6px; border-radius: 20px;
  background: rgba(20, 20, 30, 0.86); display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  animation: pop .28s var(--ease);
}
.lang-list a { display: block; padding: 9px 11px; border-radius: 12px; text-decoration: none; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-list a:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.lang-list a[aria-current] { color: var(--text); background: rgba(139, 124, 246, 0.22); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- App Store badge (official style) ---------- */
.as-badge {
  --h: 48px; display: inline-flex; align-items: center; gap: calc(var(--h) * 0.16); height: var(--h);
  padding: 0 calc(var(--h) * 0.36) 0 calc(var(--h) * 0.24); border-radius: calc(var(--h) * 0.2); background: #000; color: #fff;
  border: 1px solid #a6a6a6; text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--font);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .9); white-space: nowrap;
}
.as-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(109, 90, 230, .55); }
.as-badge .apple { width: calc(var(--h) * 0.52); height: calc(var(--h) * 0.52); margin-top: calc(var(--h) * -0.05); }
.as-text { display: flex; flex-direction: column; line-height: 1; }
.as-l1 { font-size: calc(var(--h) * 0.23); font-weight: 500; letter-spacing: 0.01em; margin-bottom: calc(var(--h) * 0.04); }
.as-l2 { font-size: calc(var(--h) * 0.44); font-weight: 600; letter-spacing: -0.02em; }
.as-badge.lg { --h: 54px; }
.as-badge.xl { --h: 60px; }

/* ---------- common ---------- */
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
:lang(ja) .kicker, :lang(ko) .kicker, :lang(zh-Hans) .kicker, :lang(zh-Hant) .kicker { letter-spacing: .06em; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2 { font-size: clamp(34px, 7.4vw, 60px); }
.sec-sub { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.grad { background: linear-gradient(100deg, #b6aafc 0%, var(--accent) 35%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
section { position: relative; }
main { overflow-x: clip; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); transition: background .3s, transform .3s var(--ease); text-align: center;
}
.btn:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #9a8cf8, var(--accent-2)); border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 12px 30px -12px rgba(109, 90, 230, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { background: linear-gradient(180deg, #a698fa, #7462ec); }

/* reveal (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- phone ---------- */
.phone {
  --w: 300px; position: relative; width: var(--w); max-width: 100%; container-type: inline-size;
  padding: calc(var(--w) * 0.034); border-radius: calc(var(--w) * 0.17); background: linear-gradient(145deg, #2b2b36, #101016 40%, #1d1d26);
  box-shadow: 0 0 0 1.5px #3b3b48, inset 0 0 0 1.2px rgba(255, 255, 255, 0.10), 0 40px 90px -30px rgba(0, 0, 0, .95), 0 30px 120px -40px rgba(109, 90, 230, .55);
}
.phone-screen { position: relative; width: 100%; aspect-ratio: 1320 / 2868; border-radius: 14.5cqw; overflow: hidden; background: #000; isolation: isolate; }
.phone-screen > img, .phone-screen video, .layer > img { width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; top: calc(var(--w) * 0.062); left: 50%; width: calc(var(--w) * 0.24); height: calc(var(--w) * 0.068); transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.10), transparent 30%); mix-blend-mode: screen; }

/* ---------- hero ---------- */
.hero { padding: calc(var(--nav-h) + 56px) 0 40px; }
.hero-in { display: grid; gap: 56px; align-items: center; }
.hero-copy { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.hero h1 { font-size: clamp(44px, 12vw, 84px); letter-spacing: -0.04em; line-height: 1.0; }
:lang(ja) .hero h1, :lang(ko) .hero h1, :lang(zh-Hans) .hero h1, :lang(zh-Hant) .hero h1 { letter-spacing: -0.01em; line-height: 1.12; font-size: clamp(40px, 10.5vw, 76px); }
:lang(ru) .hero h1, :lang(de) .hero h1 { font-size: clamp(40px, 10.6vw, 78px); }
.lead { margin: 22px auto 0; max-width: 560px; color: var(--muted); font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.chip-trial { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #e7e2ff; background: rgba(139, 124, 246, .16); border: 1px solid rgba(139, 124, 246, .38); }
.chip-trial .ic { width: 16px; height: 16px; color: var(--accent); }
.trust { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--faint); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { width: 16px; height: 16px; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1400px; padding: 10px 0 20px; }
.hero-visual::before { content: ""; position: absolute; width: 120%; max-width: 640px; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(109, 90, 230, .42), rgba(90, 200, 250, .10) 45%, transparent 68%); filter: blur(10px); z-index: -1; }
.tilt { position: relative; transform-style: preserve-3d; will-change: transform; transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)); transition: transform .2s linear; }
.hero-phone { --w: min(72vw, 320px); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(28, 28, 40, .58); white-space: nowrap; transform: translateZ(60px); animation: drift 7s var(--ease-io) infinite alternate; }
.float b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.float small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.fi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.fi .ic { width: 18px; height: 18px; }
.fi.violet { background: rgba(139, 124, 246, .22); color: #b7acff; }
.fi.amber { background: rgba(255, 197, 66, .18); color: var(--amber); }
.fi.green { background: rgba(52, 211, 153, .18); color: var(--green); }
.f1 { top: 14%; left: -22%; }
.f2 { top: 47%; right: -30%; animation-delay: -2.3s; }
.f3 { bottom: 13%; left: -18%; animation-delay: -4.6s; }
@keyframes drift { from { translate: 0 -6px; } to { translate: 0 6px; } }
@media (max-width: 599px) {
  .float { padding: 8px 11px 8px 8px; gap: 8px; border-radius: 15px; }
  .float small { display: none; }
  .float b { font-size: 12.5px; }
  .fi { width: 28px; height: 28px; border-radius: 9px; }
  .fi .ic { width: 15px; height: 15px; }
  .f1 { left: -10%; top: 9%; }
  .f2 { right: -12%; top: 50%; max-width: 62vw; }
  .f2 b { white-space: normal; }
  .f3 { left: -8%; bottom: 9%; }
}

/* ---------- stats ---------- */
.stats { padding: 40px 0 30px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat-num { display: block; font-size: clamp(34px, 8vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #c9c3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* ---------- features (sticky storytelling) ---------- */
.features { padding: 110px 0 60px; }
.story { position: relative; }
.step { display: grid; gap: 28px; padding: 30px 0 56px; }
.step-media { display: flex; justify-content: center; }
.step-media .phone { --w: min(68vw, 290px); }
.step-copy { text-align: center; max-width: 520px; margin: 0 auto; }
.step-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 14px; }
.step-tag .num { font-variant-numeric: tabular-nums; color: var(--faint); font-weight: 500; }
.step-copy h3 { font-size: clamp(28px, 6.4vw, 44px); }
.step-copy p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.points { margin-top: 20px; display: inline-grid; gap: 10px; text-align: left; }
.points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.points .ic { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.story-stage { display: none; }

/* layers inside phone */
.layer { position: absolute; inset: 0; }
.layer.dim > img { filter: brightness(.55) saturate(.9); }
.stage-phone .layer { opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.stage-phone .layer.on { opacity: 1; transform: none; }
.step-media .layer, .tour .layer { position: absolute; }

/* overlays (in container units of the phone) */
.ov { position: absolute; z-index: 2; font-size: 3.6cqw; line-height: 1.35; color: var(--text); }
.glass-ov { background: rgba(26, 26, 38, .72); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 40px rgba(0,0,0,.5); }
.ov-cal { left: 5cqw; right: 5cqw; top: 54%; transform: translateY(-50%); border-radius: 7cqw; padding: 5.5cqw 5cqw 5cqw; }
.cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4cqw; }
.cal-top strong { font-size: 5cqw; font-weight: 600; }
.seg { display: inline-flex; padding: .8cqw; border-radius: 99px; background: rgba(255,255,255,.08); font-size: 3.1cqw; }
.seg span { padding: 1.2cqw 2.8cqw; border-radius: 99px; color: var(--muted); }
.seg .on { background: rgba(139, 124, 246, .4); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.6cqw; text-align: center; }
.cal-h { font-size: 2.9cqw; color: var(--faint); padding-bottom: 1cqw; font-weight: 600; }
.cal-d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 2.6cqw; font-size: 3.1cqw; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.04); color: var(--muted); }
.cal-d.empty { background: none; }
.cal-d.l1 { background: rgba(139, 124, 246, .16); color: #ddd8ff; }
.cal-d.l2 { background: rgba(139, 124, 246, .34); color: #fff; }
.cal-d.l3 { background: rgba(139, 124, 246, .58); color: #fff; }
.cal-d.l4 { background: linear-gradient(160deg, #a596ff, #6d5ae6); color: #fff; box-shadow: 0 0 3cqw rgba(139, 124, 246, .6); }
.cal-d.today { outline: .5cqw solid var(--blue); outline-offset: -.5cqw; }
.cal-legend { display: flex; align-items: center; gap: 2cqw; margin-top: 4cqw; font-size: 3.1cqw; color: var(--muted); }
.cal-legend i { width: 2.6cqw; height: 2.6cqw; border-radius: 1cqw; background: linear-gradient(160deg, #a596ff, #6d5ae6); }
.ov-dup { left: 4.5cqw; right: 4.5cqw; top: 33.5%; border-radius: 6cqw; padding: 4.2cqw; display: grid; grid-template-columns: auto 1fr; gap: 3cqw; border-color: rgba(255, 197, 66, .55); box-shadow: 0 0 0 .6cqw rgba(255, 197, 66, .14), 0 14px 40px rgba(0,0,0,.5); }
.ov-dup strong { display: block; font-size: 3.9cqw; font-weight: 600; }
.ov-dup p { margin-top: 1cqw; font-size: 3.2cqw; color: var(--muted); }
.dup-ic { width: 9cqw; height: 9cqw; border-radius: 3cqw; display: grid; place-items: center; background: rgba(255, 197, 66, .18); color: var(--amber); }
.dup-ic .ic { width: 5cqw; height: 5cqw; }
.dup-save { grid-column: 2; justify-self: start; font-size: 3.2cqw; font-weight: 600; color: var(--amber); background: rgba(255, 197, 66, .14); padding: 1cqw 2.6cqw; border-radius: 99px; }
.ov-notif { left: 3.5cqw; right: 3.5cqw; top: 16cqw; display: grid; gap: 2.4cqw; }
.notif { display: grid; grid-template-columns: auto 1fr; gap: 3cqw; padding: 3.6cqw; border-radius: 6.5cqw; background: rgba(48, 48, 60, .72); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.notif img { width: 9cqw; height: 9cqw; border-radius: 2.4cqw; }
.notif-top { display: flex; justify-content: space-between; font-size: 2.9cqw; color: var(--muted); }
.notif-top strong { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.notif b { display: block; font-size: 3.6cqw; font-weight: 600; margin-top: .6cqw; }
.notif p { font-size: 3.3cqw; color: rgba(255,255,255,.82); }
.stage-phone .layer .notif { opacity: 0; transform: translateY(-6cqw); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.stage-phone .layer.on .notif { opacity: 1; transform: none; }
.stage-phone .layer.on .notif.n2 { transition-delay: .35s; }
.stage-phone .layer .ov-dup, .stage-phone .layer .ov-cal { opacity: 0; transition: opacity .6s var(--ease) .2s, transform .8s var(--ease) .2s; }
.stage-phone .layer .ov-dup { transform: scale(.96); }
.stage-phone .layer.on .ov-dup { opacity: 1; transform: none; }
.stage-phone .layer.on .ov-cal { opacity: 1; }

@media (min-width: 960px) {
  .story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .step { min-height: 72vh; align-content: center; padding: 0; }
  .step-media { display: none; }
  .step-copy { text-align: left; margin: 0; opacity: .28; transition: opacity .6s var(--ease); }
  .step.active .step-copy { opacity: 1; }
  .story-stage { display: block; }
  .stage-sticky { position: sticky; top: calc(50vh - 330px); height: 680px; display: flex; align-items: center; justify-content: center; }
  .stage-phone { --w: 312px; }
  .stage-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 90, 230, .40), transparent 65%); filter: blur(20px); transition: background 1s var(--ease); }
  .stage-sticky[data-tone="amber"] .stage-glow { background: radial-gradient(circle, rgba(255, 197, 66, .22), rgba(109, 90, 230, .2) 40%, transparent 66%); }
  .stage-sticky[data-tone="green"] .stage-glow { background: radial-gradient(circle, rgba(52, 211, 153, .28), rgba(90, 200, 250, .12) 40%, transparent 66%); }
  .stage-sticky[data-tone="blue"] .stage-glow { background: radial-gradient(circle, rgba(90, 200, 250, .30), transparent 64%); }
  .stage-dots { position: absolute; right: calc(50% - 220px); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
  .stage-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .4s, transform .4s var(--ease); }
  .stage-dots span.on { background: var(--accent); transform: scale(1.5); }
  .step-copy h3 { font-size: clamp(34px, 3.6vw, 48px); }
  .points { display: grid; }
}
@media (min-width: 960px) and (max-height: 760px) { .stage-sticky { top: calc(var(--nav-h) + 20px); height: calc(100vh - var(--nav-h) - 40px); } .stage-phone { --w: min(312px, calc((100vh - 140px) * .46)); } }

/* ---------- coach ---------- */
.coach { padding: 110px 0; }
.coach-grid { display: grid; gap: 20px; }
.score-card { border-radius: 32px; padding: 36px 24px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ring { position: relative; width: 210px; height: 210px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 13; stroke-linecap: round; }
.ring-bg { stroke: rgba(255,255,255,.07); }
.ring-fg { stroke: url(#rg); stroke-dasharray: 100; stroke-dashoffset: 8; filter: drop-shadow(0 0 10px rgba(52, 211, 153, .45)); }
.js .ring-fg { stroke-dashoffset: 100; }
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-val span { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ring-val small { font-size: 14px; color: var(--faint); margin-top: 4px; }
.score-state { margin-top: 18px; font-size: 20px; font-weight: 600; }
.score-label { color: var(--muted); font-size: 14px; margin-top: 2px; }
.score-chips { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.score-chips span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.score-chips .ic { width: 15px; height: 15px; color: var(--amber); }
.score-chips span:last-child .ic { color: var(--accent); }
.coach-side { display: grid; gap: 20px; align-content: start; }
.tip { border-radius: 28px; padding: 24px; position: relative; overflow: hidden; }
.tip::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(139,124,246,.7), transparent 40%, rgba(90,200,250,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tip-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tip-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #cfc7ff; background: rgba(139,124,246,.16); padding: 6px 11px; border-radius: 999px; }
.tip-label .ic { width: 14px; height: 14px; }
.tip-score { font-size: 13px; color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.tip h3 { margin-top: 18px; font-size: 22px; letter-spacing: -0.02em; }
.tip p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.tip-save { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--green); }
.coach-points { display: grid; gap: 4px; }
.coach-points li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.coach-points li:last-child { border-bottom: 0; }
.cp-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--accent); }
.coach-points h3 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }
.coach-points p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.disclaimer { font-size: 13px; color: var(--faint); }
@media (min-width: 900px) {
  .coach-grid { grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: stretch; }
  .score-card { justify-content: center; padding: 48px 32px; }
  .ring { width: 250px; height: 250px; }
  .ring-val span { font-size: 76px; }
}

/* ---------- video ---------- */
.video { padding: 100px 0; }
.video-in { display: grid; gap: 40px; align-items: center; }
.video-in .sec-head { margin-bottom: 0; text-align: center; margin: 0 auto; }
.video-cta { margin-top: 28px; }
.video-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.video-stage .stage-glow { position: absolute; width: 520px; max-width: 120%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(109, 90, 230, .4), transparent 64%); filter: blur(20px); z-index: -1; }
.video-phone { --w: min(70vw, 300px); }
.video-phone .phone-screen { aspect-ratio: 1320 / 2868; }
.video-phone .phone-screen video.promo { object-fit: contain; background: #050507; }
.vbtn { position: absolute; right: -10px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(28,28,40,.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: grid; place-items: center; cursor: pointer; z-index: 4; transition: transform .3s var(--ease), background .3s; }
.vbtn:hover { transform: scale(1.06); background: rgba(40,40,56,.8); }
.vbtn .ic { width: 18px; height: 18px; }
.vbtn .i-pause, .vbtn.playing .i-play { display: none; }
.vbtn.playing .i-pause { display: block; }
.tour .layer { opacity: 0; transition: opacity .9s var(--ease); }
.tour .layer.on { opacity: 1; }
.tour .layer:first-child { opacity: 1; }
.js .tour .layer:first-child:not(.on) { opacity: 0; }
.tour-caps { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 360px; }
.tour-caps li { font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--faint); border: 1px solid transparent; transition: color .4s, background .4s, border-color .4s; }
.tour-caps li.on { color: var(--text); background: rgba(255,255,255,.07); border-color: var(--line); }
@media (min-width: 900px) {
  .video-in { grid-template-columns: 1fr 1fr; gap: 60px; }
  .video-in .sec-head { text-align: left; margin: 0; }
  .video-phone { --w: 310px; }
}

/* ---------- pricing ---------- */
.pricing { padding: 100px 0; }
.plans { display: grid; gap: 16px; }
.plan { position: relative; border-radius: 28px; padding: 28px 24px 24px; display: flex; flex-direction: column; }
.plan.best { background: linear-gradient(180deg, rgba(139,124,246,.20), rgba(109,90,230,.06) 60%, rgba(255,255,255,.03)); border-color: rgba(139,124,246,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 30px 70px -30px rgba(109,90,230,.7); }
.plan-flag { position: absolute; top: -12px; left: 24px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--blue)); color: #fff; box-shadow: 0 6px 20px -6px rgba(109,90,230,.8); }
.plan-head { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 18px; letter-spacing: -0.01em; }
.plan-badge { font-size: 13px; font-weight: 700; color: #0b2d20; background: var(--green); padding: 4px 10px; border-radius: 999px; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amt { font-size: 40px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { color: var(--muted); font-size: 15px; }
.plan-detail { margin-top: 8px; color: var(--muted); font-size: 14px; min-height: 1.5em; }
.plan-feats { margin: 22px 0 26px; display: grid; gap: 11px; }
.plan-feats li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.plan-feats .ic { width: 17px; height: 17px; color: var(--accent); margin-top: 2px; }
.plan.best .plan-feats .ic { color: var(--green); }
.plan .btn { margin-top: auto; width: 100%; }
.price-note { margin: 32px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-size: 14.5px; }
.price-note a, .qa-a a, .doc-body a { color: #c5bcff; text-decoration: underline; text-decoration-color: rgba(197, 188, 255, .4); text-underline-offset: 3px; }
.price-note a:hover, .qa-a a:hover, .doc-body a:hover { text-decoration-color: currentColor; }
.price-foot { margin-top: 8px; text-align: center; color: var(--faint); font-size: 13px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } .plan { padding: 30px 22px 22px; } }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; }
.qa-list { display: grid; gap: 10px; }
.qa { border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.qa[open] { background: rgba(255,255,255,.065); border-color: var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; line-height: 1.4; border-radius: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .4s var(--ease); }
.qa[open] .chev { transform: rotate(180deg); }
.qa-a { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }
.qa[open] .qa-a { animation: qa .5s var(--ease); }
@keyframes qa { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- final CTA ---------- */
.final { padding: 60px 0 100px; }
.final-card { position: relative; overflow: hidden; border-radius: 36px; padding: 48px 24px; display: grid; gap: 36px; justify-items: center; text-align: center; }
.final-glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 0%, rgba(109,90,230,.45), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(90,200,250,.22), transparent 60%); z-index: -1; }
.final-icon { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); }
.final h2 { font-size: clamp(32px, 6.4vw, 54px); }
.final-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.final-actions { margin-top: 28px; display: flex; justify-content: center; }
.qr-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-wrap a { display: block; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); transition: transform .4s var(--ease); }
.qr-wrap a:hover { transform: translateY(-2px); }
.qr { width: 156px; height: 156px; }
.qr-wrap figcaption { font-size: 13px; color: var(--muted); max-width: 200px; text-align: center; }
@media (max-width: 599px) { .qr-wrap { display: none; } }
@media (min-width: 900px) {
  .final-card { grid-template-columns: 1fr auto; text-align: left; padding: 64px; gap: 48px; justify-items: stretch; align-items: center; }
  .final-icon { margin: 0 0 24px; }
  .final-actions { justify-content: flex-start; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.25); }
.footer-in { display: grid; gap: 24px; }
.footer-brand p { margin-top: 10px; color: var(--faint); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 4px 0; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 28px; display: grid; gap: 8px; color: var(--faint); font-size: 13px; }
.footer-bottom .tm { font-size: 12px; }
@media (min-width: 760px) { .footer-in { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- legal / support pages ---------- */
.doc { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 80px; max-width: 1100px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 26px; }
.back:hover { color: var(--text); }
.back .ic { width: 16px; height: 16px; }
.doc-head h1 { font-size: clamp(36px, 7vw, 56px); }
.updated { margin-top: 12px; color: var(--accent); font-size: 14px; font-weight: 500; }
.doc-intro { margin-top: 18px; max-width: 720px; color: var(--muted); font-size: 17.5px; }
.doc-grid { margin-top: 36px; display: grid; gap: 20px; align-items: start; }
.toc { display: none; border-radius: 22px; padding: 20px; position: sticky; top: calc(var(--nav-h) + 30px); }
.toc p { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 600; margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 10px; line-height: 1.35; }
.toc a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.doc-body { border-radius: 28px; padding: 8px 24px; }
.doc-sec { padding: 24px 0; border-bottom: 1px solid var(--line); }
.doc-sec:last-child { border-bottom: 0; }
.doc-sec h2 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 10px; line-height: 1.25; }
.doc-sec p, .doc-sec li { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.doc-sec p + p { margin-top: 10px; }
.doc-sec ul { padding-left: 1.1em; display: grid; gap: 8px; }
.doc-sec strong { color: var(--text); font-weight: 600; }
.contact-card { margin-top: 32px; border-radius: 26px; padding: 24px; display: grid; gap: 16px; align-items: center; }
.contact-card h2 { font-size: 20px; }
.contact-card p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.contact-card .btn { word-break: break-all; }
.doc-cta { margin-top: 40px; display: flex; justify-content: center; }
@media (min-width: 900px) {
  .doc-grid { grid-template-columns: 260px 1fr; gap: 28px; }
  .toc { display: block; }
  .doc-body { padding: 12px 40px; }
  .contact-card { grid-template-columns: auto 1fr auto; padding: 24px 28px; }
}

/* ---------- breakpoints ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
  .stat:last-child { border-right: 0 !important; }
  .stat-label { font-size: 14.5px; }
}
@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .nav-links { display: flex; }
  .nav { padding: 0 8px 0 14px; }
  .hero { padding: calc(var(--nav-h) + 70px) 0 60px; min-height: min(100vh, 980px); display: flex; align-items: center; }
  .hero-in { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
  .hero-copy { text-align: left; }
  .lead { margin-left: 0; }
  .hero-cta, .trust { justify-content: flex-start; }
  .hero-phone { --w: 330px; }
  .f1 { left: -34%; } .f2 { right: -30%; } .f3 { left: -26%; }
}
@media (min-width: 1280px) { .hero-phone { --w: 350px; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .tilt { transform: none; }
  .float { animation: none; }
}
