/* KittyCatch landing page. The page is one long dive: sunny sky at the top, deeper blues as you scroll. */
:root {
  --ink: #15233f;
  --ink-2: #3c4a68;
  --sky: #4cc9f0;
  --sea: #1c8ad9;
  --sea-2: #1e8bc3;
  --deep: #0b4f8a;
  --deeper: #0a2f5e;
  --abyss: #061630;
  --sun: #ffc94a;
  --sun-2: #ffad0d;
  --coral: #ff6b6b;
  --mint: #2ec4a0;
  --foam: #eaf7ff;
  --common: #9aa5b1;
  --rare: #3d8bff;
  --epic: #a259ff;
  --legendary: #ffa41b;
  --radius: 28px;
  --wrap: 1160px;
  --head: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-weight: 700; color: #fff; line-height: 1.55; background: var(--abyss); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.05rem, 4.4vw, 3.4rem); text-wrap: balance; }
h3 { font-size: 1.35rem; }
p { margin: 0; }
b { font-weight: 900; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head.left { text-align: left; margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 14px;
}
.kicker::before, .kicker::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; }
.section-head.left .kicker::before { display: none; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.8); margin: 18px auto 0; max-width: 640px; text-wrap: pretty; }
.section-head.left .lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 1.08rem;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: 15px 24px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-sun { background: linear-gradient(#ffd766, var(--sun-2)); color: var(--ink); box-shadow: 0 6px 0 #c98400, 0 14px 28px rgba(255,173,13,.35); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #c98400, 0 18px 32px rgba(255,173,13,.42); }
.btn-sun:active { transform: translateY(4px); box-shadow: 0 2px 0 #c98400; }
.btn-glass { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.28); }
.btn-sm { padding: 10px 18px; font-size: .95rem; box-shadow: 0 4px 0 #c98400; }
.btn-static { cursor: default; }
.btn-static:hover { transform: none; box-shadow: 0 6px 0 #c98400, 0 14px 28px rgba(255,173,13,.35); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1120px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 8px; border-radius: 999px;
  background: rgba(10,47,94,.5);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 30px rgba(4,20,45,.25);
  transition: background .3s;
}
.nav.scrolled { background: rgba(7,26,54,.78); }
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .95rem; color: rgba(255,255,255,.86); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Depth meter (desktop) ---------- */
.depth-meter {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: grid; justify-items: center; gap: 4px; width: 92px; padding: 12px 8px 14px; border-radius: 22px;
  background: rgba(7,26,54,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(2,12,30,.3);
  text-align: center; opacity: 0; pointer-events: none; transition: opacity .4s;
}
.depth-meter.on { opacity: 1; }
.dm-label { font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.dm-value { font-family: var(--head); font-size: 1.25rem; color: var(--sun); font-variant-numeric: tabular-nums; }
.dm-zone { font-size: .7rem; font-weight: 800; line-height: 1.2; color: rgba(255,255,255,.75); min-height: 2.4em; display: grid; place-items: center; }
.dm-track { width: 6px; height: 120px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 4px; }
.dm-fill { display: block; width: 100%; height: 0; border-radius: 6px; background: linear-gradient(var(--sky), var(--rare), var(--epic)); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 128px 0 40px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.hero-sky { position: absolute; inset: 0; z-index: -3; background: url("/assets/zones/bg-sky-wide.webp") center 30% / cover no-repeat; }
.hero-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,60,120,.18) 0%, rgba(10,60,120,0) 28%, rgba(14,95,168,.35) 60%, var(--sea-2) 100%); }
.hero-sea { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; z-index: -2; background: linear-gradient(180deg, rgba(30,139,195,0), rgba(30,139,195,.75) 40%, var(--sea-2)); }
.hero-sea .wave { position: absolute; top: -40px; width: 100%; height: 80px; fill: rgba(255,255,255,.18); }
.hero-inner { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(10,47,94,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 800; font-size: .95rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(46,196,160,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(46,196,160,0); } 100% { box-shadow: 0 0 0 0 rgba(46,196,160,0); } }
.hero-logo { margin: 16px 0 6px -8px; }
.hero-logo img { width: min(560px, 100%); height: auto; filter: drop-shadow(0 10px 18px rgba(5,40,90,.35)); }
.hero-tag { font-family: var(--head); font-weight: 700; font-size: clamp(1.6rem, 3.1vw, 2.45rem); text-shadow: 0 3px 0 rgba(10,47,94,.45); text-wrap: balance; }
.sun-text { color: var(--sun); white-space: nowrap; }
.hero-sub { margin-top: 16px; max-width: 560px; font-size: 1.12rem; color: rgba(255,255,255,.96); text-shadow: 0 1px 2px rgba(5,40,90,.4); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-phone { position: relative; justify-self: center; }
.float { position: absolute; height: auto; filter: drop-shadow(0 8px 12px rgba(5,40,90,.35)); animation: bob 4s ease-in-out infinite; pointer-events: none; }
.float-1 { width: 120px; top: 8%; left: -96px; animation-delay: -1s; }
.float-2 { width: 96px; bottom: 18%; right: -76px; animation-delay: -2.4s; }
.float-3 { width: 56px; top: 50%; left: -56px; animation-delay: -.6s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-4deg); } }

.stats { list-style: none; margin: 46px auto 0; padding: 0 24px; width: 100%; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats li { display: flex; flex-direction: column; align-items: center; padding: 16px 10px; border-radius: 22px; background: rgba(7,40,85,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.stats strong { font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--sun); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .92rem; color: rgba(255,255,255,.85); }
.scroll-cue { display: block; width: 28px; height: 44px; margin: 26px auto 0; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.bubbles span { position: absolute; bottom: -30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); z-index: -1; animation: rise linear infinite; }
.bubbles span:nth-child(1) { left: 6%; width: 14px; height: 14px; animation-duration: 11s; }
.bubbles span:nth-child(2) { left: 18%; width: 9px; height: 9px; animation-duration: 8s; animation-delay: -3s; }
.bubbles span:nth-child(3) { left: 31%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: -6s; }
.bubbles span:nth-child(4) { left: 47%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: -1s; }
.bubbles span:nth-child(5) { left: 62%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: -8s; }
.bubbles span:nth-child(6) { left: 74%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: -4s; }
.bubbles span:nth-child(7) { left: 86%; width: 13px; height: 13px; animation-duration: 10s; animation-delay: -2s; }
.bubbles span:nth-child(8) { left: 95%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: -5s; }
@keyframes rise { to { transform: translateY(-46vh); opacity: 0; } }

/* ---------- Phone ---------- */
.phone { position: relative; aspect-ratio: 1206 / 2622; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2a3a5c, #0d1830); box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 30px 60px rgba(4,20,45,.45), 0 0 0 1px rgba(0,0,0,.4); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 30%; height: 22px; border-radius: 999px; background: #05070c; z-index: 2; }
.phone-video { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: var(--sea-2); }
.phone-lg { width: min(330px, 78vw); }
.phone-sm { width: 100%; max-width: 250px; border-radius: 38px; padding: 8px; }
.phone-sm::before { top: 16px; height: 17px; }
.phone-sm .phone-video { border-radius: 31px; }

/* ---------- How to play ---------- */
.play { padding: 120px 0 130px; background: linear-gradient(180deg, var(--sea-2), var(--sea) 40%, #146fb6); }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.step { display: flex; flex-direction: column; align-items: center; position: relative; }
.step .phone { margin: 0 auto 26px; }
.step-num { position: absolute; top: -16px; left: calc(50% - 125px - 8px); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 1.6rem; color: var(--ink); background: linear-gradient(#ffd766, var(--sun-2)); box-shadow: 0 4px 0 #c98400, 0 10px 20px rgba(0,0,0,.2); z-index: 3; }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.82); max-width: 300px; }

/* ---------- Creature cards (all exactly the same size) ---------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-dex { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.card { min-width: 0; text-align: center; }
.tile {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px;
  background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--r) 30%, #fff), var(--r) 78%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55), 0 8px 18px rgba(0,0,0,.25);
}
.tile img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0,0,0,.22)); transition: transform .3s; }
.card:hover .tile img { transform: scale(1.06) rotate(-3deg); }
.card .label { display: block; margin-top: 7px; font-size: .84rem; font-weight: 900; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .rarity { display: block; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--r) 55%, #fff); }
.r-common { --r: var(--common); }
.r-rare { --r: var(--rare); }
.r-epic { --r: var(--epic); }
.r-legendary { --r: var(--legendary); }
/* Mysteries: silhouettes for rare and epic, a glowing "?" for legendary. */
.r-rare .tile img, .r-epic .tile img { filter: drop-shadow(0 0 10px rgba(255,255,255,.35)); opacity: .92; }
.q { position: absolute; right: 9%; bottom: 7%; font-family: var(--head); font-size: 1.4rem; line-height: 1; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.q-big { inset: 0; display: grid; place-items: center; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff4d6; text-shadow: 0 0 18px rgba(255,200,80,.95), 0 0 40px rgba(255,164,27,.8); animation: glow 2.6s ease-in-out infinite; }
.r-legendary .tile { background: radial-gradient(circle at 50% 45%, #ffcf6b, #ff8a00 55%, #a33d00); }
.r-legendary .tile::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.45), transparent 30%, transparent 50%, rgba(255,255,255,.35), transparent 80%); animation: spin 9s linear infinite; }
@keyframes glow { 50% { transform: scale(1.08); text-shadow: 0 0 24px rgba(255,220,120,1), 0 0 60px rgba(255,164,27,.9); } }
@keyframes spin { to { transform: rotate(1turn); } }
.r-rare .label, .r-epic .label, .r-legendary .label { letter-spacing: .2em; opacity: .7; }

/* ---------- The deep (zones) ---------- */
.deep { padding: 120px 0 130px; background: linear-gradient(180deg, #146fb6, var(--deep) 45%, var(--deeper)); transition: background .6s; }
.zones { margin-top: 56px; display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: stretch; }
.gauge { position: relative; display: flex; flex-direction: column; gap: 6px; padding-left: 26px; }
.gauge::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: linear-gradient(var(--sky), var(--deeper) 60%, #3a1b5f); opacity: .7; }
.gauge button { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; border: 0; cursor: pointer; padding: 11px 14px; border-radius: 16px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); font-family: var(--head); font-weight: 600; font-size: 1.02rem; transition: background .2s, color .2s, transform .2s; }
.gauge button::before { content: ""; position: absolute; left: -22px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--deeper); box-shadow: 0 0 0 3px rgba(255,255,255,.35); transition: background .2s, box-shadow .2s; }
.gauge button small { font-family: var(--body); font-weight: 800; font-size: .8rem; opacity: .7; white-space: nowrap; }
.gauge button:hover { background: rgba(255,255,255,.12); color: #fff; }
.gauge button[aria-selected="true"] { background: #fff; color: var(--ink); transform: translateX(4px); }
.gauge button[aria-selected="true"]::before { background: var(--sun); box-shadow: 0 0 0 4px rgba(255,201,74,.45); }
.zone-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 600px; background: var(--deeper); box-shadow: 0 30px 60px rgba(2,12,30,.4); isolation: isolate; }
.zone-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: opacity .35s; }
.zone-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,20,45,0) 25%, rgba(4,20,45,.85) 100%); }
.zone-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; }
.zone-depth { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(4,20,45,.6); font-weight: 900; font-size: .9rem; color: var(--sun); }
.zone-name { font-size: clamp(2rem, 4vw, 2.8rem); margin: 10px 0 6px; text-shadow: 0 3px 12px rgba(0,0,0,.4); }
.zone-teaser { color: rgba(255,255,255,.88); max-width: 520px; margin-bottom: 20px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.zone-info .cards { max-width: 560px; }

/* ---------- Fishdex ---------- */
.fishdex { padding: 120px 0; background: linear-gradient(180deg, var(--deeper), #0a2550); }
.rarities { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rarities li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 800; }
.rarities li b { font-family: var(--head); font-weight: 600; color: #fff; }
.rarities span { width: 12px; height: 12px; border-radius: 50%; background: var(--r); box-shadow: 0 0 12px var(--r); }
.dex-board { margin-top: 40px; padding: 26px; border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px rgba(2,12,30,.3); }
.dex-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,.8); text-align: center; }
.dex-count { padding: 6px 14px; border-radius: 999px; background: rgba(255,201,74,.16); color: var(--sun); font-weight: 900; }

/* ---------- Cats ---------- */
.cats { padding: 120px 0 130px; background: linear-gradient(180deg, #0a2550, #0b2b5a); }
.cat-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat-grid li { display: flex; flex-direction: column; align-items: center; padding: 16px 14px 18px; border-radius: 26px; background: linear-gradient(180deg, #8ed8ff, #4cc9f0 70%, #2fa8de); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), 0 14px 30px rgba(2,12,30,.35); color: var(--ink); transition: transform .25s; text-align: center; }
.cat-grid li:hover { transform: translateY(-6px) rotate(-1deg); }
.cat-art { position: relative; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 8px; }
.cat-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(5,40,90,.25)); }
.cat-grid strong { font-family: var(--head); font-size: 1.2rem; }
.cat-grid span { font-size: .88rem; color: rgba(21,35,63,.7); }
.cat-grid .cat-gold { background: linear-gradient(180deg, #ffe58a, #ffc94a 60%, #ffad0d); box-shadow: inset 0 0 0 3px rgba(255,255,255,.55), 0 14px 30px rgba(255,173,13,.35); }

/* ---------- More (bento) ---------- */
.more { padding: 120px 0 130px; background: linear-gradient(180deg, #0b2b5a, #091f45); }
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--foam)); color: var(--ink); box-shadow: 0 18px 40px rgba(2,12,30,.35); }
.f-wide { grid-column: span 2; }
.f-full { grid-column: 1 / -1; }
.feature h3 { margin: 16px 0 8px; }
.feature p { color: var(--ink-2); }
.feature-art { height: 112px; display: flex; align-items: center; }
.art-row { gap: 12px; }
.art-row img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(5,40,90,.18)); }
.art-row.lures img { width: 64px; height: 64px; }
.feature-art .podium { width: 220px; height: auto; }
.feature-art .art-lg { width: 120px; height: 120px; object-fit: contain; }
.daynight { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: 0; overflow: hidden; }
.dn-frame { position: relative; min-height: 340px; height: 100%; overflow: hidden; background: linear-gradient(180deg, #4cc9f0, #1e8bc3); transition: background .7s ease; }
.daynight.is-night .dn-frame { background: linear-gradient(180deg, #1d5f86, #0d2f57); }
.dn-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24%; height: 3px; background: rgba(255,255,255,.75); }
.dn-frame img { position: absolute; left: 0; right: 0; top: 0; bottom: 24%; width: 100%; height: 76%; object-fit: cover; object-position: center bottom; transition: opacity .7s ease; }
.dn-night { opacity: 0; }
.daynight.is-night .dn-night { opacity: 1; }
.dn-frame .dn-cat { inset: auto; left: 10%; bottom: calc(24% - 34px); width: 40%; max-width: 250px; height: auto; z-index: 1; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); animation: bob 4s ease-in-out infinite; }
.dn-copy { padding: 26px 26px 26px 0; }
.dn-copy h3 { margin-top: 0; }
.dn-toggle { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: rgba(21,35,63,.08); }
.dn-toggle button { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px; background: transparent; font-family: var(--head); font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.dn-toggle button.on { background: var(--ink); color: #fff; }
.daynight.is-night .dn-toggle button.on { background: #4b3fb5; }

/* ---------- Parents ---------- */
.parents { padding: 120px 0; background: linear-gradient(180deg, #091f45, #08193a); }
.parents-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust li { display: flex; gap: 14px; padding: 20px; border-radius: 22px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.t-icon { font-size: 1.6rem; line-height: 1; }
.trust strong { display: block; font-family: var(--head); font-weight: 600; font-size: 1.12rem; margin-bottom: 4px; }
.trust p { color: rgba(255,255,255,.75); font-size: .95rem; }
.trust a { color: var(--sun); }

/* ---------- Soon ---------- */
.soon { padding: 130px 0 140px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(76,201,240,.32), transparent 60%), linear-gradient(180deg, #08193a, var(--abyss)); }
.soon-inner { display: flex; flex-direction: column; align-items: center; }
.soon-icon { width: 140px; height: 140px; border-radius: 32px; margin-bottom: 26px; box-shadow: 0 20px 50px rgba(76,201,240,.35), 0 0 0 4px rgba(255,255,255,.12); animation: bob 5s ease-in-out infinite; }
.soon .lead { margin: 16px auto 30px; }
.soon-mail { margin-top: 26px; color: rgba(255,255,255,.7); }
.soon-mail a { color: var(--sun); }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 50px; background: var(--abyss); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer img { height: 44px; width: auto; }
.footer nav { display: flex; gap: 18px; }
.footer nav a { text-decoration: none; color: rgba(255,255,255,.8); }
.footer nav a:hover { color: #fff; }
.footer p { color: rgba(255,255,255,.5); font-size: .9rem; width: 100%; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Doc pages (privacy, support, 404) ---------- */
.doc { min-height: 100vh; padding: 120px 0 80px; background: linear-gradient(180deg, var(--sea-2), var(--deep) 30%, var(--abyss)); }
.doc .wrap { max-width: 780px; }
.doc-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); box-shadow: 0 30px 60px rgba(2,12,30,.4); }
.doc-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.doc-card h2 { font-size: 1.4rem; margin: 30px 0 8px; }
.doc-card p, .doc-card li { color: var(--ink-2); margin-bottom: 10px; }
.doc-card a { color: var(--sea); }
.doc-meta { color: #7a869c !important; }
.doc-back { display: inline-block; margin-bottom: 20px; text-decoration: none; font-weight: 800; }
details { border-radius: 16px; background: var(--foam); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
details p { margin: 10px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { .depth-meter { display: none; } }
@media (max-width: 1100px) { .cards-dex { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-logo { margin-left: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .float-1 { left: -44px; }
  .float-2 { right: -34px; }
  .zones { grid-template-columns: 1fr; }
  .gauge { flex-direction: row; overflow-x: auto; padding: 0 0 6px; gap: 8px; scrollbar-width: none; }
  .gauge::-webkit-scrollbar { display: none; }
  .gauge::before, .gauge button::before { display: none; }
  .gauge button { flex: none; flex-direction: column; align-items: flex-start; gap: 0; }
  .gauge button[aria-selected="true"] { transform: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-dex { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr 1fr; }
  .f-wide { grid-column: 1 / -1; }
  .parents-inner { grid-template-columns: 1fr; }
  .section-head.left { text-align: center; margin: 0 auto; }
  .section-head.left .kicker::before { display: block; }
  .section-head.left .lead { margin-left: auto; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding-top: 100px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .zone-card { min-height: 660px; }
  .zone-info { padding: 22px; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr; }
  .daynight { grid-template-columns: 1fr; }
  .dn-copy { padding: 0 24px 26px; }
  .trust { grid-template-columns: 1fr; }
  .dex-board { padding: 16px; border-radius: 26px; }
  .cards-dex { gap: 10px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .wrap, .hero-inner, .stats { padding: 0 16px; }
  .btn { padding: 14px 20px; font-size: 1rem; }
  .cards-dex { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { gap: 12px; }
  .cat-grid li { padding: 12px 8px; }
  .cat-grid strong { font-size: 1.02rem; }
  .float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
