/* Lazy Alpha website — v2 design.
   Material: the app's dark tokens + gold (lazy-alpha-app docs/DESIGN_TOKENS.md), set in the cinematic language of the
   July landing (near-black, very heavy tight type, a gold second line, one story per screen, gentle reveals) and taken
   further: device mockups, gradient gold type, alternating section moods, drawn line art, scroll-linked tilt. */
:root {
  --bg: #0a0d12;
  --bg2: #0e131a;
  --panel: #131a23;
  --panel2: #18212d;
  --line: rgba(255,255,255,.08);
  --line2: rgba(255,255,255,.14);
  --text: #eef0f3;
  --ink2: #c3c9d2;
  --muted: #8b95a3;
  --gold: #e8b04b;
  --gold2: #f6cf7e;
  --gold3: #c98f2e;
  --gold-soft: rgba(232,176,75,.12);
  --chip: #2b2a22;
  --tone1: #f2696b; --tone2: #f5934a; --tone3: #e9c046; --tone4: #a8d25a; --tone5: #3ccb86;
  --up: #22b07d; --down: #f0525f;           /* US candles (en / ja) */
  --radius: 24px;
  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
html[lang="ko"] { --up: #f0525f; --down: #4d8ff7; }   /* Korean candles */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; background: var(--bg); color: var(--text); overflow-x: clip; }
body {
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-size: 17px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
}
html[lang="ja"] body { font-family: "Pretendard JP Variable", "Pretendard JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  word-break: normal; line-break: strict; }
html[lang="ja"] :is(h1, h2, h3, .lead) { word-break: auto-phrase; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
::selection { background: rgba(232,176,75,.35); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 80; background: var(--panel); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(42px, 7.2vw, 96px); letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(34px, 5.4vw, 70px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.3; }
html[lang="ja"] h1 { font-size: clamp(36px, 6vw, 80px); line-height: 1.12; }
html[lang="ja"] h2 { font-size: clamp(30px, 4.6vw, 60px); line-height: 1.15; }
.two > span { display: block; }
.gold, .two > span + span {
  background: linear-gradient(100deg, var(--gold2) 0%, var(--gold) 45%, var(--gold3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em;
}
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--gold);
  font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
html[lang="ko"] .kicker, html[lang="ja"] .kicker { letter-spacing: .16em; font-size: 13.5px; }
.lead { margin: 26px 0 0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--ink2); max-width: 36em; }
.center { text-align: center; }
.center .lead, .center .kicker { margin-left: auto; margin-right: auto; }
.center .kicker { justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700;
  font-size: 16px; padding: 16px 30px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-gold { color: #1a1205; background: linear-gradient(180deg, var(--gold2), var(--gold)); box-shadow: 0 14px 40px -14px rgba(232,176,75,.65), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -16px rgba(232,176,75,.8), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost { color: var(--text); border-color: var(--line2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(232,176,75,.5); background: var(--gold-soft); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.center .btn-row { justify-content: center; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- top: progress, strip, header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold3), var(--gold2)); z-index: 70; pointer-events: none; }
.strip { position: relative; z-index: 41; text-align: center; font-size: 14px; padding: 10px 16px; color: var(--ink2);
  background: linear-gradient(90deg, rgba(232,176,75,.04), rgba(232,176,75,.12), rgba(232,176,75,.04)); border-bottom: 1px solid rgba(232,176,75,.18); }
.strip a { color: var(--gold2); font-weight: 700; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.strip a:hover { text-decoration: underline; }
.hdr { position: sticky; top: 0; z-index: 40; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(10,13,18,.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line2); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink2); font-weight: 600; font-size: 15px; padding: 9px 13px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.nav .login { margin-left: 6px; border: 1px solid var(--line2); }
/* language menu: globe + code, list in each language's own name */
.lang-menu { position: relative; margin-left: 6px; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--ink2); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 8px 12px; cursor: pointer; transition: .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--text); background: rgba(255,255,255,.06); border-color: var(--line); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px; list-style: none; z-index: 50;
  background: rgba(19,26,35,.96); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: 11px;
  color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; }
.lang-list a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.lang-list a[aria-checked="true"] { color: var(--gold2); }
.lang-list a[aria-checked="true"]::after { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translateY(-2px); }
.lang-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.lang-links a { text-decoration: none; }
.lang-links a:hover, .lang-links a[aria-current] { color: var(--text); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; border-radius: 10px; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 980px) {
  .menu-btn { display: block; margin-left: 0; }
  .lang-menu { margin-left: auto; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(14,19,26,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 12px 20px 22px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav .login { margin: 8px 0 0; text-align: center; }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 14vh, 168px) 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), var(--bg) 85%); }
.sec.alt::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,176,75,.35), transparent); }
.sec-head { max-width: 860px; }
.sec-head.center { margin: 0 auto; }

/* reveal (no-JS and reduced motion: shown) */
.js .rv { opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .26s; } .d4 { --d: .36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(64px, 11vh, 128px) 0 clamp(72px, 10vh, 120px); overflow: hidden; }
.hero .glow { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 30%, rgba(232,176,75,.16), transparent 70%),
              radial-gradient(40% 30% at 80% 70%, rgba(60,203,134,.06), transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .75; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
.hero .grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%); }
.hero-in { position: relative; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .btn-row { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .hero .glow { animation: none; } }

/* ---------- device mockups ---------- */
.devices { position: relative; max-width: 1060px; margin: clamp(56px, 8vh, 96px) auto 0; perspective: 1800px; }
.devices .tilt { transform: rotateX(var(--tilt, 0deg)) translateY(var(--lift, 0px)); transform-origin: 50% 100%; transition: transform .1s linear; }
.laptop { position: relative; width: 88%; margin: 0 auto; }
.laptop .lid { position: relative; padding: 2.1% 2.1% 2.6%; border-radius: 22px 22px 12px 12px; background: linear-gradient(180deg, #1b1f26, #0a0c0f);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09), 0 0 0 1px #000, 0 50px 100px -40px rgba(0,0,0,.9), 0 0 160px -50px rgba(232,176,75,.35); }
.laptop .cam { position: absolute; top: .75%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #20252c; box-shadow: inset 0 0 0 1px #2c323b; }
.laptop .screen { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--panel); }
.laptop .base { position: relative; height: clamp(12px, 1.7vw, 20px); margin: 0 -7%; border-radius: 0 0 22px 22px / 0 0 100% 100%;
  background: linear-gradient(180deg, #4a515c 0%, #262a31 35%, #121418 100%); box-shadow: 0 30px 50px -20px rgba(0,0,0,.9); }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 38%; transform: translateX(-50%);
  border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #1a1d22, #2b3038); }
.phone { position: relative; width: 100%; aspect-ratio: 9 / 19.5; padding: 3.6%; border-radius: 16% / 7.4%;
  background: linear-gradient(145deg, #4a515c 0%, #1a1d22 30%, #0d0f12 60%, #3a404a 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1), 0 0 0 1px #000, 0 50px 90px -30px rgba(0,0,0,.95), 0 0 120px -50px rgba(232,176,75,.3); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 13% / 6%; overflow: hidden; background: var(--panel); }
.phone .island { position: absolute; z-index: 2; top: 2.6%; left: 50%; width: 31%; height: 3.4%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.devices .phone-wrap { position: absolute; right: 0; bottom: -3%; width: 23%; }
@media (max-width: 720px) { .laptop { width: 96%; } .devices .phone-wrap { width: 34%; right: -2%; bottom: -10%; } }
.screen img, .screen video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen .ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; padding: 8%; color: var(--muted);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 12px, transparent 12px 24px), linear-gradient(180deg, #151c26, #10161e); }
.screen .ph b { color: var(--ink2); font-size: clamp(11px, 1.3vw, 15px); letter-spacing: .06em; }
.screen .ph span { font-size: clamp(10px, 1.05vw, 13px); line-height: 1.45; }
.solo-phone { width: min(320px, 72vw); margin: 0 auto; }

/* plain pictures (illustrations): real file, or a quiet placeholder with the ID */
.pic { position: relative; border-radius: 20px; overflow: hidden; background: var(--panel); }
.pic img, .pic video { width: 100%; height: 100%; object-fit: cover; }
.pic.ph { display: grid; place-content: center; gap: 6px; text-align: center; padding: 16px; color: var(--muted);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 12px, transparent 12px 24px), linear-gradient(180deg, #141b24, #10151c);
  border: 1px dashed rgba(255,255,255,.12); }
.pic.ph b { color: var(--ink2); font-size: 14px; letter-spacing: .06em; }
.pic.ph span { font-size: 13px; max-width: 26em; }

/* ---------- problem ---------- */
.problem .noise { display: block; width: 100%; max-width: 980px; height: auto; margin: 64px auto 0; overflow: visible; }
.noise .n { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.3; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.noise .g { fill: none; stroke: url(#goldline); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400;
  filter: drop-shadow(0 0 10px rgba(232,176,75,.55)); }
.noise.in .n { animation: draw 2.2s var(--ease) forwards, fadeN 1.2s 2.4s ease forwards; }
.noise.in .n:nth-child(2) { animation-delay: .1s, 2.5s; } .noise.in .n:nth-child(3) { animation-delay: .2s, 2.6s; }
.noise.in .n:nth-child(4) { animation-delay: .3s, 2.7s; } .noise.in .n:nth-child(5) { animation-delay: .4s, 2.8s; }
.noise.in .g { animation: draw 2.4s 1.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeN { to { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .noise .n, .noise .g { stroke-dashoffset: 0; animation: none !important; } .noise .n { opacity: .35; } }
.words { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 40px; padding: 0; list-style: none; }
.words li { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink2); font-weight: 600; font-size: 17px;
  background: rgba(255,255,255,.02); text-decoration: line-through; text-decoration-color: rgba(240,82,95,.6); text-decoration-thickness: 1.5px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 20px; margin-top: 72px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); transition: border-color .35s, transform .35s var(--ease); }
.card:hover { border-color: rgba(232,176,75,.32); }
.step { padding: 14px 14px 30px; }
.step .pic { border-radius: 16px; }
.step .num { display: block; margin: 26px 12px 8px; font-size: 15px; font-weight: 800; letter-spacing: .14em; color: var(--gold); }
.step h3 { margin: 0 12px; font-size: 24px; }
.step p { margin: 10px 12px 0; color: var(--ink2); font-size: 17px; }

/* ---------- split ---------- */
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; } .split.rev > :first-child { order: 2; } }
.quote { margin: 40px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--text); }

/* features + lenses visual */
.feats { display: grid; gap: 12px; margin-top: 40px; }
.feat { display: flex; gap: 16px; align-items: center; padding: 18px 20px; }
.feat .fi { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold);
  background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(232,176,75,.25); }
.feat b { display: block; font-size: 18px; }
.feat span { color: var(--muted); font-size: 15.5px; }
.lenses { padding: clamp(24px, 4vw, 40px); }
.lenses .cap { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bars5 { display: grid; gap: 14px; margin: 26px 0 34px; }
.bars5 i { display: block; height: 12px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; position: relative; }
.bars5 i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: var(--c);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease); transition-delay: var(--dl, 0s); }
.in .bars5 i::after, html:not(.js) .bars5 i::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .bars5 i::after { transform: scaleX(1); transition: none; } }
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seasons span { text-align: center; padding: 10px 4px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.seasons span.on { color: var(--tone5); border-color: rgba(60,203,134,.45); background: rgba(60,203,134,.08); }

/* ---------- replay ---------- */
.replay { margin-top: 56px; padding: 18px 18px 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, #111821, #0d1218); box-shadow: 0 60px 120px -60px rgba(0,0,0,.9); }
.rp-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.rp-meta { color: var(--muted); font-size: 13px; }
.rp-play { font: inherit; font-size: 13px; font-weight: 700; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.rp-stage { position: relative; margin-top: 8px; }
.rp-chart svg { display: block; width: 100%; height: auto; }
.rp-gl { stroke: var(--line); stroke-width: 1; }
.rp-mt { fill: var(--muted); font-family: inherit; }
.rp-up line, .rp-up rect { stroke: var(--up); fill: var(--up); }
.rp-dn line, .rp-dn rect { stroke: var(--down); fill: var(--down); }
.rp-up line, .rp-dn line { stroke-width: 1.2; }
.rp-up rect, .rp-dn rect { stroke-width: 0; }
.rp-ma1, .rp-ma2 { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rp-ma1 { stroke: var(--gold); opacity: .85; }
.rp-ma2 { stroke: #9fb3c8; opacity: .6; }
.rp-lab text { font-weight: 700; fill: #fff; font-family: inherit; }
.rp-s0 rect { fill: #b9832a; } .rp-s1 rect { fill: #1c8f4f; } .rp-s2 rect { fill: #0e8a87; } .rp-s3 rect { fill: #c96a0c; }
.rp-lab { transition: opacity .3s; }
.rp-bubble { position: absolute; transform: translateX(-50%); max-width: min(320px, 80%); background: #f3f4f6; color: #1b2330;
  border-radius: 16px; padding: 12px 16px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); pointer-events: none; }
.rp-bubble.up { transform: translate(-50%, -100%); }
.rp-bubble b { display: block; font-size: 13px; color: #b9832a; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.rp-chip { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.rp-chip.on { color: var(--gold2); background: var(--gold-soft); border-color: rgba(232,176,75,.45); }
.caption { font-size: 13.5px; color: var(--muted); margin: 14px 4px 0; }
@media (max-width: 560px) {
  .replay { padding: 14px 12px 12px; }
  .rp-bubble, .rp-bubble.up { position: static; transform: none; max-width: none; margin-top: 10px; box-shadow: none; }
}

/* ---------- academy ---------- */
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; font-size: 18px; font-weight: 600; }
.ticks li { display: flex; gap: 14px; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft) no-repeat center / 14px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8b04b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgba(232,176,75,.3); }

/* ---------- people / markets / languages ---------- */
.globe { display: block; margin: 0 auto 28px; color: var(--gold); }
.reach { display: grid; gap: 20px; margin-top: 64px; }
@media (min-width: 860px) { .reach { grid-template-columns: 1fr 1fr; } }
.reach .card { padding: clamp(26px, 4vw, 40px); text-align: left; }
.reach .lbl { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; padding: 0; list-style: none; }
.chips li { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 18px; border: 1px solid rgba(232,176,75,.35); background: var(--gold-soft); color: var(--text); }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.more::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(232,176,75,.04); } }
@media (prefers-reduced-motion: reduce) { .more::before { animation: none; } }

/* ---------- beta ---------- */
.beta { padding: clamp(28px, 4.5vw, 52px); border-color: rgba(232,176,75,.22);
  background: radial-gradient(80% 120% at 100% 0%, rgba(232,176,75,.08), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.beta .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #1a1205; background: linear-gradient(180deg, var(--gold2), var(--gold)); }
html[lang="ko"] .beta .tag, html[lang="ja"] .beta .tag { letter-spacing: .04em; }
.beta h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 18px; }
.beta-grid { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 860px) { .beta-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.beta-grid div { padding: 20px 22px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.beta-grid b { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--gold2); }
.beta-grid p { margin: 8px 0 0; color: var(--ink2); font-size: 15.5px; }
.beta .delay { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; color: var(--ink2); font-size: 15.5px; }
.beta .delay .ic { color: var(--gold); margin-top: 4px; }
.beta .note { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- final ---------- */
.final { overflow: hidden; }
.final .glow { position: absolute; left: 50%; top: 10%; width: 900px; height: 600px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(232,176,75,.14), transparent); }
.price-line { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; justify-content: center; margin: 40px 0 8px; }
.price-now { font-size: clamp(48px, 6vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price-now small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--gold2); background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(232,176,75,.35); }
.price-later { color: var(--ink2); font-weight: 600; }
.price-notes { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }
.regular-only { display: none; }
.after-switch .promo-only { display: none; }
.after-switch .regular-only { display: revert; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 0 24px; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(232,176,75,.3); background: rgba(255,255,255,.04); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17.5px; padding: 22px 36px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--ink2); }
.faq details > div p { margin: 0 0 10px; }
.faq a, .prose a, .box a { color: var(--gold2); text-underline-offset: 3px; }
.faq-group { margin-top: 64px; }
.faq-group:first-child { margin-top: 0; }
.faq-group h2 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
html[lang="ko"] .faq-group h2, html[lang="ja"] .faq-group h2 { letter-spacing: .06em; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: clamp(72px, 12vh, 128px) 0 clamp(40px, 6vh, 64px); overflow: hidden; }
.page-hero .glow { position: absolute; left: 50%; top: -40%; width: 1000px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(232,176,75,.12), transparent); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 72px); }
html[lang="ja"] .page-hero h1 { font-size: clamp(32px, 4.6vw, 60px); }
.page-body { padding: 0 0 clamp(96px, 14vh, 160px); }
.plan { max-width: 680px; margin: 0 auto; padding: clamp(28px, 4.5vw, 52px); border-color: rgba(232,176,75,.3);
  background: radial-gradient(100% 80% at 50% 0%, rgba(232,176,75,.09), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  box-shadow: 0 60px 120px -60px rgba(232,176,75,.35); }
.plan h2 { font-size: 26px; letter-spacing: -.02em; }
.plan .price-line { justify-content: flex-start; margin-top: 26px; }
.plan .btn { width: 100%; margin-top: 28px; }
.plan h3 { margin-top: 36px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan .ticks { font-size: 16.5px; font-weight: 500; gap: 12px; margin-top: 18px; }
.plan .ticks li::before { width: 22px; height: 22px; background-size: 12px; }
.sub-h { margin-top: clamp(80px, 12vh, 128px); font-size: clamp(28px, 3.6vw, 44px); }
.after { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 860px) { .after { grid-template-columns: repeat(3, 1fr); } }
.after .card { padding: 28px; }
.after .num { font-weight: 800; letter-spacing: .14em; color: var(--gold); font-size: 14px; }
.after h3 { margin-top: 12px; }
.after p { margin: 8px 0 0; color: var(--ink2); font-size: 15.5px; }
.box { padding: clamp(24px, 3.5vw, 36px); margin-top: 20px; }
.box h2 { font-size: 24px; letter-spacing: -.02em; }
.box p { margin: 12px 0 0; color: var(--ink2); }
.box ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.box ol li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; color: var(--ink2); }
.box ol li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px;
  color: var(--gold2); background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(232,176,75,.3); transform: translateY(2px); }
.table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15.5px; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.table tbody th { color: var(--text); font-weight: 700; }
.table td { color: var(--ink2); }
.table td b { color: var(--text); }
@media (max-width: 640px) {
  .table.stack thead { display: none; }
  .table.stack tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .table.stack th, .table.stack td { display: block; border: 0; padding: 2px 0; }
  .table.stack tbody th { font-size: 17px; margin-bottom: 4px; }
  .table.stack td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; margin-top: 8px; }
}
.prose section { margin-top: 44px; }
.prose h2 { font-size: 21px; letter-spacing: -.02em; }
.prose p { margin: 12px 0 0; color: var(--ink2); }
.prose .updated { color: var(--muted); font-size: 14px; margin-top: 18px; }
.libs { display: grid; gap: 12px; margin-top: 22px; }
.libs a { display: block; text-decoration: none; padding: 20px 22px; }
.libs small { display: block; color: var(--muted); }

/* ---------- footer ---------- */
.ftr { position: relative; border-top: 1px solid var(--line); padding: 72px 0 56px; font-size: 14.5px; color: var(--muted); background: var(--bg2); }
.ftr .top { display: grid; gap: 28px; }
@media (min-width: 860px) { .ftr .top { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.ftr .brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 18px; }
.ftr .brand img { width: 28px; height: 28px; border-radius: 8px; }
.ftr .tag { margin: 14px 0 0; color: var(--ink2); max-width: 26em; }
.ftr .risk { margin: 0; color: var(--ink2); }
.ftr .risk a { color: var(--gold2); font-weight: 700; text-decoration: none; }
.ftr .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 40px 0 0; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--line); }
.ftr .links a { text-decoration: none; }
.ftr .links a:hover { color: var(--text); }
.ftr .bottom { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 26px; }
.ftr .bottom > span { margin-right: auto; }

/* language hint — quiet, once: shown only when the browser prefers another language we have; closing it is remembered */
.lang-hint { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 12px;
  border-radius: 999px; background: rgba(19,26,35,.78); border: 1px solid var(--line); color: var(--muted); font-size: 13px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(8px); pointer-events: none; transition: .6s var(--ease); }
.lang-hint.show { opacity: 1; transform: none; pointer-events: auto; }
.lang-hint .ic { color: var(--muted); }
.lang-hint a { color: var(--ink2); font-weight: 600; text-decoration: none; padding: 5px 2px; white-space: nowrap; }
.lang-hint a:hover { color: var(--gold2); }
.lang-hint button { background: none; border: 0; color: var(--muted); font-size: 16px; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.lang-hint button:hover { background: rgba(255,255,255,.06); color: var(--text); }

/* phones: still generous, but not a scroll marathon */
@media (max-width: 640px) {
  .sec { padding: 88px 0; }
  .hero { padding-top: 56px; }
  .steps, .reach { margin-top: 48px; }
  .split { gap: 44px; }
}
.beta.compact { margin-top: 48px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.btn.btn-gold { color: #1a1205; }
.btn.btn-ghost { color: var(--text); }

/* step drawings (own line art; replaced by WEB-steps-N if a picture is added) */
.art { aspect-ratio: 1 / 1; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 60% at 60% 35%, rgba(232,176,75,.10), transparent 70%), linear-gradient(180deg, #121922, #0d1218);
  box-shadow: inset 0 0 0 1px var(--line); }
.art svg { width: 82%; height: auto; overflow: visible; }
.art path, .art circle, .art rect { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art .a-ink, .art .a-ink * { stroke: var(--ink2); stroke-width: 2.4; opacity: .9; }
.art .a-dim { stroke: rgba(255,255,255,.14); stroke-width: 1.6; }
.art .a-line { stroke: var(--gold); stroke-width: 3.4; filter: drop-shadow(0 0 6px rgba(232,176,75,.55)); }
.art .a-sun, .art .a-sun * { stroke: var(--gold); stroke-width: 3; }
.art .a-dot { fill: var(--gold2); stroke: none; filter: drop-shadow(0 0 8px rgba(232,176,75,.9)); }
.art .a-ring { fill: var(--gold); stroke: none; }
.art .a-pill { fill: var(--gold); stroke: none; }
.js .art :is(.a-ink, .a-line, .a-sun) { stroke-dasharray: 700; stroke-dashoffset: 700; }
.js .art .a-ink * , .js .art .a-sun * { stroke-dasharray: 700; stroke-dashoffset: 700; }
.js .in .art :is(.a-ink, .a-line, .a-sun), .js .in .art .a-ink *, .js .in .art .a-sun * { animation: draw 2.2s var(--ease) forwards; }
.js .in .art .a-line { animation-delay: .5s; }
.art .a-ring { transform-origin: 196px 44px; }
.js .in .art .a-ring { animation: ring 2.4s 1.4s ease-in-out infinite; }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .js .art :is(.a-ink, .a-line, .a-sun), .js .art .a-ink *, .js .art .a-sun * { stroke-dashoffset: 0; animation: none !important; }
  .js .in .art .a-ring { animation: none; }
}

/* academy: not open yet */
.soon { display: inline-block; margin-left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: .08em;
  color: #1a1205; background: linear-gradient(180deg, var(--gold2), var(--gold)); vertical-align: 1px; }
html[lang="ko"] .soon, html[lang="ja"] .soon { letter-spacing: .02em; font-size: 12.5px; }
.art.wide { aspect-ratio: 16 / 10; border-radius: 22px; }
.art.wide svg { width: 86%; }

/* ===================== drawn app screens (mocks.py) =====================
   Sizes in cqw so the same screen scales inside any device frame. Laptop UI is laid out for a 1280px screen
   (1cqw ≈ 12.8px), phone UI for 390px (1cqw ≈ 3.9px). Colours: app dark theme (DESIGN_TOKENS.md). */
.screen { container-type: inline-size; }
.mock { position: absolute; inset: 0; background: #111821; color: #e6e9ee; font-family: inherit; overflow: hidden; text-align: left; line-height: 1.35; }
.mock svg { display: block; }
.mock small { color: #8b95a3; font-weight: 500; }
.mock sup { font-size: .6em; color: #e8b04b; margin-left: .1em; }
.mock .up { color: var(--up); } .mock .dn { color: var(--down); }

/* chart */
.mk-chart { width: 100%; height: auto; }
.mk-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.mk-candles .up line, .mk-candles .up rect { stroke: var(--up); fill: var(--up); }
.mk-candles .dn line, .mk-candles .dn rect { stroke: var(--down); fill: var(--down); }
.mk-candles line { stroke-width: 1.3; } .mk-candles rect { stroke-width: 0; }
.mk-ma1, .mk-ma2 { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.mk-ma1 { stroke: #e8b04b; } .mk-ma2 { stroke: #4d8ff7; opacity: .8; }
.mk-lab text { fill: #fff; font-weight: 700; font-family: inherit; }

/* laptop: chart + dashboard */
.mk-pc { display: flex; flex-direction: column; font-size: 1.05cqw; }
.mk-top { display: flex; align-items: center; gap: 2cqw; padding: .9cqw 1.6cqw; border-bottom: 1px solid #222d3b; }
.mk-logo { display: flex; align-items: center; gap: .7cqw; font-weight: 800; font-size: 1.35cqw; }
.mk-logo b { display: grid; place-items: center; width: 2.4cqw; height: 2.4cqw; border-radius: .6cqw; background: #e8b04b; color: #1a1205; font-size: 1.3cqw; }
.mk-tf { display: flex; gap: .4cqw; }
.mk-tf span { padding: .35cqw .8cqw; border-radius: .6cqw; color: #8b95a3; font-weight: 600; }
.mk-tf span.on { background: #2b2a22; color: #e8b04b; }
.mk-icons { margin-left: auto; display: flex; align-items: center; gap: 1cqw; color: #8b95a3; }
.mk-icons > svg { width: 1.6cqw; height: 1.6cqw; }
.mk-lounge { display: flex; align-items: center; gap: .5cqw; padding: .45cqw 1cqw; border-radius: .7cqw; background: #e6e9ee; color: #111821; font-weight: 700; }
.mk-lounge svg { width: 1.4cqw; height: 1.4cqw; }
.mk-body { flex: 1; display: grid; grid-template-columns: 64% 36%; min-height: 0; }
.mk-chartcol { padding: 1cqw 1.2cqw; border-right: 1px solid #222d3b; }
.mk-sym { display: flex; align-items: baseline; gap: .8cqw; margin-bottom: .6cqw; }
.mk-sym b { font-size: 1.9cqw; letter-spacing: -.02em; }
.mk-sym span { color: #8b95a3; }
.mk-star { color: #e8b04b; } .mk-star svg { width: 1.4cqw; height: 1.4cqw; fill: #e8b04b; }
.mk-panel { padding: 1cqw 1.4cqw; display: flex; flex-direction: column; gap: 1.1cqw; }
.mk-tabs { display: flex; gap: 1.6cqw; border-bottom: 1px solid #222d3b; }
.mk-tabs span { padding: .3cqw 0 .7cqw; color: #8b95a3; font-weight: 600; }
.mk-tabs span.on { color: #e6e9ee; box-shadow: inset 0 -2px 0 #e8b04b; }
.mk-grade { display: flex; gap: 1.2cqw; align-items: center; }
.mk-gbox { flex: none; width: 5.4cqw; height: 5.4cqw; border-radius: 1.1cqw; display: grid; place-items: center; font-size: 3cqw; font-weight: 800;
  color: #3fcf7f; background: rgba(63,207,127,.12); box-shadow: inset 0 0 0 1px rgba(63,207,127,.35); }
.mk-grade b { display: block; font-size: 1.7cqw; color: #3fcf7f; }
.mk-gscale { display: flex; gap: .35cqw; margin-top: .4cqw; }
.mk-gscale span { width: 1.8cqw; height: 1.8cqw; border-radius: .45cqw; display: grid; place-items: center; font-size: .85cqw; font-weight: 800;
  color: #8b95a3; background: rgba(255,255,255,.04); }
.mk-gscale span.on { color: #111821; background: var(--c); }
.mk-state { padding: 1.1cqw; border-radius: 1.2cqw; background: rgba(46,196,189,.06); box-shadow: inset 0 0 0 1px rgba(46,196,189,.35); }
.mk-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4cqw; margin: .7cqw 0 .8cqw; }
.mk-flow span { text-align: center; }
.mk-flow i { display: block; height: .45cqw; border-radius: 99px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.mk-flow i::after { content: ""; position: absolute; inset: 0; border-radius: 99px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; }
.mk-flow em { display: block; font-style: normal; font-size: .9cqw; color: #8b95a3; margin-top: .35cqw; }
.mk-flow .done i::after { opacity: .45; } .mk-flow .on em { color: var(--c); font-weight: 700; }
.mk-state > b { font-size: 1.8cqw; color: #2ec4bd; }
.mk-state p { margin: .5cqw 0 0; color: #c3c9d2; }
.mk-chips { display: flex; flex-wrap: wrap; gap: .5cqw; }
.mk-chips span { padding: .35cqw .8cqw; border-radius: 99px; font-weight: 600; font-size: .95cqw; }
.mk-chips .ok { color: #3fcf7f; box-shadow: inset 0 0 0 1px rgba(63,207,127,.45); }
.mk-chips .warn { color: #ff9d3d; box-shadow: inset 0 0 0 1px rgba(255,157,61,.45); }

/* phone: lounge */
.mk-ph { display: flex; flex-direction: column; font-size: 3.7cqw; }
.mk-ph-in { flex: 1; padding: 13cqw 4.5cqw 0; overflow: hidden; }
.mk-ph h4 { margin: 0; font-size: 8cqw; letter-spacing: -.03em; }
.mk-mk { display: flex; gap: 4cqw; margin: 2cqw 0 4cqw; font-weight: 700; font-size: 4.4cqw; color: #8b95a3; }
.mk-mk .on { color: #e6e9ee; }
.mk-card { padding: 4.2cqw; border-radius: 5cqw; background: #131b25; box-shadow: inset 0 0 0 1px #222d3b; margin-bottom: 3cqw; }
.mk-row { display: flex; justify-content: space-between; align-items: baseline; }
.mk-row b { font-size: 4.6cqw; }
.mk-head { margin: 2cqw 0 1.5cqw; font-size: 5.4cqw; font-weight: 800; letter-spacing: -.02em; }
.mk-idx { display: flex; align-items: baseline; gap: 2cqw; }
.mk-idx b { font-size: 5.6cqw; }
.mk-idx span { font-weight: 700; }
.mk-line { width: 100%; height: 18cqw; margin: 1.5cqw 0 2cqw; overflow: visible; }
.mk-line polyline { fill: none; stroke: var(--up); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mk-line .mk-base { stroke: rgba(255,255,255,.15); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.mk-sf > small { display: block; font-weight: 700; color: #e6e9ee; margin-bottom: 1.5cqw; }
.mk-sf div { display: flex; flex-wrap: wrap; gap: 1.5cqw; align-items: center; margin-top: 1.4cqw; }
.mk-sf em { font-style: normal; color: #8b95a3; width: 9cqw; }
.mk-sf span { padding: .9cqw 2.6cqw; border-radius: 99px; font-weight: 600; font-size: 3.3cqw; color: #e6e9ee; }
.mk-sf span.up { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--up) 60%, transparent); background: color-mix(in srgb, var(--up) 10%, transparent); }
.mk-sf span.dn { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--down) 60%, transparent); background: color-mix(in srgb, var(--down) 10%, transparent); }
.mk-reg { margin: 2.4cqw 0; font-weight: 700; display: flex; align-items: center; gap: 2cqw; font-size: 3.9cqw; }
.mk-reg span { padding: .8cqw 2.4cqw; border-radius: 1.6cqw; background: rgba(63,207,127,.14); color: #3fcf7f; font-size: 3.4cqw; flex: none; }
.mk-why { display: block; font-weight: 700; color: #e6e9ee !important; }
.mk-seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4cqw; margin-top: 2cqw; }
.mk-seg i { height: 1.4cqw; border-radius: 99px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; }
.mk-nav { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 2.4cqw 1cqw 6cqw; border-top: 1px solid #222d3b; background: #111821; }
.mk-nav span { display: grid; justify-items: center; gap: .8cqw; color: #8b95a3; }
.mk-nav svg { width: 6cqw; height: 6cqw; }
.mk-nav em { font-style: normal; font-size: 2.7cqw; }
.mk-nav .on { color: #e8b04b; }

/* phone: label → bubble */
.mk-lb .mk-sym b { font-size: 6cqw; }
.mk-lb .mk-sym span { font-size: 3.4cqw; }
.mk-tf-ph { gap: 1.6cqw; margin: 2cqw 0 1cqw; }
.mk-tf-ph span { padding: 1.2cqw 3.6cqw; border-radius: 99px; box-shadow: inset 0 0 0 1px #222d3b; font-size: 3.4cqw; }
.mk-tf-ph span.on { box-shadow: inset 0 0 0 1px #e8b04b; }
.mk-lbchart { position: relative; margin: 0 -4.5cqw; }
.mk-tap { position: absolute; width: 11cqw; height: 11cqw; margin: -5.5cqw 0 0 -5.5cqw; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); opacity: 0; pointer-events: none; }
.mk-bubble { position: relative; margin-top: 2cqw; padding: 3.6cqw 4cqw; border-radius: 4.5cqw; background: #f3f4f6; color: #1b2330; font-size: 3.4cqw; line-height: 1.5;
  box-shadow: 0 6cqw 12cqw -4cqw rgba(0,0,0,.7); opacity: 0; transform: translateY(6cqw); }
.mk-bubble b { display: flex; align-items: center; gap: 1.6cqw; font-size: 4cqw; margin-bottom: 1cqw; }
.mk-bubble b i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #1c8f4f; }
.mk-bubble p { margin: 0; }
.mk-bubble .mk-watch { margin-top: 1.6cqw; padding-top: 1.6cqw; border-top: 1px solid #e1e5ea; }
.mk-bubble .mk-watch small { display: block; color: #6b7684; font-weight: 700; }

/* ---- life: once the screen scrolls into view (.mock.in); reduced motion = final state ---- */
.js .mock .mk-candles { clip-path: inset(0 100% 0 0); }
.js .mock :is(.mk-ma1, .mk-ma2, .mk-line polyline) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .mock .mk-lab, .js .mock .mk-chips span, .js .mock .mk-sf span { opacity: 0; transform: translateY(6px); }
.js .mock .mk-gbox { transform: scale(.6); opacity: 0; }
.js .mock.in .mk-candles { animation: mkReveal 2.6s cubic-bezier(.3,.6,.3,1) .2s forwards; }
.js .mock.in :is(.mk-ma1, .mk-ma2) { animation: mkDraw 2.6s cubic-bezier(.3,.6,.3,1) .35s forwards; }
.js .mock.in .mk-line polyline { animation: mkDraw 1.8s var(--ease) .3s forwards; }
.js .mock.in .mk-lab { animation: mkPop .5s var(--ease) var(--dl) forwards; }
.js .mock.in :is(.mk-chips span, .mk-sf span) { animation: mkPop .5s var(--ease) var(--d) forwards; }
.js .mock.in .mk-gbox { animation: mkPop .7s var(--ease) .6s forwards; }
.js .mock.in .mk-flow span:nth-child(-n+3) i::after { animation: mkFill .5s var(--ease) var(--d) forwards; }
.js .mock.in .mk-seg i { animation: mkFill .5s var(--ease) var(--d) forwards; }
.js .mock.in.mk-lb .mk-tap { animation: mkTap 7s ease-out 1.4s infinite; }
.js .mock.in.mk-lb .mk-bubble { animation: mkBubble 7s var(--ease) 1.4s infinite; }
.js .mock.in.mk-lb .mk-lab[data-key="entry"] { animation: mkPop .5s var(--ease) var(--dl) forwards, mkHi 7s ease 1.4s infinite; }
@keyframes mkReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes mkDraw { to { stroke-dashoffset: 0; } }
@keyframes mkPop { to { opacity: 1; transform: none; } }
@keyframes mkFill { to { transform: scaleX(1); } }
@keyframes mkTap { 0%, 8% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1); } 22%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes mkBubble { 0%, 12% { opacity: 0; transform: translateY(6cqw); } 20%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(3cqw); } }
@keyframes mkHi { 0%, 10%, 90%, 100% { filter: none; } 14%, 86% { filter: drop-shadow(0 0 6px rgba(63,207,127,.9)); } }
.mk-candles { clip-path: inset(0 0 0 0); }
html:not(.js) .mock .mk-flow span:nth-child(-n+3) i::after, html:not(.js) .mock .mk-seg i { transform: scaleX(1); }
html:not(.js) .mk-bubble { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .mock .mk-candles { clip-path: none; animation: none !important; }
  .js .mock :is(.mk-ma1, .mk-ma2, .mk-line polyline) { stroke-dashoffset: 0; animation: none !important; }
  .js .mock :is(.mk-lab, .mk-chips span, .mk-sf span, .mk-gbox) { opacity: 1; transform: none; animation: none !important; }
  .js .mock .mk-flow span:nth-child(-n+3) i::after, .js .mock .mk-seg i { transform: scaleX(1); animation: none !important; }
  .js .mock .mk-bubble { opacity: 1; transform: none; animation: none !important; }
  .js .mock .mk-tap { display: none; }
}

/* hero composition with drawn screens: the laptop's dashboard must stay visible — phone sits past the laptop's right edge */
.devices .laptop { width: 80%; margin: 0 0 0 1%; }
.devices .phone-wrap { width: 21%; right: 0; bottom: -6%; }
@media (max-width: 720px) {
  .devices { margin-bottom: 18%; }
  .devices .laptop { width: 100%; margin: 0; }
  .devices .phone-wrap { width: 36%; right: -1%; bottom: -26%; }
}
.mk-pc { font-size: 1.22cqw; }
.mk-panel { gap: 1.3cqw; }
.mk-sepa { padding: 1cqw 1.1cqw; border-radius: 1.2cqw; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px #222d3b; }
.mk-sepa .mk-row b { font-size: 1.25cqw; }
.mk-sg { display: grid; place-items: center; width: 2.4cqw; height: 2.4cqw; border-radius: .6cqw; font-weight: 800; color: #e8b04b; background: #2b2a22; }
.mk-seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4cqw; margin-top: .8cqw; }
.mk-seasons span { text-align: center; padding: .35cqw 0; border-radius: .5cqw; font-size: .9cqw; color: #8b95a3; background: rgba(255,255,255,.04); }
.mk-seasons span.on { color: #3fcf7f; background: rgba(63,207,127,.12); font-weight: 700; }
.mk-pick { display: flex; gap: 2.6cqw; align-items: center; margin-top: 2.6cqw; }
.mk-av { flex: none; width: 8.4cqw; height: 8.4cqw; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #2b2a22; color: #e8b04b; }
.mk-pick b { display: block; font-size: 3.7cqw; }
.mk-pick b i { font-style: normal; font-size: 2.6cqw; padding: .2cqw 1cqw; border-radius: 1cqw; color: #e8b04b; box-shadow: inset 0 0 0 1px rgba(232,176,75,.5); vertical-align: .3cqw; }
.mk-pick small { font-size: 3cqw; }
.js .mock .mk-pick { opacity: 0; transform: translateY(6px); }
.js .mock.in .mk-pick { animation: mkPop .5s var(--ease) var(--d) forwards; }
@media (prefers-reduced-motion: reduce) { .js .mock .mk-pick { opacity: 1; transform: none; animation: none !important; } }
.mk-sf em { width: auto; min-width: 9cqw; white-space: nowrap; margin-right: 1cqw; }

/* phones: laptop on top, the phone below it — no overlap (operator 2026-10-09). Tablet / PC keep the overlapping layout. */
@media (max-width: 720px) {
  .devices { margin-bottom: 0; }
  .devices .laptop { width: 100%; margin: 0; }
  .devices .phone-wrap { position: relative; right: auto; bottom: auto; width: 62%; margin: 12% auto 0; }
}
