/* Risk Pool Pro site styles. Brand: cobalt #1B3F7A, amber #E8A020. DM Sans headings, Source Sans 3 body. */

:root {
  --cobalt: #1B3F7A;
  --amber: #E8A020;
  --amber-hover: #F2B13A;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "DM Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

/* Dark theme (default) */
:root[data-theme="dark"] {
  --bg: #070D1C;
  --bg-alt: #0B1427;
  --surface: #111D36;
  --surface-2: #16264A;
  --border: rgba(148, 170, 214, .16);
  --text: #E8EEF8;
  --text-2: #A9B6CF;
  --muted: #7C8BA8;
  --accent-text: #8FB3F2;
  --heading: #FFFFFF;
  --nav-bg: rgba(7, 13, 28, .78);
  --glow-1: rgba(41, 92, 184, .45);
  --glow-2: rgba(232, 160, 32, .16);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .65);
  --card-bg: linear-gradient(160deg, #1A2B52 0%, #13213F 100%);
  --code-bg: #0B1630;
  --code-text: #7FE0C8;
  --shot-frame: #16264A;
  --cta-bg: linear-gradient(135deg, #12244A 0%, #0B1427 100%);
  --amber-text: #E8A020;
  color-scheme: dark;
}

/* Light theme */
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-alt: #F3F6FB;
  --surface: #FFFFFF;
  --surface-2: #EEF3FA;
  --border: rgba(27, 63, 122, .13);
  --text: #23314D;
  --text-2: #4A5875;
  --muted: #6A7690;
  --accent-text: #1B3F7A;
  --heading: #0E1E3D;
  --nav-bg: rgba(255, 255, 255, .85);
  --glow-1: rgba(27, 63, 122, .16);
  --glow-2: rgba(232, 160, 32, .16);
  --shadow: 0 24px 50px -24px rgba(14, 30, 61, .28);
  --card-bg: linear-gradient(160deg, #FFFFFF 0%, #F4F7FC 100%);
  --code-bg: #F1F5FB;
  --code-text: #1B3F7A;
  --shot-frame: #E3EAF5;
  --cta-bg: linear-gradient(135deg, #1B3F7A 0%, #12305F 100%);
  --amber-text: #A35F00;
  color-scheme: light;
}

*, *::before, *::after { 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(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.btn-amber { background: var(--amber); color: #14110A; box-shadow: 0 10px 30px -10px rgba(232, 160, 32, .6); }
.btn-amber:hover { background: var(--amber-hover); transform: translateY(-2px); }
.btn-ghost { color: var(--heading); border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.text-link { font-family: var(--font-head); font-weight: 600; color: var(--accent-text); text-decoration: none; display: inline-flex; gap: 8px; }
.text-link span { transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--heading); letter-spacing: -.02em; }
.brand em { font-style: normal; color: var(--amber); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--text-2); padding: 8px 12px; border-radius: 8px; transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--heading); }
.nav-links a[aria-current="page"] { background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle, .menu-toggle {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border);
  background: transparent; color: var(--heading); display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--accent-text); transform: rotate(15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .i-moon, :root[data-theme="light"] .i-sun { display: none; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 900px; height: 700px;
  background: radial-gradient(closest-side, var(--glow-1), transparent 70%), radial-gradient(closest-side at 30% 70%, var(--glow-2), transparent 70%);
  filter: blur(10px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.08); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--amber-text);
  border: 1px solid rgba(232, 160, 32, .35); background: rgba(232, 160, 32, .08); padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(232, 160, 32, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(232, 160, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 160, 32, 0); } }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; margin: 22px 0 22px; letter-spacing: -.035em; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent-text), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { font-size: 1.2rem; color: var(--text-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-visual { position: relative; height: 470px; }
.card {
  position: absolute; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px; color: var(--text);
}
.hv-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--heading); margin-bottom: 14px; }
.hv-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(143, 179, 242, .14); color: var(--accent-text); }
.hv-ico.amber { background: rgba(232, 160, 32, .15); color: var(--amber); }
.hv-ico svg { width: 17px; height: 17px; }
.hv-tag { margin-left: auto; font-size: .72rem; font-weight: 500; color: var(--muted); border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px; }
.hv-pool { top: 0; right: 4%; width: 78%; }
.hv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-stats div { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.hv-stats small { display: block; font-size: .72rem; color: var(--muted); }
.hv-stats b { font-family: var(--font-head); font-size: 1.35rem; color: var(--heading); }
.hv-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 16px; }
.hv-bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent-text), rgba(143, 179, 242, .25)); transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.hv-bars span:nth-child(odd) { animation-delay: .1s; }
.hv-bars span:nth-child(8) { background: linear-gradient(180deg, var(--amber), rgba(232, 160, 32, .25)); }
@keyframes grow { from { transform: scaleY(0); } }
.hv-member { top: 190px; left: 0; width: 50%; z-index: 1; }
.hv-member dl { margin: 0; }
.hv-member dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.hv-member dl div:last-child { border-bottom: 0; }
.hv-member dt { color: var(--muted); }
.hv-member dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; white-space: nowrap; }
.hv-calc { bottom: 0; right: 0; width: 52%; z-index: 2; }
.hv-calc code { display: block; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .8rem; line-height: 1.7; background: var(--code-bg); color: var(--code-text); border-radius: 8px; padding: 10px 12px; }
.hv-total { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: .88rem; color: var(--text-2); }
.hv-total b { font-family: var(--font-head); font-size: 1.4rem; color: var(--amber); }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 8s ease-in-out -2s infinite; }
.float-c { animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.proof {
  list-style: none; margin: 56px 0 0; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 14px 34px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  font-size: .98rem; color: var(--text-2); position: relative;
}
.proof li { display: flex; align-items: center; gap: 10px; }
.proof svg { width: 18px; height: 18px; color: var(--amber); stroke-width: 2.5; flex: none; }

/* Pool types marquee */
.band-types { padding: 26px 0; border-block: 1px solid var(--border); background: var(--bg-alt); }
.types { display: flex; align-items: center; gap: 28px; }
.types-label { font-family: var(--font-head); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); flex: none; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text-2); white-space: nowrap; }
.marquee-track span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--amber); margin-right: 14px; vertical-align: middle; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 110px 0; position: relative; overflow-x: clip; isolation: isolate; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker { font-family: var(--font-head); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--amber); margin-bottom: 14px; }
.sub { font-size: 1.15rem; color: var(--text-2); margin-top: 18px; }
.center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pain { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.pain .num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1px var(--accent-text); opacity: .5; line-height: 1; display: block; margin-bottom: 18px; }
.pain h3 { margin-bottom: 12px; }
.pain p { color: var(--text-2); font-size: 1rem; }

.module {
  padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.module:hover { transform: translateY(-6px); border-color: rgba(232, 160, 32, .5); box-shadow: var(--shadow); }
.m-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cobalt), #2A5BAA); color: #fff; margin-bottom: 20px; transition: transform .3s var(--ease); }
.module:hover .m-ico { transform: rotate(-6deg) scale(1.06); }
.m-ico svg { width: 24px; height: 24px; }
.module h3 { margin-bottom: 10px; }
.module p { color: var(--text-2); font-size: 1rem; }

/* Tour */
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shot { margin: 0; }
.shot-main { grid-column: 1 / -1; }
.shot-btn {
  display: block; width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--shot-frame); cursor: zoom-in; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.shot-btn img { border-radius: 8px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.shot:not(.shot-main) .shot-btn img { aspect-ratio: 4 / 3; }
.shot-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot-btn:hover img { transform: scale(1.025); }
.zoom { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #14110A; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease); }
.zoom svg { width: 22px; height: 22px; stroke-width: 2.2; }
.shot-btn:hover .zoom, .shot-btn:focus-visible .zoom { opacity: 1; transform: scale(1); }
.shot figcaption { margin-top: 14px; font-size: .98rem; color: var(--text-2); }
.shot figcaption b { color: var(--heading); font-family: var(--font-head); }

/* Split / checks */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.split-copy { position: sticky; top: 120px; }
.split-copy .text-link { margin-top: 28px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checks li { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; padding-left: 62px; }
.checks li::before {
  content: ""; position: absolute; left: 22px; top: 26px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks li.wide { grid-column: 1 / -1; }
.checks h3 { font-size: 1.05rem; margin-bottom: 6px; }
.checks p { color: var(--text-2); font-size: .98rem; }

/* Steps */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 25px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--amber), var(--accent-text)); opacity: .35; transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.4s var(--ease); }
.steps.in::before { --progress: 1; }
.steps li { position: relative; }
.step-n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; background: var(--bg); color: var(--amber); border: 2px solid var(--amber); margin-bottom: 20px; position: relative; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: 1rem; }

/* Pricing + team */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: 40px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.panel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 22px; }
.panel > p { color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.ticks li { padding-left: 30px; position: relative; color: var(--text-2); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber); transform: rotate(-45deg); }
.ticks b { color: var(--heading); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.stats div { border-top: 2px solid var(--amber); padding-top: 14px; }
.stats b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--heading); letter-spacing: -.02em; }
.stats span { font-size: .9rem; color: var(--muted); }

/* CTA */
.cta { padding: 110px 0; background: var(--cta-bg); position: relative; overflow: hidden; color: #E8EEF8; }
.cta::before { content: ""; position: absolute; width: 600px; height: 600px; right: -150px; top: -250px; background: radial-gradient(closest-side, rgba(232, 160, 32, .22), transparent); }
.cta-inner { text-align: center; position: relative; max-width: 760px; }
.cta blockquote { margin: 0 0 18px; font-family: var(--font-head); font-size: 1.05rem; color: var(--amber); font-weight: 600; }
.cta h2 { color: #fff; margin-bottom: 18px; }
.cta p { color: #B9C6DE; font-size: 1.15rem; margin-bottom: 34px; }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); margin-top: 12px; max-width: 320px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--heading); }
.footer-contact span { color: var(--muted); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(4, 8, 18, .88); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: lb-in .3s var(--ease); }
.lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 92vh; }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lb-img .35s var(--ease); }
.lightbox figcaption { color: #D7E0F0; font-size: 1rem; text-align: center; max-width: 760px; }
.lb-close { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-nav { width: 48px; height: 48px; justify-self: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.lb-nav:hover, .lb-close:hover { background: rgba(232, 160, 32, .9); color: #14110A; }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-img { from { opacity: 0; transform: scale(.96); } }

/* Load animation (hero) */
.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Light theme adjustments */
:root[data-theme="light"] .kicker { color: var(--amber-text); }
:root[data-theme="light"] .status-card.strong { --c: #23845C; }
:root[data-theme="light"] .eyebrow { background: rgba(232, 160, 32, .16); border-color: rgba(196, 128, 10, .55); }
:root[data-theme="light"] .hero h1 .accent { background-image: linear-gradient(90deg, #1B3F7A, #C97A00); }

/* Dark theme depth: sections shift in tone and carry soft light so the page is not one flat color */
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, #070D1C 0%, #0A1530 100%); }
:root[data-theme="dark"] .band-types { background: #0E1B38; border-color: rgba(143, 179, 242, .14); }
:root[data-theme="dark"] .section { background: #060D1F; }
:root[data-theme="dark"] .section.alt { background: linear-gradient(180deg, #11244B 0%, #1A3468 55%, #11244B 100%); }
:root[data-theme="dark"] .section::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 760px; height: 760px; border-radius: 50%; filter: blur(20px);
  background: radial-gradient(closest-side, rgba(41, 92, 184, .28), transparent 72%);
  top: -220px; right: -260px;
}
:root[data-theme="dark"] .section:nth-of-type(odd)::before { left: -280px; right: auto; top: auto; bottom: -260px; background: radial-gradient(closest-side, rgba(232, 160, 32, .10), transparent 72%); }
:root[data-theme="dark"] .section.alt .module,
:root[data-theme="dark"] .section.alt .checks li,
:root[data-theme="dark"] .section.alt .panel { background: rgba(10, 19, 40, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
:root[data-theme="dark"] .pain, :root[data-theme="dark"] .proof { background: #101D3A; }
:root[data-theme="dark"] .footer { background: #050A16; }
:root[data-theme="dark"] .step-n { background: #060D1F; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700; margin: 20px 0; max-width: 860px; letter-spacing: -.03em; }
.page-hero h1 .accent { background: linear-gradient(90deg, var(--accent-text), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:root[data-theme="light"] .page-hero h1 .accent { background-image: linear-gradient(90deg, #1B3F7A, #C97A00); }
.page-hero .lede { max-width: 700px; }
:root[data-theme="dark"] .page-hero { background: linear-gradient(180deg, #070D1C 0%, #0A1530 100%); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a { text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text-2); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.chips a:hover { color: var(--heading); border-color: var(--amber); transform: translateY(-2px); }
section[id] { scroll-margin-top: 84px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.feature.flip .feature-media { order: -1; }
.feature-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.feature-copy .sub { margin-bottom: 24px; }
.feature-copy .ticks { margin-bottom: 0; }
.shot-btn.contain img { aspect-ratio: auto; object-fit: contain; max-height: 520px; width: auto; margin: 0 auto; }
.feature-media .shot-btn img { aspect-ratio: auto; }
.media-stack { position: relative; padding-bottom: 18%; }
.media-stack .stack-2 { position: absolute; width: 62%; right: -4%; bottom: 0; box-shadow: var(--shadow); }
.card-static { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.queue ul { list-style: none; margin: 0; padding: 0; }
.queue li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.queue li:last-child { border-bottom: 0; }
.q-who { font-family: var(--font-head); font-weight: 600; color: var(--heading); font-size: .95rem; }
.q-what { grid-column: 1; color: var(--text-2); font-size: .92rem; }
.q-badge { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.q-badge.pending { background: rgba(232, 160, 32, .16); color: var(--amber-text); }
.q-badge.new { background: rgba(143, 179, 242, .18); color: var(--accent-text); }
.q-badge.flag { background: rgba(214, 69, 65, .14); color: #D04A44; }
.q-badge.ok { background: rgba(46, 170, 120, .16); color: #2E9E70; }
.queue li { animation: none; }
.reveal.in .queue li, .feature-media.in .queue li { animation: q-in .6s var(--ease) both; }
.feature-media.in .queue li:nth-child(2) { animation-delay: .15s; }
.feature-media.in .queue li:nth-child(3) { animation-delay: .3s; }
.feature-media.in .queue li:nth-child(4) { animation-delay: .45s; }
@keyframes q-in { from { opacity: 0; transform: translateX(16px); } }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-grid { margin-top: 56px; }
.ai-grid .module { padding: 26px; }

:root[data-theme="dark"] .section.alt .card-static { background: rgba(10, 19, 40, .72); }

/* Status cards (Why RPP) */
.status-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); border-top: 4px solid var(--c); }
.status-card.strong { --c: #2E9E70; }
.status-card.edge { --c: var(--accent-text); }
.status-card.building { --c: var(--amber); }
.status-tag { display: inline-block; font-family: var(--font-head); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c); margin-bottom: 12px; }
.status-card.building .status-tag { color: var(--amber-text); }
.status-card h3 { margin-bottom: 16px; }
.status-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.status-card li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 1rem; }
.status-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--c); }
.status-card p { color: var(--muted); font-size: .95rem; }
.data-promise { display: flex; gap: 22px; align-items: flex-start; margin-top: 24px; padding: 30px; border-radius: var(--radius); border: 1px solid rgba(232, 160, 32, .45); background: linear-gradient(135deg, rgba(232, 160, 32, .10), transparent 60%), var(--surface); }
.data-promise .m-ico { flex: none; margin: 0; background: linear-gradient(135deg, #C98510, var(--amber)); }
.data-promise h3 { margin-bottom: 6px; }
.data-promise p { color: var(--text-2); }
.section .grid-4 + .data-promise { margin-top: 24px; }

/* Pricing page */
.checks li.lock { border-color: rgba(232, 160, 32, .55); background: linear-gradient(135deg, rgba(232, 160, 32, .10), transparent 60%), var(--surface); }
.steps-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.integ-cta { margin-top: 36px; }
.start-if { font-family: var(--font-head); font-weight: 600; color: var(--heading) !important; font-size: .98rem !important; margin-bottom: 10px; }
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: rgba(232, 160, 32, .5); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--amber); transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
:root[data-theme="dark"] .section.alt .faq details { background: rgba(10, 19, 40, .72); }

/* Implementation timeline */
.hero-points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-points li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 1rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 13px; height: 7px; border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber); transform: rotate(-45deg); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--amber), var(--accent-text)); opacity: .45; }
.tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 26px; position: relative; }
.tl-step + .tl-step { margin-top: 26px; }
.tl-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--amber); background: var(--bg); border: 2px solid var(--amber); position: relative; z-index: 1; transition: background-color .3s, color .3s; }
.tl-step:hover .tl-n { background: var(--amber); color: #14110A; }
.tl-card { padding: 28px 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.tl-step:hover .tl-card { border-color: rgba(232, 160, 32, .5); transform: translateX(4px); }
.tl-card .kicker { margin-bottom: 8px; }
.tl-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 12px; }
.tl-card p { color: var(--text-2); }
.tl-time { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--accent-text); background: var(--surface-2); padding: 6px 12px; border-radius: 999px; }
.tl-time svg { width: 16px; height: 16px; }
:root[data-theme="dark"] .section.alt .tl-card { background: rgba(10, 19, 40, .72); }
:root[data-theme="dark"] .tl-n { background: #0F1E3F; }

.panel > p.proven { margin-top: 16px; color: var(--heading); font-family: var(--font-head); font-weight: 600; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Contact page */
.contact-hero { padding-bottom: 110px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; position: relative; }
.next-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: ns; }
.next-steps li { position: relative; padding-left: 52px; counter-increment: ns; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--amber); border: 2px solid var(--amber); }
.next-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.next-steps p { color: var(--text-2); font-size: .98rem; }
.contact-facts { display: grid; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }
.contact-facts a, .contact-facts span { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); text-decoration: none; font-size: 1rem; }
.contact-facts a:hover { color: var(--heading); }
.contact-facts svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
:root[data-theme="dark"] .form-card { background: linear-gradient(160deg, #13234A 0%, #0E1A36 100%); }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--heading); margin-bottom: 7px; }
.field b { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232, 160, 32, .22); }
.field.invalid input { border-color: #D04A44; box-shadow: 0 0 0 3px rgba(208, 74, 68, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.form-status { margin-top: 12px; font-size: .95rem; color: #D04A44; min-height: 1.4em; }
.form-done { text-align: center; padding: 40px 10px; animation: rise .6s var(--ease); }
.done-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #14110A; }
.done-ico svg { width: 32px; height: 32px; stroke-width: 2.5; }
.form-done h2 { font-size: 1.6rem; margin-bottom: 8px; }
.form-done p { color: var(--text-2); }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 8px; font-size: .92rem; }
}
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 2px; padding: 16px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 10px; font-size: 1.05rem; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-copy { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .duo { grid-template-columns: 1fr; }
  .feature, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-media { order: 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 24px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-visual { height: auto; margin-top: 8px; display: grid; }
  .hv-tag, .hv-member { display: none; }
  .hero-visual .card { position: relative; inset: auto; }
  .hv-pool { width: 100%; }
  .hv-calc { width: 88%; margin: -14px 0 0 12%; }
  .hv-stats b { font-size: 1.1rem; }
  .proof { margin-top: 36px; flex-direction: column; }
  .section, .cta { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .grid-3, .grid-4, .tour, .checks, .steps, .stats { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 44px; }
  .data-promise { flex-direction: column; padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 18px; }
  .tl-step { grid-template-columns: 40px 1fr; gap: 14px; }
  .tl-n { width: 40px; height: 40px; font-size: 1rem; }
  .timeline::before { left: 19px; }
  .tl-card { padding: 22px 20px; }
  .hero-points { flex-direction: column; }
  .media-stack { padding-bottom: 0; display: grid; gap: 14px; }
  .media-stack .stack-2 { position: static; width: 100%; }
  .checks li.wide { grid-column: auto; }
  .stats { gap: 18px; }
  .panel { padding: 28px 22px; }
  .types { flex-direction: column; align-items: flex-start; gap: 12px; }
  .marquee { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; padding: 0 10px; }
  .lb-nav { position: fixed; bottom: 22px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .steps::before { transform: none; }
}
