@font-face {
  font-family: 'Pretendard Variable';
  src: url('../assets/fonts/PretendardVariable-ksx.woff2') format('woff2-variations'),
       url('../assets/fonts/PretendardVariable-ksx.woff2') format('woff2');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

/* CHAGO charcoal and cyan. Surfaces get lighter as they rise; no decorative gradients or glows. */
:root {
  --ink: #1f1f1f;
  --ink-2: #262729;
  --ink-3: #2e3032;
  --ink-4: #383a3d;
  --black: #141415;
  --fg: #f4f4f2;
  --fg-2: #d8dbd9;
  --muted: #a9aeac;
  --muted-2: #8e9491;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --cyan: #1bdaf3;
  --on-cyan: #0b1214;
  --red: #ff6a5c;
  --amber: #f5b941;
  --green: #45d38a;
  --gutter: clamp(20px, 6vw, 96px);
  --header-h: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { overflow: clip; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4 { word-break: keep-all; font-weight: 700; }
p, li, dd, label, button, figcaption { word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
img, canvas { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
h3[tabindex='-1']:focus-visible, .done:focus-visible, .apply:focus-visible { outline: none; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--cyan); color: var(--on-cyan); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
  transition: top .2s;
}
.skip:focus-visible { top: 12px; outline-color: var(--fg); }

/* English eyebrows keep their tracking; Korean text stays at 0. */
.eyebrow { font-size: 13px; letter-spacing: .22em; font-weight: 600; text-transform: uppercase; color: var(--muted); }

/* Pills — cyan is the primary action */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.pill:active { transform: scale(.97); }
.pill-cyan { background: var(--cyan); color: var(--on-cyan); }
.pill-cyan:hover { background: #55e4f7; }
.pill-ghost { border: 1px solid var(--line-2); color: var(--fg); }
.pill-ghost:hover { border-color: var(--fg); }
.pill[aria-disabled='true'], .pill:disabled { opacity: .35; cursor: not-allowed; }

/* Global header — same structure as nanuq.kr / AX */
.global-nav {
  position: relative; z-index: 6; height: 88px; padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--ink); color: var(--fg); border-bottom: 1px solid var(--line);
}
.global-nav .brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.global-nav .brand img { width: 48px; height: 48px; }
.global-nav nav { display: flex; gap: 38px; font-size: 13px; font-weight: 600; }
.global-nav nav a { padding: 12px 0; color: #a9aaa6; transition: color .2s; }
.global-nav nav a:hover { color: #fff; }
.global-nav nav a[aria-current] { color: #fff; border-bottom: 1px solid; }
.global-nav nav span { margin-left: 5px; }

/* Local nav */
.local-nav {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 6%;
  color: var(--fg); background: rgba(31, 31, 31, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.ln-title { font-size: 17px; font-weight: 700; margin-right: auto; white-space: nowrap; }
.ln-title b { font-weight: 700; color: var(--cyan); }
.ln-links { display: flex; gap: 26px; font-size: 13px; font-weight: 500; }
.ln-links a { color: var(--fg-2); padding: 8px 0; transition: color .2s; }
.ln-links a:hover { color: #fff; }
.ln-cta { min-height: 34px; padding: 0 16px; font-size: 13px; }
.motion-toggle { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--fg-2); }
.motion-toggle:hover { color: #fff; border-color: var(--fg-2); }

.intro-brand { display: flex; align-items: center; gap: 16px; }
.intro-brand img { width: 56px; height: 56px; border-radius: 22.5%; outline: 1px solid var(--line-2); outline-offset: -1px; }
.intro-brand span { font-size: 13px; letter-spacing: .2em; color: var(--muted); font-weight: 600; }

/* ───────── Scenes (static layout; motion.mjs adds .motion-on) ───────── */
.scene { position: relative; isolation: isolate; background: var(--ink); }
.stage { position: relative; min-height: 100svh; }
.scene-copy { position: relative; z-index: 2; }
.scene-copy h2, .ops-step h3 { font-size: clamp(38px, 4.9vw, 74px); line-height: 1.2; margin-top: 22px; }
.scene-copy h2 span, .ops-step h3 span { display: block; color: var(--muted-2); }
.scene-lead { font-size: 17px; line-height: 1.7; color: var(--muted); margin-top: 22px; max-width: 460px; }
.scene-index { position: absolute; left: var(--gutter); bottom: 24px; font-size: 13px; letter-spacing: .14em; color: #6f7673; }

.scene-scan .stage, .scene-diagnosis .stage, .scene-recommend .stage, .scene-after .stage {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; column-gap: 5vw;
  padding: calc(var(--header-h) + 6svh) var(--gutter) 9svh;
}

/* Film frames: devices may be cut by the crop, so every frame fades out at its edges. */
.rec-phone img, .ops-shot img, .loop-shot img, .seq-phone {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}

/* Frame sequences: a poster image until the canvas has frames */
.seq { position: relative; }
.seq img, .seq canvas { width: 100%; height: 100%; }
.seq canvas { position: absolute; inset: 0; display: none; }
.motion-on .seq.is-ready canvas { display: block; }
.motion-on .seq.is-ready img { visibility: hidden; }

/* Hero */
.scene-hero { background: var(--black); color: var(--fg); }
.scene-hero .stage { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 8svh) var(--gutter) 12svh; overflow: clip; }
.seq-lens { position: absolute; inset: 0; z-index: -2; }
.seq-lens img { object-fit: cover; object-position: 50% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 21, var(--shade, .55)); }
.hero-copy { max-width: 880px; }
.scene-hero h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1.2; margin-top: 34px; }
.scene-hero h1 span { display: block; color: var(--cyan); }
.lead { font-size: 18px; line-height: 1.75; color: var(--fg-2); margin-top: 26px; max-width: 540px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.scroll-cue { font-size: 14px; color: var(--fg-2); display: inline-flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #555a58; }
.scroll-cue span { color: var(--cyan); font-size: 18px; }
.hero-second { display: none; }

/* 01 Scan */
.finder { position: relative; padding: 22px; }
.finder-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shot-tile { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.shot-tile img { width: 100%; height: 100%; object-fit: cover; }
.shot-tile figcaption { position: absolute; left: 10px; bottom: 9px; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: rgba(20, 20, 21, .72); color: var(--fg); }
.shot-tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--cyan); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.shot-tile.is-read::after { opacity: 1; }
.scan-band { position: absolute; left: -8px; right: -8px; top: 0; height: 2px; background: var(--cyan); opacity: 0; pointer-events: none; }
.corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--fg-2); }
.c-tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.c-tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.c-bl { left: 0; bottom: 52px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.c-br { right: 0; bottom: 52px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.finder-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.finder-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.finder-count b { color: var(--fg); font-weight: 700; }
.model-chip { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--ink-3); color: var(--fg-2); }
.model-chip b { color: var(--cyan); font-weight: 700; }
.model-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* 02 Diagnosis */
.diag-visual { position: relative; width: 100%; }
.seq-phone { width: 100%; aspect-ratio: 1500 / 1004; }
.score-card {
  position: absolute; right: 2%; bottom: 4%; width: min(320px, 46%);
  padding: 20px 20px 18px; border-radius: 22px; background: var(--ink-3); border: 1px solid var(--line);
}
.score-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.score-model b { color: var(--cyan); font-weight: 600; }
.score-num { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.score-num b { font-size: 46px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--red); line-height: 1.1; }
.score-num span { font-size: 15px; color: var(--muted); }
.score-bar { display: block; height: 4px; border-radius: 4px; background: var(--ink-4); margin-top: 12px; overflow: hidden; }
.score-bar span { display: block; height: 100%; width: calc(var(--score, 80) * 1%); background: var(--red); border-radius: 4px; }
.score-items { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.score-items li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--fg-2); }
.lv { font-style: normal; font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 7px; }
.lv-high { color: var(--red); background: rgba(255, 106, 92, .14); }
.lv-mid { color: var(--amber); background: rgba(245, 185, 65, .14); }

/* 03 Recommendation */
.rec-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.rec-points li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--fg-2); }
.rp-n { display: inline-grid; place-items: center; width: 34px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.rec-visual { position: relative; height: min(76svh, 720px); }
.rec-phone { position: absolute; }
.rec-phone img { width: 100%; height: auto; }
.rec-back { width: 52%; left: 0; top: 4%; }
.rec-front { width: 60%; right: 0; bottom: 0; }
.rec-tag { position: absolute; right: 6%; top: 8%; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 999px; background: var(--cyan); color: var(--on-cyan); }

/* 04 After wash */
.compare { position: relative; }
.compare-frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.compare-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--wipe, 0%)); }
.cmp-after img { position: absolute; inset: 0; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--wipe, 0%); width: 2px; margin-left: -1px; background: var(--cyan); }
.cmp-label { position: absolute; top: 16px; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(20, 20, 21, .78); }
.cmp-l-before { left: 16px; color: var(--red); }
.cmp-l-after { right: 16px; color: var(--green); }
.gauge-card {
  position: absolute; right: -2%; bottom: -8%; width: min(270px, 42%);
  padding: 18px 18px 16px; border-radius: 22px; background: var(--ink-3); border: 1px solid var(--line);
  display: grid; justify-items: center;
}
.gauge { width: 100%; height: auto; overflow: visible; }
.g-track { fill: none; stroke: var(--ink-4); stroke-width: 12; stroke-linecap: round; }
.g-red { fill: none; stroke: rgba(255, 106, 92, .5); stroke-width: 12; stroke-linecap: round; }
.g-fill { fill: none; stroke: var(--gauge-color, var(--red)); stroke-width: 12; stroke-linecap: round; stroke-dasharray: var(--gauge, 80) 100; }
.g-needle { transform-origin: 110px 115px; transform: rotate(var(--needle, 54deg)); }
.g-needle line { stroke: var(--fg); stroke-width: 3; stroke-linecap: round; }
.g-needle circle { fill: var(--ink-3); stroke: var(--fg); stroke-width: 3; }
.gauge-num { display: grid; justify-items: center; margin-top: 4px; }
.gauge-num b { font-size: 40px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gauge-num span { font-size: 13px; color: var(--muted); }
.gauge-drop { margin-top: 10px; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; color: var(--green); background: rgba(69, 211, 138, .14); }

/* Bridge */
.bridge { background: var(--ink); color: var(--fg); padding: 20svh var(--gutter) 18svh; }
.bridge .eyebrow { color: var(--cyan); }
.bridge h2 { font-size: clamp(46px, 7.2vw, 112px); line-height: 1.14; margin-top: 26px; }
.bridge h2 span { display: block; color: var(--muted-2); }
.route { display: flex; flex-wrap: wrap; margin: 48px 0 0; font-size: 16px; color: var(--fg-2); row-gap: 10px; }
.route span + span::before { content: '→'; margin: 0 20px; color: var(--cyan); }

/* 05 Operations */
.scene-ops .stage { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; column-gap: 4vw; padding: calc(var(--header-h) + 5svh) var(--gutter) 8svh; }
.ops-index { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ops-index li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); transition: color .35s, border-color .35s, background-color .35s; }
.ops-index li span { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted-2); }
.ops-index li.is-on { color: var(--on-cyan); background: var(--cyan); border-color: var(--cyan); }
.ops-index li.is-on span { color: var(--on-cyan); }
.ops-steps { display: grid; }
.ops-step { grid-area: 1 / 1; }
.ops-step h3 { margin-top: 18px; font-size: clamp(34px, 3.3vw, 54px); }
.ops-visual { position: relative; display: grid; }
.ops-shot { grid-area: 1 / 1; display: grid; place-items: center; }
.ops-shot img { width: 100%; height: auto; max-height: 76svh; object-fit: contain; }
.ops-progress { display: none; }

/* 06 Loop */
.scene-loop .stage { display: grid; place-items: center; padding: calc(var(--header-h) + 6svh) var(--gutter) 10svh; text-align: center; }
.loop-shot { width: min(1000px, 88vw, 86svh); }
.loop-shot img { width: 100%; height: auto; }
.loop-line { font-size: clamp(34px, 4.4vw, 64px); font-weight: 700; line-height: 1.2; margin-top: 24px; }
.loop-line span { color: var(--cyan); }
.loop-end { display: grid; justify-items: center; gap: 26px; margin-top: 60px; }
.seal { width: clamp(150px, 16vw, 230px); height: auto; }
.loop-end h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.25; }

/* Origin */
.origin { background: var(--ink); padding: 18svh var(--gutter) 16svh; border-top: 1px solid var(--line); }
.origin-wrap { max-width: 1240px; margin: 0 auto; }
.origin h2 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1.22; margin-top: 22px; }
.origin h2 span { display: block; color: var(--muted-2); }
.origin-cards { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.origin-cards li { padding: 28px 26px 30px; border-radius: 24px; background: var(--ink-2); }
.oc-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink-3); color: var(--cyan); }
.oc-ico .ico { width: 26px; height: 26px; }
.origin-cards b { display: block; font-size: 22px; font-weight: 700; margin-top: 26px; }
.origin-cards p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 10px; }
.beta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; margin-top: 14px; padding: 24px 26px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(27, 218, 243, .38); }
.beta-chip { font-size: 13px; font-weight: 700; letter-spacing: .14em; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--cyan); color: var(--cyan); }
.beta b { display: block; font-size: 20px; font-weight: 700; }
.beta p { font-size: 15px; color: var(--muted); margin-top: 6px; }

/* Reveal on scroll for static sections */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 36px, 0); }
.origin-cards li:nth-child(2) { transition-delay: .08s; }
.origin-cards li:nth-child(3) { transition-delay: .16s; }

/* ───────── Apply ───────── */
.apply { position: relative; background: var(--ink); padding: 120px var(--gutter) 150px; border-top: 1px solid var(--line); outline: none; overflow-anchor: none; }
.apply-wrap { max-width: 1320px; margin: 0 auto; }
.apply-head h2 { font-size: clamp(42px, 5.2vw, 78px); line-height: 1.1; margin-top: 18px; }

.stepper { list-style: none; margin: 52px 0 44px; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); }
.stepper button { width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 18px 12px 0 0; text-align: left; color: var(--muted-2); transition: color .3s; }
.stepper .n { font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.stepper .t { font-size: 16px; font-weight: 600; }
.stepper button[data-state='done'] { color: var(--fg-2); }
.stepper button[data-state='done'] .n { color: var(--cyan); }
.stepper button[aria-current='step'] { color: var(--fg); }
.stepper button[aria-disabled='true'] { cursor: not-allowed; color: #626866; }
.stepper-track { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink-4); border-radius: 2px; overflow: hidden; }
.stepper-track span { display: block; height: 100%; width: var(--progress, 0%); background: var(--cyan); transition: width .6s var(--ease); }

.apply-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.apply-body.no-summary { grid-template-columns: minmax(0, 1fr); }
.apply-body.no-summary .summary { display: none; }
.panel h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.25; margin-bottom: 28px; }
.panel.is-entering { animation: panel-in .6s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Plan cards */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 22px; border-radius: 26px; text-align: left;
  background: var(--ink-2); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .35s, background-color .35s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan[aria-checked='true'] { border-color: var(--cyan); background: var(--ink-3); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-en { font-size: 13px; letter-spacing: .18em; font-weight: 600; color: var(--muted); }
.tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.tick .ico { width: 15px; height: 15px; opacity: 0; color: var(--on-cyan); }
.plan[aria-checked='true'] .tick { background: var(--cyan); border-color: var(--cyan); }
.plan[aria-checked='true'] .tick .ico { opacity: 1; }
.plan-art { display: flex; align-items: center; justify-content: center; gap: 14px; height: 150px; border-radius: 18px; background: var(--ink-3); overflow: hidden; }
.plan[aria-checked='true'] .plan-art { background: var(--ink-4); }
.plan-art-hw img { width: 92%; height: auto; }
.plan-art-sw { position: relative; }
.plan-art-sw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.os-chips { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.os-chips .os-chip { width: 52px; height: 52px; border-radius: 14px; background: rgba(20, 20, 21, .82); border: 1px solid var(--line-2); }
.os-chips .os-chip .ico { width: 24px; height: 24px; }
.os-chip { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; background: var(--ink-2); color: var(--fg); }
.os-chip .ico { width: 34px; height: 34px; }
.plan-name { font-size: 24px; font-weight: 700; }
.plan-list { display: grid; gap: 12px; }
.pl-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.pl-item > span:first-child { color: var(--cyan); padding-top: 1px; }
.pl-item .ico { width: 20px; height: 20px; }
.pl-item b { display: block; font-size: 16px; font-weight: 600; color: var(--fg); line-height: 1.45; }
.pl-item small { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.plan-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--fg-2); }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  min-height: 132px; padding: 22px 24px; border-radius: 24px; background: var(--ink-3); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, background-color .3s;
}
.dl:hover { transform: translateY(-3px); border-color: var(--cyan); }
.dl-mark { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: var(--fg); color: var(--ink); }
.dl-mark .ico { width: 34px; height: 34px; }
.dl-txt { display: grid; gap: 2px; }
.dl-for { font-size: 14px; color: var(--muted); font-weight: 500; }
.dl-txt b { font-size: 24px; font-weight: 700; }
.dl-txt small { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.dl-go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cyan); color: var(--on-cyan); }
.dl-go .ico { width: 22px; height: 22px; }
.dl-state { position: absolute; top: 14px; right: 16px; font-size: 13px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--ink-4); color: var(--fg-2); }
.dl[aria-disabled='true'] { cursor: default; }
.dl[aria-disabled='true']:hover { transform: none; border-color: var(--line); }
.dl[aria-disabled='true'] .dl-go { background: var(--ink-4); color: var(--muted); }
.dl-status { font-size: 14px; color: var(--fg-2); margin-top: 16px; min-height: 1px; }

/* Forms */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field-wide { grid-column: 1 / -1; }
.field label, .choice legend, .dates legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--fg-2); padding: 0; }
.field label small, .choice legend small { font-weight: 400; color: var(--muted-2); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line-2);
  font-size: 16px; color: var(--fg); transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #7d8380; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--cyan); background: var(--ink-3); }
.field [aria-invalid='true'] { border-color: var(--red); }
.field-wide.field { margin-top: 18px; }
.fields .field-wide.field { margin-top: 0; }
.field-error { font-size: 13px; color: var(--red); margin-top: 7px; }
.form-error { margin-top: 16px; }
.choice, .dates { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.dates { margin: 0 0 26px; }
.segmented { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 2px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); }
.segmented button { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--fg-2); transition: background-color .25s, color .25s; }
.segmented button[aria-checked='true'] { background: var(--cyan); color: var(--on-cyan); }
.segmented[aria-invalid='true'] { border-color: var(--red); }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select button { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--fg-2); background: var(--ink-2); border: 1px solid var(--line-2); transition: background-color .25s, color .25s, border-color .25s; }
.chips-select button[aria-pressed='true'] { color: var(--cyan); border-color: var(--cyan); background: rgba(27, 218, 243, .1); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 28px; font-size: 15px; color: var(--fg-2); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--ink-2); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.consent input:checked + .box { background: var(--cyan); border-color: var(--cyan); }
.consent input:checked + .box::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--on-cyan); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.consent input:focus-visible + .box { outline: 2px solid var(--cyan); outline-offset: 3px; }
.consent input[aria-invalid='true'] + .box { border-color: var(--red); }
.consent-more { font-size: 14px; color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.consent-detail { margin: 12px 0 0 36px; padding: 14px 16px; border-radius: 14px; background: var(--ink-2); display: grid; gap: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Features */
.feature-groups { display: grid; gap: 30px; }
.group-title { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
.feature {
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 14px;
  min-height: 116px; padding: 16px 16px 15px; border-radius: 20px; text-align: left;
  background: var(--ink-2); border: 1px solid var(--line);
  transition: transform .4s var(--ease), background-color .3s, border-color .3s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature > .ico { width: 26px; height: 26px; color: var(--fg-2); }
.feature .chk { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.feature .chk .ico { width: 14px; height: 14px; opacity: 0; color: var(--on-cyan); }
.feature .name { grid-column: 1 / -1; align-self: end; font-size: 16px; font-weight: 600; }
.feature[aria-pressed='true'] { background: var(--ink-3); border-color: var(--cyan); }
.feature[aria-pressed='true'] > .ico { color: var(--cyan); }
.feature[aria-pressed='true'] .chk { background: var(--cyan); border-color: var(--cyan); }
.feature[aria-pressed='true'] .chk .ico { opacity: 1; }
.field-hint { margin-top: 18px; font-size: 14px; color: var(--red); }

/* Hardware */
.hw { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; align-items: start; }
.hw-stage { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / .9; background: var(--ink-3); }
.hw-stills { position: absolute; inset: 0; }
.shot { position: relative; aspect-ratio: var(--ar); }
.shot img { position: absolute; left: 0; top: 0; width: calc(100% / var(--sw)); max-width: none; height: auto; transform: translate(calc(-100% * var(--sx)), calc(-100% * var(--sy))); pointer-events: none; user-select: none; }
/* Subject boxes of the 2400×1950 AX renders (asset-work/shot-css.mjs) */
[data-shot='mini-front'] { --sx: 0.205; --sy: 0.3605; --sw: 0.59; --ar: 2.4082; }
[data-shot='mini-hero'] { --sx: 0.1775; --sy: 0.3328; --sw: 0.6292; --ar: 2.2504; }
[data-shot='mini-rear'] { --sx: 0.1775; --sy: 0.3328; --sw: 0.6292; --ar: 2.2504; }
[data-shot='mini-top'] { --sx: 0.1692; --sy: 0.18; --sw: 0.6488; --ar: 1.1968; }
[data-shot='studio-front'] { --sx: 0.2021; --sy: 0.3328; --sw: 0.5958; --ar: 2.0113; }
[data-shot='studio-hero'] { --sx: 0.1683; --sy: 0.3067; --sw: 0.645; --ar: 1.9302; }
[data-shot='studio-rear'] { --sx: 0.1688; --sy: 0.3067; --sw: 0.6446; --ar: 1.9289; }
[data-shot='studio-top'] { --sx: 0.1833; --sy: 0.1749; --sw: 0.6204; --ar: 1.1272; }
.hw-still { position: absolute; width: 72%; left: 14%; top: 46%; transform: translateY(-58%) scale(.97); opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.hw-still.is-on { opacity: 1; transform: translateY(-58%); }
.hw-still[data-shot$='top'] { width: 54%; left: 23%; }
.hw-views { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); z-index: 2; }
.hw-views button { font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 999px; color: var(--fg-2); transition: background-color .25s, color .25s; }
.hw-views button[aria-pressed='true'] { background: var(--fg); color: var(--ink); }
.hw-name { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; margin-top: 14px; }
.hw-spec { font-size: 16px; color: var(--fg-2); margin-top: 10px; font-variant-numeric: tabular-nums; }
.hw-role { display: inline-flex; margin-top: 14px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--cyan); color: var(--cyan); }
.hw-reasons { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.hw-reasons li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 15px; font-weight: 600; line-height: 1.5; }
.hw-reasons li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); transform: translateY(-2px); }
.hw-reasons small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.hw-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 18px; padding: 12px 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.hw-card .thumb .shot { width: 100%; }
.hw-card em { display: block; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--cyan); margin-bottom: 3px; }
.hw-card b { display: block; font-size: 15px; font-weight: 600; }
.hw-card span.meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.seats { border: 0; padding: 0; margin: 26px 0 0; }
.seats legend { font-size: 14px; font-weight: 600; color: var(--fg-2); margin-bottom: 10px; padding: 0; }

/* Dates */
.date-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.date { display: grid; justify-items: center; gap: 2px; padding: 12px 6px 10px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.date:hover { transform: translateY(-2px); border-color: var(--line-2); }
.date b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.date span { font-size: 13px; color: var(--muted); }
.date.is-sat span { color: var(--cyan); }
.date[aria-checked='true'] { background: var(--cyan); border-color: var(--cyan); color: var(--on-cyan); }
.date[aria-checked='true'] span { color: var(--on-cyan); }
.date-grid[aria-invalid='true'] .date { border-color: rgba(255, 106, 92, .5); }

/* Done */
.done { padding: 36px 0 10px; outline: none; }
.done-check { width: 76px; height: 76px; }
.done-check circle { stroke: var(--ink-4); }
.done-check path { stroke: var(--fg); stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .8s .2s var(--ease) forwards; }
.done-check .ring { stroke: var(--cyan); stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h4 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.25; margin-top: 26px; }
.done-ref { font-size: 16px; color: var(--muted); margin-top: 12px; }
.done-ref b { color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.done-sum { margin: 28px 0 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px 18px; padding: 24px; border-radius: 22px; background: var(--ink-2); font-size: 15px; }
.done-sum dt { color: var(--muted); }
.done-sum dd { margin: 0; font-weight: 500; }
.done .panel-nav { border-top: 0; padding-top: 0; justify-content: flex-start; }

/* Summary */
.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-toggle { display: none; }
.summary-body { padding: 24px; border-radius: 24px; background: var(--ink-2); }
.summary-title { font-size: 14px; font-weight: 600; color: var(--muted); }
.summary-list { margin: 16px 0 0; display: grid; }
.summary-row { padding: 16px 0; border-top: 1px solid var(--line); }
.summary-row:first-child { border-top: 0; padding-top: 4px; }
.summary-row dt { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.summary-row dt button { font-size: 13px; font-weight: 600; color: var(--cyan); padding: 2px 0; }
.summary-row dt button:hover { text-decoration: underline; }
.summary-row dd { margin: 8px 0 0; font-size: 15px; font-weight: 600; }
.summary-row dd.is-empty { color: #6d7370; font-weight: 500; }
.summary-row dd small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--ink-3); color: var(--fg-2); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted); padding: 56px var(--gutter) 64px; display: grid; gap: 22px; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.foot-brand img { width: 32px; height: 32px; border-radius: 22.5%; outline: 1px solid var(--line-2); outline-offset: -1px; }
.foot-brand small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.foot-links { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.foot-links a { color: var(--fg-2); }
.foot-links a:hover { color: #fff; }
.foot-legal { font-size: 13px; color: #868c89; max-width: 820px; line-height: 1.6; }

/* ───────── Motion-on layout ───────── */
.motion-on .scene-hero { height: 300svh; }
.motion-on .scene-scan { height: 270svh; }
.motion-on .scene-diagnosis { height: 260svh; }
.motion-on .scene-recommend { height: 230svh; }
.motion-on .scene-after { height: 280svh; }
.motion-on .scene-ops { height: 520svh; }
.motion-on .scene-loop { height: 260svh; }
.motion-on .scene .stage { position: sticky; top: 0; height: 100svh; min-height: 0; overflow: clip; }
.motion-on .hero-second {
  display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; opacity: 0;
}
.hero-second-line { font-size: clamp(44px, 6.4vw, 100px); font-weight: 700; line-height: 1.16; margin-top: 22px; }
.hero-second-line span { display: block; color: var(--cyan); }
.motion-on .ops-step { opacity: 0; }
.motion-on .ops-step.is-on { opacity: 1; }
.motion-on .ops-shot { opacity: 0; }
.motion-on .ops-shot.is-on { opacity: 1; }
.motion-on .ops-progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 2px; background: var(--ink-4); border-radius: 2px; overflow: hidden; }
.motion-on .ops-progress span { display: block; height: 100%; width: calc(var(--ops, 0) * 100%); background: var(--cyan); }
.motion-on .scene-loop .stage { place-items: center; }
.motion-on .loop-shot, .motion-on .loop-line, .motion-on .loop-end { position: absolute; left: 50%; top: 50%; margin: 0; }
.motion-on .loop-shot { transform: translate(-50%, -54%); }
.motion-on .loop-line { width: 100%; transform: translate(-50%, 0); top: auto; bottom: 10svh; }
.motion-on .loop-end { transform: translate(-50%, -50%); opacity: 0; }
.motion-on .scene-copy, .motion-on .shot-tile, .motion-on .rec-phone, .motion-on .compare-frame, .motion-on .gauge-card, .motion-on .score-card, .motion-on .loop-shot, .motion-on .ops-shot { will-change: transform, opacity; }

/* Static (scene-by-scene) layout */
html:not(.motion-on) .scene .stage { min-height: 0; padding-top: 110px; padding-bottom: 110px; }
html:not(.motion-on) .scene-hero .stage { min-height: 88svh; padding-top: calc(var(--header-h) + 90px); }
html:not(.motion-on) .scan-band { display: none; }
/* Scene-by-scene: each operations step sits next to its own tablet screen. */
html:not(.motion-on) .scene-ops .stage { row-gap: 72px; }
html:not(.motion-on) .ops-copy, html:not(.motion-on) .ops-steps, html:not(.motion-on) .ops-visual { display: contents; }
html:not(.motion-on) .ops-index { display: none; }
html:not(.motion-on) .ops-step { grid-column: 1; }
html:not(.motion-on) .ops-shot { grid-column: 2; }
html:not(.motion-on) .ops-step:nth-child(1), html:not(.motion-on) .ops-shot:nth-child(1) { grid-row: 1; }
html:not(.motion-on) .ops-step:nth-child(2), html:not(.motion-on) .ops-shot:nth-child(2) { grid-row: 2; }
html:not(.motion-on) .ops-step:nth-child(3), html:not(.motion-on) .ops-shot:nth-child(3) { grid-row: 3; }
html:not(.motion-on) .ops-step:nth-child(4), html:not(.motion-on) .ops-shot:nth-child(4) { grid-row: 4; }
html:not(.motion-on) .ops-step:nth-child(5), html:not(.motion-on) .ops-shot:nth-child(5) { grid-row: 5; }
html:not(.motion-on) .loop-end { margin-top: 80px; }

/* ───────── Responsive ───────── */
@media (max-width: 1180px) {
  .apply-body { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .hw { grid-template-columns: minmax(0, 1fr); }
  .hw-stage { aspect-ratio: 16 / 11; }
}

@media (max-width: 900px) {
  .ln-links { display: none; }
  .scene-scan .stage, .scene-diagnosis .stage, .scene-recommend .stage, .scene-after .stage, .scene-ops .stage {
    grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: 4svh;
  }
  .motion-on .scene-scan .stage, .motion-on .scene-diagnosis .stage, .motion-on .scene-recommend .stage, .motion-on .scene-after .stage, .motion-on .scene-ops .stage { align-content: center; }
  .scene-lead { font-size: 16px; }
  .rec-visual { height: min(52svh, 520px); }
  .gauge-card { right: 4%; bottom: -12%; }
  .apply-body { grid-template-columns: minmax(0, 1fr); }
  .origin-cards { grid-template-columns: minmax(0, 1fr); }
  .beta { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .summary { position: sticky; top: auto; bottom: 0; z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); }
  .summary-toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 54px; padding: 0 20px; border-radius: 999px; background: var(--ink-3); color: var(--fg);
  }
  .st-label { font-size: 15px; font-weight: 700; }
  .st-meta { font-size: 14px; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .summary-toggle::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-135deg) translate(-2px, -2px); transition: transform .3s var(--ease); flex: none; }
  .summary-toggle[aria-expanded='true']::after { transform: rotate(45deg); }
  .summary-body {
    display: none; position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--sheet-bottom, 84px);
    max-height: min(62svh, 560px); overflow: auto; overscroll-behavior: contain; z-index: 30; border: 1px solid var(--line-2);
  }
  .summary.is-open .summary-body { display: block; animation: sheet-in .35s var(--ease); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
  .downloads, .plans { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  :root { --header-h: 50px; }
  .global-nav { height: 76px; padding: 0 5%; }
  .global-nav .brand { font-size: 18px; }
  .global-nav .brand img { width: 36px; height: 36px; }
  .global-nav nav { gap: 18px; font-size: 13px; }
  .global-nav nav a:last-child { display: none; }
  .local-nav { gap: 12px; padding: 0 5%; }
  .local-nav .motion-toggle { display: none; }
  .ln-title { font-size: 16px; }
  .intro-brand img { width: 46px; height: 46px; }
  .intro-brand span { font-size: 13px; letter-spacing: .14em; }
  .scene-hero .stage { padding-bottom: 9svh; }
  .seq-lens img { object-position: 38% 50%; }
  .scene-hero h1 { font-size: clamp(32px, 9vw, 46px); margin-top: 24px; }
  .lead { font-size: 16px; margin-top: 18px; }
  .hero-actions { margin-top: 26px; gap: 20px; }
  .scene-copy h2, .ops-step h3 { font-size: clamp(30px, 8.4vw, 44px); margin-top: 14px; }
  .scene-lead { font-size: 15px; margin-top: 14px; }
  .scene-scan .stage, .scene-diagnosis .stage, .scene-recommend .stage, .scene-after .stage, .scene-ops .stage { padding-top: calc(var(--header-h) + 3svh); padding-bottom: 6svh; }
  .finder { padding: 14px; }
  .finder-grid { gap: 6px; }
  .shot-tile { border-radius: 10px; }
  .shot-tile figcaption { font-size: 13px; left: 6px; bottom: 6px; padding: 3px 7px; }
  .corner { width: 18px; height: 18px; }
  .c-bl, .c-br { bottom: 46px; }
  .finder-foot { margin-top: 18px; }
  .rec-points { display: none; }
  .score-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -4%; padding: 16px; }
  .score-num b { font-size: 38px; }
  .rec-visual { height: min(54svh, 460px); }
  .rec-tag { font-size: 13px; right: 0; top: 2%; }
  .gauge-card { position: relative; right: auto; bottom: auto; width: min(220px, 58%); margin: -7% 0 0 auto; padding: 14px 16px 12px; }
  .compare-frame { border-radius: 18px; }
  .cmp-label { font-size: 13px; top: 10px; padding: 5px 9px; }
  .cmp-l-before { left: 10px; } .cmp-l-after { right: 10px; }
  .ops-index { margin-bottom: 18px; gap: 6px; }
  .ops-index li { font-size: 13px; padding: 6px 10px; }
  .ops-shot img { max-height: 46svh; }
  .bridge { padding: 14svh var(--gutter); }
  .route span + span::before { margin: 0 10px; }
  .origin { padding: 12svh var(--gutter); }
  .origin-cards { margin-top: 40px; }
  .apply { padding: 88px var(--gutter) 40px; }
  .stepper button { flex-direction: column; gap: 4px; padding-top: 14px; }
  .stepper .t { font-size: 14px; }
  .plan { padding: 20px 18px; border-radius: 22px; }
  .plan-art { height: 120px; }
  .plan-name { font-size: 21px; }
  .dl { grid-template-columns: auto minmax(0, 1fr); min-height: 0; padding: 18px; gap: 16px; }
  .dl-go { display: none; }
  .dl-mark { width: 56px; height: 56px; border-radius: 16px; }
  .dl-txt b { font-size: 21px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { min-height: 108px; padding: 14px; }
  .hw-stage { aspect-ratio: 1 / 1; border-radius: 22px; }
  .hw-views button { padding: 7px 10px; font-size: 13px; }
  .date-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panel-nav { margin-top: 30px; }
  .done-sum { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .done-sum dd { margin-bottom: 10px; }
  .consent-detail { margin-left: 0; }
}

@media (max-width: 900px) {
  html:not(.motion-on) .scene-ops .stage { row-gap: 20px; }
  html:not(.motion-on) .ops-step, html:not(.motion-on) .ops-shot { grid-column: 1; }
  html:not(.motion-on) .ops-step:nth-child(1) { grid-row: 1; } html:not(.motion-on) .ops-shot:nth-child(1) { grid-row: 2; }
  html:not(.motion-on) .ops-step:nth-child(2) { grid-row: 3; } html:not(.motion-on) .ops-shot:nth-child(2) { grid-row: 4; }
  html:not(.motion-on) .ops-step:nth-child(3) { grid-row: 5; } html:not(.motion-on) .ops-shot:nth-child(3) { grid-row: 6; }
  html:not(.motion-on) .ops-step:nth-child(4) { grid-row: 7; } html:not(.motion-on) .ops-shot:nth-child(4) { grid-row: 8; }
  html:not(.motion-on) .ops-step:nth-child(5) { grid-row: 9; } html:not(.motion-on) .ops-shot:nth-child(5) { grid-row: 10; }
  html:not(.motion-on) .ops-shot { margin-bottom: 40px; }
}

@media (max-width: 380px) {
  .date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .done-check path, .done-check .ring { stroke-dashoffset: 0; }
}
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }

/* Language switch in the local nav (EN page: /en/chago/) */
.lang-link {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--fg-2); white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.lang-link:hover { color: #fff; border-color: var(--fg-2); }
@media (max-width: 700px) { .local-nav .lang-link { min-height: 30px; padding: 0 10px; } }
