/* Octobo web: a light, restrained system, independent of the device theme. */
:root {
  color-scheme: only light;
  --sky: #2468ce;
  --sky-deep: #1b54ab;
  --sky-soft: #edf4ff;
  --turquoise: #25816b;
  --turquoise-soft: #eef7f2;
  --indigo: #7160ad;
  --indigo-soft: #f3f0fa;
  --orange: #9a692b;
  --orange-soft: #faf4e9;
  --yellow: #faf4e9;
  --green: #25816b;
  --red: #b85c55;
  --navy: #202c3b;
  --bg: #fff;
  --surface: #fff;
  --surface-2: #f6f8fa;
  --ink: #202c3b;
  --muted: #626e7d;
  --line: #e5e9ef;
  --shadow: 0 20px 50px -24px rgb(32 44 59 / 16%);
  --shadow-sm: 0 6px 18px -10px rgb(32 44 59 / 10%);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shell: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
svg { flex: none; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav-inner { width: min(var(--shell), calc(100% - 64px)); min-height: 84px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sky); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang-select { height: 40px; max-width: 150px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23626e7d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--muted); font-size: 12px; appearance: none; cursor: pointer; }
.menu-toggle { display: none; width: 42px; height: 42px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.nav.open .menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.open .menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 32px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav.open .mobile-menu { display: grid; gap: 4px; }
.mobile-menu a { padding: 10px 0; font-size: 15px; text-decoration: none; }
.mobile-menu .lang-select { width: 100%; max-width: none; margin-block: 10px; }
.mobile-menu .btn { margin-top: 6px; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; transition: background .2s, border-color .2s; }
.btn-primary, .btn-dark { background: var(--sky); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: var(--sky-deep); }
.btn-ghost, .btn-glass { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover, .btn-glass:hover { background: var(--surface-2); border-color: #ccd5df; }
.nav .btn { min-height: 40px; padding: 10px 16px; font-size: 12px; }
.btn svg, .text-link svg { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; text-decoration: none; }
.text-link:hover { color: var(--sky); }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.store-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 20px; background: #202c3b; color: #fff; border: 1px solid #202c3b; border-radius: 10px; text-decoration: none; transition: background .2s; }
.store-btn:hover { background: #344253; }
.store-btn > svg { width: 25px; height: 25px; fill: currentColor; }
.store-btn > span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn small { font-size: 10px; font-weight: 400; }
.store-btn strong { font-size: 19px; font-weight: 600; letter-spacing: -.025em; }

/* The original Octobo blue welcome, with room for the mascot. */
.frame { background: #f6f9fc; color: var(--ink); }
.home .nav { position: fixed; inset: 12px 12px auto; color: #fff; background: transparent; border: 0; border-radius: 24px 24px 0 0; backdrop-filter: none; transition: background .25s, color .25s, box-shadow .25s; }
.home .nav:not(.scrolled):not(.open) .nav-links a { color: rgb(255 255 255 / 88%); }
.home .nav:not(.scrolled):not(.open) .nav-links a:hover { color: #fff; }
.home .nav:not(.scrolled):not(.open) .nav-cta { background: #fff; color: #126ac4; }
.home .nav:not(.scrolled):not(.open) .lang-select { background-color: rgb(255 255 255 / 94%); }
.home .nav:not(.scrolled):not(.open) .menu-toggle { background: rgb(255 255 255 / 15%); color: #fff; border-color: rgb(255 255 255 / 30%); }
.home .nav.scrolled, .home .nav.open { background: rgb(255 255 255 / 97%); color: var(--ink); box-shadow: 0 5px 24px rgb(30 62 100 / 8%); border-radius: 18px; }
.hero-frame { position: relative; overflow: hidden; isolation: isolate; margin: 12px; border-radius: 28px; color: #fff; background: radial-gradient(120% 70% at 50% 110%, rgb(255 255 255 / 55%), transparent 55%), radial-gradient(60% 50% at 85% 15%, rgb(112 109 250 / 35%), transparent 70%), radial-gradient(55% 45% at 10% 30%, rgb(0 184 170 / 30%), transparent 70%), linear-gradient(180deg, #0a6fd6, #1594ec 38%, #1cb0f6 70%, #7fd6fb); }
.hero-frame::after { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 60px, rgb(255 255 255 / 5%) 60px 120px); animation: rays 18s linear infinite; mask-image: linear-gradient(#000, transparent 70%); }
@keyframes rays { to { transform: translateX(120px); } }
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubbles i { position: absolute; bottom: -60px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgb(255 255 255 / 70%), rgb(255 255 255 / 10%) 45%, rgb(255 255 255 / 3%) 70%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 35%); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .7; } 50% { transform: translate(18px, -50vh); } 100% { transform: translate(-12px, -110vh); opacity: 0; } }
.hero { min-height: max(820px, calc(100svh - 24px)); display: flex; flex-direction: column; align-items: center; padding: 130px 24px 0; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.hero h1 { max-width: 1080px; font-family: "Nunito", var(--font); font-size: clamp(56px, 7.3vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.hero h1 .soft { color: rgb(255 255 255 / 75%); }
.hero .lede { max-width: 630px; margin-top: 24px; color: rgb(255 255 255 / 92%); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-actions .store-btn { background: #000; border-color: #000; color: #fff; }
.hero-actions .store-btn:hover { background: #222; }
.hero-actions .btn-glass { min-height: 56px; padding-inline: 24px; background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 35%); color: #fff; border-radius: 10px; }
.hero-actions .btn-glass:hover { background: rgb(255 255 255 / 22%); }
.hero-stage { position: relative; width: min(980px, 100%); height: 340px; min-height: 340px; margin-top: auto; }
.hero-mascot { position: absolute; left: 50%; bottom: -60px; width: 420px; max-width: 78vw; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgb(5 50 120 / 20%)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.float { position: absolute; z-index: 1; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 34px -14px rgb(5 40 100 / 24%); }
.chip .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.chip .ic svg { width: 17px; height: 17px; }
.word-card { width: 192px; padding: 18px 18px 20px; border-radius: 22px; background: #fff; color: var(--navy); text-align: center; box-shadow: 0 24px 50px -20px rgb(5 40 100 / 30%); rotate: -6deg; }
.word-card .tag { display: inline-block; padding: 3px 10px; border-radius: 8px; background: #e1f7f5; color: #00897e; font-size: 11px; font-weight: 600; }
.word-card .icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 14px auto 8px; border-radius: 18px; background: #e6f6fe; color: #168cf5; }
.word-card .icon svg { width: 30px; height: 30px; }
.word-card strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.word-card .ipa { display: block; margin-top: 4px; color: #5b6b86; font-size: 12px; }
.word-card .def { display: inline-block; margin-top: 10px; color: #5b6b86; font-size: 12px; }
.f1 { left: 5%; top: 28px; }
.f2 { right: 5%; top: 32px; animation-delay: -2s; }
.f3 { right: 10%; top: 188px; animation-delay: -4s; }
.f4 { left: 19%; top: 265px; animation-delay: -1s; }

/* Gentle topic ticker, with pause and reduced-motion support. */
.strip { padding-block: 28px 38px; border-block: 1px solid var(--line); background: #fbfcfd; }
.strip-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.strip h2 { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 1.6; text-wrap: pretty; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-group { display: flex; gap: 12px; flex-shrink: 0; padding-right: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .strip.paused .marquee-track { animation-play-state: paused; }
.pack-pill { display: inline-flex; align-items: center; gap: 11px; min-height: 58px; padding: 10px 18px 10px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: border-color .2s; }
.pack-pill:hover { border-color: var(--tone, var(--sky)); }
.pack-icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--tint, var(--sky-soft)); color: var(--tone, var(--sky)); }
.pack-icon svg { width: 21px; height: 21px; }
.tone-blue { --tone: #346fae; --tint: #edf4fc; }
.tone-sage { --tone: #4e806e; --tint: #eff6f1; }
.tone-slate { --tone: #5d748b; --tint: #f0f4f7; }
.tone-violet { --tone: #7b69a3; --tint: #f4f1f9; }
.tone-sand { --tone: #a07945; --tint: #faf5ed; }
.marquee-toggle { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 6px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.marquee-toggle svg { width: 16px; height: 16px; }
.marquee-toggle .play-icon, .paused .marquee-toggle .pause-icon { display: none; }
.paused .marquee-toggle .play-icon { display: block; }

/* Shared section rhythm */
section { position: relative; }
.section { padding-block: 100px; }
.pricing-section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-head > div { max-width: 800px; }
.section-head > .btn { flex: none; }
.section-head.center { justify-content: center; text-align: center; }
.h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -.05em; line-height: 1.1; }
.sub { max-width: 600px; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-head.center .sub { margin-inline: auto; }

/* Product features */
/* Three compact illustrated features, with supporting cards directly below. */
.features-section { padding-bottom: 90px; }
.feature-intro { margin-bottom: 28px; }
.feature-intro .sub { max-width: 610px; font-size: 17px; }
.habit-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; overflow: hidden; width: min(440px, 100%); min-height: 132px; margin: 0 auto 40px; padding: 24px 20px 24px 28px; border-radius: 22px; background: linear-gradient(115deg, #0877de, #24b1ed); color: #fff; }
.habit-card > div { position: relative; z-index: 1; max-width: 255px; }
.habit-card h3 { font-size: 23px; letter-spacing: -.035em; }
.habit-card p { margin-top: 7px; font-size: 13px; line-height: 1.6; color: rgb(255 255 255 / 92%); }
.habit-card img { flex: none; width: 130px; margin: -18px -20px -30px -10px; rotate: -9deg; }
.feature-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-story { position: relative; min-width: 0; overflow: hidden; border-radius: 22px; }
.story-blue { background: #edf6ff; }
.story-mint { background: #edfaf6; }
.story-warm { background: #fff8eb; }
.story-grid { display: flex; flex-direction: column; height: 100%; padding: 24px; }
.story-copy { position: relative; z-index: 1; width: 100%; }
.story-copy h3 { min-height: 2.5em; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.story-copy p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: #5c7088; }
.story-art { position: relative; order: -1; display: grid; place-items: center; flex: none; width: 200px; height: 180px; max-width: 100%; margin: 0 auto 22px; }
.story-art::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(30 130 220 / 10%); box-shadow: 0 0 0 16px rgb(255 255 255 / 22%); }
.story-art img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.story-mint .story-art::before { border-color: rgb(30 150 110 / 10%); }
.story-warm .story-art::before { border-color: rgb(220 150 30 / 10%); }
.features-section .cards-2 { margin-top: 20px; }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.wide-card { display: grid; grid-template-columns: 1fr .64fr; gap: 28px; min-width: 0; overflow: hidden; padding: 32px 0 0 32px; border-radius: var(--radius-lg); border: 1px solid #e2ebf6; background: #f2f6fc; }
.wide-card .copy { padding-bottom: 32px; align-self: center; }
.wide-card .tag { display: inline-flex; align-items: center; gap: 7px; color: var(--sky); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.wide-card .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4b9a7e; }
.wide-card h3 { margin-top: 0; font-size: 25px; }
.wide-card p { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.phone { overflow: hidden; border: 1px solid #d9e1ec; border-radius: 24px; box-shadow: var(--shadow); }
.phone img { display: block; width: 100%; aspect-ratio: 1290 / 1960; object-fit: cover; object-position: center bottom; }
.wide-card .phone { align-self: end; margin: 0 20px -38px 0; border-radius: 16px; }
.trust-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.shield { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--turquoise); background: var(--turquoise-soft); }
.shield svg { width: 21px; height: 21px; }
.trust-card h3 { margin-top: 18px; font-size: 22px; }
.trust-card p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.checks { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.checks li::before, .price li::before { content: ""; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='%2325816b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Four deliberate walkthrough steps, with one screen visible at a time. */
.how { background: #f7f9fb; border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.steps { display: grid; gap: 4px; margin: 30px 0 0; padding: 0; list-style: none; }
.step { width: 100%; display: flex; align-items: flex-start; gap: 16px; padding: 17px 16px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--ink); text-align: left; }
.step:hover { background: #eef2f7; }
.step.active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.step-number { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-top: 2px; border: 1px solid #dbe2eb; border-radius: 8px; color: #788492; font-size: 10px; font-weight: 600; }
.active .step-number { color: var(--sky); border-color: #d8e5f6; background: var(--sky-soft); }
.step-copy { display: block; }
.step-title { display: block; font-size: 14px; font-weight: 600; }
.step-description { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.shots { display: grid; gap: 24px; min-width: 0; }
.shot { display: flex; align-items: flex-end; justify-content: center; min-height: 530px; margin: 0; padding: 40px 46px 0; overflow: hidden; border: 1px solid #e2e9f1; border-radius: var(--radius-xl); background: var(--tint, var(--sky-soft)); }
.shot .phone { width: 100%; max-width: 292px; margin-bottom: -20px; }

/* Word packs */
.packs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pack-card { display: flex; flex-direction: column; gap: 32px; padding: 24px; min-height: 204px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); scroll-margin-top: 110px; transition: border-color .2s, box-shadow .2s; }
.pack-card:hover, .pack-card:target { border-color: #bdcfe6; box-shadow: var(--shadow-sm); }
.pack-card:target { outline: 2px solid #d8e6fa; outline-offset: 3px; }
.pack-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pack-card .pack-icon { width: 46px; height: 46px; border-radius: 12px; }
.pack-card .pack-icon svg { width: 23px; height: 23px; }
.pack-card .badge { color: var(--turquoise); background: var(--turquoise-soft); padding: 3px 7px; border-radius: 5px; font-size: 10px; font-weight: 500; }
.pack-card .meta { margin-top: auto; }
.pack-card h3 { max-width: 210px; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.pack-card .count { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.pack-card.more { background: #f7f9fc; }
.packs-mobile-copy { display: none; }
.pack-card.more p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Plans */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin-inline: auto; }
.price { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.price .name { color: var(--muted); font-size: 13px; font-weight: 600; }
.price .amount { margin-top: 17px; font-size: clamp(28px, 2.5vw, 36px); font-weight: 600; letter-spacing: -.045em; line-height: 1.25; }
.price .note { max-width: 360px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.price ul { display: grid; gap: 13px; margin: 26px 0 30px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.price li { display: flex; gap: 10px; color: #526072; font-size: 13px; line-height: 1.7; }
.price li::before { margin-top: 3px; }
.price .btn { width: 100%; margin-top: auto; }
.price.plus { background: #f8faff; border-color: #b9d0ef; }
.price.plus .name { color: var(--sky); }
.price.plus .btn { background: var(--sky); color: #fff; }
.price.plus .btn:hover { background: var(--sky-deep); }
.price .ribbon { align-self: flex-start; position: absolute; top: 27px; right: 24px; padding: 4px 8px; border-radius: 5px; color: var(--sky); background: #e9f1fe; font-size: 10px; font-weight: 500; }
.fine { max-width: 730px; margin: 24px auto 0; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.8; }
.fine a { color: var(--sky); text-underline-offset: 3px; }

/* Questions */
#faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-side .btn { margin-top: 26px; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: #7b8795; font-size: 23px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 28px 24px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* Closing invitation and a quiet, light footer. */
.cta-frame { position: relative; overflow: hidden; isolation: isolate; margin: 12px; border-radius: 28px; background: #edf6ff; }
.cta { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 440px; padding-block: 70px; padding-right: 35%; }
.cta h2 { max-width: 680px; font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -.05em; }
.cta p { max-width: 490px; margin-top: 22px; color: #5c7088; font-size: 16px; }
.cta .store-btn { margin-top: 28px; }
.cta-mascot { position: absolute; z-index: -1; width: min(500px, 40%); right: 2%; bottom: -60px; rotate: -12deg; }
.footer { background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 48px; padding-block: 64px 44px; }
.foot-grid > div > p { max-width: 250px; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.foot-grid h4 { margin: 3px 0 16px; font-size: 12px; font-weight: 600; }
.foot-grid ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.foot-grid li > a { color: var(--muted); font-size: 12px; text-decoration: none; overflow-wrap: anywhere; }
.foot-grid li > a:hover { color: var(--sky); }
.foot-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 56px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: #6a7685; font-size: 10px; line-height: 1.8; }
.foot-bottom p:first-child { flex: none; }
.foot-bottom p:last-child { max-width: 650px; }

/* Privacy, terms and support share the same light visual system. */
.frame.compact { background: #f7f9fc; border-bottom: 1px solid var(--line); }
.page-hero { max-width: 830px; margin-inline: auto; padding: 70px 32px 64px; text-align: center; }
.page-hero h1 { margin-top: 16px; font-size: clamp(34px, 4vw, 54px); }
.page-hero .lede { max-width: 690px; margin: 20px auto 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.page-hero .updated { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 12px; }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 68px; padding-block: 64px 100px; align-items: start; }
.toc { position: sticky; top: 120px; }
.toc h4 { margin-bottom: 16px; color: var(--ink); font-size: 12px; font-weight: 600; }
.toc ol { display: grid; gap: 4px; margin: 0; padding: 0; border-left: 1px solid var(--line); list-style: none; }
.toc a { display: block; padding: 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 12px; line-height: 1.6; text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--sky); border-color: var(--sky); }
.doc section { padding-block: 28px; border-bottom: 1px solid var(--line); }
.doc section:first-child { padding-top: 0; }
.doc section:last-child { border: 0; }
.doc h2 { margin-bottom: 14px; font-size: 23px; line-height: 1.3; }
.doc p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.doc p + p { margin-top: 14px; }
.doc a { color: var(--sky); text-underline-offset: 3px; }
.support-grid { display: grid; gap: 24px; padding-block: 64px 100px; }
.mail-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 64px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mail-card h2 { font-size: 26px; }
.mail-card .mail { display: inline-block; margin-block: 16px; color: var(--sky); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.035em; text-decoration: none; overflow-wrap: anywhere; }
.mail-card p { max-width: 780px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.mail-card p + p { margin-top: 12px; }
.mail-art { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 24px; background: var(--sky-soft); color: var(--sky); }
.mail-art svg { width: 44px; height: 44px; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.topic .ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 10px; background: var(--tint); color: var(--c); }
.topic .ic svg { width: 21px; height: 21px; }
.topic h2 { font-size: 20px; }
.topic p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.topic.faq-link { display: flex; flex-direction: column; background: #f6f8fc; }
.topic.faq-link .btn { align-self: flex-start; margin-top: 20px; color: var(--sky); background: #fff; border-color: var(--line); font-size: 12px; }

/* Responsive layouts keep the same hierarchy at every size. */
@media (max-width: 1120px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .nav-end { gap: 8px; }
  .nav .btn { padding-inline: 12px; }
  .how-grid, .faq-grid { gap: 52px; }
  .wide-card { grid-template-columns: 1fr .65fr; gap: 18px; }
  .foot-grid { gap: 28px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .section { padding-block: 76px; }
  .cards-2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .wide-card { grid-template-columns: 1fr; padding: 28px; }
  .wide-card .copy { padding: 0; }
  .wide-card .phone { display: none; }
  .trust-card { padding: 28px; }
  .how-grid { gap: 36px; }
  .shot { min-height: 470px; padding-inline: 28px; }
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
  .pack-card { min-height: 190px; }
  .price { padding: 28px; }
  .price .ribbon { position: static; order: -1; margin-bottom: 12px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div > p { max-width: 350px; }
  .legal-grid { grid-template-columns: 180px 1fr; gap: 36px; }
  .topics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .shell, .nav-inner { width: calc(100% - 40px); }
  .nav-inner { min-height: 72px; }
  .brand { font-size: 23px; }
  .brand img { width: 32px; height: 32px; }
  .nav-end > label, .nav-end .nav-cta { display: none; }
  .mobile-menu { padding-inline: 20px; }
  .strip { padding-block: 22px 28px; }
  .strip-head { gap: 16px; margin-bottom: 16px; }
  .strip h2 { font-size: 12px; }
  .pack-pill { padding-right: 14px; font-size: 11px; min-height: 52px; }
  .pack-pill .pack-icon { width: 32px; height: 32px; border-radius: 8px; }
  .pack-pill .pack-icon svg { width: 18px; height: 18px; }
  .section { padding-block: 60px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
  .section-head.center { align-items: flex-start; text-align: left; }
  .section-head.center .sub { margin-inline: 0; }
  .h2 { font-size: 32px; }
  .sub { font-size: 14px; }
  .cards-2 { grid-template-columns: 1fr; gap: 14px; }
  .wide-card { padding: 28px; }
  .wide-card h3 { max-width: 460px; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { margin-top: 24px; }
  .step { padding: 15px 12px; }
  .shot { min-height: 0; padding: 30px 36px 0; }
  .shot .phone { max-width: 260px; }
  .packs-grid { gap: 12px; }
  .packs-grid .pack-extra, .packs-desktop-copy { display: none; }
  .packs-mobile-copy { display: inline; }
  .pack-card { min-height: 168px; padding: 16px; gap: 20px; }
  .pack-card h3 { font-size: 15px; }
  .pack-card .pack-icon { width: 38px; height: 38px; border-radius: 10px; }
  .pack-card .badge { font-size: 9px; padding-inline: 5px; }
  .pack-card .count, .pack-card.more p { font-size: 11px; }
  .price-grid { grid-template-columns: 1fr; gap: 16px; }
  .price { padding: 28px; }
  .price .amount { font-size: 32px; }
  .fine { text-align: left; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-item summary { font-size: 14px; }
  .cta { display: flex; align-items: flex-start; flex-direction: column; padding-block: 44px; }
  .cta h2 { font-size: 30px; }
  .cta .store-btn { margin-top: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 32px; padding-block: 44px 32px; }
  .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 14px; padding-block: 22px 28px; }
  .page-hero { padding: 48px 20px; text-align: left; }
  .page-hero .lede { font-size: 14px; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 60px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; }
  .toc a { font-size: 11px; }
  .doc h2 { font-size: 22px; }
  .support-grid { padding-block: 36px 60px; }
  .mail-card { grid-template-columns: 1fr; padding: 26px; gap: 24px; }
  .mail-art { display: none; }
  .topics { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 380px) {
  .pack-card { min-height: 160px; }
  .toc ol { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero h1 { font-size: clamp(56px, 8.7vw, 86px); }
  .hero { min-height: max(800px, calc(100svh - 24px)); }
  .hero-stage { width: 100%; }
  .feature-stories { gap: 14px; }
  .story-grid { padding: 20px; }
  .story-art { width: 168px; height: 160px; margin-bottom: 20px; }
  .story-copy h3 { font-size: 20px; }
  .story-copy p { font-size: 12px; }
}
@media (max-width: 720px) {
  .home .nav { inset: 6px 6px auto; }
  .hero-frame { margin: 6px; border-radius: 22px; }
  .hero { min-height: max(720px, calc(100svh - 12px)); padding: 112px 18px 0; }
  .hero h1 { font-size: clamp(40px, 10vw, 64px); line-height: 1.03; }
  .hero .lede { max-width: 480px; margin-top: 22px; font-size: 14px; line-height: 1.7; }
  .hero-actions { gap: 10px; margin-top: 25px; }
  .hero-actions .btn-glass { padding-inline: 12px; font-size: 12px; min-height: 52px; }
  .hero-actions .store-btn { min-height: 52px; padding-inline: 16px; }
  .hero-actions .store-btn strong { font-size: 17px; }
  .hero-stage { height: 300px; min-height: 300px; margin-top: auto; }
  .hero-mascot { left: 56%; width: 320px; max-width: 88vw; bottom: -40px; }
  .word-card { width: 116px; padding: 12px; border-radius: 17px; }
  .word-card .tag { font-size: 9px; padding: 2px 8px; }
  .word-card .icon { width: 42px; height: 42px; margin-top: 10px; border-radius: 12px; }
  .word-card .icon svg { width: 23px; height: 23px; }
  .word-card strong { font-size: 22px; }
  .word-card .ipa, .word-card .def { font-size: 9px; }
  .chip { gap: 6px; padding: 7px 10px 7px 7px; font-size: 10px; }
  .chip .ic { width: 24px; height: 24px; }
  .chip .ic svg { width: 14px; height: 14px; }
  .f1 { left: -3px; top: 0; }
  .f2 { right: 0; top: 0; }
  .f3 { right: 0; top: 235px; }
  .f4 { display: none; }
  .feature-intro { align-items: center !important; text-align: center !important; }
  .feature-intro .sub { font-size: 14px; margin-inline: auto !important; }
  .habit-card { min-height: 120px; margin-bottom: 42px; padding: 22px; }
  .habit-card h3 { font-size: 21px; }
  .habit-card p { font-size: 12px; }
  .habit-card img { width: 115px; }
  .feature-stories { grid-template-columns: 1fr; gap: 14px; }
  .feature-story { border-radius: 22px; }
  .story-grid { padding: 24px; }
  .story-copy h3 { min-height: 0; font-size: 22px; line-height: 1.25; }
  .story-copy p { margin-top: 12px; font-size: 13px; line-height: 1.75; }
  .story-art { margin-bottom: 22px; }
  .features-section { padding-bottom: 60px; }
  .features-section .cards-2 { margin-top: 14px; }
  .cta-frame { margin: 6px; border-radius: 22px; }
  .cta { min-height: 620px; padding: 44px 0 255px; }
  .cta h2 { max-width: 450px; font-size: 38px; }
  .cta p { font-size: 14px; }
  .cta-mascot { width: 320px; max-width: 80%; right: -10px; bottom: -58px; }
}
@media (max-width: 380px) {
  .hero { padding-inline: 14px; padding-top: 105px; min-height: max(730px, calc(100svh - 12px)); }
  .hero h1 { font-size: 38px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn-glass { padding-inline: 12px; font-size: 11px; }
  .hero-actions .store-btn { padding-inline: 12px; }
  .hero-actions .store-btn > svg { width: 22px; }
  .habit-card { padding-left: 18px; }
}
/* Progressive entrance animation; content is visible when JS or motion is disabled. */
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(32px); }
.motion-ready .reveal { transition: opacity .75s ease, transform .85s cubic-bezier(.2,.75,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .story-art.reveal:not(.is-visible) { transform: translateY(40px) scale(.96); }
.motion-ready .reveal:focus-within { opacity: 1; transform: none; }
.hero-frame.offscreen, .hero-frame.offscreen *, .hero-frame.offscreen::after { animation-play-state: paused; }
:lang(ja) h1, :lang(ja) .h2, :lang(ko) h1, :lang(ko) .h2 { letter-spacing: -.02em; line-height: 1.3; }
:lang(ja) { line-break: strict; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p { word-break: keep-all; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee { overflow-x: auto; }
  .marquee-group[aria-hidden="true"], .marquee-toggle { display: none !important; }
}
