/* ============================================================
   KIDSCORP — Why Kidscorp
   Built on the Kidscorp Design System 2.0 tokens. An argument
   page, read top to bottom rather than scanned, so display
   sizes sit one notch under the home's.
   ============================================================ */

/* self-hosted, same files navbar.css already serves at these
   paths — avoids a fonts.googleapis.com dependency the rest of
   the site doesn't take either */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/_shared/fonts/Montserrat-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/_shared/fonts/Montserrat-Medium.ttf') format('truetype'); }

:root {
  --kc-violet-100: #E8DEFF;
  --kc-violet-200: #D3BBFE;
  --kc-violet-300: #C098FD;
  --kc-violet-400: #AF72FC;
  --kc-violet-500: #9F44FB;
  --kc-violet-600: #8812E3;
  --kc-violet-700: #680CAF;
  --kc-violet-800: #4A057D;
  --kc-violet-900: #2F0544;
  --kc-fuchsia-500: #B33AF0;
  --kc-cyan-100: #D1ECFF;
  --kc-cyan-200: #A8E7FF;
  --kc-cyan-300: #4CCBFF;
  --kc-cyan-500: #4CCBFF;
  --kc-cyan-900: #008EB8;

  --kc-base-0: #FAFAFC;
  --kc-base-50: #F2F2F5;
  --kc-base-100: #DFDFDF;
  --kc-base-200: #C4C4C4;
  --kc-base-300: #A6A6A6;
  --kc-base-400: #8B8B8B;
  --kc-base-500: #6F6F6F;
  --kc-base-600: #575757;
  --kc-base-700: #3E3E3E;
  --kc-base-800: #282828;
  --kc-base-900: #121212;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --wk-pad-x: clamp(24px, 4.5vw, 52px);
  --wk-sec-y: clamp(64px, 8vw, 116px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--kc-base-900); color: #fff; font-family: var(--font-body); }
[id] { scroll-margin-top: 90px; }

/* ── shared type ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--kc-violet-500);
  margin: 0 0 20px;
}
.eyebrow.on-light { color: var(--kc-violet-600); }
.wk-h1, .wk-h2 { margin: 0; letter-spacing: -0.02em; font-weight: 800; font-family: var(--font-display); }
.wk-h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; max-width: 16ch; }
.wk-h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.14; }
em.hl { font-style: normal; color: var(--kc-violet-500); }
em.hl-cyan { font-style: normal; color: var(--kc-cyan-500); }
.wk-lead {
  font-size: clamp(15px, 1.1vw, 17.5px); line-height: 1.62;
  color: var(--kc-base-300); max-width: 62ch; margin: 20px 0 0;
}
.wk-lead.on-light { color: var(--kc-base-600); }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  padding: 14px 24px; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: none;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.btn .wk-icon { flex-shrink: 0; }
.btn-primary {
  background: var(--kc-violet-500); color: #fff;
  box-shadow: 0 10px 40px -12px rgba(159,68,251,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.btn-primary:hover { box-shadow: 0 18px 56px -10px rgba(219,30,250,0.9); transform: translateY(-1px); }
.wk-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.wk-pill {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
  background: transparent; border: 1px solid var(--kc-cyan-500); color: var(--kc-cyan-500);
}

/* ── section rhythm ──────────────────────────────────────── */
.wk-sec { position: relative; padding: var(--wk-sec-y) 0; overflow: hidden; }
.wk-sec--light { background: var(--kc-base-0); color: var(--kc-base-900); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--wk-pad-x); position: relative; z-index: 2; }

/* ── blobs + grain: same decorative idiom used across the site
   (creative-studio, u18-dsp) for texture on dark sections,
   kept here instead of the home's stateful mesh-canvas system ── */
.blob { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: 0.5; z-index: 0; }
.blob-violet  { background: radial-gradient(circle, var(--kc-violet-500)  0%, transparent 60%); }
.blob-fuchsia { background: radial-gradient(circle, var(--kc-fuchsia-500) 0%, transparent 60%); }
.blob-cyan    { background: radial-gradient(circle, var(--kc-cyan-300)    0%, transparent 60%); }
.grain { isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.45'/></svg>");
  opacity: 0.06; mix-blend-mode: overlay; pointer-events: none; z-index: 1;
}
.wk-glow { background: var(--kc-base-900); }

/* ═══ HERO ═══════════════════════════════════════════════ */
.wk-hero {
  position: relative; overflow: hidden;
  padding: clamp(150px, 14vw, 200px) 0 clamp(64px, 7vw, 96px);
  background: var(--kc-base-900);
}
.wk-hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.wk-hero__video {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%; object-fit: cover;
  transform: translate(-50%, -50%);
  filter: saturate(1.05);
}
/* dark gradient so hero copy stays legible over any frame of the loop */
.wk-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,14,0.55) 0%, rgba(10,10,14,0.72) 45%, var(--kc-base-900) 100%),
    linear-gradient(90deg, rgba(10,10,14,0.4) 0%, transparent 45%);
}

.wk-rail { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.wk-rail a {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--kc-base-300); border: 1px solid var(--kc-base-700); border-radius: 999px;
  padding: 9px 17px; transition: border-color 180ms ease, color 180ms ease;
}
.wk-rail a b { color: var(--kc-violet-500); font-weight: 600; }
.wk-rail a:hover { border-color: var(--kc-cyan-500); color: #fff; }

.wk-stats {
  margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--kc-base-800);
  display: flex; flex-wrap: wrap; gap: 14px 0;
}
.wk-stats__item { display: flex; align-items: baseline; gap: 9px; font-size: clamp(14px, 1.1vw, 16px); }
.wk-stats__item + .wk-stats__item { padding-left: clamp(18px, 2.4vw, 36px); margin-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--kc-base-800); }
.wk-stats .n { font-weight: 700; color: #fff; }
.wk-stats .l { color: var(--kc-base-500); }
@media (max-width: 640px) {
  .wk-stats { display: grid; gap: 16px; }
  .wk-stats__item + .wk-stats__item { padding-left: 0; margin-left: 0; border-left: none; }
}

/* ═══ 01 · GAP — the ledger, hairlines carry the structure ═══ */
.wk-paths {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: clamp(40px, 4.4vw, 60px); border-top: 1px solid var(--kc-base-100);
}
.wk-path { padding: clamp(28px, 2.8vw, 40px) clamp(24px, 2.8vw, 48px) 0; display: flex; flex-direction: column; }
.wk-path:first-child { padding-left: 0; }
.wk-path + .wk-path { border-left: 1px solid #E9E9EE; }
.wk-path__lbl {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--kc-base-400); margin: 0 0 22px;
}
.wk-path h3 { margin: 0 0 16px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.22; color: var(--kc-base-900); }
.wk-path ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.wk-path li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.55; color: var(--kc-base-600); max-width: 44ch; }
.wk-path li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: var(--kc-base-300); }
.wk-path__punch {
  margin-top: auto; padding-top: 16px; border-top: 1px solid #E9E9EE;
  font-weight: 700; font-size: clamp(15px, 1.3vw, 17px); color: var(--kc-base-900); line-height: 1.34;
}
.wk-path__punch em { font-style: normal; color: var(--kc-violet-600); }
@media (max-width: 860px) {
  .wk-paths { grid-template-columns: 1fr; }
  .wk-path { padding-left: 0; padding-right: 0; }
  .wk-path + .wk-path { border-left: none; border-top: 1px solid #E9E9EE; }
}

/* ═══ 02 · METHOD — asymmetric versus ════════════════════ */
.wk-method__blob { width: 520px; height: 520px; bottom: -240px; left: -160px; opacity: 0.28; }
.wk-versus {
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 3vw, 44px); margin-top: clamp(40px, 4.4vw, 60px); align-items: center;
}
.wk-vcard h3 { margin: 0 0 18px; font-size: clamp(18px, 1.5vw, 21px); }
.wk-vcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }

.wk-vcard--theirs { padding: 6px 0; }
.wk-vcard__lbl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--kc-base-500); margin: 0 0 16px;
}
.wk-vcard--theirs h3 { color: var(--kc-base-400); }
.wk-vcard--theirs li {
  font-size: 13.5px; line-height: 1.55; color: var(--kc-base-500);
  border-top: 1px solid var(--kc-base-800); padding-top: 13px;
}

.wk-vcard--ours {
  border-radius: 22px; padding: clamp(26px, 2.8vw, 40px);
  border: 1px solid rgba(76,203,255,0.5);
  background: linear-gradient(150deg, #111C24 0%, #151320 55%, #1A1024 100%);
  box-shadow: 0 18px 60px rgba(76,203,255,0.08);
}
.wk-vcard--ours h3 { margin-top: 16px; }
.wk-vcard--ours li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.56; color: var(--kc-base-300); }
.wk-vcard--ours li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--kc-cyan-500); }
@media (max-width: 940px) { .wk-versus { grid-template-columns: 1fr; align-items: start; } }

.wk-pull {
  margin: clamp(48px, 5vw, 72px) 0 0; padding: 4px 0 4px clamp(20px, 2.4vw, 32px);
  border-left: 3px solid var(--kc-violet-500); max-width: none;
}
.wk-pull p { margin: 0; font-size: clamp(21px, 2.3vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; max-width: 22ch; }

/* ═══ CONSEQUENCE — three cards on a light band ══════════ */
.wk-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); margin-top: clamp(40px, 4.4vw, 60px); }
.wk-way {
  border: 1px solid #E6E6EC; border-radius: 18px; padding: clamp(22px, 2.2vw, 30px);
  background: #fff; box-shadow: 0 1px 4px rgba(12,12,13,0.05);
  transition: transform 220ms ease, border-color 220ms ease;
}
.wk-way:hover { transform: translateY(-2px); border-color: var(--kc-violet-300); }
.wk-way h3 { font-size: clamp(17px, 1.4vw, 19.5px); margin: 0 0 12px; color: var(--kc-base-900); }
.wk-way p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--kc-base-600); }
@media (max-width: 900px) { .wk-deck { grid-template-columns: 1fr; } }

/* ═══ 03 · PRIVACY — the ledger, one row per rule ════════ */
.wk-privacy__blob { width: 560px; height: 560px; top: -200px; right: -200px; opacity: 0.3; }
.wk-rules {
  margin-top: clamp(30px, 3vw, 42px);
  border: 1px solid var(--kc-base-800); border-radius: 20px;
  background: #191919; overflow: hidden;
}
.wk-rule {
  display: grid; grid-template-columns: 34px 250px minmax(0, 1fr); gap: clamp(14px, 2vw, 28px);
  align-items: baseline; padding: clamp(15px, 1.7vw, 20px) clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--kc-base-800);
}
.wk-rule:first-child { border-top: 0; }
.wk-rule .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--kc-violet-500); }
.wk-rule h4 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.wk-rule p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--kc-base-400); }
@media (max-width: 820px) {
  .wk-rule { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .wk-rule p { grid-column: 2; }
}

/* ═══ REGULATORY MAP ══════════════════════════════════════ */
.wk-reg-wrap { overflow-x: auto; margin-top: clamp(28px, 3vw, 40px); }
.wk-reg { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.wk-reg th {
  text-align: left; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--kc-base-400); font-weight: 500;
  padding: 0 18px 12px 0; border-bottom: 1px solid #E9E9EE; white-space: nowrap;
}
.wk-reg td { padding: 15px 18px 15px 0; border-bottom: 1px solid #E9E9EE; color: var(--kc-base-600); line-height: 1.55; vertical-align: top; }
.wk-reg tr:last-child td { border-bottom: 0; }
.wk-reg td:first-child { font-weight: 700; color: var(--kc-base-900); white-space: nowrap; }
.wk-reg td.scope { color: var(--kc-base-500); font-size: 12.5px; max-width: 26ch; }
@media (max-width: 820px) { .wk-reg td.scope, .wk-reg th.scope { display: none; } }

.wk-notes2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 48px);
  margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(22px, 2.4vw, 28px);
  border-top: 1px solid #E9E9EE;
}
.wk-notes2 h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--kc-base-900); }
.wk-notes2 p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--kc-base-600); max-width: 46ch; }
@media (max-width: 820px) { .wk-notes2 { grid-template-columns: 1fr; gap: 20px; } }

/* ═══ NETWORK — lightweight decorative constellation canvas,
   confined to a couple of dark sections (not the home's stateful
   mesh-bg system) ═══════════════════════════════════════════ */
.wk-network { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.7; }

/* ═══ MOTION — fade-in-up, staggered; static without JS or with
   prefers-reduced-motion ═══════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .wk-rv {
    opacity: 0; transform: translateY(26px);
    transition: opacity 760ms cubic-bezier(.2,.8,.2,1), transform 760ms cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
  }
  .wk-rv.in { opacity: 1; transform: none; }
}
