:root {
  --ink: #111418;
  --ink-2: #1a1e25;
  --ink-3: #252a33;
  --ink-line: #2c323c;
  --paper: #f5f4ef;
  --white: #ffffff;
  --line: #e6e3da;
  --text: #16181c;
  --muted: #5f646d;
  --faint: #6b7079;
  --green: #16b364;
  --green-soft: #52b98a;
  --green-ink: #0b7a43;
  --mint: #e8f2ec;
  --cream: #f4f1e8;

  --noun: #368ee8;
  --verb: #299e67;
  --adj: #c47b1d;
  --particle: #eb5587;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", var(--font);
  --font-serif-ja: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
:lang(ja) { font-family: var(--font-ja); word-break: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--text);
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: var(--white);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-solid {
  background: rgba(245, 244, 239, .82);
  color: var(--text);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand__icon { width: 32px; height: 32px; border-radius: 9px; }
.brand__name { font-size: 18px; }
.brand__latin { font-size: 13px; font-weight: 500; opacity: .55; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav__links a { opacity: .75; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--green-ink); color: var(--white);
  transition: transform .2s var(--ease), background-color .2s;
}
.nav__cta:hover { background: #096a3a; transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: calc(120px + env(safe-area-inset-top)) 0 0;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__kanji {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-serif-ja); font-weight: 600;
  font-size: clamp(180px, 26vw, 380px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  user-select: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--green-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--dark { color: var(--green-soft); }
.hero__title {
  font-size: clamp(42px, 6.4vw, 84px); line-height: 1.1; font-weight: 800; letter-spacing: -.045em;
}
.hero__title em { font-style: normal; color: var(--green-soft); }
.hero__lead {
  margin-top: 26px; max-width: 30em;
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: #b8bec8;
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stores--center { justify-content: center; margin-top: 0; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; min-width: 186px; padding: 0 20px;
  border-radius: 14px; border: 1px solid #5d636c;
  background: #000; color: var(--white);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-2px); border-color: #9ea4ad; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.store strong { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  list-style: none; padding: 0; margin: 26px 0 0;
  font-size: 14px; color: #8b929c;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-soft); }
.hero__device { display: flex; justify-content: center; padding-bottom: 72px; }

/* phone mockup: 앱 곡 상세의 가사 시트(MV 바 + 가사 다이얼)를 그대로 옮긴다 */
.phone {
  --pw: min(340px, 82vw, 100%);
  position: relative; width: var(--pw); aspect-ratio: 9 / 18.6;
  padding: 12px; border-radius: 52px;
  background: linear-gradient(160deg, #3a404a, #16191e 40%, #2a2f37);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    0 50px 100px -30px rgba(0, 0, 0, .7),
    0 30px 60px -30px rgba(22, 179, 100, .25);
}
.phone__notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3;
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 40px; background: linear-gradient(160deg, #2b3550, #4a3f5c 60%, #1b1f2a);
}
/* 가짜 곡 아트. 실제 앨범 아트 대신 쓰는 그라데이션 */
.mvbar__thumb, .src__thumb, .song-row i, .apill__art, .deck i, .karaoke i {
  background: linear-gradient(135deg, var(--a, #3d5a8a), var(--b, #c99ab5));
}

.ls {
  position: absolute; inset: 44px 0 0; overflow: hidden;
  border-radius: 24px 24px 0 0; background: var(--white); color: #1a1a1a;
  display: flex; flex-direction: column;
}
.mvbar {
  flex: none; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-bottom: 1px solid #e5e5e5;
}
.mvbar__thumb {
  --a: #3d5a8a; --b: #c99ab5;
  flex: none; width: 52px; height: 26px; border-radius: 7px;
}
.mvbar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.mvbar__text b { font-size: 12px; font-weight: 600; }
.mvbar__text small { font-size: 10px; color: #666; font-variant-numeric: tabular-nums; }
.mvbar__pause { flex: none; width: 12px; height: 14px; border-left: 4px solid var(--green); border-right: 4px solid var(--green); margin-right: 6px; }

.dial { position: relative; flex: 1; overflow: hidden; }
.dial__list {
  list-style: none; margin: 0; padding: 0;
  transition: transform .28s cubic-bezier(.33, 1, .68, 1);
}
.dial__list.no-anim, .dial__list.no-anim * { transition: none !important; }
.line { padding: 9px 16px; transition: opacity .28s; }
.line__rest { font-size: 15.5px; line-height: 1.45; }
.line__focus { display: none; }
.line.is-active { background: #f6f6f6; padding: 16px; }
.line.is-active .line__rest { display: none; }
.line.is-active .line__focus { display: flex; flex-direction: column; gap: 11px; }
.line__ja { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 2px; }
.line__ko { font-size: 11px; line-height: 1.4; color: #666; letter-spacing: .01em; }
.line__tr { font-size: 13px; line-height: 1.4; font-weight: 500; margin-top: -7px; }
.tok { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; border-radius: 4px; transition: opacity .2s; }
.tok__furi { font-size: 8px; line-height: 1.1; color: #666; white-space: nowrap; }
.tok__word { font-size: 19px; line-height: 1.25; font-weight: 600; }
.tok--muted .tok__word { color: #666; }
.tok__bar { align-self: stretch; height: 2.5px; border-radius: 2px; background: var(--pos, transparent); }
.tok__mean { margin-top: 1px; font-size: 9.5px; line-height: 1.3; color: #666; white-space: nowrap; font-family: var(--font); }
.tok--noun { --pos: #368ee8; }
.tok--verb { --pos: #299e67; }
.tok--adj { --pos: #c47b1d; }
.tok.is-picked { opacity: .5; }

.ls::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85) 50%, #fff);
}
.sync {
  position: absolute; left: 50%; bottom: 22px; z-index: 1; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--green); background: rgba(22, 179, 100, .125);
  font-size: 11px; font-weight: 500; color: var(--green-ink); white-space: nowrap;
}
.sync i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid currentColor; box-shadow: inset 0 0 0 2px #fff; background: currentColor; }

/* 앱 복습 화면: 흐린 곡 아트 위 어두운 무대, 유리 질감 버튼 */
.stage {
  position: relative; overflow: hidden; color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .07) 42%, rgba(0, 0, 0, .88)),
    linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .22) 50%, transparent),
    linear-gradient(150deg, #3d5a8a, #8b6a9a 55%, #c99ab5);
}
.rv {
  position: absolute; inset: 0; z-index: 4; padding: 46px 16px 18px;
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .38s cubic-bezier(.33, 1, .68, 1);
}
.rv.is-open { transform: none; }
.rv__top { height: 34px; display: flex; align-items: center; }
.rv__back { width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, .4); position: relative; }
.rv__back::after {
  content: ""; position: absolute; left: 12px; top: 10px; width: 8px; height: 8px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg);
}
.src { display: flex; align-items: center; gap: 8px; margin-top: 8px; text-align: left; }
.src__thumb { --a: #3d5a8a; --b: #c99ab5; flex: none; width: 32px; height: 32px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .18); }
.src__text { display: flex; flex-direction: column; line-height: 1.3; }
.src__text b { font-size: 12px; font-weight: 700; }
.src__text small { font-size: 10px; color: rgba(255, 255, 255, .6); }

.rv__front, .rv__back-face { flex: 1; display: flex; flex-direction: column; min-height: 0; transition: opacity .3s; }
.rv__back-face { position: absolute; inset: 120px 16px 18px; opacity: 0; pointer-events: none; }
.rv.is-back .rv__front { opacity: 0; }
.rv.is-back .rv__back-face { opacity: 1; }
.rv__head { margin: auto 0; font-size: 50px; font-weight: 700; line-height: 1.1; text-align: left; }
.rv__ask {
  display: block; text-align: center; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .62);
  margin-bottom: 10px;
}
.glass-pill {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  font-size: 13px; font-weight: 700; color: #fff;
}
.rv__q { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: auto; }
.rv__q > b { font-size: 36px; font-weight: 700; line-height: 1.15; }
.rv__meta { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 600; color: rgba(255, 255, 255, .4); letter-spacing: .03em; }
.rv__meta > span { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .8); margin-right: 2px; letter-spacing: 0; }
.rv__meta i { font-style: normal; }
.rv__mean { margin: 20px 0 14px; font-size: 22px; font-weight: 700; text-align: left; }
.rv__ex { display: flex; flex-direction: column; gap: 4px; margin-bottom: auto; text-align: left; }
.rv__ex > span { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.rv__ex > span b { color: #fff; font-weight: 700; }
.rv__ex > small { font-size: 10.5px; color: rgba(255, 255, 255, .6); }
.rv__ex-src { display: flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.rv__ex-src .src__thumb { width: 14px; height: 14px; border-radius: 3px; border: 0; }
.rv__back-face .rv__ask { margin-top: 18px; }
.glass-rates { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.glass-rates > span:not(.glass-rates__hold) {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  font-size: 9.5px; font-weight: 600; color: var(--c);
  transition: opacity .16s;
}
.glass-rates b { font-size: 11.5px; font-weight: 600; }
.glass-rates__hold {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--hold, #16b364);
  opacity: 0; transform: scaleX(.7); transition: opacity .16s, transform .2s var(--ease);
}
.glass-rates.is-done > span:not(.glass-rates__hold) { opacity: 0; }
.glass-rates.is-done .glass-rates__hold { opacity: 1; transform: none; }

/* ---------- statement ---------- */
.statement { background: var(--ink); color: var(--white); padding: clamp(96px, 16vw, 200px) 0; }
.statement__text {
  max-width: 22em;
  font-size: clamp(28px, 4.6vw, 58px); line-height: 1.35; font-weight: 800; letter-spacing: -.035em;
}
.statement__text .w { color: rgba(255, 255, 255, .38); transition: color .25s linear; }
.statement__text .w.is-on { color: var(--white); }
.statement__text .w.is-key.is-on { color: var(--green-soft); }

/* ---------- sections ---------- */
.section { padding: clamp(88px, 12vw, 152px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section__title { font-size: clamp(34px, 5vw, 60px); line-height: 1.16; font-weight: 800; letter-spacing: -.04em; }
.section__lead { margin-top: 20px; max-width: 34em; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }

/* 가사 한 줄 해부도: 기능 다섯 개를 카드로 쪼개지 않고 한 장면에 모은다 */
.anatomy {
  margin-top: 56px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.anatomy__figure {
  margin: 0; padding: clamp(16px, 3vw, 28px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.anatomy__band { padding: clamp(18px, 3vw, 32px); border-radius: 16px; background: #f6f6f6; display: flex; flex-direction: column; gap: 10px; }
.anatomy__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; gap: 16px; }
.anatomy__tag { font-size: 12px; font-weight: 700; color: var(--faint); }
.anatomy__ko { font-size: clamp(14px, 1.5vw, 16px); color: #666; }
.anatomy__tr { font-size: clamp(16px, 1.7vw, 19px); font-weight: 500; }
.anatomy__line { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 2px; margin-bottom: 8px; }
.atok { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 2px; border-radius: 8px; }
.atok b { font-size: clamp(32px, 5vw, 58px); font-weight: 600; line-height: 1.25; }
.atok i { align-self: stretch; height: clamp(3px, .4vw, 5px); border-radius: 3px; background: var(--pos, transparent); }
.atok__furi, .atok__mean { min-height: 1.4em; font-size: clamp(12px, 1.3vw, 15px); white-space: nowrap; color: #666; }
.atok__mean { margin-top: 2px; }
.atok:not(.atok--noun):not(.atok--verb) b { color: #666; }
.atok--noun { --pos: #368ee8; }
.atok--verb { --pos: #299e67; }
.atok--picked { background: rgba(0, 0, 0, .05); }
.anatomy__pop {
  align-self: flex-end; width: min(240px, 100%);
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: 18px; color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .75)), linear-gradient(150deg, #3d5a8a, #8b6a9a 55%, #c99ab5);
}
.anatomy__pop small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .62); }
.anatomy__pop-word { font-size: 44px; font-weight: 700; line-height: 1.1; }
.anatomy__notes { list-style: none; margin: 0; padding: 0; }
.anatomy__notes li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 0; border-top: 1px solid var(--line);
  font-size: 15.5px; color: var(--muted);
}
.anatomy__notes li:last-child { border-bottom: 1px solid var(--line); }
.anatomy__notes b { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.feature-wide { margin-top: 24px; }

.tile {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.section--white .tile { background: var(--paper); border-color: #ebe8df; }
.tile h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.tile p { font-size: 15.5px; color: var(--muted); }
.tile--wide { flex-direction: row; align-items: center; gap: 32px; }
.tile--wide .tile__text { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile--dark { background: var(--ink-2) !important; border-color: var(--ink-2) !important; color: var(--white); }
.tile--dark p { color: #a3a9b2; }
.tile--mint { background: var(--mint); border-color: #cfe5d8; }

.example-card {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  padding: 26px 24px 18px; border-radius: 22px;
}
.example-card .rv__q > b { font-size: 44px; }
.example-card .rv__meta { font-size: 11px; }
.example-card .rv__meta > span { font-size: 15px; }
.example-card .rv__mean { margin: 18px 0 16px; font-size: 26px; }
.example-card .rv__ex > span { font-size: 16px; }
.example-card .rv__ex > small { font-size: 12.5px; }
.example-card .rv__ex-src { font-size: 11px; }
.example-card .rv__ex-src .src__thumb { width: 16px; height: 16px; }
.ex-dots { display: flex; gap: 4px; margin-top: 12px; }
.ex-dots i { width: 4px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.ex-dots i.is-on { width: 12px; background: rgba(255, 255, 255, .9); }

/* steps */
.steps {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  counter-reset: step;
}
.step {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid #ebe8df;
}
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-top: 20px; }
.step p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.step__num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-ink); color: var(--white); font-weight: 800; margin-bottom: 16px;
}
.step__screen {
  height: 236px; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.search-box {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px;
  background: #eee; font-size: 13px; color: #6b6b6b;
}
.search-box::before {
  content: ""; width: 10px; height: 10px; border: 2px solid #888; border-radius: 50%;
  box-shadow: 4px 4px 0 -2.5px #888;
}
.song-row { display: flex; align-items: center; gap: 10px; }
.song-row i { flex: none; width: 40px; height: 40px; border-radius: 8px; }
.song-row > span, .karaoke li > span:not(.brands) { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.song-row b, .karaoke b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row small, .karaoke small { font-size: 11px; color: #666; }
.step__screen--analyze { align-items: center; justify-content: center; gap: 12px; background: #f6f6f6; }
.apill {
  display: flex; align-items: center; gap: 10px; width: min(236px, 100%); height: 52px; padding: 0 14px 0 8px;
  border-radius: 999px; background: var(--green); color: #fff;
  box-shadow: 0 6px 16px rgba(22, 179, 100, .35);
}
.apill__art { flex: none; width: 36px; height: 36px; border-radius: 50%; }
.apill__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.apill__text b { font-size: 13px; font-weight: 700; }
.apill__text small { font-size: 11px; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apill__spin { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; transform: rotate(45deg); }
.apill--done { background: #fff; color: #1a1a1a; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.apill--done .apill__text small { color: var(--green-ink); }
.apill__chev { flex: none; width: 7px; height: 7px; border-right: 2px solid #888; border-top: 2px solid #888; transform: rotate(45deg); }
.journey__title { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.tier { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.tier:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: -10px; width: 2px; background: #e5e5e5; }
.tier--done::before { background: var(--green) !important; }
.tier__dot { position: relative; width: 18px; height: 18px; margin-top: 8px; border-radius: 50%; display: grid; place-items: center; }
.tier__dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #d2d2d2; }
.tier--done .tier__dot { background: var(--green); }
.tier--done .tier__dot::after { width: 6px; height: 3px; border-radius: 0; background: none; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.tier--current .tier__dot { border: 2.5px solid var(--green); background: #fff; }
.tier--current .tier__dot::after { width: 6px; height: 6px; background: var(--green); }
.tier__card { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 12px; border: 1px solid #e5e5e5; }
.tier--current .tier__card { border: 1.5px solid var(--green); box-shadow: 0 6px 18px rgba(22, 179, 100, .15); }
.tier__card b { font-size: 12.5px; font-weight: 800; }
.track { display: flex; gap: 2px; height: 5px; border-radius: 5px; background: #eee; overflow: hidden; }
.track i { background: #16b364; }
.track i.s { background: #22b8cf; }
.tier__cta { display: block; padding: 7px 10px; border-radius: 9px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; }

.genres {
  margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.genres span {
  padding: 12px 22px; border-radius: 999px;
  background: var(--mint); color: var(--green-ink); font-weight: 700; font-size: 16px;
  border: 1px solid #cfe5d8;
}

/* review */
.review { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.curve {
  margin: 40px 0 0; padding: 22px 22px 14px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.curve figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.curve__legend { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--gray { background: #c5c8ce; }
.dot--green { background: var(--green-soft); margin-left: 6px; }
.curve svg { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.curve__grid line { stroke: #eceae4; stroke-width: 1.5; }
.curve path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.curve__forget { stroke: #c5c8ce; stroke-width: 5; transition: stroke-dashoffset 1.6s var(--ease); }
.curve__review { stroke: var(--green-soft); stroke-width: 6; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.curve.is-in path { stroke-dashoffset: 0; }
.curve__labels text { font-size: 14px; font-weight: 700; fill: var(--muted); text-anchor: middle; font-family: var(--font); }

.review__card { display: flex; flex-direction: column; align-items: center; }
/* 앱 홈: 흰 헤더(오늘 남은 장수·연속 학습 칩) + 덱 스트립 + 곡 무대 위 카드 */
.home {
  width: min(360px, 100%); border-radius: 32px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(17, 20, 24, .35);
}
.home__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.home__today { display: flex; flex-direction: column; line-height: 1.2; }
.home__today small { font-size: 11px; font-weight: 600; color: #666; }
.home__today span { font-size: 16px; font-weight: 600; }
.home__today b { font-size: 24px; font-weight: 800; color: var(--green-ink); letter-spacing: -.03em; margin-right: 1px; }
.decks { display: flex; gap: 8px; padding: 8px 14px 12px; overflow: hidden; }
.deck { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: #6b6b6b; }
.deck > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck i { position: relative; width: 54px; height: 54px; border-radius: 12px; outline: 2px solid transparent; outline-offset: 2px; opacity: .72; }
.deck.is-on { color: var(--text); font-weight: 700; }
.deck.is-on i { outline-color: var(--green); opacity: 1; }
.deck em {
  position: absolute; right: -6px; bottom: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; border: 2px solid #fff; background: var(--green);
  display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff;
}
.deck--search { font-weight: 600; color: var(--text); }
.deck--search i { opacity: 1; background: linear-gradient(225deg, #3fd08a, #16b364); }
.deck--search i::after {
  content: ""; position: absolute; left: 18px; top: 17px; width: 13px; height: 13px;
  border: 2.5px solid #fff; border-radius: 50%; box-shadow: 5px 5px 0 -3px #fff;
}
.flash {
  display: flex; flex-direction: column; width: 100%; aspect-ratio: 4 / 5; padding: 14px 18px 18px;
  border: 0; text-align: left; cursor: pointer;
}
.flash__front, .flash__back { flex: 1; display: flex; flex-direction: column; min-height: 0; transition: opacity .3s var(--ease); }
.flash__back { position: absolute; inset: 66px 18px 18px; opacity: 0; }
.flash[aria-pressed="true"] .flash__front { opacity: 0; }
.flash[aria-pressed="true"] .flash__back { opacity: 1; }
.flash .rv__head { font-size: 60px; }
.flash .rv__mean { display: block; }
.review__note { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }

/* habit */
.habit { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.streak-chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff4e5; color: #b45309;
  font-size: 14px; font-weight: 500; margin-bottom: 8px;
}
.streak-chip svg { margin-right: 2px; }
.streak-chip b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.streak-chip--sm { margin: 0; padding: 6px 11px 6px 9px; font-size: 12px; }
.streak-chip--sm b { font-size: 13px; }
/* 앱 연속 학습 화면의 학습 달력: 지금 연속 구간은 주황 띠, 프리즈는 파랑 */
.cal { margin-top: auto; padding-top: 18px; }
.cal__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.cal__head b { font-weight: 800; }
.cal__head span { font-weight: 700; color: var(--muted); }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__week { margin: 10px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--faint); text-align: center; }
.cal__grid { row-gap: 2px; }
.cal__grid > span { display: grid; place-items: center; aspect-ratio: 1.15; }
.cal__grid > span.in-run { background: #ffe4c9; }
.cal__grid > span.run-start { border-radius: 99px 0 0 99px; }
.cal__grid > span.run-end { border-radius: 0 99px 99px 0; }
.cal__grid i {
  display: grid; place-items: center; width: 80%; aspect-ratio: 1; border-radius: 28%;
  font-style: normal; font-size: 11px; font-weight: 600; color: #5c1f0a; background: var(--bg, #eee);
  transform: scale(.5); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.cal__grid.is-in i { transform: none; opacity: 1; }
.cal__grid i[data-l="1"] { --bg: #fdba74; }
.cal__grid i[data-l="2"] { --bg: #fb923c; }
.cal__grid i[data-l="3"] { --bg: #f97316; }
.cal__grid i[data-l="4"] { --bg: #c2410c; color: #fff; }
.cal__grid i.is-freeze { --bg: #e8f0f9; color: #1d4ed8; box-shadow: inset 0 0 0 1px #5b9bf5; }
.cal__grid i.is-future { --bg: transparent; color: #c9c9c9; }
.cal__grid i.is-today { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff9500; }

.reward { margin: auto auto 0; padding-top: 20px; perspective: 900px; width: min(210px, 100%); }
/* 앱 곡 카드 GOLD: 금속 테, 정사각 아트와 세로 가사, 어두운 이름 칸, 순번과 등급 마름모 */
.reward__inner {
  aspect-ratio: 63 / 88; padding: 3.4%; border-radius: 4.6% / 3.3%;
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, #fbe7a6, #b8862c 30%, #fff4c9 52%, #9c6c1e 76%, #f6dc8e);
  box-shadow: 0 30px 60px -30px rgba(17, 20, 24, .55);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease);
}
.reward__art {
  position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: row-reverse; gap: 6px; padding: 10px 10px 0 0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(8, 6, 12, .35) 70%, rgba(8, 6, 12, .78)),
    linear-gradient(150deg, #3d5a8a, #8b6a9a 55%, #c99ab5);
}
.reward__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%);
  background-size: 250% 100%; background-position: var(--sx, 100%) 0;
}
.reward__lyric {
  writing-mode: vertical-rl; font-size: 11px; line-height: 1.2; letter-spacing: .08em; color: #fff7d6;
  text-shadow: 0 0 8px rgba(0, 0, 0, .7);
}
.reward__lyric + .reward__lyric { margin-top: 14px; }
.reward__body {
  flex: 1; margin-top: 7px; padding: 8px 9px; border-radius: 8px; background: #1d1a2b;
  display: flex; flex-direction: column; justify-content: space-between; color: #f6f2fa;
}
.reward__body > b { font-size: 15px; font-weight: 900; line-height: 1.2; color: #f6dc8e; }
.reward__body small { font-size: 10px; color: #c99ab5; }
.reward__foot { display: flex; align-items: flex-end; justify-content: space-between; }
.reward__no { font-size: 9px; color: rgba(255, 255, 255, .72); }
.reward__no b { font-size: 13px; font-weight: 900; color: #fff; margin-right: 3px; }
.pips { display: flex; gap: 4px; padding: 0 2px 3px; }
.pips i { width: 6px; height: 6px; background: #f6dc8e; transform: rotate(45deg); }

.karaoke-tile { margin-top: 40px; }
.karaoke {
  flex: 1 1 0; min-width: 0;
  list-style: none; margin: 0; padding: 4px 14px; border-radius: 18px;
  background: var(--white); color: var(--text); display: flex; flex-direction: column;
}
.karaoke li { display: flex; align-items: center; gap: 10px; height: 60px; }
.karaoke li + li { border-top: 1px solid #f0f0f0; }
.karaoke i { flex: none; width: 40px; height: 40px; border-radius: 8px; }
.karaoke li > span:not(.brands) { flex: 1; }
.brands { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.brands em { display: grid; place-items: center; width: 30px; height: 18px; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 700; }
.brand-tj { color: #c42833; background: rgba(226, 55, 68, .08); }
.brand-ky { color: #1a58d0; background: rgba(26, 88, 208, .08); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; font-size: 17px; font-weight: 700; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* cta */
.cta {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  padding: clamp(96px, 14vw, 168px) 0;
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__icon { width: 96px; height: 96px; border-radius: 24px; }
.cta__title { margin-top: 32px; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.15; font-weight: 800; letter-spacing: -.045em; }
.cta__title em { font-style: normal; color: var(--green-soft); }
.cta__sub { margin-top: 18px; color: #8b929c; font-size: 17px; }
.cta__row { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr img { width: 112px; height: 112px; padding: 8px; border-radius: 16px; background: var(--white); }
.qr figcaption { font-size: 12px; color: #8b929c; }

/* footer */
.footer { background: var(--ink); color: #8b929c; border-top: 1px solid var(--ink-line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.brand--footer { color: var(--white); }
.brand--footer .brand__icon { width: 28px; height: 28px; border-radius: 8px; }
.footer__links { display: flex; flex-wrap: wrap; column-gap: 20px; font-size: 14px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__links a:hover { color: var(--white); }
.footer__copy { width: 100%; font-size: 13px; color: #8b929c; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .anatomy { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero { padding-top: calc(104px + env(safe-area-inset-top)); }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__kanji { top: 6%; transform: none; right: -10vw; font-size: 56vw; }
  .hero__device { padding-bottom: 56px; }
  .review, .faq { grid-template-columns: 1fr; }
  .qr { display: none; }
}

@media (max-width: 640px) {
  .brand__latin { display: none; }
  .habit, .steps { grid-template-columns: 1fr; }
  .tile--wide { flex-direction: column; align-items: stretch; gap: 18px; }
  .example-card, .karaoke { flex: none; }
  .anatomy__row { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .atok { padding: 0 2px; }
  .anatomy__pop { align-self: stretch; width: auto; }
  .stores { flex-direction: column; align-items: stretch; }
  .stores--center { width: 100%; max-width: 340px; }
  .store { justify-content: center; }
  .faq summary { padding: 18px 20px; font-size: 16px; }
  .faq details p { padding: 0 20px 18px; }
}

@media (max-width: 360px) {
  .phone { --pw: 88vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .curve path { stroke-dashoffset: 0; }
  .cal__grid i { transform: none; opacity: 1; }
}
