/* Chat screen design system: airy and minimal like the best AI-talk apps, with its own identity.
   One accent (coral), warm white, big type, one signature: the "equalizer" mark = voice + music. */
:root {
  --bg: #FBF9F6;
  --surface: #FFFFFF;
  --ink: #17151B;
  --ink-2: #4B4752;
  --muted: #8D8893;
  --line: #EEEAE4;
  --chip: #F2EFEA;
  --accent: #FF5236;
  --accent-deep: #E5401F;
  --accent-soft: #FFECE6;
  --good: #0F9B68;
  --good-soft: #E4F6EE;
  --sun: #FFB21F;
  --sun-soft: #FFF4DC;
  --sun-ink: #7A5200;
  --shadow-1: 0 1px 2px rgba(23, 21, 27, .04), 0 8px 24px rgba(23, 21, 27, .06);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

/* reset paragraph margins inside the app only; zero specificity so component margins win */
:where(.screen) p, :where(.screen) h2 { margin: 0; }

/* ---------- phone frame ---------- */
.phone {
  --w: 390px; --h: 844px;
  width: calc(var(--w) + 24px); height: calc(var(--h) + 24px);
  padding: 12px; border-radius: 62px; position: relative; flex: none; box-sizing: border-box;
  background: linear-gradient(150deg, #2b2a30, #0c0c0e 60%);
  box-shadow: 0 0 0 1.5px #3b3a41 inset, 0 46px 90px -30px rgba(30, 20, 40, .38), 0 18px 40px -22px rgba(30, 20, 40, .32);
}
.screen {
  width: var(--w); height: var(--h); border-radius: 50px; overflow: hidden; position: relative;
  display: flex; flex-direction: column; background: var(--bg);
  font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 20; }
.status { height: 54px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 8px 32px 0 42px; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.status .sicons { display: flex; gap: 6px; align-items: center; }
.status svg { display: block; }

/* bare: the app fills a real phone screen (open on the phone and screen-record) */
.bare .phone { width: 100vw; height: 100dvh; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.bare .screen { width: 100vw; height: 100dvh; border-radius: 0; }
.bare .island, .bare .status { display: none; }
.bare .top { padding-top: max(12px, env(safe-area-inset-top)); }
.bare .composer { padding-bottom: max(26px, env(safe-area-inset-bottom)); }

/* ---------- top bar ---------- */
.top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 10px; position: relative; z-index: 3; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--chip); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.icon-btn.on { background: var(--ink); color: #fff; }
.topic { display: flex; align-items: center; gap: 9px; padding: 8px 15px 8px 11px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); font-weight: 700; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; }

/* signature mark: 5 rounded bars */
.mark { display: inline-flex; gap: 2.5px; align-items: center; height: 18px; }
.mark i { display: block; width: 3.5px; border-radius: 3px; background: var(--accent); }
.mark i:nth-child(1) { height: 7px; } .mark i:nth-child(2) { height: 13px; } .mark i:nth-child(3) { height: 18px; background: var(--sun); }
.mark i:nth-child(4) { height: 11px; } .mark i:nth-child(5) { height: 6px; }
.mark.live i { animation: eq 1.05s ease-in-out infinite; }
.mark.live i:nth-child(2) { animation-delay: -.2s; } .mark.live i:nth-child(3) { animation-delay: -.45s; }
.mark.live i:nth-child(4) { animation-delay: -.7s; } .mark.live i:nth-child(5) { animation-delay: -.9s; }

/* ---------- thread ---------- */
.thread { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 18px 22px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px); mask-image: linear-gradient(to bottom, transparent 0, #000 26px); }
.thread::-webkit-scrollbar { display: none; }
.thread > :first-child { margin-top: auto; }
.msg { max-width: 86%; animation: rise .42s cubic-bezier(.2, .8, .2, 1) both; }
.msg.ai { align-self: flex-start; }
.msg.ai .bubble { background: var(--surface); border-radius: 8px 24px 24px 24px; padding: 15px 17px 12px; box-shadow: var(--shadow-1); }
.say { font-size: 19px; line-height: 1.32; font-weight: 700; letter-spacing: -.015em; }
.tr { margin-top: 6px; font-size: 14px; line-height: 1.38; color: var(--muted); font-weight: 600; }
.tools { display: flex; gap: 6px; margin-top: 10px; }
.tool { height: 30px; padding: 0 11px 0 9px; border-radius: 999px; border: 0; background: var(--chip); color: var(--ink-2); font: 700 12px var(--font); display: inline-flex; align-items: center; gap: 6px; }
.msg.me { align-self: flex-end; }
.msg.me .bubble { background: var(--accent-soft); color: var(--ink); border-radius: 24px 8px 24px 24px; padding: 13px 16px 13px 14px; display: flex; gap: 8px; align-items: flex-start; }
.msg.me .bubble svg { flex: none; margin-top: 3px; color: var(--accent-deep); }
.msg.me .say { font-size: 18px; font-weight: 600; }
.typing { align-self: flex-start; background: var(--surface); border-radius: 8px 20px 20px 20px; padding: 13px 16px; box-shadow: var(--shadow-1); animation: rise .3s ease both; }

.fix { align-self: flex-end; max-width: 88%; background: var(--good-soft); border-radius: 20px; padding: 11px 15px 13px; animation: rise .42s cubic-bezier(.2, .8, .2, 1) both; }
.fix .label { display: inline-flex; align-items: center; gap: 6px; font: 800 12px var(--font); color: var(--good); letter-spacing: .01em; }
.fix .better { margin-top: 5px; font-size: 17px; line-height: 1.32; font-weight: 700; letter-spacing: -.012em; }
.fix .better ins { text-decoration: none; background: rgba(15, 155, 104, .18); border-radius: 6px; padding: 0 4px; }
.fix .why { margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); font-weight: 600; }

.hint { align-self: center; max-width: 92%; display: inline-flex; gap: 8px; align-items: center; background: var(--sun-soft); color: var(--sun-ink); border-radius: 999px; padding: 9px 15px 9px 12px; font: 700 13.5px var(--font); animation: rise .42s cubic-bezier(.2, .8, .2, 1) both; }
.hint b { color: var(--ink); font-weight: 800; }

/* song card: the differentiator, a tiny player inside the chat */
.song { align-self: stretch; background: var(--ink); color: #fff; border-radius: 26px; padding: 15px 16px 16px; box-shadow: 0 22px 44px -24px rgba(23, 21, 27, .55); animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.song-head { display: flex; align-items: center; gap: 12px; }
.play { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); border: 0; color: #fff; display: grid; place-items: center; flex: none; }
.song-title { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.song-sub { font-size: 12.5px; color: rgba(255, 255, 255, .58); font-weight: 600; margin-top: 2px; }
.song .eq { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 26px; }
.song .eq i { width: 4px; height: 100%; border-radius: 3px; background: var(--accent); transform-origin: center; animation: eq 1s ease-in-out infinite; }
.song .eq i:nth-child(2n) { background: var(--sun); animation-delay: -.3s; } .song .eq i:nth-child(3n) { animation-delay: -.6s; }
.song.paused .eq i { animation-play-state: paused; }
.lyrics { margin-top: 16px; display: grid; gap: 8px; }
.line { font-size: 21px; line-height: 1.24; font-weight: 800; letter-spacing: -.018em; color: rgba(255, 255, 255, .34); transition: color .25s; }
.line.now { color: #fff; }
.line .w { transition: color .15s; }
.line .w.on { color: var(--sun); }
.sing { margin-top: 15px; width: 100%; height: 48px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font: 800 15px var(--font); display: flex; align-items: center; justify-content: center; gap: 8px; }
.sing.on { background: var(--accent); }

.score { align-self: center; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 22px; padding: 10px 18px 10px 10px; box-shadow: var(--shadow-1); animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.ring { --p: 90; width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--good) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; flex: none; }
.ring span { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 800 13px var(--font); }
.score .s1 { font-weight: 800; font-size: 15px; }
.score .s2 { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ---------- live transcript + composer ---------- */
.transcript { flex: none; min-height: 0; max-height: 0; overflow: hidden; padding: 0 26px; text-align: center; font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; color: var(--ink); transition: max-height .3s ease, padding .3s ease; }
.transcript.show { max-height: 120px; padding: 8px 26px 4px; }
.transcript .lw { animation: fadein .25s ease both; }
.transcript .lbl { display: block; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); letter-spacing: .02em; margin-bottom: 4px; }
.composer { flex: none; position: relative; padding: 18px 26px 30px; display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; justify-items: center; }
.side { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-1); display: grid; place-items: center; color: var(--ink-2); }
.mic { width: 78px; height: 78px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; position: relative; box-shadow: 0 14px 30px -12px rgba(255, 82, 54, .75); transition: transform .2s; }
.mic .bars { display: none; gap: 4px; align-items: center; height: 30px; }
.mic .bars i { width: 5px; height: 100%; border-radius: 4px; background: #fff; animation: eq .9s ease-in-out infinite; }
.mic .bars i:nth-child(2) { animation-delay: -.25s; } .mic .bars i:nth-child(3) { animation-delay: -.5s; } .mic .bars i:nth-child(4) { animation-delay: -.7s; }
.mic.listening { transform: scale(1.06); }
.mic.listening svg { display: none; }
.mic.listening .bars { display: flex; }
.mic.listening::before, .mic.listening::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ripple 1.6s ease-out infinite; }
.mic.listening::after { animation-delay: .8s; }
.helper { position: absolute; top: -6px; left: 0; right: 0; text-align: center; font: 700 12.5px var(--font); color: var(--muted); letter-spacing: .01em; }

/* ---------- voice mode ---------- */
.voice { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 0 30px 10px; }
.orb { width: 230px; height: 230px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #FFFFFF 0 34%, #FFE3DA 60%, rgba(255, 227, 218, 0) 71%); }
.orb .bars { display: flex; gap: 9px; align-items: center; height: 92px; }
.orb .bars i { width: 15px; height: 100%; border-radius: 12px; background: var(--accent); animation: eq 1.1s ease-in-out infinite; }
.orb .bars i:nth-child(2) { animation-delay: -.25s; } .orb .bars i:nth-child(3) { background: var(--sun); animation-delay: -.5s; }
.orb .bars i:nth-child(4) { animation-delay: -.75s; } .orb .bars i:nth-child(5) { animation-delay: -.95s; }
.caption { text-align: center; }
.caption .c1 { font-size: 27px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; }
.caption .c2 { font-size: 16px; line-height: 1.4; color: var(--muted); font-weight: 600; margin-top: 10px; }
.vlabel { display: inline-flex; align-items: center; gap: 8px; font: 800 12.5px var(--font); color: var(--accent-deep); background: var(--accent-soft); padding: 7px 12px; border-radius: 999px; }

/* ---------- done screen ---------- */
.done { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 8px 20px 0; gap: 12px; }
.done h2 { font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; margin: 6px 4px 6px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--surface); border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow-1); }
.stat .n { font-size: 30px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 4px; }
.stat .n svg { width: 26px; height: 26px; }
.stat .l { font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.stat.hot { background: var(--accent); color: #fff; } .stat.hot .l { color: rgba(255, 255, 255, .8); }
.words { background: var(--surface); border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow-1); }
.words .t { font: 800 13px var(--font); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chips span { background: var(--chip); border-radius: 999px; padding: 7px 12px; font: 700 14px var(--font); }
/* song of the day: replay + share = the free UGC loop */
.sod { background: var(--ink); color: #fff; border-radius: 22px; padding: 12px 12px 12px 14px; display: flex; align-items: center; gap: 12px; }
.sod .play { width: 42px; height: 42px; }
.sod .t1 { font-weight: 800; font-size: 15px; }
.sod .t2 { font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 600; margin-top: 2px; }
.sod .share { margin-left: auto; height: 38px; padding: 0 14px 0 11px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 800 13px var(--font); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cta { margin-top: auto; margin-bottom: 30px; height: 56px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 800 16px var(--font); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes ripple { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.still *, .still *::before, .still *::after { animation-duration: 0s !important; animation-delay: 0s !important; }
.still .mark.live i, .still .orb .bars i, .still .song .eq i, .still .mic .bars i { animation: none !important; }
.still .orb .bars i:nth-child(1) { transform: scaleY(.45); } .still .orb .bars i:nth-child(2) { transform: scaleY(.8); }
.still .orb .bars i:nth-child(3) { transform: scaleY(1); } .still .orb .bars i:nth-child(4) { transform: scaleY(.65); }
.still .orb .bars i:nth-child(5) { transform: scaleY(.4); }
.still .song .eq i:nth-child(1) { transform: scaleY(.5); } .still .song .eq i:nth-child(2) { transform: scaleY(.9); }
.still .song .eq i:nth-child(3) { transform: scaleY(.65); } .still .song .eq i:nth-child(4) { transform: scaleY(1); }
.still .song .eq i:nth-child(5) { transform: scaleY(.45); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Landing + blog. Shares tokens with the app UI (app-ui.css is bundled first into site.css). */
:root { --max: 1160px; --narrow: 760px; --radius: 28px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.lp { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5; }
.lp a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: 12px; font: 700 14px var(--font); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* CJK: system fonts after Manrope, no negative tracking, natural line breaks */
:lang(ja) { --font: 'Manrope', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', Meiryo, sans-serif; line-break: strict; }
:lang(ko) { --font: 'Manrope', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { letter-spacing: -.01em !important; }
body.lp:lang(ja), body.lp:lang(ko) { line-height: 1.7; }

/* header */
.lp-head { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 246, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lp-head.scrolled { border-bottom-color: var(--line); }
.lp-head .wrap { height: 68px; display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.03em; text-decoration: none; }
.logo .mark { height: 22px; gap: 3px; } .logo .mark i { width: 4px; }
.logo .mark i:nth-child(1) { height: 8px; } .logo .mark i:nth-child(2) { height: 15px; } .logo .mark i:nth-child(3) { height: 22px; }
.logo .mark i:nth-child(4) { height: 13px; } .logo .mark i:nth-child(5) { height: 7px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { font: 700 15px var(--font); text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--chip); }
.lang-pick { position: relative; }
.lang-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--font); color: var(--ink-2); padding: 8px 10px; border-radius: 999px; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary:hover, .lang-pick[open] summary { background: var(--chip); }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); min-width: 170px; }
.lang-list a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font: 700 15px var(--font); }
.lang-list a:hover { background: var(--chip); }
.lang-list a[aria-current] { color: var(--accent-deep); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; font: 800 15px var(--font); text-decoration: none; white-space: nowrap; }
.btn-ink { background: var(--ink); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-accent { background: var(--accent); color: #fff !important; box-shadow: 0 12px 26px -12px rgba(255, 82, 54, .8); }
.btn-accent:hover { background: var(--accent-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }
.lp-head .btn { height: 40px; padding: 0 16px; font-size: 14px; }

/* hero */
.hero { padding: 54px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 13px var(--font); color: var(--accent-deep); background: var(--accent-soft); padding: 7px 13px; border-radius: 999px; letter-spacing: .01em; margin: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.0; letter-spacing: -.045em; font-weight: 800; margin: 18px 0 18px; }
.hero h1:lang(ja), .hero h1:lang(ko) { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.15; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); font-weight: 600; margin: 0 0 12px; max-width: 34em; }
.lead strong { color: var(--ink); }
.sub { font-size: 16.5px; color: var(--muted); font-weight: 600; margin: 0 0 26px; max-width: 36em; }
.hero-phone { display: grid; place-items: center; position: relative; min-height: 640px; overflow-x: clip; }
.fl { font-style: normal; margin-right: .4em; }
.hero-phone::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, #FFE3DA 0%, rgba(255, 227, 218, 0) 68%); z-index: 0; }
.phone-slot { position: relative; z-index: 1; width: 414px; height: 868px; transform: scale(.78); transform-origin: center; margin: -95px 0; }
.phone-slot img { width: 100%; height: auto; display: block; }

/* waitlist */
.wl-box { max-width: 480px; }
.wl-form { margin: 0; }
.wl { display: flex; gap: 8px; background: var(--surface); padding: 6px; border-radius: 999px; box-shadow: var(--shadow-1); }
.wl input[type=email] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 16px var(--font); padding: 0 16px; color: var(--ink); }
.wl input::placeholder { color: var(--muted); }
.wl:focus-within { box-shadow: var(--shadow-1), 0 0 0 3px var(--accent-soft); }
.wl-course { border: 0; padding: 0; margin: 0 0 12px; }
.wl-course legend { font: 800 13px var(--font); color: var(--muted); padding: 0; margin-bottom: 8px; }
.wl-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-opts label { cursor: pointer; }
.wl-opts input { position: absolute; opacity: 0; pointer-events: none; }
.wl-opts span { display: inline-block; padding: 8px 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font: 700 14.5px var(--font); }
.wl-opts input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.wl-opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-err { margin: 10px 4px 0; font: 700 14px var(--font); color: var(--accent-deep); }
.wl-note { margin: 12px 4px 0; font: 600 13.5px var(--font); color: var(--muted); }
.wl-ok { display: none; margin: 0; background: var(--good-soft); color: var(--ink); border-radius: 20px; padding: 14px 18px; font: 700 15px var(--font); }
.wl-done .wl-form { display: none; } .wl-done .wl-ok { display: block; }

/* sections */
.sec { padding: 70px 0; }
.sec h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 0 0 14px; }
.sec .intro { font-size: 18px; color: var(--ink-2); font-weight: 600; max-width: 40em; margin: 0 0 34px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 800 15px var(--font); color: var(--accent-deep) !important; text-decoration: none; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 26px 24px 28px; box-shadow: var(--shadow-1); counter-increment: s; }
.steps { counter-reset: s; }
.step .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.step:nth-child(1) .ico { background: var(--accent-soft); color: var(--accent-deep); }
.step:nth-child(2) .ico { background: var(--good-soft); color: var(--good); }
.step:nth-child(3) .ico { background: var(--sun-soft); color: var(--sun-ink); }
.step h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; font-weight: 800; }
.step h3::before { content: counter(s) ' · '; color: var(--muted); }
.step p { margin: 0; color: var(--ink-2); font-weight: 600; font-size: 16px; }
.dark { background: var(--ink); color: #fff; border-radius: 36px; margin: 0 16px; }
.dark .intro { color: rgba(255, 255, 255, .72); }
.science { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.science p { font-size: 17.5px; font-weight: 600; color: rgba(255, 255, 255, .78); margin: 0 0 14px; }
.science .q-lead { margin: 22px 0 8px; font-size: 14px; font-weight: 800; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .06em; }
.science .q-lead:lang(ja), .science .q-lead:lang(ko) { text-transform: none; letter-spacing: 0; }
.science blockquote { margin: 0 0 14px; padding: 0 0 0 18px; border-left: 3px solid var(--sun); }
.science blockquote p { color: #fff; font-size: 19px; line-height: 1.45; margin: 0; }
.science cite { display: block; font: 600 13.5px var(--font); color: rgba(255, 255, 255, .55); font-style: normal; }
.science cite a { color: rgba(255, 255, 255, .8); }
.lyric-card { margin: 0; background: rgba(255, 255, 255, .06); border-radius: 26px; padding: 26px; }
.lc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lc-head b { display: block; font-size: 17px; color: #fff; }
.lc-head small { display: block; font: 700 13px var(--font); color: rgba(255, 255, 255, .55); }
.lc-eq { width: 42px; height: 42px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; }
.lc-eq .mark { height: 18px; gap: 2.5px; } .lc-eq .mark i { width: 3.5px; background: #fff; }
.lc-eq .mark i:nth-child(1) { height: 7px; } .lc-eq .mark i:nth-child(2) { height: 12px; } .lc-eq .mark i:nth-child(3) { height: 18px; }
.lc-eq .mark i:nth-child(4) { height: 11px; } .lc-eq .mark i:nth-child(5) { height: 6px; }
.lyric-card .line { font-size: 26px; margin: 0 0 6px; }
.lyric-card .line.now .w.on { color: var(--sun); }
.courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.course-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-1); text-decoration: none; transition: transform .15s; }
.course-card:hover { transform: translateY(-2px); }
.cc-flag { font-size: 30px; line-height: 1; }
.cc-name { font: 800 21px var(--font); letter-spacing: -.02em; }
.cc-sample { color: var(--ink-2); font-weight: 600; font-size: 15px; flex: 1; }
.cc-go { display: inline-flex; align-items: center; gap: 6px; font: 800 14px var(--font); color: var(--accent-deep); }
.chips-lg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips-lg span { background: var(--surface); box-shadow: var(--shadow-1); border-radius: 999px; padding: 10px 16px; font: 700 16px var(--font); }
.chips-lg span small { font-size: 13px; color: var(--accent-deep); font-weight: 800; }
.chips-lg span.soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); }
.chips-lg span.soon small { color: var(--muted); font-weight: 700; }
.faq { max-width: 820px; }
.sec .faq h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; margin: 30px 0 8px; }
.sec .faq h2:first-child { margin-top: 0; }
.faq p { margin: 0; color: var(--ink-2); font-weight: 600; font-size: 16.5px; }
.cta-end { text-align: center; }
.cta-end .wl-box { margin: 0 auto; }
.cta-end .intro { margin-left: auto !important; margin-right: auto !important; }
.cta-end .wl-note, .cta-end .wl-course legend { text-align: center; }
.cta-end .wl-opts { justify-content: center; }

/* cards (blog) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-1); overflow: hidden; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--chip); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.card-kicker { font: 800 12.5px var(--font); color: var(--accent-deep); text-transform: uppercase; letter-spacing: .06em; }
.card-kicker:lang(ja), .card-kicker:lang(ko) { text-transform: none; letter-spacing: 0; }
.card-title { font-size: 20px !important; line-height: 1.25 !important; letter-spacing: -.02em !important; margin: 0 !important; font-weight: 800; }
.card-desc { color: var(--ink-2); font-weight: 600; font-size: 15px; flex: 1; }
.card-meta { font: 600 13px var(--font); color: var(--muted); }
.card-link:hover .card-title { color: var(--accent-deep); }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font: 700 13.5px var(--font); color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* blog index, post, simple pages */
.blog-index h1, .page h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 14px; font-weight: 800; }
.post-head { padding-top: 40px; }
.kicker { margin: 0 0 10px; font: 800 13px var(--font); text-transform: uppercase; letter-spacing: .06em; }
.kicker:lang(ja), .kicker:lang(ko) { text-transform: none; letter-spacing: 0; }
.kicker a { color: var(--accent-deep) !important; text-decoration: none; }
.post h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 16px; font-weight: 800; }
.post h1:lang(ja), .post h1:lang(ko) { line-height: 1.25; }
.post-meta { font: 600 14.5px var(--font); color: var(--muted); margin: 0 0 26px; }
.post-meta a { color: var(--ink-2); }
.cover { margin: 0 auto 30px; max-width: 1000px; }
.cover img { width: 100%; height: auto; border-radius: 26px; display: block; background: var(--chip); }
.toc { background: var(--surface); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-1); margin: 0 0 30px; }
.toc-h { font: 800 13px var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.toc-h:lang(ja), .toc-h:lang(ko) { text-transform: none; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; font-weight: 700; font-size: 15.5px; }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose > p:first-child { font-size: 20px; color: var(--ink-2); font-weight: 600; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; letter-spacing: -.03em; margin: 44px 0 14px; font-weight: 800; scroll-margin-top: 90px; }
.prose h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 30px 0 10px; font-weight: 800; scroll-margin-top: 90px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent-deep); text-underline-offset: 3px; }
.prose code { background: var(--chip); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose blockquote { margin: 24px 0; padding: 18px 22px; background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 18px 18px 0; box-shadow: var(--shadow-1); }
.prose blockquote p { margin: 0; font-size: 18px; }
.prose blockquote cite { display: block; margin-top: 8px; font: 700 14px var(--font); color: var(--muted); font-style: normal; }
.table-wrap { overflow-x: auto; margin: 22px 0 26px; border-radius: 18px; box-shadow: var(--shadow-1); background: var(--surface); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.45; }
.table-wrap caption { caption-side: top; text-align: left; padding: 14px 16px 6px; font: 800 14px var(--font); color: var(--ink-2); }
.table-wrap th, .table-wrap td { padding: 11px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--chip); font-weight: 800; border-top: 0; }
.table-wrap tbody th { font-weight: 800; width: 34%; }
.sources { margin: 44px 0 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 20px; margin: 0 0 10px; letter-spacing: -.01em; font-weight: 800; }
.sources ol { margin: 0; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.sources li { margin: 5px 0; word-break: break-word; }
.related { padding-top: 40px; }
.cta-card { margin: 34px 0; padding: 26px; border-radius: 26px; background: var(--accent-soft); position: relative; }
.cta-card .cta-eq { position: absolute; right: 24px; top: 24px; }
.cta-card .cta-eq .mark i { background: var(--accent); }
.cta-h { font: 800 23px var(--font) !important; letter-spacing: -.02em; margin: 0 0 6px !important; color: var(--ink) !important; padding-right: 50px; }
.cta-p { margin: 0 0 16px !important; font-size: 16px !important; color: var(--ink-2); font-weight: 600; }
.wl-box.compact { max-width: 520px; }
.page .prose > p:first-child { font-size: 18px; }
.facts tbody th { width: 30%; }
.nf-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-weight: 600; }
.nf-list a { font-weight: 800; color: var(--accent-deep); }

/* consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 620px; margin: 0 auto; background: var(--surface); border-radius: 22px; box-shadow: 0 20px 60px -20px rgba(23, 21, 27, .35), 0 0 0 1px var(--line); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font: 600 14px var(--font); color: var(--ink-2); flex: 1; }
.consent-btns { display: flex; gap: 8px; }
.consent .btn { height: 40px; padding: 0 16px; font-size: 14px; }

/* footer */
.lp-foot { padding: 46px 0 56px; color: var(--muted); font: 600 14px var(--font); border-top: 1px solid var(--line); margin-top: 30px; }
.lp-foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-brand .logo { color: var(--ink); font-size: 18px; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.foot-nav a, .foot-lang-list a { text-decoration: none; }
.foot-nav a:hover, .foot-lang-list a:hover { color: var(--ink); text-decoration: underline; }
.foot-lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; }
.foot-lang-list a[aria-current] { color: var(--ink); }
.updated { margin: 0; font: 600 13px var(--font); color: var(--muted); justify-self: end; }

@media (max-width: 920px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-phone { min-height: 0; }
  .hero-phone::before { width: 380px; height: 380px; }
  .phone-slot { transform: scale(.66); margin: -150px 0 -140px; }
  .steps { grid-template-columns: 1fr; }
  .science { grid-template-columns: 1fr; gap: 30px; }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-foot .wrap { grid-template-columns: 1fr; }
  .foot-nav, .updated { justify-content: flex-start; justify-self: start; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav { margin-left: auto; } .nav a { padding: 8px 8px; }
  .head-cta { display: none !important; }
  .lead { font-size: 18px; }
  .wl { flex-direction: column; border-radius: 24px; padding: 8px; }
  .wl input[type=email] { height: 46px; }
  .phone-slot { transform: scale(.6); margin: -175px 0 -165px; }
  .dark { margin: 0; border-radius: 0; }
  .sec { padding: 54px 0; }
  .courses, .cards { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 18.5px; }
  .consent { flex-direction: column; align-items: stretch; }
  .consent-btns .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .course-card { transition: none; }
}

/* live demo layer over the static screenshot */
.phone-slot .demo { position: absolute; inset: 0; }
.phone-slot.live img { opacity: 0; }
