/* Buying for Good — concept v2: script + italic type, light sea theme and neon night theme, animated guide */
@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Fraunces'; font-style: italic; src: url(fonts/fraunces-latin-wght-italic.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(fonts/caveat-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(fonts/caveat-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

/* ---------- tokens: light "sea morning" ---------- */
:root {
  --bg: #F3F9F9; --bg2: #FFFFFF; --surface: #FFFFFF; --surface2: #E9F4F3;
  --ink: #0D2B45; --text: #2C4256; --mute: #5F7383; --line: #D8E7E6;
  --accent: #0F8A8C; --accent-deep: #0A5E66; --accent-soft: #D3ECE7; --accent-fg: #FFFFFF;
  --heart: #E25D7E; --sun: #F4B98A; --mark2: #5FB7B1;
  --glow: none; --glow-strong: none; --card-shadow: 0 10px 30px -18px rgba(13,43,69,.25);
  --script: 'Caveat', 'Segoe Script', cursive; --serif: 'Fraunces', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
  --sky0: #8FC3DA; --sky1: #F2D8C4; --sky2: #FBE3CC; --w0: #6FB1C3; --w1: #2C6E86; --g0: #FFF4DE; --g1: rgba(248,199,146,.55); --g2: rgba(244,185,138,0);
  --hero-top: #E8F4F6; --hero-glow: rgba(244,185,138,.28); --sun-disc: #FFE9C9; --swell: #E8F6F7; --star: transparent; --pond0: #E3F3F0; --pond1: #F3F9F9; --ring: #0F8A8C; --ring2: #5FB7B1;
  color-scheme: light;
}
/* ---------- tokens: dark "neon night" ---------- */
[data-theme="dark"] {
  --bg: #050B18; --bg2: #081227; --surface: rgba(12,28,54,.72); --surface2: #0B1A33;
  --ink: #EAF6FF; --text: #BFD3E6; --mute: #8199B3; --line: rgba(63,224,236,.22);
  --accent: #3FE0EC; --accent-deep: #8AF3FA; --accent-soft: rgba(63,224,236,.12); --accent-fg: #04121F;
  --heart: #FF6FB1; --sun: #FF8FB8; --mark2: #FF6FB1;
  --glow: 0 0 6px rgba(63,224,236,.75), 0 0 22px rgba(63,224,236,.45);
  --glow-strong: 0 0 4px #fff, 0 0 10px rgba(63,224,236,.95), 0 0 28px rgba(63,224,236,.7), 0 0 60px rgba(63,224,236,.35);
  --card-shadow: 0 0 0 1px rgba(63,224,236,.18), 0 0 24px -6px rgba(63,224,236,.35);
  --sky0: #040A1A; --sky1: #0E1A45; --sky2: #5B2A6E; --w0: #0B2B55; --w1: #040A18; --g0: rgba(255,143,184,.9); --g1: rgba(255,111,177,.35); --g2: rgba(255,111,177,0);
  --hero-top: #060D22; --hero-glow: rgba(91,42,110,.45); --sun-disc: #FFB3D1; --swell: #3FE0EC; --star: #DDF6FF; --pond0: #0B2244; --pond1: #050B18; --ring: #3FE0EC; --ring2: #FF6FB1;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; transition: background-color .5s, color .5s; }
img, svg { display: block; }
a { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
h4 { font-size: 15px; margin: 26px 0 8px; color: var(--ink); }
.center { text-align: center; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; max-width: 36em; margin: 16px 0 0; color: var(--text); }
.opt { color: var(--mute); font-weight: 400; }
.small { font-size: 13px; }

/* type voices */
.script, .script-title { font-family: var(--script); font-weight: 700; letter-spacing: .005em; color: var(--accent-deep); }
[data-theme="dark"] .script, [data-theme="dark"] .script-title { color: #E9FDFF; text-shadow: var(--glow-strong); }
.script-title { font-size: clamp(44px, 5.6vw, 72px); line-height: .95; }
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -.01em; font-variation-settings: 'opsz' 96; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-fg); text-decoration: none; font-weight: 600; font-size: 16px;
  border: 2px solid var(--accent); border-radius: 999px; padding: 13px 26px; cursor: pointer; font-family: var(--sans); transition: transform .15s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-1px); background: var(--accent-deep); border-color: var(--accent-deep); }
[data-theme="dark"] .btn { box-shadow: 0 0 18px rgba(63,224,236,.45); }
[data-theme="dark"] .btn:hover { box-shadow: 0 0 28px rgba(63,224,236,.75); }
.btn.ghost { background: transparent; color: var(--accent-deep); }
[data-theme="dark"] .btn.ghost { color: var(--accent); box-shadow: inset 0 0 12px rgba(63,224,236,.2), 0 0 12px rgba(63,224,236,.25); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.big { padding: 16px 32px; font-size: 17px; width: 100%; }

/* concept banner + header */
.concept-bar { background: #FFF6E9; color: #6B4A1E; font-size: 13px; text-align: center; padding: 7px 16px; border-bottom: 1px solid #F2DEC0; }
[data-theme="dark"] .concept-bar { background: #1A1430; color: #E7D3FF; border-color: #2E2550; }
.top { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 24px; padding: 10px 28px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-deep); text-decoration: none; font-family: var(--script); font-size: 22px; font-weight: 700; line-height: .85; }
[data-theme="dark"] .brand { color: var(--accent); text-shadow: var(--glow); }
.brand svg { width: 40px; height: 40px; color: var(--ink); }
[data-theme="dark"] .brand svg { color: var(--accent); filter: drop-shadow(0 0 6px rgba(63,224,236,.8)); }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.top-nav a:hover { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn { color: #FFE27A; box-shadow: 0 0 14px rgba(255,226,122,.35); }
[data-theme="dark"] .theme-btn .i-sun { display: block; } [data-theme="dark"] .theme-btn .i-moon { display: none; }

/* story rail */
.rail { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(6px); border-radius: 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); }
.rail ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.rail li a { display: block; padding: 6px 0 6px 12px; margin-left: -2px; border-left: 2px solid transparent; font-size: 12.5px; color: var(--mute); text-decoration: none; transition: color .2s, border-color .2s; }
.rail li a.on { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
[data-theme="dark"] .rail li a.on { text-shadow: var(--glow); }
.m-progress { display: none; }

/* ============ hero ============ */
.hero { position: relative; min-height: calc(100svh - 96px); overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 70% 60% at 75% 45%, var(--hero-glow), transparent 70%), linear-gradient(180deg, var(--hero-top), var(--bg)); }
[data-theme="dark"] .hero { background:
  radial-gradient(1.2px 1.2px at 12% 18%, #DDF6FF 50%, transparent 51%), radial-gradient(1px 1px at 32% 8%, #DDF6FF 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 58% 14%, #DDF6FF 50%, transparent 51%), radial-gradient(1px 1px at 86% 10%, #DDF6FF 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 44% 30%, #DDF6FF 50%, transparent 51%), radial-gradient(1px 1px at 94% 34%, #DDF6FF 50%, transparent 51%),
  radial-gradient(ellipse 70% 60% at 72% 50%, var(--hero-glow), transparent 70%), linear-gradient(180deg, var(--hero-top), var(--bg)); }
.banner-wrap { position: absolute; left: 44%; right: -18%; top: 50%; transform: translateY(-60%); pointer-events: none; }
.banner { display: block; width: 100%; height: auto; will-change: clip-path, transform; filter: drop-shadow(0 22px 30px rgba(13,43,69,.18)); transition: opacity .7s ease; }
.banner-dark { position: absolute; left: -2%; top: 8%; width: 104%; opacity: 0; }
[data-theme="dark"] .banner-light { opacity: 0; } [data-theme="dark"] .banner-dark { opacity: 1; filter: drop-shadow(0 0 26px rgba(63,224,236,.28)); }
.sea { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky0 { stop-color: var(--sky0); } .sky1 { stop-color: var(--sky1); } .sky2 { stop-color: var(--sky2); }
.w0 { stop-color: var(--w0); } .w1 { stop-color: var(--w1); }
.g0 { stop-color: var(--g0); } .g1 { stop-color: var(--g1); } .g2 { stop-color: var(--g2); }
.sun-disc { fill: var(--sun-disc); }
.glints rect { fill: var(--sun-disc); }
.swell path { stroke: var(--swell); opacity: .55; }
[data-theme="dark"] .swell path { filter: drop-shadow(0 0 4px #3FE0EC); opacity: .7; }
.stars circle { fill: var(--star); }
.hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 520px) 1fr; align-items: center; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 40px 28px 150px; gap: 20px; }
.hero h1 { font-size: clamp(52px, 6.6vw, 96px); line-height: .92; color: var(--ink); }
.hero h1 span { display: block; }
.hero h1 .l2 { padding-left: .6em; white-space: nowrap; }
.hero h1 .heart { display: inline-block; vertical-align: .05em; margin-left: .1em; }
.heart { width: .55em; height: .55em; fill: none; stroke: var(--heart); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .heart { filter: drop-shadow(0 0 6px var(--heart)); }
.swash { width: min(420px, 80%); height: 34px; margin: 6px 0 0 1.2em; overflow: visible; }
.swash path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
[data-theme="dark"] .swash path { filter: drop-shadow(0 0 6px var(--accent)); }
.hero .lead { color: var(--ink); max-width: 24em; margin-top: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-portrait { position: relative; height: min(66vh, 620px); }
.note { position: absolute; right: 0; top: 4%; font-size: 40px; line-height: .95; transform: rotate(-8deg); }
.note-heart { color: var(--heart); }
.drift { position: absolute; left: 0; right: 0; bottom: 24px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.drift-track { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; width: max-content; animation: drift 70s linear infinite; }
.drift:hover .drift-track { animation-play-state: paused; }
.drift-track li { width: 236px; flex: none; background: color-mix(in srgb, var(--bg2) 72%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 12px 16px; font-size: 14px; line-height: 1.4; color: var(--text); box-shadow: var(--card-shadow); }
.drift-track strong { display: block; color: var(--accent-deep); font-family: var(--script); font-weight: 700; font-size: 24px; line-height: 1.05; margin-bottom: 2px; }
[data-theme="dark"] .drift-track strong { color: var(--accent); text-shadow: var(--glow); }
@keyframes drift { to { transform: translateX(-50%); } }

/* ============ understanding ============ */
.understanding { padding: 110px 0 90px; }
.journey { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; padding: 26px 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.journey .script-title { font-size: 52px; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; }
.journey-steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 25px; border-top: 2px dashed var(--line); }
.journey-steps a { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; text-decoration: none; color: var(--text); }
.j-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); border: 1.5px solid var(--line); transition: transform .2s; }
.j-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .j-ico { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px rgba(63,224,236,.45), inset 0 0 10px rgba(63,224,236,.25); background: #06142A; }
.journey-steps a:hover .j-ico { transform: translateY(-3px); }
.journey-steps b { font-size: 14px; color: var(--ink); }
.journey-steps small { font-size: 12px; color: var(--mute); line-height: 1.3; }
.und-copy { margin-top: 100px; max-width: 760px; }
.bands { margin-top: 64px; display: grid; gap: 14px; overflow: hidden; }
.band { display: flex; gap: 14px; width: max-content; }
.band span { width: 300px; height: 150px; flex: none; border-radius: 16px; display: flex; align-items: flex-end; padding: 12px 16px; font-family: var(--script); font-size: 26px; font-weight: 700; color: #fff; line-height: 1;
  background: linear-gradient(160deg, var(--a), var(--b)); text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.b1 span { --a: #6FA9B4; --b: #2E6478; } .b1 span:nth-child(even) { --a: #E7B58E; --b: #B7745A; }
.b2 span { --a: #8DB79A; --b: #3F7556; } .b2 span:nth-child(odd) { --a: #7FA3C8; --b: #33557E; }
.b3 span { --a: #E2C383; --b: #A88037; } .b3 span:nth-child(even) { --a: #5FB7B1; --b: #0A5E66; }
[data-theme="dark"] .band span { filter: saturate(1.2) brightness(.85); box-shadow: 0 0 0 1px rgba(63,224,236,.25), 0 0 20px -6px rgba(63,224,236,.5); }

/* ============ belief ============ */
.belief { padding: 30px 0 0; }
.whatif { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.whatif article { background: var(--surface); border-radius: 22px; padding: 26px 24px 30px; border: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--card-shadow); }
.wi-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }
.wi-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .wi-ico { color: var(--accent); box-shadow: 0 0 14px rgba(63,224,236,.4); }
.whatif p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.32; color: var(--ink); }
.whatif article:nth-child(2) { margin-top: 36px; } .whatif article:nth-child(3) { margin-top: 12px; } .whatif article:nth-child(4) { margin-top: 48px; }

.idea { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding-top: 130px; padding-bottom: 120px; }
.trio { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.trio li { display: flex; gap: 16px; align-items: flex-start; }
.trio strong { color: var(--ink); }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 7px; }
.d1 { background: #5FB7B1; } .d2 { background: var(--accent); } .d3 { background: var(--ink); }
[data-theme="dark"] .d3 { background: var(--heart); }
.figures-big { width: 100%; max-width: 380px; justify-self: center; }
.fig.f1 { fill: #5FB7B1; } .fig.f2 { fill: var(--accent); } .fig.f3 { fill: var(--ink); }
[data-theme="dark"] .fig { fill: none; stroke-width: 3; }
[data-theme="dark"] .fig.f1 { stroke: #5FB7B1; filter: drop-shadow(0 0 6px #5FB7B1); }
[data-theme="dark"] .fig.f2 { stroke: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
[data-theme="dark"] .fig.f3 { stroke: var(--heart); filter: drop-shadow(0 0 6px var(--heart)); }
.ground { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }

#how { padding-bottom: 130px; }
.tabs { display: flex; justify-content: center; gap: 6px; margin: 30px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; width: max-content; max-width: 100%; }
.tabs button { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--mute); padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-fg); box-shadow: 0 0 16px rgba(63,224,236,.6); }
.panel { margin-top: 40px; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 0; margin: 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
[data-theme="dark"] .steps li { border-color: var(--line); }
.steps li::before { content: counter(s); font-family: var(--script); font-weight: 700; font-size: 56px; line-height: .8; color: var(--accent); display: block; margin-bottom: 10px; }
[data-theme="dark"] .steps li::before { text-shadow: var(--glow); }
.steps p { margin: 8px 0 0; }

/* ripple */
.ripple-stage { background: var(--bg2); border-top: 1px solid var(--line); }
.ripple-sticky { min-height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 60px 28px; }
.ripple-line { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--ink); margin: 20px 0 0; min-height: 2.6em; }
.ripple-total { margin: 22px 0 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ripple-total .amount { font-family: var(--serif); font-size: clamp(56px, 7vw, 92px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; font-variation-settings: 'opsz' 144; }
[data-theme="dark"] .ripple-total .amount { text-shadow: var(--glow); }
.ripple-total .unit { color: var(--mute); font-size: 16px; }
.ripple-note { font-size: 13px; color: var(--mute); margin: 10px 0 0; }
.pond { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.rings { width: 100%; height: 100%; overflow: visible; }
.p0 { stop-color: var(--pond0); } .p1 { stop-color: var(--pond1); }
.ring-set circle { stroke: var(--ring); }
.ring-set circle.alt { stroke: var(--ring2); }
[data-theme="dark"] .ring-set { filter: drop-shadow(0 0 5px rgba(63,224,236,.9)); }
.purchases { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.purchases li { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px;
  font-size: 14px; box-shadow: var(--card-shadow); white-space: nowrap; backdrop-filter: blur(6px); }
.purchases li b { color: var(--ink); font-weight: 600; }
.purchases .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.purchases .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.purchases li:nth-child(1) { left: 34%; top: 8%; } .purchases li:nth-child(2) { left: 62%; top: 28%; } .purchases li:nth-child(3) { left: 56%; top: 70%; }
.purchases li:nth-child(4) { left: 6%; top: 62%; } .purchases li:nth-child(5) { left: 2%; top: 24%; }
.ripple-end { padding: 40px 0 130px; }
.ripple-scale { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; color: var(--ink); max-width: 26em; margin: 0 0 40px; }
.ripple-scale strong { font-style: normal; font-weight: 600; color: var(--accent-deep); }
[data-theme="dark"] .ripple-scale strong { color: var(--accent); text-shadow: var(--glow); }
.causes { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; grid-template-rows: 210px 210px; gap: 14px; }
.causes figure { margin: 0; border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; background: linear-gradient(170deg, var(--a), var(--b)); color: #fff; position: relative; overflow: hidden; }
.causes figure svg { width: 34px; height: 34px; fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.causes figcaption { font-family: var(--script); font-size: 30px; font-weight: 700; line-height: 1; }
[data-theme="dark"] .causes figure { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 26px -6px var(--b); }
.causes .c1 { grid-column: 1; grid-row: 1 / span 2; --a: #7DB8C4; --b: #1F5670; }
.causes .c2 { grid-column: 2; grid-row: 1; --a: #E5A87D; --b: #A2553A; }
.causes .c3 { grid-column: 3; grid-row: 1; --a: #9BC59A; --b: #406E45; }
.causes .c4 { grid-column: 4; grid-row: 1 / span 2; --a: #D6BE84; --b: #8A6A2A; }
.causes .c5 { grid-column: 2; grid-row: 2; --a: #A9A4D8; --b: #4F4A8C; }
.causes .c6 { grid-column: 3; grid-row: 2; --a: #5FB7B1; --b: #0A5E66; }

/* ============ trust ============ */
.trust { padding: 130px 0; }
.flow { width: 100%; margin: 50px 0 60px; overflow: visible; }
.flow-v { display: none; width: 100%; max-width: 360px; margin: 30px auto 40px; overflow: visible; }
.node rect { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.node.hl rect { fill: var(--accent-soft); stroke: var(--accent); }
[data-theme="dark"] .node rect { fill: #081A33; }
[data-theme="dark"] .node.hl rect { filter: drop-shadow(0 0 10px rgba(63,224,236,.6)); }
.node text { text-anchor: middle; font-family: var(--serif); font-size: 21px; fill: var(--ink); }
.node text.sub { font-family: var(--sans); font-size: 14px; fill: var(--mute); }
.pipe { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
[data-theme="dark"] .pipe { filter: drop-shadow(0 0 5px var(--accent)); }
.flow.pulse .node.hl rect, .flow-v.pulse .node.hl rect { animation: pulse 1.2s ease-in-out 3; }
@keyframes pulse { 50% { stroke-width: 5; } }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; color: var(--ink); position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 18px; }
.promise { margin: 0; background: var(--surface); border-radius: 22px; padding: 34px; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.promise blockquote { margin: 0; }
.promise p { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink); margin: 0; font-style: italic; }
.promise figcaption { margin-top: 20px; display: grid; gap: 2px; color: var(--mute); font-size: 14px; }
.sig { font-size: 40px; line-height: 1; }

/* ============ paths ============ */
.paths { padding: 0 0 130px; }
.crowd { height: 70vh; min-height: 420px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 20% 30%, #5FB7B1 0 3px, transparent 4px) 0 0 / 26px 26px, radial-gradient(circle at 60% 70%, #FF8FB8 0 2.5px, transparent 3.5px) 0 0 / 34px 34px, #0D2B45; }
[data-theme="dark"] .crowd { background-color: #030812; }
.crowd-inner { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at center, rgba(13,43,69,.15), rgba(13,43,69,.85)); }
.crowd p { color: #fff; font-size: clamp(46px, 6.4vw, 88px); text-align: center; margin: 0; padding: 0 28px; max-width: 14em; line-height: .95; text-shadow: 0 0 6px rgba(63,224,236,.8), 0 0 30px rgba(63,224,236,.5); }
.paths .serif-it { margin-top: 110px; }
.choices { display: flex; gap: 14px; margin-top: 40px; height: 380px; }
.choice { flex: 1; position: relative; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; padding: 0; transition: flex .5s cubic-bezier(.4,0,.2,1); background: none; text-align: left; }
.choice .ph { position: absolute; inset: 0; transition: transform .6s; }
.p-bus { background: linear-gradient(165deg, #E7B58E, #8E4F35); } .p-cha { background: linear-gradient(165deg, #9BC59A, #2F5E3C); } .p-sup { background: linear-gradient(165deg, #7DB8C4, #133F58); }
.choice-t { position: absolute; left: 22px; right: 22px; bottom: 18px; color: #fff; font-family: var(--script); font-weight: 700; font-size: 38px; line-height: 1; }
[data-theme="dark"] .choice { box-shadow: 0 0 0 1px rgba(63,224,236,.3), 0 0 24px -8px rgba(63,224,236,.6); }
[data-theme="dark"] .choice-t { text-shadow: 0 0 10px rgba(255,255,255,.6); }
.choice:hover .ph { transform: scale(1.03); }
.choice[aria-expanded="true"] { flex: 2.2; outline: 3px solid var(--accent); outline-offset: 3px; }
.choices.picked .choice[aria-expanded="false"] { opacity: .72; }
.benefits { margin-top: 44px; max-width: 760px; }
.gain { padding-left: 20px; margin: 16px 0 0; }
.gain li { margin: 6px 0; }
.benefits .btn { margin-top: 30px; }

/* ============ join + contact ============ */
.join { padding: 120px 0 100px; background: var(--bg2); border-top: 1px solid var(--line); }
.jigsaw { display: flex; gap: 30px; align-items: center; margin-bottom: 44px; }
.jigsaw svg { width: 150px; flex: none; overflow: visible; }
.pc { stroke: var(--bg2); stroke-width: 2; }
.pc.a { fill: var(--ink); } .pc.b { fill: var(--accent); }
[data-theme="dark"] .pc.a { fill: var(--heart); filter: drop-shadow(0 0 8px var(--heart)); } [data-theme="dark"] .pc.b { filter: drop-shadow(0 0 8px var(--accent)); }
.form { display: grid; gap: 4px; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; }
legend { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.aud, .meet { display: flex; gap: 10px; flex-wrap: wrap; } .aud legend, .meet legend { width: 100%; }
.aud label, .meet label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: 15px; background: var(--surface); }
.aud label:has(input:checked), .meet label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
[data-theme="dark"] .aud label:has(input:checked) { box-shadow: 0 0 14px rgba(63,224,236,.4); }
input[type=radio], input[type=checkbox] { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field select:focus, [data-theme="dark"] .field textarea:focus { box-shadow: 0 0 0 3px rgba(63,224,236,.25), 0 0 16px rgba(63,224,236,.35); }
.field .bad { border-color: #E5484D; }
.field .err { color: #E5484D; font-size: 14px; margin: 6px 0 0; }
.hint { font-size: 14px; color: var(--mute); margin: 6px 0 0; }
.consents { display: grid; gap: 12px; margin: 6px 0 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { margin-top: 4px; flex: none; }
.form-msg { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: #E5484D; }
.form-msg:empty { display: none; }
.form-msg.info { color: var(--accent-deep); }
.help { font-size: 14px; color: var(--mute); text-align: center; margin: 12px 0 0; }
.done { text-align: center; padding: 40px 0; }
.done p { font-size: 18px; max-width: 30em; margin: 16px auto 28px; }
.contact { padding: 110px 0; }
.contact .form { margin-top: 34px; }
.contact .btn { justify-self: start; }

.foot { position: relative; background: #0D2B45; color: #C4D3DC; padding: 40px 0 50px; margin-top: 30px; }
[data-theme="dark"] .foot { background: #030812; border-top: 1px solid var(--line); }
.foot-wave { position: absolute; left: 0; right: 0; top: -58px; width: 100%; height: 60px; fill: #0D2B45; }
[data-theme="dark"] .foot-wave { fill: #030812; filter: drop-shadow(0 -2px 6px rgba(63,224,236,.4)); }
.foot-in { display: grid; gap: 14px; }
.foot .brand { color: #8AE3E0; } .foot .brand svg { color: #fff; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: #E3EEF2; text-decoration: none; font-size: 15px; }
.foot nav a:hover { text-decoration: underline; }
.foot-sign { font-size: 34px; margin: 6px 0 0; color: #8AE3E0 !important; }

/* ============ the guide ============ */
.guide { position: fixed; right: 18px; bottom: 0; z-index: 80; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.guide-btn { pointer-events: auto; position: relative; width: 160px; height: 217px; border: 0; padding: 0; background: none; cursor: pointer; transform-origin: 50% 100%; }
.guide-img { position: absolute; inset: 0; display: block; filter: drop-shadow(0 10px 18px rgba(13,43,69,.25)); animation: bob 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.mia { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; transform: scaleX(-1); transition: opacity .6s ease; }
.mia-dark { opacity: 0; }
[data-theme="dark"] .mia-dark { opacity: 1; } [data-theme="dark"] .mia-light { opacity: 0; }
.guide-btn:hover .guide-img { animation-duration: 2s; }
.guide-glow { position: absolute; left: 10%; right: 10%; bottom: 0; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(15,138,140,.35), transparent 70%); }
[data-theme="dark"] .guide-glow { background: radial-gradient(ellipse, rgba(63,224,236,.7), transparent 70%); filter: blur(2px); }
[data-theme="dark"] .guide-img { filter: drop-shadow(0 0 10px rgba(63,224,236,.45)); }
.guide-ping { position: absolute; top: 4%; left: 30%; width: 14px; height: 14px; border-radius: 50%; background: var(--heart); box-shadow: 0 0 0 0 var(--heart); animation: ping 2s infinite; }
.guide.open .guide-ping, .guide.seen .guide-ping, .guide:not(.landed) .guide-ping { display: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-1.2deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(226,93,126,.6); } 70% { box-shadow: 0 0 0 12px rgba(226,93,126,0); } 100% { box-shadow: 0 0 0 0 rgba(226,93,126,0); } }
.guide.hop .guide-img { animation: hop .6s ease, bob 4.5s ease-in-out .6s infinite; }
@keyframes hop { 30% { transform: translateY(-16px) rotate(2deg); } 60% { transform: translateY(0) rotate(-1deg); } }
.bubble { pointer-events: auto; position: relative; width: 310px; margin-bottom: 120px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px 20px 4px 20px; padding: 16px 16px 14px;
  box-shadow: 0 20px 50px -20px rgba(13,43,69,.45); backdrop-filter: blur(12px); transform-origin: 100% 100%; }
[data-theme="dark"] .bubble { background: rgba(8,20,42,.92); border-color: rgba(63,224,236,.5); box-shadow: 0 0 0 1px rgba(63,224,236,.25), 0 0 30px rgba(63,224,236,.35); }
.bubble::after { content: ''; position: absolute; right: -9px; bottom: 18px; width: 16px; height: 16px; background: inherit; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(-45deg); }
.bubble-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--mute); cursor: pointer; padding: 4px; }
.bubble-name { margin: 0; font-family: var(--script); font-size: 26px; font-weight: 700; color: var(--accent-deep); line-height: 1; }
[data-theme="dark"] .bubble-name { color: var(--accent); text-shadow: var(--glow); }
.bubble-name span { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--mute); margin-left: 6px; text-shadow: none; }
.bubble-text { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); min-height: 3em; }
.bubble-text .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble-body:empty { display: none; }
.bubble-body { margin-top: 10px; }
.bubble-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1.5px solid var(--accent); color: var(--accent-deep); background: var(--accent-soft); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip:hover { background: var(--accent); color: var(--accent-fg); }
[data-theme="dark"] .chip { color: var(--accent); box-shadow: 0 0 10px rgba(63,224,236,.25); }
.chip.quiet { border-color: var(--line); background: transparent; color: var(--mute); }
.calc label { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); margin-top: 8px; }
.calc label b { color: var(--ink); }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc-out { margin: 10px 0 0; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.calc-out strong { display: block; font-size: 23px; color: var(--accent); line-height: 1.1; }
[data-theme="dark"] .calc-out strong { text-shadow: var(--glow); }
.highlight { animation: hl 1.6s ease 2; border-radius: 22px; }
@keyframes hl { 50% { box-shadow: 0 0 0 6px var(--accent-soft), 0 0 40px rgba(63,224,236,.4); } }

/* ============ responsive ============ */
@media (max-width: 1320px) { .rail { display: none; } }
@media (max-width: 1080px) {
  .journey { grid-template-columns: 1fr; gap: 14px; }
  .journey-steps { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .journey-steps::before { display: none; }
}
@media (max-width: 980px) {
  .whatif { grid-template-columns: 1fr 1fr; }
  .whatif article { margin-top: 0 !important; min-height: 190px; }
  .idea, .trust-grid, .ripple-sticky { grid-template-columns: 1fr; }
  .figures-big { max-width: 260px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 46vw; }
  .banner-wrap { left: -8%; right: -14%; top: auto; bottom: 120px; transform: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .top { padding: 8px 14px; gap: 10px; }
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
  .brand { font-size: 19px; } .brand svg { width: 32px; height: 32px; }
  .m-progress { display: flex; position: sticky; top: 57px; z-index: 59; align-items: center; gap: 10px; padding: 6px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink); font-weight: 600; }
  .m-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; position: relative; overflow: hidden; }
  .m-bar::after { content: ''; position: absolute; inset: 0; width: var(--p, 0%); background: var(--accent); }
  .hero { min-height: calc(100svh - 120px); }
  .hero-grid { padding: 30px 20px 64vw; }
  .banner-wrap { left: -24%; right: -30%; bottom: 120px; }
  .hero h1 { font-size: 50px; }
  .hero h1 .l2 { padding-left: .3em; }
  .hero-actions .btn { width: 100%; }
  .drift-track li { width: 200px; }
  .understanding { padding: 70px 0 60px; }
  .journey { padding: 20px; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .und-copy { margin-top: 60px; }
  .band span { width: 200px; height: 110px; font-size: 22px; }
  .whatif { grid-template-columns: 1fr; gap: 12px; }
  .whatif article { min-height: 0; padding: 20px; gap: 14px; }
  .whatif p { font-size: 19px; }
  .idea { padding-top: 80px; padding-bottom: 80px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 10px 6px; font-size: 13.5px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .ripple-sticky { padding: 30px 20px; gap: 10px; align-content: center; }
  .ripple-line { margin-top: 10px; }
  .pond { max-width: 340px; }
  .purchases li { font-size: 12.5px; padding: 5px 10px 5px 5px; }
  .purchases .ico { width: 24px; height: 24px; } .purchases .ico svg { width: 15px; height: 15px; }
  .purchases li:nth-child(2) { left: 50%; } .purchases li:nth-child(3) { left: 44%; top: 74%; } .purchases li:nth-child(1) { left: 28%; }
  .causes { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 140px); }
  .causes figure { grid-column: auto !important; grid-row: auto !important; }
  .causes figcaption { font-size: 25px; }
  .trust { padding: 80px 0; }
  .flow { display: none; } .flow-v { display: block; }
  .choices { flex-direction: column; height: auto; }
  .choice { height: 120px; flex: none !important; transition: height .45s cubic-bezier(.4,0,.2,1); }
  .choice[aria-expanded="true"] { height: 200px; }
  .choice-t { font-size: 32px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .jigsaw { flex-direction: column; align-items: flex-start; gap: 18px; }
  .jigsaw svg { width: 110px; }
  .contact, .join { padding: 80px 0; }
  .guide { right: 6px; }
  .guide-btn { width: 100px; height: 136px; }
  .bubble { width: calc(100vw - 120px); max-width: 300px; margin-bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 20px; }
  .drift { position: relative; bottom: auto; mask-image: none; padding-bottom: 28px; }
  .guide-img, .guide-ping, .bubble-text .caret { animation: none !important; }
  .choice, .choice .ph { transition: none; }
}


