:root {
  --ink: #142124;
  --muted: #697a7d;
  --line: #e0ece9;
  --paper: #ffffff;
  --soft: #f6fbfa;
  --teal: #18b8a7;
  --teal-deep: #0d8076;
  --mint: #8beedc;
  --dark: #0b3431;
  --shell: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--shell)); margin: 0 auto; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); }
.skip:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(224,236,233,.9); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 13px; box-shadow: 0 8px 20px rgba(19,146,134,.16); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 760; color: #344548; }
.nav-links a:hover, .footer-links a:hover { color: var(--teal-deep); }
.nav-button { min-width: 118px; height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 12px 24px rgba(20,33,36,.12); }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
.menu span { display: block; width: 22px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); }
.mobile-nav { display: grid; gap: 8px; padding: 12px 16px 18px; background: #fff; border-top: 1px solid var(--line); }
.mobile-nav a { padding: 12px 14px; border-radius: 12px; background: #f5f9f8; font-weight: 750; }

.hero { position: relative; overflow: hidden; min-height: 830px; padding: 72px 0 64px; background: linear-gradient(180deg, #fbfffe 0%, #f4faf9 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(to right, rgba(24,184,167,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(24,184,167,.06) 1px, transparent 1px); background-size: 30px 30px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .96fr) minmax(360px, .86fr); align-items: center; gap: 72px; }
.hero-copy { padding-top: 18px; }
.kicker { margin: 0; color: #536567; font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.kicker.teal { color: var(--teal-deep); }
.kicker.mint { color: #92efdf; }
.hero h1, .section-head h2, .kanji-copy h2, .path-wrap h2, .progress-copy h2, .download h2 { margin: 18px 0 0; font-size: clamp(56px, 6.4vw, 88px); line-height: .94; letter-spacing: -.055em; font-weight: 900; }
.hero h1 em, .section-head h2 em, .kanji-copy h2 em, .path-wrap h2 em, .progress-copy h2 em, .download h2 em { font-style: normal; color: var(--teal); }
.hero-text { max-width: 640px; margin: 25px 0 0; font-size: 19px; line-height: 1.7; color: #596d70; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.store-badge { position: relative; display: block; width: 190px; height: 56px; overflow: hidden; flex: 0 0 190px; }
.store-badge.apple img { width: 189px; height: 56px; object-fit: contain; }
.store-badge.google img { position: absolute; width: 216px; max-width: none; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.store-badge:hover { transform: translateY(-1px); }
.availability { margin: 11px 0 0; font-size: 13px; color: #819093; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 760; }
.hero-tags b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: var(--teal-deep); background: #eaf9f6; font-size: 13px; }
.hero-art { position: relative; min-height: 720px; display: flex; align-items: center; justify-content: center; perspective: 1400px; }
.screen-frame { width: min(370px, 30vw); padding: 8px; border-radius: 34px; background: #121719; box-shadow: 0 34px 72px rgba(13,47,50,.22); transform: rotate(4.5deg); }
.screen-frame img { width: 100%; height: auto; border-radius: 27px; }
.hero-note { position: absolute; min-width: 150px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.95); border: 1px solid rgba(220,234,231,.95); box-shadow: 0 18px 38px rgba(11,41,38,.10); }
.hero-note strong { display: block; color: var(--teal-deep); font-size: 24px; letter-spacing: -.03em; }
.hero-note span { color: #687a7d; font-size: 12px; font-weight: 700; }
.note-one { left: 0; top: 24%; }
.note-two { right: -2%; bottom: 20%; }
.hero-orb { position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -180px; top: 60px; background: radial-gradient(circle, rgba(111,232,215,.25), rgba(111,232,215,0) 69%); }
.hero-kanji { position: absolute; left: -42px; bottom: -110px; font-size: 340px; line-height: 1; font-weight: 900; color: rgba(13,128,118,.035); }

.section { padding: 108px 0; }
.section-head { max-width: 760px; }
.section-head.center { text-align: center; margin: 0 auto; }
.section-head h2, .kanji-copy h2, .path-wrap h2, .progress-copy h2, .download h2 { font-size: clamp(46px, 5.5vw, 72px); }
.section-head > p:last-child, .kanji-copy > p, .progress-copy > p { margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feature-card { min-height: 235px; padding: 25px; border-radius: 28px; border: 1px solid rgba(224,236,233,.85); box-shadow: 0 18px 42px rgba(17,53,57,.055); }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); font-size: 25px; font-weight: 900; }
.feature-card h3 { margin: 46px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: #627477; line-height: 1.65; font-size: 14px; }
.mint-card { background: #eefaf7; }
.blue-card { background: #eef6ff; }
.coral-card { background: #fff1ed; }
.green-card { background: #eff9ef; }
.amber-card { background: #fff7e8; }
.violet-card { background: #f5f0ff; }

.sentence-builder {
  margin-top: 34px; padding: 30px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, #ffffff, #f3fbf9);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; box-shadow: 0 18px 42px rgba(17,53,57,.05);
}
.sentence-kicker { letter-spacing: .13em; }
.sentence-builder h3 {
  margin: 10px 0 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 800;
  text-transform: none;
}
.sentence-builder h3 em { color: var(--teal); font-style: normal; font-weight: 800; }
.sentence-builder-copy > p:last-child { margin: 16px 0 0; color: var(--muted); line-height: 1.65; font-size: 15px; }
.sentence-formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; padding: 18px; border-radius: 22px; background: #0b3431; color: #fff; }
.sentence-formula span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 13px; border-radius: 12px; background: rgba(255,255,255,.09); font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: 0; }
.sentence-formula b { color: #8beedc; font-size: 18px; }
.sentence-formula strong { color: #8beedc; font-size: 24px; padding: 0 2px; }
.sentence-formula .result { background: #8beedc; color: #083a35; }

.kanji-section { position: relative; overflow: hidden; background: #fffaf2; }
.kanji-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.kanji-copy { max-width: 570px; }
.check-list { display: grid; gap: 15px; margin-top: 30px; }
.check-list > div { display: grid; grid-template-columns: 36px 1fr; gap: 13px; align-items: start; }
.check-list i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e9faf6; color: var(--teal-deep); font-style: normal; font-weight: 900; }
.check-list span { padding-top: 3px; color: #66777a; line-height: 1.55; font-size: 14px; }
.check-list strong { color: var(--ink); }
.visual-demo { min-height: 570px; position: relative; }
.demo-card { position: absolute; width: 310px; height: 390px; border-radius: 34px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 28px 60px rgba(45,36,26,.15); }
.demo-card strong { font-size: 160px; line-height: .9; color: #fff; text-align: center; margin-top: 34px; }
.demo-card em { font-size: 30px; font-weight: 850; font-style: normal; color: #fff; text-align: center; }
.demo-kicker { color: rgba(255,255,255,.8); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.demo-card.rain { left: 6%; top: 84px; background: linear-gradient(160deg, #0d65ad, #0b8fc7); transform: rotate(-7deg); }
.demo-card.fire { right: 3%; top: 18px; background: linear-gradient(160deg, #f34b29, #d62c1c); transform: rotate(7deg); }
.demo-label { position: absolute; z-index: 4; left: 50%; bottom: 34px; transform: translateX(-50%); padding: 13px 20px; border-radius: 999px; background: #fff; border: 1px solid #eee1ce; box-shadow: 0 14px 34px rgba(63,49,31,.10); font-size: 13px; font-weight: 800; }
.kanji-bg { position: absolute; right: -65px; bottom: -150px; font-size: 420px; font-weight: 950; color: rgba(245,85,57,.035); }

.path-section { background: #f7fbfa; }
.path-wrap { max-width: 1080px; }
.path { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; margin-top: 52px; }
.path-card { min-height: 166px; padding: 22px 14px; border: 1px solid var(--line); border-radius: 24px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 14px 32px rgba(13,47,50,.04); }
.path-card i { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: #eaf9f6; color: var(--teal-deep); font-style: normal; font-size: 23px; font-weight: 900; }
.path-card strong { margin-top: 12px; font-size: 15px; }
.path-card span { margin-top: 5px; color: #7a8b8e; font-size: 11px; text-align: center; }
.path > b { color: #9badad; }

.progress-section { position: relative; overflow: hidden; color: #fff; background: #0a3632; }
.progress-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 80px; }
.progress-copy h2 { color: #fff; }
.progress-copy > p { color: #b5ccc9; }
.progress-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.progress-cards article { min-height: 178px; padding: 23px; border-radius: 24px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.055); }
.progress-cards b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(139,238,220,.13); color: #8beedc; font-size: 20px; }
.progress-cards strong { display: block; margin-top: 24px; font-size: 18px; }
.progress-cards span { display: block; margin-top: 6px; color: #acc2bf; font-size: 13px; line-height: 1.5; }
.progress-circle { position: absolute; width: 610px; height: 610px; border-radius: 50%; right: -210px; top: -180px; border: 1px solid rgba(139,238,220,.1); box-shadow: inset 0 0 0 90px rgba(139,238,220,.02), inset 0 0 0 180px rgba(139,238,220,.012); }

.download { position: relative; overflow: hidden; padding: 110px 0 100px; color: #fff; text-align: center; background: #082a28; }
.download-inner { position: relative; z-index: 2; }
.download-logo { width: 96px; height: 96px; margin: 0 auto 22px; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 48px rgba(0,0,0,.25); }
.download h2 { color: #fff; }
.download > .wrap > p, .download-inner > p:not(.kicker) { margin: 20px 0 0; color: #b8cfcc; font-size: 17px; }
.centered { justify-content: center; }
.download-kanji { position: absolute; right: -46px; bottom: -120px; font-size: 370px; color: rgba(255,255,255,.027); font-weight: 950; }

.footer { color: #a8bfbc; background: #061d1b; }
.footer-grid { min-height: 112px; display: flex; align-items: center; gap: 28px; }
.footer-brand { color: #fff; font-size: 21px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer-brand-block p { margin: 8px 0 0; font-size: 12px; }
.footer-links { margin-left: auto; display: flex; gap: 20px; font-size: 12px; font-weight: 750; }
.footer-bottom { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px; }
.footer-bottom a { color: #c9d8d6; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.delay { transition-delay: .1s; }
.reveal.on { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-button { margin-left: auto; }
  .hero { min-height: auto; }
  .hero-grid, .kanji-grid, .progress-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-art { min-height: 700px; }
  .screen-frame { width: min(365px, 58vw); }
  .note-one { left: 17%; }
  .note-two { right: 17%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .sentence-builder { grid-template-columns: 1fr; }
  .kanji-copy, .progress-copy { max-width: 760px; }
  .visual-demo { width: min(720px,100%); margin: 0 auto; }
}

@media (max-width: 760px) {
  .header { position: relative; backdrop-filter: none; }
  .wrap { width: min(calc(100% - 28px), var(--shell)); }
  .nav { min-height: 68px; }
  .brand { font-size: 22px; }
  .brand img { width: 40px; height: 40px; border-radius: 11px; }
  .nav-button { display: none; }
  .menu { display: block; }
  .hero { padding: 44px 0 72px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-text { font-size: 17px; }
  .store-row { gap: 12px; }
  .store-badge { width: 178px; height: 53px; flex-basis: 178px; }
  .store-badge.apple img { width: 178px; height: 53px; }
  .store-badge.google img { width: 203px; }
  .hero-tags span { width: calc(50% - 5px); }
  .hero-art { min-height: 610px; }
  .screen-frame { width: min(315px, 78vw); }
  .hero-note { transform: scale(.9); }
  .note-one { left: 0; top: 22%; }
  .note-two { right: 0; bottom: 16%; }
  .section { padding: 82px 0; }
  .section-head h2, .kanji-copy h2, .path-wrap h2, .progress-copy h2, .download h2 { font-size: clamp(42px, 12vw, 58px); }
  .feature-grid { grid-template-columns: 1fr; }
  .sentence-builder { padding: 22px; }
  .sentence-formula { justify-content: flex-start; }
  .feature-card { min-height: 210px; }
  .feature-card h3 { margin-top: 34px; }
  .visual-demo { min-height: 470px; }
  .demo-card { width: 235px; height: 315px; border-radius: 28px; padding: 18px; }
  .demo-card strong { font-size: 120px; }
  .demo-card em { font-size: 24px; }
  .demo-card.rain { left: 0; top: 84px; }
  .demo-card.fire { right: 0; top: 10px; }
  .path { grid-template-columns: 1fr 1fr; }
  .path > b { display: none; }
  .progress-cards { grid-template-columns: 1fr; }
  .footer-grid { padding: 26px 0; flex-wrap: wrap; }
  .footer-links { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .footer-bottom { padding: 16px 0; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .store-row { display: grid; grid-template-columns: 1fr; }
  .store-badge { width: 190px; height: 56px; }
  .store-badge.apple img { width: 189px; height: 56px; }
  .store-badge.google img { width: 216px; }
  .hero-tags span { width: 100%; }
  .hero-art { min-height: 570px; }
  .screen-frame { width: 286px; }
  .hero-note { display: none; }
  .visual-demo { min-height: 420px; }
  .demo-card { width: 205px; height: 285px; }
  .demo-card strong { font-size: 104px; }
  .demo-card.rain { left: -8px; }
  .demo-card.fire { right: -8px; }
  .path { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
