:root {
  --paper: #f6f1e6;
  --paper-deep: #efe7d6;
  --card: #fffdf7;
  --ink: #23201a;
  --ink-soft: #6b6354;
  --line: #e2d8c2;
  --red: #c73e26;
  --red-dark: #a33019;
  --red-soft: rgba(199, 62, 38, 0.1);
  --green: #3f7a52;
  --green-dark: #2f5e3f;
  --gold: #826919;
  --indigo: #2d4a78;
  --shadow: 0 14px 40px rgba(71, 55, 30, 0.1);
  --font: "M PLUS Rounded 1c", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --paper: #18160f;
  --paper-deep: #201d14;
  --card: #1e1c15;
  --ink: #ede8dc;
  --ink-soft: #aaa08f;
  --line: #39352a;
  --red: #e05540;
  --red-dark: #c03c28;
  --red-soft: rgba(224, 85, 64, 0.13);
  --green: #4e9464;
  --green-dark: #78b989;
  --gold: #d4ae3f;
  --indigo: #7093cf;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; transition: background .25s ease, color .25s ease; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { width: min(1240px, calc(100% - 32px)); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 100; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 900; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 11px; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 23px; line-height: 1; box-shadow: 0 4px 0 var(--red-dark); }
.brand-name { font-size: 21px; letter-spacing: -.5px; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 800; color: var(--ink-soft); transition: color .18s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.app-store-badge-link { display: inline-flex; border-radius: 8px; transition: transform .15s ease, filter .15s ease; }
.app-store-badge-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.app-store-badge-link:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.app-store-badge { display: block; width: auto; max-width: none; }
.app-store-badge-nav { height: 40px; }
.theme-toggle { border: 1.5px solid var(--line); width: 40px; height: 40px; border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 var(--line); }
.theme-icon { font-size: 18px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 2px; }

.hero { min-height: 700px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(44px, 7vw, 100px); padding-top: 68px; padding-bottom: 100px; }
.eyebrow, .section-kicker, .micro-label { font-size: 12px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; color: var(--red); }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 5px var(--red-soft); }
.hero h1, .contact-intro h1 { margin: 22px 0 22px; font-size: clamp(52px, 6.6vw, 86px); line-height: .99; letter-spacing: -4.5px; max-width: 730px; }
.hero h1 span, .contact-intro h1 span { color: var(--red); }
.hero-lede { max-width: 590px; font-size: 19px; color: var(--ink-soft); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { min-height: 52px; padding: 0 22px; border: 0; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 5px 0 var(--red-dark); }
.button-primary:hover { box-shadow: 0 7px 0 var(--red-dark); }
.button-quiet { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.app-store-badge-hero { height: 52px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 45px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row b { color: var(--red); font-size: 11px; }

.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-visual::before { content: "改善"; position: absolute; inset: auto -20px 0 auto; color: var(--line); font-family: "Zen Kaku Gothic New", sans-serif; font-size: 120px; font-weight: 900; opacity: .52; writing-mode: vertical-rl; letter-spacing: 10px; }
.path-card { position: relative; width: min(100%, 455px); min-height: 525px; padding: 27px 26px 22px; background: var(--card); border: 2px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); transform: rotate(1.1deg); }
.path-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.path-topline > div { display: flex; flex-direction: column; }
.micro-label { font-size: 10px; color: var(--ink-soft); }
.path-topline strong { margin-top: 3px; font-size: 20px; }
.streak-pill { background: rgba(130,105,25,.1); color: var(--gold); border: 1px solid rgba(130,105,25,.25); padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.progress-track { height: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin: 20px 0 14px; overflow: hidden; }
.progress-track span { display: block; width: 58%; height: 100%; background: var(--green); border-radius: inherit; }
.path-line { position: absolute; top: 132px; bottom: 72px; left: 50%; border-left: 3px dashed var(--line); }
.lesson-node { position: relative; z-index: 2; width: 82%; min-height: 91px; display: flex; align-items: center; gap: 14px; padding: 13px; margin: 18px 0; background: var(--card); border: 2px solid var(--line); border-radius: 17px; box-shadow: 0 4px 0 rgba(82,62,34,.11); }
.lesson-node.node-left { margin-right: auto; transform: translateX(-7px); }
.lesson-node.node-right { margin-left: auto; transform: translateX(7px); }
.lesson-node.active { border-color: var(--red); box-shadow: 0 5px 0 var(--red-dark), 0 12px 25px var(--red-soft); }
.lesson-node.complete { border-color: rgba(63,122,82,.45); }
.node-icon { width: 47px; height: 47px; flex: 0 0 47px; display: grid; place-items: center; background: var(--paper); color: var(--ink-soft); border: 2px solid var(--line); border-radius: 14px; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900; }
.complete .node-icon { background: var(--green); color: white; border-color: var(--green); }
.active .node-icon { background: var(--red); color: white; border-color: var(--red); }
.lesson-node div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.lesson-node div:nth-child(2) > span { font-size: 9px; letter-spacing: 1.5px; color: var(--ink-soft); font-weight: 900; }
.lesson-node strong { font-size: 14px; }
.lesson-node small { font-size: 11px; color: var(--ink-soft); }
.you-are-here { position: absolute; right: 12px; top: -13px; background: var(--red); color: white; border-radius: 8px; padding: 3px 8px; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .7px; animation: bob 1.8s ease-in-out infinite; }
.path-reward { position: relative; z-index: 2; text-align: center; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.path-reward span { color: var(--gold); margin-right: 4px; }
.float-chip { position: absolute; z-index: 4; padding: 9px 13px; border-radius: 11px; background: var(--card); border: 1.5px solid var(--line); box-shadow: 0 7px 20px rgba(65,48,25,.12); font-size: 12px; font-weight: 900; }
.chip-one { top: 70px; right: -18px; color: var(--green); transform: rotate(5deg); }
.chip-two { bottom: 40px; left: -28px; color: var(--indigo); transform: rotate(-5deg); }

.meaning-band { background: var(--ink); color: var(--paper); padding: 105px 0; overflow: hidden; position: relative; }
html[data-theme="dark"] .meaning-band { background: #0f0e0a; }
.meaning-band::after { content: "1%"; position: absolute; right: -40px; bottom: -120px; font-size: 370px; font-weight: 900; letter-spacing: -30px; color: rgba(255,255,255,.025); line-height: 1; }
.meaning-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(55px, 9vw, 130px); align-items: center; position: relative; z-index: 1; }
.meaning-copy .section-kicker { color: #e88b78; }
.meaning-copy h2, .section-heading h2, .progressive-copy h2, .closing-cta h2 { margin: 12px 0 20px; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.08; letter-spacing: -2.7px; }
.meaning-copy p { color: #d2cabd; font-size: 18px; max-width: 480px; }
.meaning-copy p strong { color: white; }
.meaning-copy .meaning-note { font-size: 14px; color: #a9a092; margin-top: 32px; }
.compound-card { padding: 30px; color: var(--ink); background: #fffdf7; border-radius: 25px; transform: rotate(-.6deg); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
html[data-theme="dark"] .compound-card { background: #242118; }
.compound-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.compound-header > div:first-child { display: flex; flex-direction: column; }
.compound-header strong { margin-top: 4px; font-size: 18px; }
.compound-total { text-align: right; }
.compound-total span { display: block; color: var(--red); font-size: 38px; line-height: 1; font-weight: 900; letter-spacing: -2px; }
.compound-total small { color: var(--ink-soft); font-size: 10px; }
.growth-chart { height: 205px; margin: 28px 0 18px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1.5px solid var(--line); background: repeating-linear-gradient(to top, transparent 0, transparent 50px, var(--line) 51px); }
.growth-bar { flex: 1; min-width: 6px; height: var(--height); background: var(--bar, var(--red)); border-radius: 7px 7px 0 0; opacity: var(--opacity, .65); transition: height .3s cubic-bezier(.22,1,.36,1), opacity .3s ease; }
.growth-bar:last-child { opacity: 1; }
.range-label { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.days-range { width: 100%; accent-color: var(--red); cursor: ew-resize; }
.compound-insight { display: flex; align-items: center; gap: 12px; margin-top: 19px; padding: 13px; border-radius: 13px; background: var(--red-soft); color: var(--ink); }
.insight-mark { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: #fff; font-weight: 900; }
.compound-insight p { margin: 0; font-size: 12px; line-height: 1.5; }

.learning, .categories { padding-top: 120px; padding-bottom: 120px; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { margin: 0; color: var(--ink-soft); font-size: 18px; max-width: 680px; }
.stage-explorer { background: var(--card); border: 2px solid var(--line); border-radius: 25px; box-shadow: var(--shadow); overflow: hidden; }
.stage-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px; gap: 8px; background: var(--paper-deep); border-bottom: 1.5px solid var(--line); }
.stage-tab { display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; padding: 13px 15px; background: transparent; color: var(--ink-soft); font-weight: 900; cursor: pointer; }
.stage-tab span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid var(--line); font-family: "Zen Kaku Gothic New", sans-serif; font-size: 12px; }
.stage-tab.is-active { background: var(--card); color: var(--red); box-shadow: 0 3px 0 var(--line); }
.stage-tab.is-active span { background: var(--red); border-color: var(--red); color: white; }
.stage-panel { min-height: 460px; display: grid; grid-template-columns: 95px 1fr 1.05fr; gap: 38px; align-items: center; padding: 45px; }
.stage-number { align-self: start; color: var(--line); font-size: 70px; line-height: 1; font-weight: 900; letter-spacing: -5px; }
.stage-label { color: var(--red); font-size: 11px; letter-spacing: 1.5px; font-weight: 900; }
.stage-copy h3 { margin: 9px 0 13px; font-size: 33px; line-height: 1.12; letter-spacing: -1.3px; }
.stage-copy p { color: var(--ink-soft); }
.stage-copy ul { padding: 0; margin: 22px 0 0; list-style: none; }
.stage-copy li { position: relative; padding: 7px 0 7px 28px; font-size: 14px; font-weight: 700; }
.stage-copy li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(63,122,82,.12); color: var(--green); font-size: 10px; }
.stage-demo { min-height: 355px; display: flex; flex-direction: column; justify-content: center; padding: 24px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 19px; }
.demo-tag { color: var(--ink-soft); font-size: 10px; font-weight: 900; letter-spacing: 1.2px; }
.speech-card { position: relative; margin-top: 20px; padding: 20px; background: var(--card); border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 4px 0 var(--line); }
.speech-card b { color: var(--red); font-size: 17px; }
.speech-card p { font-size: 13px; }
.formula { margin-top: 13px; padding: 10px; border-radius: 9px; border: 1.5px dashed var(--red); text-align: center; font-weight: 900; }
.stage-demo > button { margin-top: 18px; min-height: 44px; border: 0; border-radius: 11px; background: var(--red); color: white; font-weight: 900; box-shadow: 0 4px 0 var(--red-dark); }
.question-choice { display: block; width: 100%; margin: 9px 0 0; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); text-align: left; font-weight: 800; font-size: 12px; }
.question-choice.selected { border-color: var(--red); background: var(--red-soft); }
.challenge-badge { width: 74px; height: 74px; margin: 18px auto; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--gold); color: var(--gold); font-size: 30px; box-shadow: 0 0 0 8px rgba(130,105,25,.08); }

.progressive-section { padding: 115px 0; background: var(--paper-deep); border-block: 1px solid var(--line); }
.progressive-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(60px, 10vw, 140px); }
.progressive-visual { min-height: 500px; position: relative; }
.route-line { position: absolute; top: 46px; bottom: 46px; left: 48px; border-left: 3px dashed var(--line); }
.route-step { position: absolute; left: 0; display: flex; align-items: center; gap: 20px; }
.route-step > span { width: 96px; height: 96px; flex: 0 0 96px; display: grid; place-items: center; border-radius: 28px; border: 2px solid var(--line); background: var(--card); box-shadow: 0 5px 0 var(--line); font-size: 25px; font-weight: 900; color: var(--ink-soft); }
.route-step div { min-width: 150px; padding: 12px 18px; background: var(--card); border: 1.5px solid var(--line); border-radius: 13px; box-shadow: 0 5px 20px rgba(67,50,24,.07); }
.route-step small { display: block; color: var(--ink-soft); font-size: 9px; letter-spacing: 1.4px; font-weight: 900; }
.route-step b { font-size: 14px; }
.route-one { top: 0; left: 0; }
.route-two { top: 127px; left: 82px; }
.route-three { top: 254px; left: 24px; }
.route-four { top: 381px; left: 119px; }
.route-four > span { background: var(--red); border-color: var(--red); box-shadow: 0 5px 0 var(--red-dark); color: white; transform: rotate(4deg); }
.progressive-copy > p { color: var(--ink-soft); font-size: 18px; }
.principle-list { margin-top: 32px; display: grid; gap: 11px; }
.principle-list > div { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border: 1.5px solid var(--line); background: var(--card); border-radius: 13px; }
.principle-list > div > span { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; background: var(--red-soft); color: var(--red); font-weight: 900; }
.principle-list p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.principle-list strong { color: var(--ink); }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { min-height: 225px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1.5px solid var(--line); border-radius: 19px; background: var(--card); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.category-card::after { content: ""; position: absolute; right: -40px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; background: var(--category-soft); }
.category-card:hover { transform: translateY(-5px); border-color: var(--category); box-shadow: var(--shadow); }
.category-wide { grid-column: span 2; }
.category-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--category-soft); font-size: 25px; }
.category-card small { color: var(--category); letter-spacing: 1.4px; font-size: 9px; font-weight: 900; }
.category-card h3 { margin: 3px 0 5px; font-size: 23px; }
.category-card p { margin: 0; max-width: 360px; color: var(--ink-soft); font-size: 13px; }
.category-arrow { position: absolute; top: 24px; right: 24px; color: var(--category); font-size: 22px; }

.closing-cta { position: relative; min-height: 330px; margin-bottom: 95px; padding: 55px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; background: var(--red); color: white; border-radius: 29px; box-shadow: 0 8px 0 var(--red-dark); }
.closing-cta .section-kicker { color: rgba(255,255,255,.72); }
.closing-cta h2 { margin-bottom: 8px; }
.closing-cta p { margin: 0; color: rgba(255,255,255,.8); }
.button-light { flex: 0 0 auto; background: #fffdf7; color: #8e2a18; box-shadow: 0 5px 0 rgba(110,25,10,.32); }
.cta-kanji { position: absolute; right: 220px; bottom: -65px; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 180px; font-weight: 900; opacity: .07; }

.site-footer { min-height: 160px; padding-block: 35px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; border-top: 1.5px solid var(--line); }
.site-footer .brand-mark { width: 34px; height: 34px; font-size: 19px; border-radius: 9px; box-shadow: 0 3px 0 var(--red-dark); }
.site-footer .brand-name { font-size: 18px; }
.site-footer p { color: var(--ink-soft); font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; font-size: 12px; font-weight: 800; }
.site-footer small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 10px; }

.contact-main { padding-top: 55px; padding-bottom: 120px; }
.contact-intro { max-width: 1180px; padding-top: 35px; padding-bottom: 65px; }
.back-link { display: inline-block; margin-bottom: 43px; color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 800; }
.back-link:hover { color: var(--red); }
.contact-intro h1 { max-width: 790px; margin-block: 16px 24px; }
.contact-intro > p { max-width: 620px; color: var(--ink-soft); font-size: 19px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }
.contact-options { display: grid; gap: 16px; }
.contact-method { min-height: 150px; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 18px; padding: 22px; background: var(--card); border: 1.5px solid var(--line); border-radius: 19px; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.contact-method:hover { transform: translateY(-3px); border-color: var(--method); box-shadow: var(--shadow); }
.method-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: var(--method-soft); color: var(--method); font-size: 26px; font-weight: 900; }
.email-method { --method: var(--red); --method-soft: var(--red-soft); }
.whatsapp-method { --method: #297d4d; --method-soft: rgba(41,125,77,.11); }
.contact-method small { color: var(--method); font-size: 9px; font-weight: 900; letter-spacing: 1.5px; }
.contact-method h2 { margin: 2px 0 2px; font-size: 20px; }
.contact-method p { margin: 0; color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }
.method-arrow { color: var(--method); font-size: 21px; }
.contact-note { display: flex; align-items: center; gap: 15px; margin-top: 15px; padding: 19px; border-radius: 15px; background: var(--paper-deep); color: var(--ink-soft); }
.contact-note > span { color: var(--red); font-family: "Zen Kaku Gothic New", sans-serif; font-size: 30px; font-weight: 900; }
.contact-note p { margin: 0; font-size: 12px; }
.contact-note strong { color: var(--ink); }
.contact-form { padding: clamp(25px, 4vw, 46px); background: var(--card); border: 2px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-heading { margin-bottom: 30px; }
.form-heading h2 { margin: 5px 0; font-size: 32px; letter-spacing: -1px; }
.form-heading p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.contact-form label { display: block; margin: 17px 0 7px; font-size: 12px; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); padding: 13px 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.contact-form textarea { resize: vertical; min-height: 145px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.form-submit { width: 100%; margin-top: 23px; }
.form-status { min-height: 24px; margin: 10px 0 0; color: var(--green); text-align: center; font-size: 12px; font-weight: 800; }

/* Collaborations */
.collaborations-main { padding-top: 35px; }
.collaboration-hero { min-height: 600px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(50px, 9vw, 130px); padding-top: 45px; padding-bottom: 95px; }
.collaboration-hero-copy h1 { margin: 16px 0 24px; font-size: clamp(50px, 6.2vw, 82px); line-height: 1; letter-spacing: -4px; }
.collaboration-hero-copy h1 span { color: var(--red); }
.collaboration-hero-copy > p { max-width: 620px; color: var(--ink-soft); font-size: 19px; }
.collaboration-orbit { position: relative; min-height: 430px; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 154px; height: 154px; transform: translate(-50%, -50%); display: grid; place-items: center; align-content: center; border-radius: 38px; background: var(--red); color: white; box-shadow: 0 9px 0 var(--red-dark), 0 24px 55px rgba(115,43,25,.24); z-index: 2; }
.orbit-core b { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 61px; line-height: .9; }
.orbit-core small { margin-top: 9px; font-size: 9px; font-weight: 900; letter-spacing: 2px; }
.orbit-line { position: absolute; left: 50%; top: 50%; border: 2px dashed var(--line); border-radius: 50%; transform: translate(-50%, -50%) rotate(-10deg); }
.orbit-line-one { width: 330px; height: 245px; }
.orbit-line-two { width: 415px; height: 350px; transform: translate(-50%, -50%) rotate(20deg); }
.orbit-node { position: absolute; z-index: 3; min-width: 106px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--card); box-shadow: 0 5px 0 var(--line); text-align: center; font-size: 12px; font-weight: 900; }
.orbit-teacher { left: 1%; top: 17%; color: var(--red); transform: rotate(-5deg); }
.orbit-center { right: 0; top: 22%; color: var(--green); transform: rotate(5deg); }
.orbit-apps { right: 9%; bottom: 12%; color: var(--indigo); transform: rotate(-3deg); }
.collaboration-directory { padding: 105px 0 120px; background: var(--paper-deep); border-block: 1px solid var(--line); }
.directory-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 38px; }
.directory-heading h2 { margin: 10px 0 0; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.08; letter-spacing: -2.5px; }
.directory-heading > p { margin: 0 0 6px; color: var(--ink-soft); font-size: 17px; }
.collaboration-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 23px; }
.collaboration-tab { min-height: 44px; padding: 0 17px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-soft); font-size: 13px; font-weight: 900; cursor: pointer; }
.collaboration-tab:hover { border-color: var(--red); color: var(--red); }
.collaboration-tab.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); box-shadow: 0 3px 0 var(--ink-soft); }
.collaboration-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.collaboration-card { overflow: hidden; border: 2px solid var(--line); border-radius: 25px; background: var(--card); box-shadow: var(--shadow); }
.collaboration-featured { grid-column: 1 / -1; }
.collaboration-card-topline { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1.5px solid var(--line); background: var(--paper); }
.partner-type, .partner-status { font-size: 11px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.partner-type { display: inline-flex; align-items: center; gap: 8px; color: var(--indigo); }
.partner-type i { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 5px rgba(45,74,120,.1); }
.partner-status { color: var(--green); }
.collaboration-card-body { padding: clamp(28px, 5vw, 54px); }
.partner-identity { display: flex; align-items: center; gap: 20px; }
.partner-mark { width: 78px; height: 78px; flex: 0 0 78px; display: grid; place-items: center; border-radius: 22px; background: var(--indigo); color: white; box-shadow: 0 6px 0 #213756; font-family: Georgia, serif; font-size: 42px; font-weight: 700; }
.partner-identity small { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: 1.8px; }
.partner-identity h2 { margin: 1px 0 0; font-size: clamp(33px, 5vw, 55px); line-height: 1; letter-spacing: -2px; }
.collaboration-card-body > p { max-width: 820px; margin: 28px 0 24px; color: var(--ink-soft); font-size: 18px; }
.partner-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-topics span { padding: 7px 12px; border-radius: 999px; background: rgba(45,74,120,.1); color: var(--indigo); font-size: 12px; font-weight: 900; }
.collaboration-card-action { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px; border-top: 1.5px solid var(--line); background: var(--paper); }
.collaboration-card-action > div { display: flex; flex-direction: column; }
.collaboration-card-action small { color: var(--ink-soft); font-size: 9px; font-weight: 900; letter-spacing: 1.4px; }
.collaboration-card-action strong { margin-top: 3px; font-size: 13px; }
.collaboration-card-action .button { flex: 0 0 auto; }
.collaboration-empty { padding: 70px 20px; border: 2px dashed var(--line); border-radius: 22px; background: var(--card); text-align: center; }
.collaboration-empty > span { width: 54px; height: 54px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 16px; background: var(--red-soft); color: var(--red); font-size: 29px; }
.collaboration-empty h3 { margin: 0 0 6px; font-size: 21px; }
.collaboration-empty p { margin: 0; color: var(--ink-soft); }
.collaboration-cta { position: relative; min-height: 330px; margin-top: 95px; margin-bottom: 95px; padding: 55px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; background: var(--red); color: white; border-radius: 29px; box-shadow: 0 8px 0 var(--red-dark); }
.collaboration-cta .section-kicker { color: rgba(255,255,255,.72); }
.collaboration-cta h2 { max-width: 700px; margin: 10px 0 8px; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -2.3px; }
.collaboration-cta p { margin: 0; color: rgba(255,255,255,.8); }
.collaboration-cta .button { position: relative; z-index: 1; }

/* App Store promotion redirect */
.store-redirect-main { min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; }
.store-redirect-card { width: min(100%, 520px); padding: clamp(32px, 7vw, 58px); border: 2px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); text-align: center; }
.store-redirect-brand { justify-content: center; margin-bottom: 36px; }
.store-redirect-loader { width: 64px; height: 64px; margin: 0 auto 28px; padding: 7px; border: 2px solid var(--line); border-radius: 20px; background: var(--paper); transform: rotate(4deg); }
.store-redirect-loader span { width: 100%; height: 100%; display: block; border: 5px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: storeRedirectSpin .85s linear infinite; }
.store-redirect-card h1 { margin: 9px 0 12px; font-size: clamp(36px, 8vw, 52px); line-height: 1.05; letter-spacing: -2px; }
.store-redirect-card > p { max-width: 380px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; }
.store-redirect-badge { width: max-content; margin: 28px auto 13px; }
.store-redirect-badge .app-store-badge { height: 52px; }
.store-redirect-card > small { display: block; color: var(--ink-soft); font-size: 12px; }
.store-redirect-noscript { margin-top: 16px !important; color: var(--red) !important; font-size: 13px !important; font-weight: 800; }
@keyframes storeRedirectSpin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 980px) {
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { width: min(560px, 100%); margin-inline: auto; }
  .meaning-grid, .progressive-grid, .contact-layout, .collaboration-hero, .directory-heading { grid-template-columns: 1fr; }
  .meaning-copy { text-align: center; }
  .meaning-copy p { margin-inline: auto; }
  .stage-panel { grid-template-columns: 70px 1fr; }
  .stage-demo { grid-column: 1 / -1; min-height: 320px; }
  .progressive-visual { width: min(500px, 100%); margin-inline: auto; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-wide { grid-column: span 2; }
  .collaboration-hero { gap: 25px; }
  .collaboration-orbit { width: min(520px, 100%); margin-inline: auto; }
  .directory-heading { gap: 16px; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 74px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 3px; padding: 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px; }
  .nav-store-badge-link { justify-content: center; padding: 7px 11px; }
  .theme-toggle { width: 100%; border-radius: 10px; }
  .hero { min-height: auto; padding-top: 46px; padding-bottom: 85px; }
  .hero h1, .contact-intro h1 { font-size: clamp(48px, 14vw, 67px); letter-spacing: -3.3px; }
  .hero-lede { font-size: 17px; }
  .trust-row { gap: 11px 18px; }
  .hero-visual { min-height: 530px; }
  .path-card { width: calc(100% - 14px); min-height: 500px; padding: 22px 17px; }
  .lesson-node { width: 89%; }
  .chip-one { right: 0; }
  .chip-two { left: 0; }
  .meaning-band, .learning, .categories { padding-top: 85px; padding-bottom: 85px; }
  .meaning-grid { gap: 48px; }
  .compound-card { padding: 21px; }
  .compound-header { align-items: flex-end; }
  .compound-total span { font-size: 31px; }
  .growth-chart { height: 165px; gap: 5px; }
  .stage-tabs { gap: 4px; padding: 7px; }
  .stage-tab { padding: 10px 5px; font-size: 12px; }
  .stage-panel { grid-template-columns: 1fr; gap: 16px; padding: 26px 20px; }
  .stage-number { font-size: 48px; }
  .stage-demo { grid-column: auto; }
  .progressive-section { padding: 85px 0; }
  .progressive-grid { gap: 55px; }
  .progressive-visual { min-height: 490px; transform: scale(.92); transform-origin: center; }
  .route-step > span { width: 80px; height: 80px; flex-basis: 80px; border-radius: 22px; }
  .route-line { left: 40px; }
  .route-two { left: 55px; }
  .route-three { left: 4px; }
  .route-four { left: 58px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-wide { grid-column: auto; }
  .closing-cta { margin-bottom: 70px; padding: 40px 27px; flex-direction: column; align-items: flex-start; }
  .button-light { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; }
  .site-footer p { margin: 0; }
  .site-footer nav { margin-block: 12px; flex-wrap: wrap; }
  .site-footer small { grid-column: auto; }
  .contact-main { padding-top: 10px; padding-bottom: 85px; }
  .contact-intro { padding-bottom: 45px; }
  .contact-intro > p { font-size: 17px; }
  .collaborations-main { padding-top: 10px; }
  .collaboration-hero { min-height: auto; padding-top: 35px; padding-bottom: 75px; }
  .collaboration-hero-copy h1 { font-size: clamp(47px, 13.5vw, 67px); letter-spacing: -3px; }
  .collaboration-hero-copy > p { font-size: 17px; }
  .collaboration-directory { padding: 80px 0 90px; }
  .collaboration-card-action { align-items: stretch; flex-direction: column; }
  .collaboration-card-action .button { width: 100%; }
  .collaboration-cta { margin-block: 70px; padding: 40px 27px; flex-direction: column; align-items: flex-start; }
  .collaboration-cta .button { width: 100%; }
}

@media (max-width: 430px) {
  .hero-actions .button { width: 100%; }
  .path-topline { flex-direction: column; }
  .streak-pill { align-self: flex-start; }
  .path-line { top: 165px; }
  .lesson-node { width: 94%; }
  .lesson-node.node-left, .lesson-node.node-right { transform: none; }
  .float-chip { display: none; }
  .compound-header { flex-direction: column; align-items: flex-start; }
  .compound-total { text-align: left; }
  .stage-tab span { display: none; }
  .route-step div { min-width: 140px; }
  .contact-method { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 17px; }
  .method-icon { width: 50px; height: 50px; }
  .collaboration-orbit { min-height: 340px; transform: scale(.88); transform-origin: center; }
  .orbit-line-one { width: 260px; height: 200px; }
  .orbit-line-two { width: 310px; height: 265px; transform: translate(-50%, -50%) rotate(10deg); }
  .orbit-core { width: 132px; height: 132px; border-radius: 32px; }
  .orbit-core b { font-size: 53px; }
  .orbit-teacher { left: -2%; }
  .orbit-center { right: 0; }
  .orbit-apps { right: 0; }
  .collaboration-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .collaboration-tab { padding-inline: 10px; }
  .collaboration-card-topline { align-items: flex-start; flex-direction: column; }
  .partner-identity { align-items: flex-start; flex-direction: column; }
  .partner-mark { width: 66px; height: 66px; flex-basis: 66px; border-radius: 18px; }
  .collaboration-card-body > p { font-size: 16px; }
}

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