:root {
  --sky: #EAF2F7; --sky2: #D3E4EE; --tide: #2E7DAF; --foam: #7DB8DC; --deep: #0B3C5D; --abyss: #06283D;
  --ink: #06283D; --soft: #4D6A7D; --white: #FFFFFF; --danger: #C2412D;
  --f: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--f); color: var(--ink); background: var(--sky); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; border-radius: 6px; }
.thin { font-weight: 200; letter-spacing: -0.045em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.lang { position: absolute; top: 16px; right: 16px; z-index: 20; display: flex; gap: 4px; background: rgba(255,255,255,.75); backdrop-filter: blur(12px); border-radius: 99px; padding: 4px; }
.lang button { font: 500 14px var(--f); border: 0; background: none; color: var(--soft); padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--abyss); color: var(--white); }
.brand { position: absolute; top: 18px; left: 20px; z-index: 20; display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; }

/* ---------- story landing ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage canvas { width: 100%; height: 100%; display: block; }
.counter { position: fixed; left: 0; right: 0; top: 16vh; z-index: 1; text-align: center; pointer-events: none; }
.counter .n { font-size: clamp(56px, 17vw, 200px); white-space: nowrap; }
.counter .l { color: var(--soft); font-size: 17px; margin-top: 10px; }
.story { position: relative; z-index: 2; }
.chapter { min-height: 100vh; display: flex; align-items: flex-end; padding: 0 6vw 14vh; }
.chapter .box { max-width: 30ch; color: var(--white); }
.hero-h, .chapter h2 { font-weight: 300; font-size: clamp(34px, 6vw, 60px); letter-spacing: -0.03em; line-height: 1.04; }
.chapter p { margin-top: 18px; font-size: 19px; color: rgba(255,255,255,.86); max-width: 38ch; }
.chapter.first { align-items: flex-end; }
.chapter.first .box { color: var(--ink); }
.chapter.first p { color: var(--soft); }
.end { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 0 24px; }
.end h2 { font-weight: 200; font-size: clamp(48px, 10vw, 112px); letter-spacing: -0.05em; line-height: 1; }
.end p { margin-top: 18px; color: rgba(255,255,255,.8); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 30px; border-radius: 99px; font: 600 17px var(--f); border: 0; cursor: pointer; text-decoration: none; }
.btn.light { background: var(--white); color: var(--abyss); }
.btn.dark { background: var(--abyss); color: var(--white); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(6,40,61,.25); }
.btn[disabled] { opacity: .45; cursor: default; }
.end .btn { margin-top: 32px; }
.foot { position: relative; z-index: 2; background: var(--abyss); color: rgba(255,255,255,.7); font-size: 14px; padding: 28px 6vw 40px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.foot a { color: rgba(255,255,255,.85); }
@media (prefers-reduced-motion: reduce) { .stage canvas { display: none; } .stage { background: linear-gradient(var(--sky) 40%, var(--deep)); } }

/* ---------- partner pages ---------- */
.p-wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 520px; margin: 0 auto; padding: 84px 22px calc(14vh + 72px); position: relative; z-index: 2; }
.p-kicker { color: var(--soft); font-size: 15px; }
.p-title { font-weight: 300; font-size: clamp(36px, 9vw, 48px); letter-spacing: -0.03em; line-height: 1.06; margin-top: 8px; }
.p-body { margin-top: 18px; color: var(--soft); }
.p-big { font-size: clamp(96px, 30vw, 150px); margin-top: 20px; }
.p-reason { margin-top: 14px; background: var(--white); border-radius: 22px; padding: 18px 20px; font-size: 17px; }
.p-actions { margin-top: auto; display: grid; gap: 10px; padding-top: 32px; }
.p-field { margin-top: 22px; display: grid; gap: 6px; }
.p-field label { color: var(--soft); font-size: 14px; }
.p-field input { height: 54px; border-radius: 14px; border: 1px solid #D5E2EA; padding: 0 16px; font: 18px var(--f); color: var(--ink); background: var(--white); }
.p-state { margin-top: 26px; background: var(--white); border-radius: 22px; padding: 22px; }
.p-state.ok { background: var(--abyss); color: var(--white); }
.p-water { position: fixed; left: 0; right: 0; bottom: 0; height: 11vh; z-index: 0; pointer-events: none; }
.p-water canvas { width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }
.p-err { color: #B3261E; font-size: 15px; margin: 2px 0 0; }
.btn.light { background: #FFFFFF; color: var(--ink); border: 1px solid #D5E2EA; }

/* ---------- legal ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 96px 22px 80px; }
.doc h1 { font-weight: 300; font-size: 44px; letter-spacing: -0.03em; line-height: 1.05; }
.doc h2 { font-weight: 600; font-size: 20px; margin-top: 34px; }
.doc p, .doc li { margin-top: 10px; color: #23455B; }
.doc ul { padding-left: 22px; }
.doc .meta { color: var(--soft); margin-top: 10px; font-size: 15px; }
.doc section + section { border-top: 1px solid #D5E2EA; margin-top: 56px; padding-top: 40px; }
