/* ============================================================
   TANGOO - landing page
   Dark navy + crown gold, Japanese motifs (seigaiha, sakura, Fuji).
   Mobile-first.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --base: #0A1628;
  --surface: #0E1F38;
  --elevated: #14294a;
  --hairline: #20375E;
  --hairline-soft: #19304f;

  --royal: #2E6FD6;
  --royal-light: #6BA6F5;
  --royal-deep: #165BAA;

  --gold: #F5C518;
  --gold-soft: #FFD75E;
  --gold-deep: #D9A800;
  --sakura: #F4A6C0;

  --text: #EAF1FB;
  --text-2: #9FB2CE;
  --text-3: #6E83A6;

  /* JLPT level colors */
  --n5: #2D8CF0; --n4: #E24B4A; --n3: #34B36A; --n2: #8B6FE0; --n1: #EF9F27;

  --r-card: 16px;
  --r-pill: 22px;
  --r-sm: 9px;

  --shadow-soft: 0 6px 22px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 18px 50px rgba(2, 10, 26, 0.55);

  --spring: cubic-bezier(0.34, 1.4, 0.5, 1.0);
  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);

  --wrap: 1140px;
  --nav-h: 60px;

  --crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M2 15 L2 5 L6.5 9 L11 2.5 L15.5 9 L20 5 L20 15 Z'/%3E%3C/svg%3E");
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l7.1-1.01z'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }
body {
  margin: 0; background: var(--base); color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
em { font-style: normal; color: var(--gold-soft); }

.hero-title, .section-title, .feature-title, .story-title, .final-title,
.wordmark-text, .kanji-char, .stat-num, .lv-name, .showcase-name, .step-title, .story-eq {
  font-family: "M PLUS Rounded 1c", "Inter", sans-serif;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #1a1505; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.wrap-narrow { max-width: 760px; }

/* ---------- Seigaiha wave (echoes the app icon) ---------- */
.seigaiha-band {
  --c: rgba(107, 166, 245, 0.14); --s: 60px; height: 78px; width: 100%;
  background-image:
    radial-gradient(circle at 50% 100%, transparent 32%, var(--c) 32%, var(--c) 40%, transparent 40%, transparent 49%, var(--c) 49%, var(--c) 57%, transparent 57%, transparent 66%, var(--c) 66%, var(--c) 74%, transparent 74%),
    radial-gradient(circle at 0% 100%, transparent 32%, var(--c) 32%, var(--c) 40%, transparent 40%, transparent 49%, var(--c) 49%, var(--c) 57%, transparent 57%, transparent 66%, var(--c) 66%, var(--c) 74%, transparent 74%),
    radial-gradient(circle at 100% 100%, transparent 32%, var(--c) 32%, var(--c) 40%, transparent 40%, transparent 49%, var(--c) 49%, var(--c) 57%, transparent 57%, transparent 66%, var(--c) 66%, var(--c) 74%, transparent 74%);
  background-size: var(--s) calc(var(--s) / 2);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.seigaiha-top { -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold-soft); margin-bottom: 18px;
}
.crown-dash {
  width: 20px; height: 15px; flex: none; display: inline-block; background: var(--gold);
  -webkit-mask: var(--crown) center / contain no-repeat; mask: var(--crown) center / contain no-repeat;
}
.eyebrow-center { justify-content: center; }

.section-title { font-size: clamp(29px, 7vw, 40px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.12; }
.section-sub { color: var(--text-2); font-size: 16.5px; line-height: 1.62; margin-top: 16px; max-width: 50ch; }
.section-sub.center { margin-inline: auto; }
.section-head { margin-bottom: 42px; }
.section-head-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--elevated); --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 15px; letter-spacing: -0.1px;
  border: 0.5px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--spring), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: #1a1505; box-shadow: 0 8px 24px rgba(245, 197, 24, 0.22); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 12px 30px rgba(245, 197, 24, 0.3); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16.5px; }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 15px; }
.check { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(46, 111, 214, 0.18); position: relative; }
.check::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--royal-light); border-width: 0 2px 2px 0; transform: rotate(42deg); }

/* ---------- Dots ---------- */
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-n5 { background: var(--n5); } .dot-n4 { background: var(--n4); }
.dot-n3 { background: var(--n3); } .dot-n2 { background: var(--n2); } .dot-n1 { background: var(--n1); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 4px; }
.star {
  width: 16px; height: 16px; display: inline-block; flex: none; background: var(--gold);
  -webkit-mask: var(--star-mask) center / contain no-repeat; mask: var(--star-mask) center / contain no-repeat;
}
.star-half { background: linear-gradient(90deg, var(--gold) 0 52%, #3a527d 52% 100%); }

/* ============================================================
   PHONE MOCKUP - realistic device
   ============================================================ */
.phone {
  position: relative; z-index: 1; width: 250px; padding: 7px;
  border-radius: 36px;
  background: linear-gradient(145deg, #4a5d82 0%, #1b2840 24%, #0b1322 55%, #1a2740 78%, #46587c 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.20),
    inset 0 -1px 2px rgba(0, 0, 0, 0.45),
    0 26px 52px -16px rgba(0, 0, 0, 0.72),
    0 10px 24px rgba(0, 0, 0, 0.35);
}
/* side buttons */
.phone::before { /* volume, left */
  content: ""; position: absolute; left: -2px; top: 116px; width: 3px; height: 62px;
  border-radius: 3px 0 0 3px; background: linear-gradient(180deg, #3a4a66, #18243c);
}
.phone::after { /* power, right */
  content: ""; position: absolute; right: -2px; top: 148px; width: 3px; height: 46px;
  border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #3a4a66, #18243c);
}
.phone-screen {
  position: relative; width: 100%; border-radius: 28px; overflow: hidden;
  background: #0d1c33; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
  display: grid; place-items: center;
}
.phone-screen img { width: 100%; height: auto; display: block; }
.phone-screen::after { /* subtle glass glare */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 36%);
}

/* two-phone composition */
.phone-duo { display: flex; justify-content: center; align-items: flex-end; }
.phone-duo .phone-front { width: 232px; z-index: 2; }
.phone-duo .phone-back {
  width: 205px; z-index: 1; margin-right: -80px;
  transform: translateY(-28px) rotate(-5deg); filter: brightness(0.9);
}
.phone-duo-rev { flex-direction: row-reverse; }
.phone-duo-rev .phone-back { margin-right: 0; margin-left: -80px; transform: translateY(-28px) rotate(5deg); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 0.5px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled { background: rgba(10, 22, 40, 0.9); border-bottom-color: var(--hairline); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.wordmark-mark { width: 28px; height: 28px; border-radius: 8px; display: block; flex: none; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.wordmark-text { font-weight: 800; font-size: 18px; letter-spacing: 2.5px; padding-left: 1px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) { font-size: 14px; color: var(--text-2); transition: color 0.2s var(--ease); }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-links .btn { margin-left: 4px; }
@media (max-width: 720px) { .nav-links > a:not(.btn) { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + 26px); padding-bottom: 30px; overflow: hidden;
  background:
    radial-gradient(85% 60% at 50% 118%, rgba(245, 197, 24, 0.12), transparent 58%),
    radial-gradient(110% 80% at 50% -12%, rgba(33, 84, 150, 0.32), transparent 62%);
}
.sakura { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 26px; }
.hero-title { font-size: clamp(35px, 9.2vw, 60px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.06; margin-bottom: 20px; text-wrap: balance; }
.hero-sub { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 46ch; }
.hero-copy { text-align: center; }
.hero-br { display: none; }
.hero-sub { margin-inline: auto; }
.rating-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.rating-text { font-size: 14px; color: var(--text-2); }
.rating-text strong { color: var(--text); font-weight: 700; }
.hero-cta { margin-top: 26px; }
.hero-cta .btn { width: 100%; }
.hero-cta-micro { margin-top: 12px; font-size: 13px; color: var(--text-3); letter-spacing: 0.2px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; justify-content: center; }
.badges-center { justify-content: center; }
.badge { border-radius: 8px; transition: transform 0.35s var(--spring), opacity 0.2s var(--ease); opacity: 0.96; }
a.badge:hover { transform: translateY(-2px); opacity: 1; }
.badge svg { border-radius: 8px; }
.badge-soon { cursor: default; opacity: 0.85; }

.hero-visual { position: relative; z-index: 2; display: grid; place-items: center; padding-top: 14px; }

/* Mount Fuji at sunrise (hero base) */
.fuji-scene { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; line-height: 0; }
.fuji { width: 100%; height: auto; display: block; opacity: 0.92; }

/* ============================================================
   STATS
   ============================================================ */
.stats { border-top: 0.5px solid var(--hairline); border-bottom: 0.5px solid var(--hairline); background: var(--base); position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 30px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; border-top: 0.5px solid var(--hairline-soft); }
.stat:nth-child(-n + 2) { border-top: 0; }
.stat:nth-child(odd) { border-right: 0.5px solid var(--hairline-soft); }
.stat-num { font-size: clamp(30px, 8vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1; color: var(--text); }
.stat-num .plus { color: var(--gold); }
.stat-num::after { content: ""; display: block; width: 22px; height: 2.5px; margin: 12px auto 0; background: var(--gold); opacity: 0.9; border-radius: 2px; }
.stat-label { font-size: 13px; color: var(--text-2); line-height: 1.45; max-width: 18ch; }

/* ============================================================
   BRAND STORY - 単語王
   ============================================================ */
.story { padding: 64px 0 60px; text-align: center; }
.story-inner { max-width: 660px; margin: 0 auto; }
.kanji-trio { display: flex; justify-content: center; gap: 24px; margin: 6px 0 22px; }
.kanji-char {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: clamp(48px, 14vw, 78px); font-weight: 800; line-height: 1;
  color: var(--royal-light); text-shadow: 0 6px 26px rgba(46, 111, 214, 0.35);
}
.kanji-crown { color: var(--gold); text-shadow: 0 6px 26px rgba(245, 197, 24, 0.35); }
.kanji-romaji { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-3); text-transform: lowercase; text-shadow: none; }
.story-title { font-size: clamp(25px, 6vw, 34px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.story-title .hl { color: var(--gold); }
.story-eq { font-size: clamp(18px, 4.6vw, 24px); font-weight: 700; color: var(--text-2); margin: 20px 0 2px; letter-spacing: 0.4px; }
.story-eq span { color: var(--text-3); font-size: 0.66em; font-weight: 600; }
.story-eq b { color: var(--gold); margin: 0 7px; }
.story-eq strong { color: var(--gold); font-weight: 800; }
.story-sub { color: var(--text-2); font-size: 16.5px; line-height: 1.65; margin-top: 16px; }

/* ============================================================
   FEATURES + DICTIONARY ROW
   ============================================================ */
.teach { padding: 56px 0 8px; }
.features { padding: 40px 0 8px; }
.feature-row { display: grid; gap: 30px; padding-block: 40px; align-items: center; }
.feature-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.feature-title { font-size: clamp(25px, 6.5vw, 32px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.13; margin-bottom: 14px; }
.feature-sub { color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 46ch; }
.feature-points { margin-top: 22px; gap: 12px; }
.feature-points li { font-size: 14.5px; }
.feature-points .check { width: 20px; height: 20px; }
.feature-points .check::after { left: 6px; top: 5px; width: 4px; height: 8px; }
.feature-visual { display: grid; place-items: center; }

.search-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.sw-label { font-size: 13px; color: var(--text-3); font-weight: 600; }
.sw-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill); background: var(--surface); border: 0.5px solid var(--hairline); font-size: 13.5px; font-weight: 600; color: var(--text); }
.sw-ico { display: inline-grid; place-items: center; width: 18px; height: 18px; font-size: 12px; font-weight: 800; color: var(--royal-light); }

/* ============================================================
   JLPT BAND
   ============================================================ */
.jlpt { padding: 72px 0; border-top: 0.5px solid var(--hairline); }
.levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.level { position: relative; overflow: hidden; background: var(--surface); border: 0.5px solid var(--hairline); border-radius: var(--r-card); padding: 22px 20px 20px; transition: transform 0.4s var(--spring), border-color 0.25s var(--ease); }
.level::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--lv); }
.level:hover { transform: translateY(-4px); border-color: var(--lv); }
.lv-n5 { --lv: var(--n5); } .lv-n4 { --lv: var(--n4); } .lv-n3 { --lv: var(--n3); } .lv-n2 { --lv: var(--n2); } .lv-n1 { --lv: var(--n1); }
.lv-name { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; color: var(--lv); line-height: 1; }
.lv-meta { display: block; font-size: 13px; color: var(--text-2); margin-top: 8px; }
.lv-desc { display: block; font-size: 13px; color: var(--text-3); margin-top: 3px; }
.jlpt-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-3); }

/* ============================================================
   CULTURE (Read real Japanese)
   ============================================================ */
.culture {
  position: relative; padding: 24px 0 80px; margin-top: 56px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(244, 166, 192, 0.10), transparent 55%),
    radial-gradient(70% 60% at 0% 100%, rgba(46, 111, 214, 0.12), transparent 55%),
    var(--surface);
  border-top: 0.5px solid var(--hairline); border-bottom: 0.5px solid var(--hairline);
}
.culture .seigaiha-band { position: absolute; top: 0; left: 0; }
.culture-grid { display: grid; gap: 44px; padding-top: 46px; }
.culture-visual { display: grid; place-items: center; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase { padding: 64px 0 8px; }
.showcase-grid { display: grid; gap: 48px; margin-top: 8px; }
.showcase-item { display: grid; justify-items: center; text-align: center; gap: 20px; }
.showcase-item .phone { width: 232px; transition: transform 0.45s var(--spring); }
.showcase-item:hover .phone { transform: translateY(-6px); }
.showcase-cap { max-width: 32ch; }
.showcase-kicker { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 10px; }
.showcase-name { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.25; }
.showcase-cap p { color: var(--text-2); font-size: 14px; line-height: 1.55; margin-top: 8px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: 72px 0; border-top: 0.5px solid var(--hairline); }
.steps { display: grid; gap: 14px; max-width: 720px; }
.step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 0.5px solid var(--hairline-soft); }
.step:last-child { border-bottom: 0; }
.step-check { flex: none; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; background: rgba(245, 197, 24, 0.16); position: relative; }
.step-check::after { content: ""; position: absolute; left: 9px; top: 7px; width: 6px; height: 11px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.step-num { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--gold-soft); margin-bottom: 8px; }
.step-title { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.3; margin-bottom: 8px; }
.step-sub { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.proof { padding: 72px 0; border-top: 0.5px solid var(--hairline); }
.reviews { display: grid; gap: 16px; }
.review { background: var(--surface); border: 0.5px solid var(--hairline); border-radius: var(--r-card); padding: 24px; transition: transform 0.4s var(--spring), border-color 0.25s var(--ease); }
.review:hover { transform: translateY(-3px); border-color: rgba(245, 197, 24, 0.4); }
.review .stars { margin-bottom: 16px; }
.review-text { font-size: 16px; color: var(--text); line-height: 1.5; margin-bottom: 16px; }
.review-meta { font-size: 13px; color: var(--text-3); }
.proof-note { margin-top: 24px; font-size: 13px; color: var(--text-3); }
.proof-note-dim { color: #54688a; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 72px 0; border-top: 0.5px solid var(--hairline); }
.accordion { display: grid; }
.faq-item { border-bottom: 0.5px solid var(--hairline); }
.faq-item:first-child { border-top: 0.5px solid var(--hairline); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; letter-spacing: -0.2px; color: var(--text); min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform 0.35s var(--spring), opacity 0.2s var(--ease); }
.faq-icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 4px 24px; max-width: 64ch; }
.faq-answer p { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.faq-item[open] .faq-answer { animation: faq-open 0.4s var(--ease) both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative; padding: 88px 0 96px; overflow: hidden; text-align: center;
  border-top: 0.5px solid var(--hairline);
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(22, 91, 170, 0.3), transparent 60%),
    radial-gradient(50% 50% at 50% 100%, rgba(245, 197, 24, 0.08), transparent 70%);
}
.final .sakura { z-index: 0; }
.final-inner { position: relative; z-index: 1; }
.final-title { font-size: clamp(31px, 8vw, 48px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.final-sub { color: var(--text-2); font-size: 17px; max-width: 40ch; margin: 0 auto 30px; }
.final .btn { min-width: 270px; }
.final-micro { margin-top: 16px; font-size: 13px; color: var(--text-3); letter-spacing: 0.2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 52px 0 40px; border-top: 0.5px solid var(--hairline); }
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-tag { color: var(--text-2); font-size: 14px; margin-top: 12px; max-width: 34ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 24px; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 0.5px solid var(--hairline-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-legal p { font-size: 13px; color: var(--text-3); }
.footer-credit { color: #54688a; }

/* ============================================================
   LEGAL & SUPPORT PAGES (privacy, terms, support)
   ============================================================ */
.legal-top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 0.5px solid var(--hairline);
}
.legal-top-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.legal-top-back { font-size: 14px; color: var(--text-2); transition: color 0.2s var(--ease); }
.legal-top-back:hover { color: var(--text); }

.legal { padding: 48px 0 72px; }
.wrap-legal { max-width: 740px; }

.legal-title {
  font-family: "M PLUS Rounded 1c", "Inter", sans-serif;
  font-size: clamp(30px, 7vw, 42px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.12;
}
.legal-updated {
  margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--gold-soft);
}
.legal-body { margin-top: 8px; }
.legal-body p { color: var(--text-2); font-size: 15.5px; line-height: 1.75; margin: 0 0 18px; }
.legal-body p strong, .legal-list li strong { color: var(--text); font-weight: 600; }

.legal-h2 {
  display: flex; gap: 14px; align-items: baseline;
  font-size: 19px; font-weight: 700; letter-spacing: -0.2px; color: var(--text);
  margin: 38px 0 16px; padding-top: 28px; border-top: 0.5px solid var(--hairline);
}
.legal-h2-num {
  flex: none; color: var(--gold-soft); font-variant-numeric: tabular-nums;
  font-size: 14px; font-weight: 700; min-width: 1.4em;
}
.legal-h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 26px 0 10px; }

.legal-list { margin: 0 0 18px; display: grid; gap: 12px; }
.legal-list li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.legal-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); opacity: 0.8;
}

.legal-body a, .legal-foot-note a {
  color: var(--royal-light); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease);
}
.legal-body a:hover, .legal-foot-note a:hover { color: var(--gold-soft); }

.legal-foot-note {
  margin-top: 40px; padding-top: 24px; border-top: 0.5px solid var(--hairline);
  font-size: 14px; color: var(--text-3);
}

/* Support page contact callout */
.support-intro { margin-top: 16px; color: var(--text-2); font-size: 16px; line-height: 1.7; }
.support-cta {
  margin-top: 28px; padding: 28px; background: var(--surface);
  border: 0.5px solid var(--hairline); border-radius: var(--r-card);
}
.support-cta-label { font-size: 18px; font-weight: 600; letter-spacing: -0.2px; color: var(--text-2); }
.support-cta-label strong { color: var(--text); font-weight: 700; white-space: nowrap; }
.support-cta .btn { margin-top: 18px; }
.support-cta-note { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--text-3); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(13, 28, 51, 0.94);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 0.5px solid var(--hairline);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(120%); transition: transform 0.4s var(--spring);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: var(--wrap); margin: 0 auto; }
.sticky-cta-copy { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta-price { font-size: 15px; font-weight: 800; color: var(--text); }
.sticky-cta-sub { font-size: 12px; color: var(--text-3); }
.sticky-cta .btn { flex: none; min-height: 46px; }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--spring); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.wordmark-text { --ws: 2.5px; }
.nav .wordmark-text.animate-in { animation: wordmark-tighten 0.9s var(--spring) both; }
@keyframes wordmark-tighten { from { letter-spacing: 11px; opacity: 0; } to { letter-spacing: 2.5px; opacity: 1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .phone-duo .phone-front { width: 190px; }
  .phone-duo .phone-back { width: 166px; margin-right: -62px; transform: translateY(-22px) rotate(-5deg); }
  .phone-duo-rev .phone-back { margin-right: 0; margin-left: -62px; transform: translateY(-22px) rotate(5deg); }
}

@media (min-width: 600px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-top: 0; }
  .stat:nth-child(odd) { border-right: 0; }
  .stat + .stat { border-left: 0.5px solid var(--hairline-soft); }
  .hero-cta .btn { width: auto; }
  .levels { grid-template-columns: repeat(5, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 861px) {
  :root { --nav-h: 68px; }
  .wrap { padding-inline: 32px; }

  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 44px; }
  .hero-copy { text-align: left; }
  .hero-br { display: inline; }
  .hero-sub { margin-inline: 0; }
  .hero .rating-row, .hero .badges { justify-content: flex-start; }
  .hero-visual { min-height: 560px; align-content: center; }

  .story { padding: 88px 0 76px; }

  .teach { padding: 80px 0 8px; }
  .features { padding: 56px 0 32px; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 56px; }
  .feature-row-rev .feature-text { order: 2; }
  .feature-row-rev .feature-visual { order: 1; }

  .jlpt { padding: 104px 0; }

  .culture { padding: 24px 0 104px; margin-top: 88px; }
  .culture-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-top: 64px; }

  .showcase { padding: 88px 0 24px; }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; margin-top: 48px; }
  .showcase-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-inline: auto; gap: 56px; }
  .showcase-item .phone { width: 242px; }

  .how { padding: 104px 0; }
  .steps { margin: 0 auto; }
  .proof { padding: 96px 0; }
  .faq { padding: 96px 0; }
  .footer { padding: 64px 0 48px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

@media (min-width: 1080px) {
  .phone-duo .phone-front { width: 250px; }
  .phone-duo .phone-back { width: 220px; }
  .hero-visual { min-height: 600px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .badge:hover, .review:hover, .level:hover, .showcase-item:hover .phone { transform: none; }
}
