/* css/tokens.css */
@layer{:root{--bg:#ededf1;--surface:#ffffff;--surfaceAlt:#f5f5f7;--text:#17171a;--textMuted:#5e5e66;--textPast:#4a4a52;--line:#e3e3e8;--border:#80808a;--now:#ffe14a;--danger:#c8283a;--dangerText:#ffffff;--recording:#c8283a;--error:#c8283a;--dock:#ffffff;--primary:#17171a;--primaryText:#ffffff;--success:#17171a;--warning:#9a5b00;--dangerSurface:#fcedee;--scrim:#17171a80;--surfaceTint:#17171a0d;--paused:#9ea2b4;--on-now-muted:#3b3b42;--on-now-hint:#3a3a40;--coin-ring-tint:#e2e2e6;--hatch-now:#17171a4d;--hatch-home:#17171a66;--line-disabled:#c9c9d0;--paper-top:#f5f6fa;--paper-bottom:#e5e5fe;--splash:#ededfc;--minu-deep-1:#4a5bd8;--minu-deep-2:#6247d0;--minu-deep-3:#a04bc8;--minu-deep-4:#3f4bc9;--speaker-1-bg:#7ccbf4;--speaker-1-fg:#17171a;--speaker-2-bg:#a8e2c4;--speaker-2-fg:#17171a;--speaker-3-bg:#efa3ea;--speaker-3-fg:#17171a;--speaker-4-bg:#fbcb9c;--speaker-4-fg:#17171a;--speaker-5-bg:#c9c2fb;--speaker-5-fg:#17171a;--speaker-6-bg:#dbd09a;--speaker-6-fg:#17171a;--speaker-7-bg:#f6a89e;--speaker-7-fg:#17171a;--speaker-8-bg:#c3d69b;--speaker-8-fg:#17171a;--brand-ink:#171718;--brand-wave-1:#849ae3;--brand-wave-2:#8d73e7;--brand-wave-3:#d48eec;--brand-wave-4:#5f6ce1;--logo-bar-1:#849ae3;--logo-bar-2:#8a87e6;--logo-bar-3:#8d73e7;--logo-bar-4:#b07fea;--logo-bar-5:#d48eec;--logo-bar-6:#9a7de6;--logo-bar-7:#5f6ce1;--shadow-dock:0 14px 32px -12px rgba(23,23,26,.45), 0 0 0 1px #e3e3e8;--stroke-press:inset 0 0 0 1.5px #80808a;--stroke-field:inset 0 0 0 1px #80808a;--stroke-error:inset 0 0 0 2px #c8283a;--stroke-check-off:inset 0 0 0 2px #80808a;--stroke-ink:inset 0 0 0 2px #17171a;--stroke-coin:inset 0 0 0 1.5px #17171a;--stroke-disabled:inset 0 0 0 1.5px #c9c9d0;--ring-speaking:0 0 0 3px #ededf1, 0 0 0 5px #17171a;--hairline:inset 0 1px 0 #e3e3e8;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-10:40px;--radius-sheet:28px;--radius-panel:20px;--radius-inner:6px;--radius-pill:999px;--radius-logo:9px;--radius:12px;--touch:44px;--circle:48px;--circle-sm:40px;--dock-item:52px;--button-h:56px;--field-h:48px;--chip-h:40px;--pill-sm:32px;--row-tile:72px;--home-tile:176px;--coin:30px;--avatar:28px;--now-bar:6px;--mark:20px;--icon:24px;--gradient-paper:linear-gradient(#F5F6FA, #E5E5FE);--gradient-minu-deep:linear-gradient(90deg, #4A5BD8, #6247D0 38%, #A04BC8 68%, #3F4BC9);--gradient-dock-fade:linear-gradient(rgba(237,237,241,0), #EDEDF1 45%);--font-sans:Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;--font-num:Saira, -apple-system, system-ui, sans-serif;--text-t1:600 1.875rem/2.375rem var(--font-sans);--text-t2:600 1.375rem/1.875rem var(--font-sans);--text-t3:600 1.0625rem/1.375rem var(--font-sans);--text-t3Value:600 1.0625rem/1.5rem var(--font-sans);--text-body:400 1rem/1.5rem var(--font-sans);--text-button:600 1rem/1.375rem var(--font-sans);--text-body15:400 0.9375rem/1.375rem var(--font-sans);--text-consent:400 0.9375rem/1.3125rem var(--font-sans);--text-link:600 0.875rem/1.4 var(--font-sans);--text-caption:400 0.8125rem/1.125rem var(--font-sans);--text-captionStrong:600 0.8125rem/1.125rem var(--font-sans);--text-small:600 0.75rem/1.4 var(--font-sans);--text-smallBody:400 0.75rem/1.0625rem var(--font-sans);--text-coin:700 0.6875rem/1 var(--font-sans);--text-captionOriginal:400 1.125rem/1.6875rem var(--font-sans);--text-captionTranslation:400 1rem/1.5rem var(--font-sans);--text-captionImmersive:400 1.375rem/2rem var(--font-sans);--text-speakerName:600 0.875rem/1.4 var(--font-sans);--text-minutesH2:600 1.1875rem/1.625rem var(--font-sans);--text-minutesBody:400 1rem/1.625rem var(--font-sans);--text-num52:600 3.25rem/3.75rem var(--font-num);--text-num44:600 2.75rem/3.125rem var(--font-num);--text-num38:600 2.375rem/2.75rem var(--font-num);--text-num36:600 2.25rem/2.625rem var(--font-num);--text-num30:600 1.875rem/2.1875rem var(--font-num);--text-num28:600 1.75rem/2rem var(--font-num);--text-num26:600 1.625rem/1.875rem var(--font-num);--text-num22:600 1.375rem/1.625rem var(--font-num);--text-num20:600 1.25rem/1.5rem var(--font-num);}}
/* css/components.css */
/* Minu 2안 컬러 타일 — the .ph.nc rules of docs/enhanced-ui-ux/soft.css plus guide-2.html's 2안 block, with every colour read from tokens.json.
   Static HTML stand-ins for the React Native app (main #122); no web bundle. Wrap a part in .nc so its short names resolve. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, h4, ul { margin: 0; }

/* the frame's short names → tokens (soft.css .ph.nc / .ph.nc.dk) */
.nc {
  --pp: var(--bg); --tile: var(--surface); --wk: var(--surfaceAlt); --t: var(--text); --m: var(--textMuted); --s2: var(--textPast);
  --ln: var(--line); --ls: var(--border); --y: var(--now); --red: var(--danger); --pill: var(--primary); --pillt: var(--primaryText);
  background: var(--pp); color: var(--t); font-family: var(--font-sans); font-size: 1rem; line-height: 1.5rem; letter-spacing: 0; word-break: keep-all; overflow-wrap: break-word;
}
.nc.paper { background: var(--gradient-paper); }
.nc .pad { padding: 0 16px; }

/* type */
.nc .t2 { font-size: 1.375rem; line-height: 1.875rem; font-weight: 600; letter-spacing: -.02em; }
.nc .t3 { font-size: 1.125rem; line-height: 1.375rem; font-weight: 600; }
.nc .cp { font-size: 0.8125rem; line-height: 1.125rem; color: var(--m); }
.nc .bn { font-family: var(--font-num); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ic { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* tiles — panel 20 (guide-2 overrides soft.css's 26) */
.nc .tl { background: var(--tile); border-radius: var(--radius-panel); padding: 16px; position: relative; --ring: var(--tile); }
.nc .tl.y { background: var(--y); --ring: var(--y); }
.nc .tl.y, .nc .tl.ink { --t: #17171A; --m: var(--on-now-muted); color: var(--t); }
.nc .tl.tint { background: var(--surfaceTint); --ring: var(--coin-ring-tint); }
.nc .tl.off { background: transparent; box-shadow: var(--stroke-disabled); }
.nc .tl.row { display: flex; align-items: center; gap: 12px; height: 4.5rem; }
.nc .tl.pick { box-shadow: var(--stroke-ink); }

/* pills */
.nc .pl { height: 3.25rem; padding: 0 22px; border-radius: 1.625rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 1rem; line-height: 1.375rem; font-weight: 600; flex: none; }
.nc .pl .ic { width: 20px; height: 20px; }
.nc .pl.ink { background: var(--pill); color: var(--pillt); }
.nc .pl.red { background: var(--red); color: var(--dangerText); }
.nc .pl.w { background: var(--tile); }
.nc .pl.o { background: transparent; box-shadow: var(--stroke-press); }
.nc .pl.lg { height: 3.5rem; border-radius: 1.75rem; flex: 1; }
.nc .pl.sm { height: 2rem; padding: 0 14px; border-radius: 1rem; font-size: 0.875rem; }
.nc .pl.add { height: 3rem; padding: 0 16px 0 12px; border-radius: 1.5rem; gap: 6px; font-size: 1rem; }
.nc .lk { font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--t); }
.nc .lk.er { color: var(--red); }

/* language coins — ink + outlined; ring = the face they sit on */
.coins { display: inline-flex; vertical-align: middle; }
.coins i { font-style: normal; width: 1.875rem; height: 1.875rem; border-radius: 0.9375rem; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1; font-weight: 700; letter-spacing: .02em; background: var(--text); color: var(--primaryText); box-shadow: 0 0 0 2px var(--ring, var(--surface)); }
.coins i + i, .coins i.w { background: var(--primaryText); color: var(--text); box-shadow: var(--stroke-coin), 0 0 0 2px var(--ring, var(--surface)); }
.coins i + i { margin-left: -4px; }
.coins.lg i { width: 4rem; height: 4rem; border-radius: 2rem; font-size: 1.25rem; }
.coins.lg i + i { margin-left: -8px; }
.tl.y .coins i { background: #17171A; color: #FFFFFF; }

/* speakers — flat 8 colours, ink initial (dark: tint + light initial from tokens) */
.c1 { --c: var(--speaker-1-bg); --f: var(--speaker-1-fg); } .c2 { --c: var(--speaker-2-bg); --f: var(--speaker-2-fg); }
.c3 { --c: var(--speaker-3-bg); --f: var(--speaker-3-fg); } .c4 { --c: var(--speaker-4-bg); --f: var(--speaker-4-fg); }
.c5 { --c: var(--speaker-5-bg); --f: var(--speaker-5-fg); } .c6 { --c: var(--speaker-6-bg); --f: var(--speaker-6-fg); }
.c7 { --c: var(--speaker-7-bg); --f: var(--speaker-7-fg); } .c8 { --c: var(--speaker-8-bg); --f: var(--speaker-8-fg); }
.avs { display: inline-flex; vertical-align: middle; }
.avs i { font-style: normal; width: 1.75rem; height: 1.75rem; border-radius: 0.875rem; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1; font-weight: 700; background: var(--c); color: var(--f); box-shadow: 0 0 0 2px var(--ring, var(--surface)); }
.avs i + i { margin-left: -6px; }
.avs.lg i { width: 2.5rem; height: 2.5rem; border-radius: 1.25rem; font-size: 1rem; }
.avs.sm i { width: 1.5rem; height: 1.5rem; border-radius: 0.75rem; font-size: 0.75rem; }
.nc .avs i.ring-ink { box-shadow: var(--ring-speaking) !important; }

/* chips and tabs — on = ink fill, off = outlined */
.nc .seg { display: inline-flex; background: var(--tile); border-radius: 999px; padding: 4px; font-size: 0.875rem; font-weight: 600; }
.nc .seg span { padding: 8px 14px; border-radius: 999px; }
.nc .seg .on { background: var(--pill); color: var(--pillt); }

/* badges */
.nc .bdg { display: inline-flex; align-items: center; height: 1.5rem; padding: 0 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.nc .bdg.er { background: var(--dangerSurface); color: var(--danger); }
.nc .bdg.ink { background: var(--pill); color: var(--pillt); }
.nc .bdg.now { background: var(--y); color: #17171A; }

/* recording capsule — ink 5% flat + the Minu bars (app-icon shape at rest) */
.nc .cap { display: inline-flex; align-items: center; gap: 8px; height: 3rem; padding: 0 16px; border-radius: 1.5rem; background: var(--surfaceTint); font-size: 0.8125rem; font-weight: 600; }
.nc .cap .bn { font-size: 1.375rem; line-height: 1.625rem; }
.nc .cap.off { color: var(--m); }
.mw { display: inline-flex; align-items: center; gap: .143em; height: 1em; flex: none; vertical-align: middle; }
.mw i { display: block; width: .143em; height: 1em; border-radius: .0715em; background: linear-gradient(90deg, var(--minu-deep-1), var(--minu-deep-2) 38%, var(--minu-deep-3) 68%, var(--minu-deep-4)) 0 0 / 1.857em 100%; transform: scaleY(var(--k)); transform-origin: center; }
.mw i:nth-child(2) { background-position-x: -.286em; } .mw i:nth-child(3) { background-position-x: -.571em; } .mw i:nth-child(4) { background-position-x: -.857em; }
.mw i:nth-child(5) { background-position-x: -1.143em; } .mw i:nth-child(6) { background-position-x: -1.429em; } .mw i:nth-child(7) { background-position-x: -1.714em; }
.mw i:nth-child(1), .mw i:nth-child(7) { --k: 1; } .mw i:nth-child(2), .mw i:nth-child(6) { --k: .77; } .mw i:nth-child(3), .mw i:nth-child(5) { --k: .5; } .mw i:nth-child(4) { --k: .65; }
.mw.off i { background: var(--paused); }

/* transcript — original 18/27, translation 16/24 textPast; the now strip is a white tile with a 6pt yellow bar */
.nc .who2 { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; }
.nc .who2 em { font-style: normal; font-weight: 400; color: var(--m); font-size: 0.8125rem; }
.nc .o2 { font-size: 1.125rem; line-height: 1.6875rem; margin-top: 4px; }
.nc .tr2 { font-size: 1rem; line-height: 1.5rem; color: var(--s2); }
.nc .now { position: relative; margin: 0 16px; padding: 12px 16px 12px 22px; border-radius: var(--radius-panel); background: var(--tile); }
.nc .now::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 14px; width: 6px; border-radius: 3px; background: var(--y); }

/* inputs */
.nc .ck { width: 24px; height: 24px; border-radius: var(--radius-inner); display: inline-flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--stroke-check-off); }
.nc .ck.on { background: var(--pill); box-shadow: none; }
.nc .ck .ic { width: 16px; height: 16px; stroke: var(--pillt); stroke-width: 3; }
/* css/base.css */
/* Minu Design System (2안 컬러 타일) light values from ds/minu/tokens.json, as the CSS variables ds/minu/components/bundle.css reads. */
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("/assets/fonts/home-pretendard-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("/assets/fonts/home-pretendard-600.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("/assets/fonts/home-pretendard-700.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-weight: 600; font-display: swap; src: url("/assets/fonts/home-saira-600.woff2") format("woff2"); }
/* Until Pretendard arrives, Latin text is drawn in Arial scaled to Pretendard's width and line box, so lines break where they will after the swap.
   Without it the narrower system font fits the English hero in three lines and both buttons in one row at 390px, then the swap pushes the page down 96px.
   Ratios measured 2026-11-17 in Chromium over the English home text: 400 is 100.32% of Arial, 600 is 96.7% of Arial Bold; Pretendard ascent .95, descent .24 */
@font-face { font-family: "Pretendard Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 100.32%; ascent-override: 94.7%; descent-override: 23.9%; line-gap-override: 0%; unicode-range: U+0000-02FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF; }
@font-face { font-family: "Pretendard Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 96.7%; ascent-override: 98.2%; descent-override: 24.8%; line-gap-override: 0%; unicode-range: U+0000-02FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF; }

:root {
  --font-sans: Pretendard, "Pretendard Fallback", "Apple SD Gothic Neo", system-ui, sans-serif; /* only real faces present on macOS or generic names: a missing family name (-apple-system, "Noto Sans KR") makes Chromium on macOS scan every installed font on first layout, 2.5 s per new tab (2026-11-17). Elsewhere system-ui and the lang-based fallback pick the local Korean font */
  --font-num: Saira, system-ui, sans-serif;
  --bg: #EDEDF1; --surface: #FFFFFF; --surfaceAlt: #F5F5F7; --surfaceTint: rgba(23,23,26,.05);
  --text: #17171A; --textMuted: #5E5E66; --textPast: #4A4A52;
  --line: #E3E3E8; --border: #80808A; --line-disabled: #C9C9D0;
  --now: #FFE14A; --on-now-muted: #3B3B42; --on-now-hint: #3A3A40;
  --danger: #C8283A; --dangerText: #FFFFFF; --dangerSurface: #FCEDEE; --warning: #9A5B00;
  --primary: #17171A; --primaryText: #FFFFFF; --dock: #FFFFFF; --scrim: rgba(23,23,26,.5);
  --paused: #9EA2B4; --coin-ring-tint: #E2E2E6; --hatch-now: rgba(23,23,26,.3); --hatch-home: rgba(23,23,26,.4);
  --paper-top: #F5F6FA; --paper-bottom: #E5E5FE;
  --minu-deep-1: #4A5BD8; --minu-deep-2: #6247D0; --minu-deep-3: #A04BC8; --minu-deep-4: #3F4BC9;
  --speaker-1-bg: #7CCBF4; --speaker-1-fg: #17171A; --speaker-2-bg: #A8E2C4; --speaker-2-fg: #17171A;
  --speaker-3-bg: #EFA3EA; --speaker-3-fg: #17171A; --speaker-4-bg: #FBCB9C; --speaker-4-fg: #17171A;
  --speaker-5-bg: #C9C2FB; --speaker-5-fg: #17171A; --speaker-6-bg: #DBD09A; --speaker-6-fg: #17171A;
  --speaker-7-bg: #F6A89E; --speaker-7-fg: #17171A; --speaker-8-bg: #C3D69B; --speaker-8-fg: #17171A;
  --logo-bar-1: #849AE3; --logo-bar-2: #8A87E6; --logo-bar-3: #8D73E7; --logo-bar-4: #B07FEA; --logo-bar-5: #D48EEC; --logo-bar-6: #9A7DE6; --logo-bar-7: #5F6CE1;
  --radius-sheet: 28px; --radius-panel: 20px; --radius-inner: 6px; --radius-pill: 999px; --radius-logo: 9px;
  --shadow-dock: 0 14px 32px -12px rgba(23,23,26,.45), 0 0 0 1px #E3E3E8;
  --stroke-press: inset 0 0 0 1.5px #80808A; --stroke-field: inset 0 0 0 1px #80808A; --stroke-error: inset 0 0 0 2px #C8283A;
  --stroke-check-off: inset 0 0 0 2px #80808A; --stroke-ink: inset 0 0 0 2px #17171A; --stroke-coin: inset 0 0 0 1.5px #17171A;
  --stroke-disabled: inset 0 0 0 1.5px #C9C9D0; --ring-speaking: 0 0 0 3px #EDEDF1, 0 0 0 5px #17171A; --hairline: inset 0 1px 0 #E3E3E8;
  --gradient-paper: linear-gradient(#F5F6FA, #E5E5FE);
  --gradient-minu-deep: linear-gradient(90deg, #4A5BD8, #6247D0 38%, #A04BC8 68%, #3F4BC9);
  --gradient-dock-fade: linear-gradient(rgba(237,237,241,0), #EDEDF1 45%);
}

/* plan-board helpers (this canvas only) */
.kick { font-size: 0.8125rem; line-height: 1.125rem; font-weight: 600; color: var(--textMuted); letter-spacing: 0; }
/* css/page.css */

body{margin:0;background:#EDEDF1}
a{color:#17171A}a:hover{color:#5E5E66}
@media (max-width: 760px){ #security .sg > article{grid-column: span 12 !important} .hnav{display: none !important} .hw{display:none} }
@media (max-width: 600px){ .pimg{display: none !important} }
/* a/a.css */
.skip{position:absolute;left:8px;top:-64px;z-index:20;padding:12px 16px;border-radius:var(--radius-pill);background:var(--primary);color:var(--primaryText);font-weight:600;text-decoration:none}
.skip:focus{top:8px}
a:focus-visible,summary:focus-visible{outline:2px solid var(--text);outline-offset:3px}
h1,h2{overflow-wrap:anywhere}
.lang a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:inherit;text-decoration:none}
.gh{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;color:inherit;text-decoration:none}
.gh svg{flex:none}
@media (max-width:800px){.gh span{display:none}}
@media (max-width:360px){.gh{margin-right:-20px}}
html{scroll-padding-top:72px}

/* scene art: backgrounds are 253-254, lift to paper white so multiply leaves no box */
img[src*="assets/scenes/"]{filter:brightness(1.012)}

/* expandable rows: a whole row is the button */
.xr>summary{list-style:none;cursor:pointer;display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:18px 24px;min-height:var(--touch)}
.xr>summary::-webkit-details-marker{display:none}
.xr .n{font-size:2rem;line-height:2.5rem}
.xr .tx{flex:1 1 300px;min-width:0}
.xr .tx>span{display:block}
.xr .hint{font-size:0.8125rem;line-height:1.125rem;font-weight:600;color:var(--textMuted)}
.xr .chev{width:44px;text-align:center;font-size:1.125rem}
.xr .chev::before{content:"";display:inline-block;width:8px;height:8px;border-right:2px solid;border-bottom:2px solid;transform:translateY(-3px) rotate(45deg)}
.xr[open]>summary .chev::before{transform:translateY(2px) rotate(-135deg)}
.xs>.xr+.xr{box-shadow:var(--hairline)}
.xr.sm>summary{flex-wrap:nowrap;gap:12px;padding:14px 16px;min-height:72px}
.xr.sm .tx{flex:1 1 auto}
.xr.sm .hint{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.xr.sm>.xb{padding:4px 16px 16px}
.xb{padding:4px 24px 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,190px));gap:20px 16px;align-items:start;justify-content:start}
.xf{margin:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.xf img{display:block;width:100%;height:auto}
.xf.p{container-type:inline-size}
.xf.p img{border:3.4cqw solid var(--brand-ink);border-radius:13cqw}
.xf.w{grid-column:1/-1;max-width:880px}
.xf.w img{border:1.5px solid var(--border);border-radius:var(--radius-panel)}
/* web captures: full 1440x900 frame; on phones show only the part that reads (same crop as home) */
.crop{--cx:0;--cy:0;--cw:1440;--ch:900;position:relative;overflow:hidden;aspect-ratio:var(--cw)/var(--ch);border:1.5px solid var(--border);border-radius:var(--radius-panel)}
.xf .crop img{position:absolute;max-width:none;height:auto;border:0;border-radius:0;width:calc(1440 / var(--cw) * 100%);left:calc(var(--cx) / var(--cw) * -100%);top:calc(var(--cy) / var(--ch) * -100%)}
.xf figcaption{font-size:0.8125rem;line-height:1.125rem;color:var(--textMuted)}
.xn{grid-column:1/-1;font-size:0.875rem;line-height:1.3125rem}

/* always-visible real screen per section; plain rows */
.xf.w.rep{width:100%;max-width:none}
.rp{display:flex;align-items:center;gap:12px;padding:14px 16px;min-height:72px}
button.pl{border:0;font-family:inherit;cursor:pointer}
a.pl{text-decoration:none}
h1,h2{text-wrap:balance}
header{position:sticky;top:0;z-index:10}

/* section heads: art column */
.hd-art{flex:7 1 460px}

/* 03 language line and steps */
.l60{display:flex;flex-wrap:wrap;gap:12px 32px;align-items:center;padding:20px 24px}
.l60 .sixty{display:flex;align-items:baseline;gap:12px}
.l60 .sixty .bn{font-size:4rem;line-height:4.25rem}
.l60 .langs{flex:1 1 100%;font-size:clamp(2.125rem,6.4vw,5.5rem);line-height:1.08;font-weight:700;letter-spacing:-.045em}
.l60 .langs span{white-space:nowrap}
.l60 .langs i{font-style:normal;font-weight:400;color:var(--border);margin:0 .06em}
.l60 .langs .more{font-family:var(--font-num);font-weight:600;letter-spacing:0;color:var(--textMuted)}
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(var(--steps-cols,1),minmax(0,1fr));gap:12px}
@media (min-width:600px){.steps{--steps-cols:2}.steps>:last-child:nth-child(odd){grid-column:1/-1}}
@media (min-width:768px){.steps:not(:has(>:nth-child(4))){--steps-cols:3}.steps:not(:has(>:nth-child(4)))>:last-child{grid-column:auto}}
@media (min-width:1100px){.steps{--steps-cols:3}.steps:has(>:nth-child(4)){--steps-cols:4}.steps>:last-child:nth-child(odd){grid-column:auto}} /* rows stay balanced: 4 → 4, 7 → 4+3, 3 → 3; in two columns an odd last card spans the row */
.steps .tl{display:flex;align-items:flex-start;gap:14px;padding:18px 20px}
.steps .tx{display:flex;flex-direction:column;gap:2px;min-width:0}

/* 05 */
.ckrow{min-height:64px;padding:12px 18px;border-radius:20px;background:var(--surfaceAlt);display:flex;align-items:center;gap:14px}

/* 07 */
.faq details+details{box-shadow:var(--hairline)}
.faq summary{list-style:none;cursor:pointer;display:flex;gap:12px;padding:20px 24px;font-size:1.125rem;line-height:1.5rem;font-weight:600;min-height:var(--touch)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";display:inline-block;width:8px;height:8px;border-right:2px solid;border-bottom:2px solid;transform:translateY(-3px) rotate(45deg);flex:none;margin:8px 4px 0 auto}
.faq details[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.faq p{padding:0 24px 20px;font-size:1rem;line-height:1.5rem;color:var(--textMuted)}

/* footer */
footer a{color:inherit}
footer a:hover{color:#5E5E66}
.fart{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.fl{list-style:none;padding:0}

/* mobile Dock: white Dock, ink pill, shown while neither hero, start nor footer is on screen */
.mdock{display:none}
@media (max-width:760px){
  .mdock{display:flex;max-width:calc(100% - 32px);position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));z-index:10;padding:6px;border-radius:var(--radius-pill);background:var(--dock);box-shadow:var(--shadow-dock);transform:translate(-50%,24px);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s}
  .mdock.on{transform:translate(-50%,0);opacity:1;visibility:visible}
  .xb{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xr:not(.sm)>summary{padding:16px}
  .xb{padding:4px 16px 16px}
  .l60{padding:16px}
}
@media (min-width:761px) and (max-width:1000px){.crop{--cx:248;--cy:64;--cw:860;--ch:560}}
@media (min-width:1100px){
  .hd{align-items:center!important}
  .hd-art{flex:0 1 400px}
}
@media (prefers-reduced-motion:reduce){.mdock{transition:none}html{scroll-behavior:auto}}
footer{overflow:hidden}
.steps a.t3{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* ---------- animation (js/home.js sets data-reveal, is-in and html.js; without JS nothing is hidden) ---------- */
html.js [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-reveal].is-in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { translate: none; } }
@media print { html.js [data-reveal] { opacity: 1; translate: none; transition: none; } }

/* live demo (js/home.js): every line is in the DOM from the start, so the loop changes only colour and visibility */
.dm-rows{display:flex;flex-direction:column;gap:4px}
.dm-r{position:relative;padding:8px 12px 8px 20px;border-radius:12px}
.dm-r::before{content:"";position:absolute;left:8px;top:12px;bottom:12px;width:6px;border-radius:3px;background:transparent}
.dm-av{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;font-style:normal;font-size:0.75rem;background:#17171A;color:#fff}
.dm-av.c2{background:#fff;color:#17171A;box-shadow:inset 0 0 0 1.5px #17171A}
.dm-av.c3{background:#5E5E66}
.dm-r.wait{visibility:hidden}
.dm-r.on{background:#F0F0F4}
.dm-r.on::before{background:var(--y)}
.dm-r.on .o2{color:#5E5E66}
.dm-off{color:transparent}
.dm-v .dm-r{padding-left:14px;border-radius:0;border-left:3px solid #17171A}
.dm-v .dm-r::before{content:none}
.dm-v .dm-r.c2{border-left-color:#8A8AF0}
.dm-v .dm-r.c3{border-left-color:#5E5E66}
.dm-v .dm-r.on{background:none;opacity:.6}
.dm-v .o2{font-size:0.875rem;line-height:1.25rem;color:#5E5E66;margin-top:2px}
.dm-v .tr2{font-size:1.125rem;line-height:1.6875rem;font-weight:600;color:inherit}
.dm-pause{font:inherit;font-size:0.8125rem;font-weight:600;min-height:44px;padding:0 16px;border:0;border-radius:999px;background:transparent;box-shadow:inset 0 0 0 1.5px #C9C9D0;color:inherit;cursor:pointer}
@media print{.dm-r.wait{visibility:visible}.dm-off{color:inherit}}

/* annotated start screen: the picture keeps a readable width and scrolls sideways on a phone */
.ann{overflow-x:auto;border:1.5px solid var(--border);border-radius:var(--radius-panel)}
.ann-in{position:relative;min-width:760px}
.xf .ann img{border:0;border-radius:0}
.ann .coins{position:absolute;translate:-50% -50%}
.ann .coins i{background:var(--y);color:#17171A;box-shadow:0 0 0 3px #fff,0 2px 8px rgb(0 0 0 / .25)}
/* app / web switch inside «화면 보기»: without home.js both sets show and the switch stays hidden */
.vt{grid-column:1/-1;display:inline-flex;justify-self:start;gap:4px;padding:4px;border-radius:999px;background:#F0F0F4}
.vt[hidden]{display:none}
.vt button{white-space:nowrap;font:inherit;font-size:0.875rem;font-weight:600;min-height:36px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer}
.vt button[aria-pressed="true"]{background:#17171A;color:#fff}
.xb[data-show="app"]>[data-v="web"],.xb[data-show="web"]>[data-v="app"]{display:none}
.mo{display:none}
@media (max-width:840px){.mo{display:inline}}
/* a full screen with the part to look at marked, instead of a cut-out */
.shot{position:relative}
.shot .hl{position:absolute;border:3px solid var(--y);border-radius:14px;box-shadow:0 0 0 2px #17171A}
/* one height for every app screen and PC web screen on the page (owner rule 2026-11-14): 400px, and 320px at 1000px wide and below.
   A phone's width follows from the height (0.45, bezel included); a PC crop's width follows from its own aspect ratio. */
:root{--sh:400px}
@media (max-width:1000px){:root{--sh:320px}}
.xb{display:flex;flex-wrap:wrap;align-items:flex-start}
.xb>:not(figure){flex:0 0 100%}
.xf.p{flex:0 0 auto;width:calc(var(--sh)*0.45)}
.xf.p img{aspect-ratio:498/1107;object-fit:cover;object-position:top}
.xf.w:not(.rep){flex:0 1 auto;width:auto;max-width:100%;align-items:flex-start}
.xf .crop{height:var(--sh);max-width:100%}
.xb>.vt{background:none;padding:0;gap:8px}
.xb>.vt button:not([aria-pressed="true"]){box-shadow:inset 0 0 0 1.5px #C9C9D0}
/* captures cut without the status bar are shorter: show them whole from the top and fill the rest with the screen's own background */
.xf.p img[src*="/ko-F-"],.xf.p img[src*="/ko-Q-4b"],.xf.p img[src*="/ko-L-2"]{object-fit:contain;background:#eeedf2}
.xf.p img[src*="web390"],.xf.p img[src*="web-390"]{object-fit:contain;background:#fff}
/* a whole PC screen sits in a browser window; the bar is part of the shared height */
.bw{display:flex;flex-direction:column;max-width:100%;border:3px solid var(--brand-ink);border-radius:var(--radius-panel);overflow:hidden;background:var(--brand-ink)}
.bw-bar{flex:0 0 28px;height:28px;display:flex;align-items:center;gap:6px;padding:0 12px;background:var(--brand-ink)}
.bw-bar i{width:10px;height:10px;border-radius:50%;background:#FF5F57}
.bw-bar i+i{background:#FEBC2E}
.bw-bar i+i+i{background:#28C840}
.bw-bar span{margin:0 auto;translate:-24px;padding:2px 28px;border-radius:999px;background:#2E2E33;font-size:0.75rem;line-height:1rem;color:#D8D8DE;white-space:nowrap}
.xf .bw .crop{height:calc(var(--sh) - 34px);border:0;border-radius:0}
.ann-pic{position:relative}
.ann:has(.bw-bar){border:3px solid var(--brand-ink);background:var(--brand-ink)}
/* the marked part of a PC screen, placed in screen pixels so it follows every crop */
.crop .hl{position:absolute;left:calc((var(--hx) - var(--cx)) / var(--cw) * 100%);top:calc((var(--hy) - var(--cy)) / var(--ch) * 100%);width:calc(var(--hw) / var(--cw) * 100%);height:calc(var(--hh) / var(--ch) * 100%);border:3px solid var(--y);border-radius:10px;box-shadow:0 0 0 2px #17171A}
.crop.c-full{--cx:0;--cy:0;--cw:1440;--ch:900}
/* on a phone a whole PC screen is wider than the column: the browser window scrolls sideways instead of being cut */
@media (max-width:760px){.bw{overflow-x:auto}.bw-bar,.xf .bw .crop{flex:0 0 auto;width:calc((var(--sh) - 34px) * 1.6);max-width:none;box-sizing:border-box}.bw-bar{height:28px}}
/* Japanese home (ja/index.html, 2026-11-16): Japanese system fonts first (no Japanese font file is shipped yet; Pretendard has no kana or kanji).
   keep-all would only break at punctuation in Japanese, so body text breaks normally; headings and FAQ questions keep-all and break at their <wbr>. */
@font-face { font-family: "Pretendard Latin"; font-weight: 400; font-display: swap; src: url("/assets/fonts/home-pretendard-400.woff2") format("woff2"); unicode-range: U+0000-02FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+1100-11FF, U+3130-318F, U+AC00-D7AF; }
@font-face { font-family: "Pretendard Latin"; font-weight: 600; font-display: swap; src: url("/assets/fonts/home-pretendard-600.woff2") format("woff2"); unicode-range: U+0000-02FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+1100-11FF, U+3130-318F, U+AC00-D7AF; }
@font-face { font-family: "Pretendard Latin"; font-weight: 700; font-display: swap; src: url("/assets/fonts/home-pretendard-700.woff2") format("woff2"); unicode-range: U+0000-02FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+1100-11FF, U+3130-318F, U+AC00-D7AF; }
@font-face { font-family: "Minu Noto JP"; font-weight: 400; font-display: swap; src: url("/assets/fonts/home-notosansjp-400.woff2") format("woff2"); unicode-range: U+3000-30FF, U+31F0-31FF, U+3400-9FFF, U+FF00-FFEF; }
@font-face { font-family: "Minu Noto JP"; font-weight: 600; font-display: swap; src: url("/assets/fonts/home-notosansjp-600.woff2") format("woff2"); unicode-range: U+3000-30FF, U+31F0-31FF, U+3400-9FFF, U+FF00-FFEF; }
@font-face { font-family: "Minu Noto JP"; font-weight: 700; font-display: swap; src: url("/assets/fonts/home-notosansjp-700.woff2") format("woff2"); unicode-range: U+3000-30FF, U+31F0-31FF, U+3400-9FFF, U+FF00-FFEF; }
html[lang="ja"] { --font-sans: "Pretendard Latin", "Pretendard Fallback", "Minu Noto JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif; } /* the Japanese home: Latin and Hangul from Pretendard like the other homes; kana, kanji and Japanese punctuation from Noto Sans JP (owner decision 2026-11-20, OFL, subset to the characters in ja/index.html, real 400/600/700). "Minu Noto JP" is our own @font-face name, so Chromium never scans installed fonts for it. Pretendard carries some kana, so it is limited to Latin and Hangul to keep one Japanese design. No bare "Noto Sans JP" or "Yu Gothic": names missing on macOS cost a full font scan in Chromium (see :root); Windows and Android reach their Japanese font through lang="ja" fallback */
html[lang="ja"] .nc { word-break: normal; line-break: strict; }
html[lang="ja"] .nc p { text-wrap: pretty; }
html[lang="ja"] .nc :is(h1, h2, summary) { word-break: keep-all; }
/* Japanese headings, card titles, captions and pricing values break only at the BudouX phrase <wbr>s in ja/index.html (anywhere only if one phrase is wider than the line);
   body text keeps normal breaking and avoids a lone «す。» on its last line. h1/h2 are set inline for Korean; Japanese runs a size smaller so a phrase like «話している間に、» fits a phone line. */
html[lang="ja"] .nc :is(h3, .t2, .t3, figcaption, #plans li span, [data-hero] .cp) { word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ja"] .nc summary .cp { word-break: normal; }
html[lang="ja"] .mcta-c .pl { text-wrap: balance; } /* AI assistant card buttons: without it 「…Geminiを開く」 left «く» alone on the second line at 320-390px */
/* the Japanese menu is about 200px wider than the Korean one: a tighter menu keeps the header on one row with or without the web font, and the menu leaves the bar where it still would not fit */
html[lang="ja"] .hnav { gap: 14px !important; font-size: 0.8125rem !important; }
@media (max-width: 1000px) { html[lang="ja"] .hnav { display: none !important; } } /* body text inside a «画面を見る» summary breaks normally; only its title keeps phrases */
html[lang="ja"] .nc :is(p, .cp, li, figcaption, .t2, .t3, summary) { text-wrap: pretty; }
html[lang="ja"] .nc h1 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.375rem) !important; line-height: 1.25 !important; }
html[lang="ja"] .nc h2 { font-size: clamp(1.75rem, 0.9rem + 2.1vw, 2.5rem) !important; line-height: 1.3 !important; }
@supports (word-break: auto-phrase) { html[lang="ja"] .nc :is(p, .cp, li, figcaption, summary .cp, .tl span) { word-break: auto-phrase; } } /* Chromium keeps Japanese phrases (文節) together in body text; WebKit keeps the normal + strict fallback above */
/* Thai home (th/index.html, 2026-11-23): Latin from Pretendard like the other homes, Thai from Noto Sans Thai (OFL, the whole Thai block U+0E00-0E7F, real 400/600/700).
   "Minu Noto Thai" is our own @font-face name; Thonburi is on every Mac, so the list keeps the :root rule (no family name missing on macOS). */
@font-face { font-family: "Minu Noto Thai"; font-weight: 400; font-display: swap; src: url("/assets/fonts/home-notosansthai-400.woff2") format("woff2"); unicode-range: U+0E00-0E7F; }
@font-face { font-family: "Minu Noto Thai"; font-weight: 600; font-display: swap; src: url("/assets/fonts/home-notosansthai-600.woff2") format("woff2"); unicode-range: U+0E00-0E7F; }
@font-face { font-family: "Minu Noto Thai"; font-weight: 700; font-display: swap; src: url("/assets/fonts/home-notosansthai-700.woff2") format("woff2"); unicode-range: U+0E00-0E7F; }
html[lang="th"] { --font-sans: "Pretendard Latin", "Pretendard Fallback", "Minu Noto Thai", Thonburi, system-ui, sans-serif; }
.lang [lang="th"] { font-family: "Pretendard Latin", "Minu Noto Thai", Thonburi, system-ui, sans-serif; } /* «ไทย» in the other homes' language menus */
/* Thai has no spaces between words: keep-all would only break at the spaces between phrases, so the browser's dictionary breaking stays on.
   Vowel and tone marks sit above and below the line, so headings get more line height than the inline Korean values. */
html[lang="th"] .nc { word-break: normal; line-break: auto; }
html[lang="th"] .nc :is(p, .cp, li, figcaption, .t2, .t3, summary) { text-wrap: pretty; }
html[lang="th"] .nc h1 { line-height: 1.4 !important; }
html[lang="th"] .nc h2 { line-height: 1.4 !important; }
html[lang="th"] .nc :is(h3, .t2, .t3) { line-height: 1.45; }

/* First screen (FW-215): copy on top, two big phones under it, cut off at the first screen's bottom edge. The pink-lilac gradient is only here. */
[data-hero] { position: relative; overflow: hidden; min-height: calc(100svh - var(--hh, 4rem)); display: flex; flex-direction: column; background: linear-gradient(160deg, #F5F6FA 0%, #E2E1FF 42%, #D9C9FA 72%, #F1CDF2 100%); }
.hi { flex: 1 1 auto; width: 100%; max-width: 1312px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 64px) 0; display: flex; flex-direction: column; gap: 48px; }
.hc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 20px; row-gap: 16px; align-items: end; }
.hc > .hw { grid-area: 1 / 1; }
.hc > h1 { grid-area: 2 / 1 / span 3; }
.hc > .kick { grid-area: 2 / 1; align-self: end; } /* Japanese only: the small line above the heading */
.hc > .kick + h1 { grid-area: 3 / 1 / span 2; }
.hc > p { grid-area: 2 / 2; }
.hc > div:not(.hw):not(.cp) { grid-area: 3 / 2; }
.hc > .cp { grid-area: 4 / 2; color: #3B3B42; } /* AA on the gradient */
[data-hero] .hcol { flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; min-width: 0; }
.hv { --pw: clamp(300px, 27vw, 380px); --gap: clamp(140px, 14vw, 220px); margin: 0; position: relative; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; min-height: 360px; }
/* a skyline of voice bars along the bottom edge (CSS only), thinned in the middle so the phones read first */
.hv-bars { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 1vw, 14px); overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, #000 39%, rgba(0,0,0,.28) 44%, rgba(0,0,0,.28) 56%, #000 61%); mask-image: linear-gradient(90deg, #000 39%, rgba(0,0,0,.28) 44%, rgba(0,0,0,.28) 56%, #000 61%); }
.hv-bars i { flex: 1 1 0; max-width: 34px; height: calc(var(--b) * 1%); border-radius: 999px 999px 0 0; background: linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.28)); }
.hv-bars i:nth-child(3n) { background: linear-gradient(rgba(98,71,208,.30), rgba(160,75,200,.10)); }
.hv-stage { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; justify-content: center; align-items: flex-start; gap: var(--gap); }
.hv-ph { position: relative; z-index: 1; width: var(--pw); container-type: inline-size; }
.hv-body { position: relative; padding: 3.2cqw; background: var(--brand-ink); border-radius: 15cqw; }
.hv-body::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 5.4cqw; width: 30cqw; height: 8.6cqw; transform: translateX(-50%); background: var(--brand-ink); border-radius: 99px; }
.hv-scr { position: relative; overflow: hidden; aspect-ratio: 390 / 820; border-radius: 12cqw; background: #fff; }
.hv-scr img, .hv-scr video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hv-scr video { opacity: 0; transition: opacity .3s; }
.hv-scr video.on { opacity: 1; }
.hv-web img, .hv-web video { top: 13cqw; height: calc(100% - 13cqw); } /* a browser page has no status-bar space: keep it clear of the island */
/* "real screen recording" tag: a white pill 8px above the right phone, clear of the bezel */
.hv-tag { position: absolute; z-index: 3; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); display: flex; align-items: center; gap: 7px; height: 2.125rem; padding: 0 14px 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #E3E3E8; font: 700 .875rem/1 var(--font-sans); color: #17171A; white-space: nowrap; }
.hv-tag svg { width: 16px; height: 16px; flex: none; }
/* capsules between the phones: JS moves them (three lanes, arrival language filled in); hard 1.5px lower edge, no blur */
.hv-caps { position: absolute; z-index: 1; left: calc(50% - var(--gap) / 2); width: var(--gap); top: calc(34% - 40px); height: 116px; }
.hv-cap { position: absolute; left: 4px; top: calc(2px + var(--l) * 40px); display: flex; align-items: center; justify-content: space-between; width: 80px; height: 32px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(23,23,26,.1), 0 1.5px 0 rgba(23,23,26,.14); font: 700 .75rem/1 var(--font-sans); letter-spacing: .03em; color: #17171A; opacity: 0; }
.hv-cap span { display: grid; place-items: center; height: 26px; min-width: 30px; padding: 0 6px; border-radius: 999px; }
.hv-cap .t { background: #6247D0; color: #fff; }
.hv-cap.l .t { background: #17171A; }
.hv-cap i { font-style: normal; color: #6247D0; margin: 0 2px; }
.hv-cap.l i { color: #17171A; }
@media (max-width: 760px) {
  [data-hero] { min-height: 0; }
  .hi { gap: 32px; }
  .hc { display: flex; flex-direction: column; align-items: stretch; }
  .hc > .kick { align-self: auto; }
  .hv { --pw: min(172px, 44vw); --gap: min(40px, 8vw); flex: none; min-height: 278px; }
  .hv-stage { top: 88px; }
  .hv-bars i:nth-child(2n) { display: none; }
  .hv-tag { bottom: calc(100% + 6px); height: 1.875rem; padding: 0 11px 0 9px; font-size: 0.8125rem; gap: 5px; }
  .hv-tag svg { width: 14px; height: 14px; }
  .hv-caps { top: 24%; height: 124px; z-index: 2; }
  .hv-cap { left: 3px; top: calc(var(--l) * 44px); flex-direction: column; justify-content: center; gap: 2px; width: calc(var(--gap) - 6px); height: 36px; padding: 0; border-radius: 11px; font-size: 0.75rem; letter-spacing: 0; }
  .hv-cap span { height: auto; min-width: 0; padding: 0; }
  .hv-cap .t { display: none; }
  .hv-cap i { order: 1; display: grid; place-items: center; width: 18px; height: 13px; margin: 0; border-radius: 999px; background: #6247D0; color: #fff; font-size: .625rem; }
  .hv-cap.l i { background: #17171A; }
}

/* Small text links on the first screen's bottom edge, «watch on YouTube» at the far right and the video pause button at the far left (buttons, reset to look like links); they never move or crop the phones (FW-215). */
.hv-yt, .hv-pause { position: absolute; z-index: 2; right: 0; bottom: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: .8125rem; line-height: 1.125rem; color: #3B3B42; text-decoration: underline; text-underline-offset: 3px; }
.hv-pause { right: auto; left: 0; }
.hv-yt[hidden], .hv-pause[hidden] { display: none; }
.hv-yt:hover, .hv-pause:hover { color: #17171A; }
.hv-yt:focus-visible, .hv-pause:focus-visible { outline: 2px solid #17171A; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 760px) { .hv-yt, .hv-pause { top: 0; bottom: auto; min-height: 40px; } } /* phone width: above the phones, in the corners, so they never cover them */


/* Mobile responsive pass 1 (2026-11-20): header on landscape phones, landscape first screen, tablet link, 48px tap targets (matches the app's buttons). */
@media (max-width: 1000px) { .hnav { display: none !important; } }
@media (min-width: 761px) and (max-width: 1100px) { .hv-yt, .hv-pause { top: 0; bottom: auto; } .hv-stage { top: 94px; } }
@media (min-width: 1101px) { .hv-stage { top: 16px; } } /* room for the «real screen recording» pill above the right phone, under the note line */
@media (orientation: landscape) and (max-height: 500px) {
  [data-hero] { min-height: 0; }
  .hi { padding-top: 12px; gap: 16px; }
  .hv { min-height: 328px; }
  .hc { row-gap: 8px; align-items: start; }
  .hc > h1 { align-self: start; }
  .hc .bn { font-size: 2.75rem !important; line-height: 3.25rem !important; }
}
footer a { display: inline-flex; align-items: center; min-height: 48px; }
.vt button { min-height: 48px; padding-inline: 16px; }
.lang a { min-height: 48px; min-width: 32px; justify-content: center; padding-inline: 4px; }
.bar a.pl, header a.pl.sm { min-height: 48px; }
.hv-yt, .hv-pause { min-height: 48px; }
header a:not(.pl) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; }
.dm-pause, .mcta button.lk { min-height: 48px; }
.mcta summary, .mcta .code-h button, a.lk { display: flex; align-items: center; min-height: 48px; }
.mcta .code-h button, a.lk { display: inline-flex; }
.mcta .code-h button, a.lk { min-height: 48px !important; }

/* Section spacing (2026-11-20): with the section head lines gone the sections read too close; space between sections x1.5 on desktop, x1.35 at phone width. */
:is(#why, #web, #before, #during, #after, #mcp, #security) { padding-top: 84px !important; padding-bottom: 144px !important; }
#faq { padding-block: 144px !important; }
@media (max-width: 760px) {
  :is(#why, #web, #before, #during, #after, #mcp, #security) { padding-top: 76px !important; padding-bottom: 130px !important; }
  #faq { padding-block: 130px !important; }
}

/* Mobile pass 2 (2026-11-20): the header already keeps Get started at phone width, so the fixed bottom button (it covered the MCP cards) is off; MCP card links get 48px targets; the ja landscape first screen drops its small kicker line so the heading fits. */
@media (max-width: 760px) { .mdock { display: none !important; } }
.mcta-c .row a.cp, .mcta-c button.lk { display: inline-flex; align-items: center; min-height: 48px; }
@media (orientation: landscape) and (max-height: 500px) { .hc > .kick { display: none; } .hc > .kick + h1 { grid-area: 2 / 1 / span 2; } }

/* Mobile pass 3 (2026-11-20): phone header stays on one row; the Japanese landscape secondary button no longer sits on the screen edge; wide-screen how-to cards fill their row. */
@media (max-width: 480px) {
  header > div { flex-wrap: nowrap !important; gap: 6px !important; }
  header .gh { margin-left: auto; }
  header a:not(.pl) { min-width: 36px; padding-inline: 0; }
  header .lang { white-space: nowrap; }
  header a.pl.sm { padding-inline: 14px; white-space: nowrap; }
}
@media (orientation: landscape) and (max-height: 500px) { .hc { padding-bottom: 0; } .hc .pl { min-height: 48px; } html[lang="ja"] .hi { padding-bottom: 24px; } }
@media (min-width: 1100px) { .steps:has(> :nth-child(7)):not(:has(> :nth-child(8))) > :last-child { grid-column: span 2; } }
@media (min-width: 761px) { .xb { justify-content: center; } }
@media (orientation: landscape) and (max-height: 500px) { .hc a.pl { height: 3rem !important; } .hc > div:has(> a.pl) { gap: 8px !important; } .hc > p { font-size: 1rem; line-height: 1.5rem; } }
@media (orientation: landscape) and (max-height: 500px) { .hi { padding-top: 4px !important; } }

/* Phone header (2026-11-20): logo, Get started and a menu button on one row; GitHub and the language links live in the menu. Desktop and tablet keep the full header. */
.hm { display: none; }
.hmp { display: contents; }
@media (max-width: 1000px), (orientation: landscape) and (max-height: 500px) {
  header > div { min-height: 56px !important; }
  :root { --hh: 56px; } /* the first screen fills the window under this shorter header */
  header .hm { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px; margin-right: -8px; border: 0; border-radius: 12px; background: none; cursor: pointer; }
  header .hm i { display: block; height: 2px; border-radius: 1px; background: #17171A; transition: transform .15s, opacity .15s; }
  header .hm[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header .hm[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  header .hm[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  header .hm:focus-visible { outline: 2px solid #17171A; outline-offset: 2px; }
  header > div { position: relative; }
  header a.pl.sm { margin-left: auto; order: 2; }
  header .hm { order: 3; }
  header .hmp { display: none; position: absolute; top: 100%; right: clamp(16px, 4vw, 64px); order: 4; flex-direction: column; align-items: stretch; gap: 0; min-width: 200px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E3E3E8; z-index: 11; }
  header.menu-open .hmp { display: flex; }
  header .hmp .gh { margin-left: 0; justify-content: flex-start; gap: 10px; padding: 0 12px; min-height: 48px; }
}
@media (max-width: 1000px), (orientation: landscape) and (max-height: 500px) { header .hmp .gh { margin-left: 0 !important; justify-content: flex-start !important; } header .hmp .gh .hw { display: inline !important; } }
/* Logo: the link itself is the 48px target; the 32px square is drawn inside it. */
header > div > a[aria-label]:first-child { position: relative; display: inline-flex !important; align-items: center; justify-content: center; width: 48px; height: 48px; min-width: 48px !important; min-height: 48px !important; margin: -8px; flex: none; background: none !important; }
header > div > a[aria-label]:first-child::before { content: ""; position: absolute; left: 8px; top: 8px; width: 32px; height: 32px; border-radius: 9px; background: #171718; }
header > div > a[aria-label]:first-child > .mw { position: relative; }
@media (max-width: 1000px), (orientation: landscape) and (max-height: 500px) { header .hmp .gh { min-width: 48px; } }
@media (max-width: 800px) { header .hmp .gh span { display: inline; } header .gh { margin-right: 0; } }

@media (max-width: 1000px), (orientation: landscape) and (max-height: 500px) { header .hmp .gh { justify-content: flex-start; gap: 10px; width: 100%; padding: 0 12px; } }

/* Language dropdown (2026-11-20; Thai added 2026-11-23): globe + current code + caret opens a list of the four languages, each in its own script; the links stay real links to the homes. Without JS the links show inline. */
.lw { position: relative; display: inline-flex; align-items: center; }
.lw .lang { display: inline-flex; align-items: center; gap: 4px; }
.lm { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 24px; background: none; font: inherit; font-size: .875rem; font-weight: 600; color: var(--text); cursor: pointer; }
.lm:hover { background: rgba(23,23,26,.06); }
.lm:focus-visible, .lw .lang a:focus-visible { outline: 2px solid #17171A; outline-offset: 2px; }
.lm svg { flex: none; }
.lm .cv { transition: transform .15s; }
.lm[aria-expanded="true"] .cv { transform: rotate(180deg); }
.lw.dd .lm { display: inline-flex; }
.lw.dd .lang { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 12; flex-direction: column; align-items: stretch; gap: 0; min-width: 180px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E3E3E8; color: #17171A !important; font-size: .875rem; }
.lw.dd.open .lang { display: flex; }
.lw.dd .lang > * { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 10px; width: 100%; box-sizing: border-box; min-height: 48px !important; min-width: 0 !important; padding: 0 12px !important; border-radius: 10px; color: #17171A !important; text-decoration: none; white-space: nowrap; }
.lw.dd .lang > a:hover { background: #F5F5F7; }
.lw.dd .lang > [aria-current] { font-weight: 700; background: #F5F5F7; }
.lw.dd .lang > *::before { content: "\2713"; display: inline-block; width: 1em; text-align: center; visibility: hidden; }
.lw.dd .lang > [aria-current]::before { visibility: visible; }
footer .lw { display: block; }
footer .lw.dd .lang { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }
footer .lw .lm { padding-left: 0; }
@media (max-width: 1000px), (orientation: landscape) and (max-height: 500px) {
  header .lw { order: 1; margin-left: auto; }
  header a.pl.sm { margin-left: 0; order: 2; }
}
@media (max-width: 760px), (orientation: landscape) and (max-height: 500px) {
  header .lm { padding: 0; width: 48px; justify-content: center; }
  header .lm .lc, header .lm .cv { display: none; }
  header .lw.dd .lang { right: -56px; }
}

/* Hero phones (2026-11-22): the app and the web viewer add new caption lines at the bottom of the screen, so (1) the hero grows to hold the whole phones and (2) the phones shrink with the window height until at least 90% of them is on the first screen (the newest line sits at 76–87% of the app screen). Phone body height = 2.032 × its width (--pw), so 90% of it = 1.8288 × --pw. --st is the stage's top offset; --pt is where the phones start from the top of the page (measured per language and width, Chromium and WebKit; scripts/check.mjs fails if the 90% no longer holds). Floor 240px: below that the captions are unreadable, so shorter windows show less on the first screen and the rest after a short scroll. */
.hv { --st: 16px; --ch: 116px; --pt: 474px; --pmax: clamp(300px, 27vw, 380px); --pw: clamp(240px, calc((100svh - var(--pt)) / 1.8288), var(--pmax)); min-height: calc(var(--pw) * 2.032 + var(--st) + 12px); }
html[lang="ja"] .hv { --pt: 555px; }
.hv-stage { top: var(--st); }
.hv-caps { top: calc(var(--pw) * 1.016 - var(--ch) / 2); } /* the phones' mid-height; the stage already starts at --st */
@media (min-width: 761px) and (max-width: 1100px) { .hv { --st: 94px; --pt: 552px; } html[lang="ja"] .hv { --pt: 633px; } }
@media (min-width: 761px) and (max-width: 999px) { .hv { --pt: 676px; } html[lang="ja"] .hv { --pt: 739px; } }
@media (min-width: 761px) and (max-height: 560px) { .hv { --pw: var(--pmax); } } /* landscape phones: the first screen is all text, keep the phones full size */
@media (max-width: 760px) { .hv { --st: 88px; --ch: 124px; --pw: min(172px, 44vw); min-height: calc(var(--pw) * 2.032 + var(--st) + 36px); } } /* phone width: the phones start below the first screen, full size */

/* Section links live in the header menu wherever the inline nav is hidden (1000px and below). */
@media (max-width: 1000px), (orientation: landscape) and (max-height: 500px) {
  header .hmp .hnav { display: flex !important; flex-direction: column; gap: 0; width: 100%; font-size: .875rem; }
  header .hmp .hnav a { display: flex; align-items: center; justify-content: flex-start; width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 12px; border-radius: 10px; }
  header .hmp .hnav a:hover { background: #F5F5F7; }
  header .hmp .hnav + .gh { border-top: 1px solid #E3E3E8; border-radius: 0; margin-top: 4px; padding-top: 4px; }
}
section[id] { scroll-margin-top: 72px; }
