/* PopWords website — the app's look: pastel sky, ink outlines, chunky "ledge" shadows, rounded type.
   Light only on purpose (it's an illustrated scene, like the app, which also forces light mode). */
:root {
  color-scheme: light;
  --ink: #262A55;
  --ink-soft: #4A4E7A;
  --muted: #62668F;
  --bg: #F3F7FF;
  --paper: #FFFFFF;
  --line: #C9D2EE;
  --coral: #FF6B5B; --coral-top: #FF9277; --coral-bot: #FF5F57;
  --sun: #FFC93C; --butter: #FFD95A; --sun-soft: #FFF0C2;
  --mint: #3FCB9B; --mint-soft: #8BE6C6;
  --sky: #5AA9FF; --sky-soft: #DDEBFF;
  --grape: #9B7BFF; --grape-soft: #EDE6FF;
  --pink-soft: #FFE3DE; --chip: #E8EEFF;
  --en: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  --round: var(--en), var(--jp);
  --edge: 2.5px solid var(--ink);
  --ledge: 0 5px 0 var(--ink);
}
:lang(ja) { --round: var(--jp); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
/* body carries the page-top colour (iOS Safari tints its bars from it, not from theme-color);
   the content area gets the regular background. clip, not hidden: no sideways panning on iOS, sticky nav keeps working. */
html, body { overflow-x: clip; }
body { margin: 0; background: var(--top, var(--bg)); color: var(--ink); font: 500 17px/1.75 var(--round); -webkit-font-smoothing: antialiased; }
main { background: var(--bg); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.3; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: normal; }
ruby rt { font-size: .5em; font-weight: 700; letter-spacing: 0; opacity: .8; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.center { text-align: center; }
.hide-s { }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.eyebrow { display: inline-block; font-size: 14px; font-weight: 900; letter-spacing: .04em; color: var(--ink); background: var(--butter); border: 2px solid var(--ink); padding: 4px 14px; border-radius: 99px; box-shadow: 0 3px 0 var(--ink); }
.eyebrow ruby rt { font-size: .55em; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; display: grid; justify-items: center; gap: 16px; }
.sec-head h2 { font-size: clamp(28px, 4.2vw, 44px); }
.sec-head p { color: var(--ink-soft); font-size: 17.5px; line-height: 2; }
.fine { color: var(--muted); font-size: 14px; margin-top: 26px; line-height: 2; }
.more { font-weight: 900; color: var(--coral); text-decoration: none; border-bottom: 2.5px solid currentColor; padding-bottom: 1px; }
.more:hover { color: var(--coral-bot); }

/* ---------- nav ---------- */
.nav-bar { position: sticky; top: 0; z-index: 50; background: var(--top); transition: box-shadow .3s; }
/* page-top colour shared with Safari's bars (theme-color in build.js) */
html.top-home { --top: #A9DCFF; background: var(--top); }
html.top-doc { --top: #EAF3FF; background: var(--top); }
.scrolled .nav-bar { box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.brand .name { font-size: 22px; font-weight: 900; }
.brand .sub { font-family: var(--en); font-size: 13px; font-weight: 800; color: var(--muted); }
.brand .sub:lang(ja) { font-family: var(--jp); }
.links { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 700; }
.links > a:not(.cta) { text-decoration: none; color: var(--ink-soft); }
.links > a:not(.cta):hover { color: var(--ink); }
.langs { display: flex; gap: 2px; background: rgba(255, 255, 255, .7); border: 2px solid var(--line); border-radius: 99px; padding: 2px; }
.langs a { white-space: nowrap; text-decoration: none; padding: 2px 10px; border-radius: 99px; font-size: 13px; color: var(--muted); }
.langs a[aria-current] { background: var(--ink); color: #fff; }
.cta, .btn { white-space: nowrap; text-decoration: none; color: #fff; font-weight: 900; padding: 8px 18px; border-radius: 16px; border: var(--edge);
  background: linear-gradient(var(--coral-top), var(--coral-bot)); box-shadow: 0 4px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .45); transition: transform .12s, box-shadow .12s; text-shadow: 0 1px 0 rgba(120, 30, 20, .35); }
.cta:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .45); }
.cta:active, .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* ---------- phone ---------- */
.phone { position: relative; width: 100%; aspect-ratio: 630 / 1368; border: 3px solid var(--ink); border-radius: 13% / 6%; overflow: hidden; background: #fff; box-shadow: 0 7px 0 var(--ink), 0 30px 50px -20px rgba(38, 42, 85, .45); transform: rotate(var(--r, 0deg)); }
.phone img { width: 100%; height: 100% !important; object-fit: cover; }

/* ---------- tiles (the app's letter tiles) ---------- */
.tile { position: absolute; display: grid; place-items: center; width: 54px; height: 62px; border-radius: 14px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); font: 800 34px/1 var(--en); color: var(--ink); z-index: 2; animation: bob 5s ease-in-out infinite; }
.t1 { background: var(--mint-soft); left: -4%; top: 14%; --rot: -10deg; }
.t2 { background: #FFB8AD; right: 2%; top: 4%; --rot: 8deg; animation-delay: -1.2s; }
.t3 { background: var(--butter); right: -6%; top: 48%; --rot: 12deg; animation-delay: -2.4s; }
.t4 { background: var(--grape-soft); left: 2%; bottom: 20%; --rot: -6deg; animation-delay: -3.1s; width: 44px; height: 52px; font-size: 28px; }
.t5 { background: var(--sky-soft); left: 30%; top: -5%; --rot: -4deg; animation-delay: -.6s; width: 46px; height: 54px; font-size: 28px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--rot)); } 50% { transform: translateY(-12px) rotate(calc(var(--rot) * -.6)); } }

/* ---------- hero ---------- */
.home .nav-bar { margin-bottom: -68px; }
.hero { position: relative; padding: 116px 0 0; overflow: hidden; background: var(--top); }
.hero .sky { position: absolute; inset: 0; background: url(/assets/scene-day.webp) center bottom / cover no-repeat; }
.hero .sky::after { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, rgba(200, 242, 210, .0)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; min-height: 640px; padding-bottom: 150px; }
.intro { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.4; letter-spacing: .01em; }
.hero h1 em { color: var(--coral); -webkit-text-stroke: 0; text-shadow: 0 3px 0 #fff; }
.hero h1 ruby rt { font-size: .32em; }
.hero .sub { font-size: 18px; line-height: 2.1; color: var(--ink-soft); max-width: 31em; font-weight: 700; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 6px; }
.badge img { height: 56px; width: auto; transition: transform .15s; }
.badge:hover img { transform: translateY(-2px); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.meta li { font-size: 13px; font-weight: 900; background: rgba(255, 255, 255, .85); border: 2px solid var(--ink); border-radius: 99px; padding: 2px 12px; line-height: 1.9; }
.meta li ruby rt { font-size: .6em; }
.hero-stage { position: relative; width: min(330px, 80%); justify-self: center; margin-top: 10px; }
.hero-phone { --r: 3deg; z-index: 1; }
.hb { position: absolute; z-index: 3; width: 46%; filter: drop-shadow(0 8px 0 rgba(38, 42, 85, .12)); }
.hb1 { left: -36%; bottom: -12%; animation: hop 2.8s ease-in-out infinite; }
.hb2 { right: -30%; bottom: 8%; width: 40%; animation: hop 3.2s ease-in-out -1.1s infinite; }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0) scale(1, 1); } 78% { transform: translateY(0) scale(1.08, .92); } 86% { transform: translateY(-18px) scale(.96, 1.05); } 94% { transform: translateY(0) scale(1.04, .96); } }

/* ---------- party ---------- */
.party { position: relative; overflow: hidden; padding: 110px 0 120px; background: linear-gradient(160deg, #FFB547 0%, #FF7F7F 50%, #C27BFF 100%); color: #fff; }
.party .rays { position: absolute; left: 50%; top: 40%; width: 220vmax; height: 220vmax; transform: translate(-50%, -50%); background: repeating-conic-gradient(rgba(255, 255, 255, .13) 0 7deg, transparent 7deg 18deg); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.confetti { position: absolute; inset: 0; background:
  radial-gradient(circle, #FFE45C 0 5px, transparent 6px) 0 0 / 140px 160px,
  radial-gradient(circle, #8BE6C6 0 4px, transparent 5px) 60px 40px / 170px 130px,
  radial-gradient(circle, #fff 0 3px, transparent 4px) 30px 90px / 110px 120px,
  linear-gradient(45deg, transparent 46%, #5AA9FF 46% 54%, transparent 54%) 90px 20px / 190px 150px; opacity: .7; animation: drift 14s linear infinite; }
@keyframes drift { to { background-position: 0 640px, 60px 560px, 30px 570px, 90px 620px; } }
.sec-head.light p { color: rgba(255, 255, 255, .95); }
.sec-head.light h2 { text-shadow: 0 4px 0 rgba(38, 42, 85, .35); }
.party .wrap { position: relative; }
.meter { max-width: 640px; margin: 0 auto 40px; display: flex; align-items: center; gap: 14px; font-weight: 900; font-size: 14px; }
.meter i { flex: 1; height: 18px; border-radius: 99px; border: 2.5px solid var(--ink); background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; box-shadow: 0 3px 0 var(--ink); }
.meter i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #8BE6C6, #FFD95A 50%, #FF6B5B); transform-origin: left; transform: scaleX(.12); transition: transform 2.4s cubic-bezier(.3, .7, .2, 1); }
.party.in .meter i::after { transform: scaleX(1); }
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 900px; margin-inline: auto; align-items: end; }
.pstep .phone { max-width: 260px; margin: 0 auto; }
.s1 .phone { --r: -3deg; } .s2 .phone { --r: 2deg; transform: rotate(2deg) scale(1.04); } .s3 .phone { --r: 4deg; transform: rotate(4deg) scale(1.08); }
.plabel { margin-top: 26px; text-align: center; font-weight: 900; font-size: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; text-shadow: 0 2px 0 rgba(38, 42, 85, .3); }
.pn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); border: 2.5px solid var(--ink); text-shadow: none; font-family: var(--en); box-shadow: 0 3px 0 var(--ink); }

/* ---------- ladder ---------- */
.ladder { padding: 110px 24px 40px; }
.ladder-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rung { display: grid; grid-template-columns: 44px 6.2em 1fr; align-items: center; gap: 14px; background: var(--paper); border: var(--edge); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); padding: 12px 18px; margin-left: calc(var(--i, 0) * 22px); }
.rung b { font-size: 18px; }
.rung span:last-child { color: var(--ink-soft); font-size: 15.5px; font-weight: 700; }
.rung .lv { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 2.5px solid var(--ink); font: 800 22px/1 var(--en); }
.r1 { --i: 0; } .r1 .lv { background: var(--chip); }
.r2 { --i: 1; } .r2 .lv { background: var(--sky-soft); }
.r3 { --i: 2; } .r3 .lv { background: var(--mint-soft); }
.r4 { --i: 3; } .r4 .lv { background: var(--butter); }
.r5 { --i: 4; } .r5 .lv { background: #FFB8AD; }
.r6 { --i: 5; } .r6 .lv { background: var(--grape-soft); }
.ladder-phones { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 460px; justify-self: center; }
.ladder-phones .phone:last-child { margin-top: 70px; }

/* ---------- listen ---------- */
.listen { padding: 100px 0; }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.wcard { position: relative; font: inherit; color: var(--ink); cursor: pointer; display: grid; justify-items: center; gap: 2px; padding: 34px 10px 18px; border-radius: 22px; border: var(--edge); box-shadow: var(--ledge); background: var(--paper); transition: transform .12s, box-shadow .12s; }
.wcard:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.wcard:active, .wcard.on { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.wcard.on { background: var(--sun-soft); }
.c0 .emo, .c3 .emo { background: var(--pink-soft); } .c1 .emo, .c4 .emo { background: var(--sky-soft); } .c2 .emo, .c5 .emo { background: var(--sun-soft); }
.wcard .lvl { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 900; color: var(--muted); white-space: nowrap; }
.wcard .emo { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; font-size: 32px; margin-bottom: 6px; }
.wcard .en { font: 800 22px/1.2 var(--en); }
.wcard .ja { font-family: var(--jp); font-size: 14px; font-weight: 700; color: var(--ink-soft); min-height: 2.3em; display: flex; align-items: flex-end; }
.wcard .spk { position: absolute; right: 9px; bottom: 9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); }
.wcard .spk svg { width: 15px; fill: var(--ink); stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.wcard.on .spk { background: var(--coral); } .wcard.on .spk svg { fill: #fff; stroke: #fff; }
.exline { margin: 34px auto 0; max-width: 720px; min-height: 104px; display: grid; place-items: center; text-align: center; background: var(--paper); border: 2.5px dashed var(--line); border-radius: 22px; padding: 16px 22px; }
.exline .hint { color: var(--muted); font-weight: 700; }
.exline .ex { font: 700 24px/1.4 var(--en); }
.exline .ex b { color: var(--coral); }
.exline .exja { font-family: var(--jp); color: var(--ink-soft); font-weight: 700; margin-top: 4px; }
.exline .exja ruby rt { font-size: .55em; }

/* ---------- features ---------- */
.features { padding: 40px 24px 110px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--paper); border: var(--edge); border-radius: 24px; box-shadow: var(--ledge); padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; }
.feat h3 { font-size: 20px; }
.feat p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.95; }
.ficon { width: 58px; height: 58px; }
.ficon svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.feat-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 760px; margin: 70px auto 0; }
.feat-phones .phone:nth-child(1) { --r: -4deg; } .feat-phones .phone:nth-child(2) { --r: 1deg; margin-top: -24px; } .feat-phones .phone:nth-child(3) { --r: 5deg; }

/* ---------- buddies ---------- */
.buddies { padding: 100px 0; background: var(--sun-soft); border-block: var(--edge); }
.buddy-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.buddy { position: relative; font: inherit; color: var(--ink); cursor: pointer; display: grid; justify-items: center; gap: 4px; padding: 22px 12px 24px; border-radius: 26px; border: var(--edge); box-shadow: var(--ledge); background: var(--paper); transition: transform .15s; }
.buddy:hover { transform: translateY(-4px) rotate(-1deg); }
.buddy img { width: 72%; position: relative; transition: transform .2s; }
.buddy .halo { position: absolute; top: 18px; width: 64%; aspect-ratio: 1; border-radius: 50%; }
.b-popo .halo { background: var(--sun-soft); } .b-hamu .halo { background: #FFE6CC; } .b-pyoko .halo { background: var(--pink-soft); } .b-penta .halo { background: var(--sky-soft); }
.buddy b { font-size: 22px; margin-top: 6px; }
.buddy span:last-child { font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.buddy.jump img { animation: jump .7s cubic-bezier(.3, .6, .3, 1); }
@keyframes jump { 0% { transform: scale(1.1, .9); } 35% { transform: translateY(-38px) scale(.94, 1.06) rotate(-6deg); } 65% { transform: translateY(0) scale(1.08, .92); } 100% { transform: none; } }

/* ---------- parents ---------- */
.parents { padding: 110px 24px 60px; }
.pcard { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; background: var(--ink); color: #fff; border-radius: 36px; padding: 56px; box-shadow: 0 8px 0 #171A3A; position: relative; overflow: hidden; }
.pcard::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(155, 123, 255, .35), transparent 70%); }
.say { display: grid; gap: 18px; align-content: start; justify-items: start; }
.say h2 { font-size: clamp(26px, 3.4vw, 38px); }
.say p { color: #C8CBEB; }
.say .more { color: var(--butter); }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.point { background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 20px; padding: 18px 20px; }
.point h3 { font-size: 17px; margin-bottom: 6px; display: inline; }
.point p { color: #C8CBEB; font-size: 14.5px; line-height: 1.9; margin-top: 6px; }
.pi { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--butter); color: var(--ink); font-size: 14px; font-weight: 900; margin-right: 8px; vertical-align: 2px; }

/* ---------- faq ---------- */
.faq { padding: 60px 24px 110px; }
.qa { max-width: 820px; margin: 0 auto 28px; display: grid; gap: 12px; }
details { background: var(--paper); border: var(--edge); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); }
summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 22px; font-weight: 900; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; font: 800 20px/1 var(--en); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--butter); }
details p { padding: 0 22px 18px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.95; }

/* ---------- end ---------- */
.end { position: relative; overflow: hidden; padding: 110px 0 210px; background: #2D2F66 url(/assets/scene-night.webp) center bottom / cover no-repeat; color: #fff; text-align: center; }
.end-inner { display: grid; justify-items: center; gap: 18px; position: relative; }
.end-buddies { display: flex; justify-content: center; gap: 0; margin-bottom: 8px; }
.end-buddies img { width: 110px; margin-inline: -6px; animation: hop 2.6s ease-in-out infinite; }
.end-buddies img:nth-child(2) { animation-delay: -.6s; } .end-buddies img:nth-child(3) { animation-delay: -1.3s; } .end-buddies img:nth-child(4) { animation-delay: -1.9s; }
.end h2 { font-size: clamp(32px, 5vw, 54px); text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.end p { color: #DADCFF; font-weight: 700; margin-bottom: 8px; }
.end ruby rt { font-size: .35em; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #C8CBEB; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.who { display: flex; align-items: center; gap: 12px; }
.who img { border-radius: 9px; }
.who b { display: block; color: #fff; font-size: 16px; line-height: 1.3; }
.flinks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.flinks a { text-decoration: none; } .flinks a:hover { color: #fff; text-decoration: underline; }

/* ---------- doc pages (privacy, support) ---------- */
.doc-hero { position: relative; background: linear-gradient(var(--top), var(--bg)); padding: 64px 0 40px; overflow: hidden; }
.doc-hero .wrap { display: grid; gap: 14px; justify-items: start; max-width: 1160px; }
.doc-hero h1 { font-size: clamp(32px, 4.4vw, 48px); }
.doc-hero .sub { color: var(--ink-soft); max-width: 40em; }
.doc-buddy { position: absolute; right: max(24px, calc(50% - 560px)); bottom: -10px; width: 150px; opacity: .95; }
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding-block: 30px 100px; align-items: start; }
.toc { position: sticky; top: 92px; display: grid; gap: 2px; font-size: 14px; font-weight: 700; }
.toc b { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-bottom: 6px; }
.toc a { text-decoration: none; color: var(--ink-soft); padding: 5px 12px; border-radius: 10px; border-left: 3px solid transparent; }
.toc a:hover { background: var(--chip); color: var(--ink); }
.policy { max-width: 760px; display: grid; gap: 34px; }
.policy section h2 { font-size: 22px; margin-bottom: 12px; }
.policy p { color: var(--ink-soft); margin-top: 10px; line-height: 2; }
.policy ul { margin: 12px 0 0; padding-left: 1.3em; color: var(--ink-soft); display: grid; gap: 8px; line-height: 1.9; }
.policy li::marker { color: var(--coral); }
.policy a { color: var(--coral); font-weight: 700; }
.policy .box { background: var(--paper); border: var(--edge); border-radius: 22px; box-shadow: var(--ledge); padding: 24px 28px; }
.policy .box li { color: var(--ink); font-weight: 700; }
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 30px 100px; }
.card { background: var(--paper); border: var(--edge); border-radius: 24px; box-shadow: var(--ledge); padding: 28px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.card h2, .faq-all h2 { font-size: 22px; }
.card p { color: var(--ink-soft); line-height: 1.95; }
.btn { padding: 12px 22px; font-size: 17px; }
.addr { font-size: 14px; } .addr a { color: var(--muted); }
.info dl { margin: 0; display: grid; gap: 0; width: 100%; }
.info dl div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1.5px dashed var(--line); font-size: 15px; }
.info dt { color: var(--muted); font-weight: 700; } .info dd { margin: 0; font-weight: 700; }
.info .badge { margin-top: 8px; }
.faq-all { grid-column: 1 / -1; margin-top: 30px; }
.faq-all h2 { margin-bottom: 18px; }
.faq-all .qa { max-width: none; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hide-s { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; padding-bottom: 130px; min-height: 0; gap: 70px; }
  .hero-stage { width: min(280px, 64%); }
  .ladder-grid, .pcard { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .buddy-row { grid-template-columns: 1fr 1fr; }
  .rung { margin-left: calc(var(--i, 0) * 10px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .ladder, .features, .parents, .faq { padding-inline: 16px; }
  .brand .sub { display: none; }
  .links { gap: 10px; }
  .cta { padding: 6px 12px; font-size: 14px; }
  .langs a { padding: 2px 8px; font-size: 12px; }
  .home .nav-bar { margin-bottom: -64px; }
  .hero { padding-top: 92px; }
  .hero .sub { font-size: 16px; }
  .psteps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .plabel { font-size: 13px; flex-direction: column; gap: 6px; margin-top: 18px; }
  .meter { margin-bottom: 26px; }
  .rung { grid-template-columns: 38px 1fr; padding: 10px 14px; margin-left: 0; }
  .rung .lv { width: 34px; height: 34px; font-size: 19px; grid-row: span 2; }
  .rung span:last-child { font-size: 14px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .exline .ex { font-size: 19px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-phones { gap: 14px; }
  .buddy-row { gap: 12px; }
  .buddy span:last-child { font-size: 12.5px; }
  .pcard { padding: 30px 20px; border-radius: 26px; }
  .points { grid-template-columns: 1fr; }
  .end-buddies img { width: 76px; }
  .doc { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; grid-template-columns: 1fr 1fr; }
  .toc b { grid-column: 1 / -1; }
  .doc-buddy { width: 96px; opacity: .5; }
  .support { grid-template-columns: 1fr; }
  .policy .box { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.hero h1 em { white-space: nowrap; }
.brand .name { white-space: nowrap; }
@media (max-width: 640px) {
  /* the sky art's clouds land behind the copy on a narrow crop: fade them out up there */
  .hero .sky::after { inset: 0; height: auto; background: linear-gradient(rgba(174, 220, 255, .92) 0, rgba(174, 220, 255, .75) 38%, transparent 56%); }
  .brand .name { font-size: 19px; }
}
@media (max-width: 640px) { .nav { gap: 10px; } .links { gap: 8px; } }
