/* ============================================================
   ibmarker.css | Cinematic Dark theme for iBMarker
   Imports shared design tokens from _tokens.css. Change a font or
   brand colour there and every page on this site picks it up.
   ============================================================ */

@import url('_tokens.css');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #1a1a1a;
/* Layer stack, bottom to top:
   1. Geometric triangle pattern (five linear-gradient bands).
   2. Diagonal vignette running TL -> BR: pushes the corners darker so
      the centered blue hue reads as a soft spotlight instead of a flat wash.
   3. Centered radial pool of the credential-blue theme color, fading
      to transparent at ~70% so the corners stay in the dark base. */
background-image:
    radial-gradient(ellipse 1400px 1000px at 50% 50%, rgba(0, 102, 204, 0.22), rgba(0, 102, 204, 0.08) 35%, transparent 70%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(30deg, #1e1e1e 12%, transparent 12.5%, transparent 87%, #1e1e1e 87.5%),
    linear-gradient(150deg, #1e1e1e 12%, transparent 12.5%, transparent 87%, #1e1e1e 87.5%),
    linear-gradient(30deg, #1e1e1e 12%, transparent 12.5%, transparent 87%, #1e1e1e 87.5%),
    linear-gradient(150deg, #1e1e1e 12%, transparent 12.5%, transparent 87%, #1e1e1e 87.5%),
    linear-gradient(60deg, rgba(30,30,30,0.6) 25%, transparent 25.5%, transparent 75%, rgba(30,30,30,0.6) 75%);
background-size: 100% 100%, 100% 100%, 80px 140px, 80px 140px, 80px 140px, 80px 140px, 80px 140px;
background-position: 0 0, 0 0, 0 0, 0 0, 40px 70px, 40px 70px, 40px 70px;
background-attachment: fixed, fixed, scroll, scroll, scroll, scroll, scroll;
  color: #e8ecf5;
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ---- GLOBAL BACKGROUND ---- */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 800px 500px at 18% 35%, rgba(80, 230, 195, 0.10), transparent 70%),
    radial-gradient(ellipse 700px 600px at 88% 75%, rgba(99, 130, 255, 0.08), transparent 70%);
  pointer-events: none;
  animation: glowDrift 18s ease-in-out infinite alternate;
}
.noise {
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.04; pointer-events: none; mix-blend-mode: overlay;
}

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; position: relative; z-index: 2; }
@media (max-width: 768px) { .container { padding: 0 24px; } }
.accent { color: #50e6c3; }
.serif { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.section-divider {
  height: 1px; border: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent);
  margin: 0;
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(6, 9, 18, 0.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex; align-items: center; gap: 0;
  white-space: nowrap;
}
.logo-icon { height: 32px; width: auto; }
.logo-full { height: 52px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: #9aa3bb; }
.nav-links a { transition: color 0.15s; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: #50e6c3;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14px; color: #9aa3bb; padding: 8px 16px; transition: color 0.15s; }
.nav-login:hover { color: #fff; }
.nav-cta {
  background: #f0f3fa; color: #060912;
  font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
/* Hamburger - three CSS-drawn bars that morph into an X when .is-open.
   Built from three <span>s rather than an SVG so we can animate position
   and rotation independently and get the classic top->X / middle->fade /
   bottom->X transformation with one cubic-bezier curve. */
.hamburger {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101; /* above the .mobile-menu overlay */
}
.hamburger span {
  position: absolute;
  left: 5px;
  width: 22px;
  height: 1.5px;
  background: #e8ecf5;
  border-radius: 2px;
  transition:
    top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    background 0.25s ease;
}
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.is-open span { background: #50e6c3; }
.hamburger.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* Mobile menu - full-viewport overlay below the fixed nav. Slides down
   with a subtle blur on entry. Each item then staggers in from the left
   so the panel composes itself rather than appearing wholesale. */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(6, 9, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.3s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 48px;
  max-width: 480px;
}
.mobile-menu-inner > a {
  font-size: 26px;
  font-weight: 600;
  color: #f0f3fa;
  padding: 18px 0;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s ease, padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-inner > a:hover,
.mobile-menu-inner > a:focus-visible {
  color: #50e6c3;
  padding-left: 8px;
  outline: none;
}
.mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0f3fa;
  color: #060912 !important;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  /* Stretch across the menu's content width so the primary CTA reads as
     a full-width button rather than a narrow pill pinned to the left,
     matching modern mobile UX. The inner is also capped at max-width 480px
     so the button never gets unreasonably wide on tablets. */
  align-self: stretch;
  border-bottom: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.mobile-menu-cta:hover,
.mobile-menu-cta:focus-visible {
  background: #fff;
  transform: translateY(-1px);
  /* Override the .mobile-menu-inner > a hover padding shift so the
     centred label doesn't jump sideways on focus/hover. */
  padding-left: 24px !important;
}

/* Stagger - items slide in from the left as the panel opens */
.mobile-menu.is-open .mobile-menu-inner > * {
  animation: mobileMenuItemIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(1) { animation-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(2) { animation-delay: 0.10s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(3) { animation-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(4) { animation-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(5) { animation-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(6) { animation-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(7) { animation-delay: 0.30s; }
@keyframes mobileMenuItemIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: block; }
}

/* ---- CUSTOM SCROLLBAR ---- */
/* Themed scrollbar that picks up the emerald accent on hover. The thumb
   has a 3px transparent border with background-clip: padding-box so it
   sits centered in the track with breathing room around it - feels less
   like a chunky native bar and more like a UI element. Firefox uses the
   shorthand scrollbar-color property; Chrome/Safari/Edge use the
   ::-webkit pseudo-elements. */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.10);
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 10px;
  transition: background 0.25s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(80, 230, 195, 0.4);
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }

/* ---- HERO ---- */
.hero {
  padding: 140px 0 100px;
  position: relative; z-index: 2;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(80, 230, 195, 0.08);
  border: 1px solid rgba(80, 230, 195, 0.22);
  border-radius: 999px;
  font-size: 12px; color: #9ce6cf; font-weight: 500;
  margin-bottom: 28px; letter-spacing: 0.02em; white-space: nowrap;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #50e6c3; box-shadow: 0 0 8px #50e6c3;
  animation: dotPulse 2.4s ease-in-out infinite;
}
.eyebrow-tag {
  background: rgba(80, 230, 195, 0.15); color: #cfeee2;
  padding: 2px 8px; border-radius: 999px; font-weight: 600;
}
.hero h1 {
  font-weight: 600; font-size: 72px; line-height: 1.02;
  letter-spacing: -0.035em; color: #f0f3fa; margin: 0 0 22px;
}
.hero h1 em {
  font-family: var(--font-display); font-style: italic;
  font-weight: 400; color: #50e6c3; letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 17px; line-height: 1.6; color: #9aa3bb;
  max-width: 470px; margin: 0 0 36px;
}
.ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: #f0f3fa; color: #060912; border: none; border-radius: 10px;
  padding: 15px 24px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.15s, background 0.15s;
}
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(0,0,0,0.12) 50%, transparent 100%);
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.btn-secondary {
  background: transparent; color: #e8ecf5;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 10px;
  padding: 14px 22px; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.03); }

.trust-row {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 28px;
  font-size: 12px; color: #6b7593; white-space: nowrap;
}
.trust-label { letter-spacing: 0.16em; text-transform: uppercase; }
.trust-logos {
  display: flex; gap: 20px; align-items: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: #9aa3bb; flex-wrap: wrap;
}

/* ---- HERO PEEK CARD ---- */
.peek { position: relative; height: 520px; perspective: 1800px; }
.peek-card {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0e1422, #0a0f1d);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: rotateY(-8deg) rotateX(4deg); transform-origin: center;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease-out;
}
.peek-card.tilt-active {
  transition: transform 0.08s ease-out, box-shadow 0.3s ease-out;
}
.peek-card.tilt-reset {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease-out;
}
.peek-glow {
  position: absolute; inset: -1px;
  background: radial-gradient(ellipse 400px 300px at 50% 50%, rgba(80,230,195,0.25), transparent 70%);
  pointer-events: none; mix-blend-mode: screen; opacity: 0.4;
  animation: glowShift 6s ease-in-out infinite alternate;
  transition: opacity 0.3s;
}
.peek-card.tilt-active .peek-glow {
  animation: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.peek-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
}
.peek-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #4a4e60; }
.peek-chrome small { margin-left: auto; font-size: 10px; color: #6b7593; letter-spacing: 0.04em; }
.peek-body { padding: 24px 26px; }
.peek-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.peek-h-l { font-size: 12px; color: #6b7593; letter-spacing: 0.1em; text-transform: uppercase; }
.peek-h-r { font-size: 11px; color: #50e6c3; display: inline-flex; align-items: center; gap: 6px; }
.peek-h-r::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #50e6c3; box-shadow: 0 0 6px #50e6c3; }
.peek-title { font-size: 15px; font-weight: 600; color: #e8ecf5; margin-bottom: 16px; }
.peek-passage {
  background: rgba(255,255,255,0.025);
  border-left: 2px solid rgba(80,230,195,0.35);
  padding: 14px 16px; border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-size: 13px; line-height: 1.7; color: #b8c0d4; margin-bottom: 18px;
}
.peek-passage mark {
  background: rgba(80,230,195,0.18); color: #cfeee2;
  padding: 1px 4px; border-radius: 3px;
}
.peek-rubric { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.peek-rubric-row { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.peek-rubric-name { color: #9aa3bb; flex: 0 0 110px; }
.peek-rubric-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.peek-rubric-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #50e6c3, #38b89c);
  border-radius: 2px;
  transform-origin: left;
  animation: barFill 1.2s 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.peek-rubric-val { color: #e8ecf5; flex: 0 0 40px; text-align: right; font-weight: 500; }
.peek-score { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.peek-score-l { font-size: 11px; color: #6b7593; letter-spacing: 0.1em; text-transform: uppercase; }
.peek-score-r { display: flex; align-items: baseline; gap: 8px; }
.peek-score-r b { font-family: var(--font-display); font-style: italic; font-size: 38px; color: #50e6c3; line-height: 1; font-weight: 400; }
.peek-score-r span { font-size: 11px; color: #6b7593; }
.peek-band {
  background: rgba(80,230,195,0.12); border: 1px solid rgba(80,230,195,0.3);
  color: #cfeee2; font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 999px;
}

.chip {
  position: absolute; background: #0e1422;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  padding: 10px 14px; font-size: 11px; color: #b8c0d4;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); white-space: nowrap; z-index: 3;
  animation: floatBob 4s ease-in-out infinite;
}
.chip-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(80,230,195,0.15); color: #50e6c3;
  display: grid; place-items: center; font-weight: 600; font-size: 11px;
}
.chip-1 { top: 6px; left: -10px; }
/* Bumped above the new .peek-nav strip so the chip doesn't overlap the step bar. */
.chip-2 { bottom: 92px; right: -16px; animation-delay: -2s; }

/* ---- HERO PEEK CARD: MULTI-FRAME DEMO ---- */
/* The peek-card is now a 4-frame walkthrough (Submit -> Mark -> Feedback ->
   Cohort), with the chrome bar fixed at the top, frames stacked in the middle,
   and a step nav at the bottom. peek-demo.js auto-advances every 5s, pauses
   on hover, and pins on click. */
.peek-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.peek-frame {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.peek-frame.is-active {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.peek-frame .peek-body {
  padding: 22px 26px;
}

.peek-h-r--neutral { color: #9aa3bb; }
.peek-h-r--neutral::before { display: none; }
.peek-h-r--done { color: #88f0d8; }
.peek-h-r--done::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #88f0d8; box-shadow: 0 0 6px #88f0d8;
}

/* Frame 01 - Submission */
.peek-submission {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 16px 18px;
}
.peek-sub-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.peek-sub-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(80,230,195,0.25), rgba(99,130,255,0.2));
  border: 1px solid rgba(80,230,195,0.3);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #cfeee2;
  letter-spacing: 0.04em;
}
.peek-sub-name { font-size: 13px; font-weight: 600; color: #e8ecf5; }
.peek-sub-sub  { font-size: 11px; color: #6b7593; margin-top: 2px; }
.peek-sub-preview {
  font-family: var(--font-display);
  font-size: 12.5px; line-height: 1.65; color: #b8c0d4;
  padding: 12px 14px; border-radius: 8px;
  background: rgba(0,0,0,0.18);
  border-left: 2px solid rgba(80,230,195,0.3);
  margin-bottom: 14px;
}
.peek-progress {
  display: flex; flex-direction: column; gap: 6px;
}
.peek-progress-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; color: #6b7593; letter-spacing: 0.08em; text-transform: uppercase;
}
.peek-progress-pct { color: #50e6c3; font-weight: 600; }
.peek-progress-bar {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.06); overflow: hidden;
}
.peek-progress-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #50e6c3, #88f0d8);
  border-radius: 2px;
}
.peek-frame.is-active[data-frame="0"] .peek-progress-bar i {
  animation: peekProgress 4.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes peekProgress {
  0%   { width: 0; }
  100% { width: 100%; }
}

/* Frame 03 - Student Feedback */
.peek-notes {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px;
}
.peek-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px; line-height: 1.55; color: #b8c0d4;
}
.peek-note-tag {
  flex-shrink: 0;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  align-self: flex-start;
}
.peek-note--good    { border-color: rgba(80,230,195,0.22); }
.peek-note--good    .peek-note-tag { background: rgba(80,230,195,0.18); color: #cfeee2; }
.peek-note--apply   { border-color: rgba(99,130,255,0.22); }
.peek-note--apply   .peek-note-tag { background: rgba(99,130,255,0.18); color: #b8c4ff; }
.peek-note--develop { border-color: rgba(255,184,77,0.22); }
.peek-note--develop .peek-note-tag { background: rgba(255,184,77,0.16); color: #ffd699; }

/* Frame 04 - Coordinator Cohort */
.peek-cohort {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.peek-cohort-head,
.peek-cohort-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 0.6fr 0.55fr;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 11px;
}
.peek-cohort-head {
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #6b7593; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.18);
}
.peek-cohort-score-h { text-align: right; }
.peek-cohort-row { border-bottom: 1px solid rgba(255,255,255,0.04); }
.peek-cohort-row:last-child { border-bottom: none; }
.peek-cohort-name { color: #e8ecf5; font-weight: 500; }
.peek-cohort-score {
  text-align: right; color: #e8ecf5; font-weight: 600;
  font-family: var(--font-display); font-style: italic; font-size: 14px;
}
.peek-cohort-flag { color: #f0883e; }
.peek-heat {
  display: inline-block; width: 22px; height: 10px; border-radius: 3px;
  justify-self: start;
}
.peek-heat--hi  { background: rgba(80,230,195,0.55); box-shadow: 0 0 8px rgba(80,230,195,0.25); }
.peek-heat--mid { background: rgba(255,184,77,0.45); }
.peek-heat--lo  { background: rgba(248,81,73,0.40); }
.peek-cohort-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #9aa3bb;
  padding-top: 4px;
}
.peek-cohort-foot b { color: #e8ecf5; font-weight: 600; }
.peek-cohort-alert {
  color: #f0883e;
  background: rgba(240,136,62,0.1);
  border: 1px solid rgba(240,136,62,0.25);
  padding: 3px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 600;
}

/* Step nav at the bottom of the card */
.peek-nav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.18);
}
.peek-step {
  background: transparent; border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 8px 8px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  color: #6b7593; font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.peek-step:hover { color: #b8c0d4; background: rgba(255,255,255,0.025); }
.peek-step:focus-visible {
  outline: none;
  border-color: rgba(80,230,195,0.4);
  color: #cfeee2;
}
.peek-step-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 10px; letter-spacing: 0.04em; line-height: 1;
  opacity: 0.7;
}
.peek-step-name {
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  line-height: 1.2;
}
.peek-step.is-active {
  background: rgba(80,230,195,0.08);
  border-color: rgba(80,230,195,0.3);
  color: #cfeee2;
}
.peek-step.is-active .peek-step-num { color: #50e6c3; opacity: 1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 48px; }
  .peek { height: 480px; }
  .chip { display: none; }
  .trust-row { flex-wrap: wrap; gap: 12px; }
  .peek-step-num { display: none; }
}

/* ---- ROI CALCULATOR ---- */
.roi { padding: 100px 0; }
.roi-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  background: linear-gradient(180deg, #0e1422, #0a0f1d);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
}
.roi-inputs {
  padding: 36px 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(ellipse 360px 240px at 20% 30%, rgba(99,130,255,0.06), transparent 70%),
    rgba(255,255,255,0.01);
  display: flex; flex-direction: column; gap: 18px;
}
.roi-field { display: flex; flex-direction: column; gap: 8px; }
.roi-field label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #6b7593; font-weight: 600;
}
.roi-input-row {
  display: flex; align-items: stretch;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.roi-input-row:focus-within {
  border-color: rgba(80,230,195,0.4);
  background: rgba(0,0,0,0.36);
}
.roi-input-row input {
  flex: 1; min-width: 0;
  background: transparent; border: none;
  padding: 13px 14px;
  color: #f0f3fa; font-family: var(--font-display); font-style: italic;
  font-size: 22px; font-weight: 400; line-height: 1;
  -moz-appearance: textfield;
}
.roi-input-row input:focus { outline: none; }
.roi-input-row input::-webkit-outer-spin-button,
.roi-input-row input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.roi-input-unit {
  display: grid; place-items: center;
  padding: 0 16px;
  font-size: 11px; color: #6b7593; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.roi-assumptions {
  font-size: 11.5px; line-height: 1.55; color: #6b7593;
  margin-top: 4px;
}

.roi-outputs {
  padding: 36px 36px;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 14px;
}
.roi-result {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 22px 22px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.roi-result:hover {
  border-color: rgba(80,230,195,0.22);
  background: rgba(80,230,195,0.025);
}
.roi-result:first-child {
  grid-column: 1 / -1;
  background:
    radial-gradient(ellipse 320px 200px at 75% 50%, rgba(80,230,195,0.10), transparent 70%),
    rgba(255,255,255,0.03);
  border-color: rgba(80,230,195,0.25);
}
.roi-result-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 44px; color: #50e6c3; font-weight: 400; line-height: 1;
}
.roi-result:first-child .roi-result-num { font-size: 64px; }
.roi-result-unit {
  font-size: 11.5px; color: #9aa3bb; letter-spacing: 0.04em;
  margin-top: 4px;
}
.roi-cta {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: #f0f3fa; color: #060912;
  border-radius: 10px; padding: 13px 18px;
  font-size: 13px; font-weight: 600;
  transition: background 0.15s, transform 0.15s;
}
.roi-cta:hover { background: #fff; transform: translateY(-1px); }

@media (max-width: 900px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi-inputs { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}
@media (max-width: 560px) {
  .roi-inputs, .roi-outputs { padding: 28px 24px; }
  .roi-outputs { grid-template-columns: 1fr; }
  .roi-result:first-child .roi-result-num { font-size: 52px; }
}

/* ---- SECTION SHARED ---- */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px;
  background: rgba(80,230,195,0.08);
  border: 1px solid rgba(80,230,195,0.22);
  border-radius: 999px;
  font-size: 11px; color: #9ce6cf; font-weight: 500;
  margin-bottom: 16px;
}
.section-title {
  font-size: 44px; font-weight: 600; letter-spacing: -0.03em;
  color: #f0f3fa; margin-bottom: 12px; line-height: 1.1;
}
.section-sub { font-size: 16px; color: #9aa3bb; max-width: 560px; margin-bottom: 56px; line-height: 1.6; }

/* ---- PILLARS ---- */
.pillars { padding: 100px 0; }
.pillar-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.pillar-card {
  /* Anchor as block - cards link to deep-dive pages. */
  display: block;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 28px 22px;
  transition: all 0.25s; position: relative; overflow: hidden;
  color: inherit;
}
.pillar-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 200px 80px at 50% 0%, rgba(80,230,195,0.12), transparent 70%);
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.pillar-card:hover { border-color: rgba(80,230,195,0.3); background: rgba(80,230,195,0.03); transform: translateY(-3px); }
.pillar-card:hover::after { opacity: 1; }
.pillar-card:focus-visible {
  outline: none;
  border-color: rgba(80,230,195,0.5);
  box-shadow: 0 0 0 2px rgba(80,230,195,0.25);
}
.pillar-icon {
  width: 40px; height: 40px;
  background: rgba(80,230,195,0.1); border: 1px solid rgba(80,230,195,0.25);
  border-radius: 10px; display: grid; place-items: center;
  color: #50e6c3; margin-bottom: 18px;
}
.pillar-card h3 { font-size: 15px; font-weight: 600; color: #f0f3fa; margin-bottom: 6px; }
.pillar-card p { font-size: 12px; line-height: 1.5; color: #9aa3bb; }
/* Arrow affordance - quiet by default, asserts itself on hover so the
   card reads as navigable without shouting. Mirrors the hero/nav CTA arrow. */
.pillar-arrow {
  position: absolute; top: 18px; right: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  color: #50e6c3;
  background: rgba(80,230,195,0.06);
  border: 1px solid rgba(80,230,195,0.18);
  opacity: 0.55;
  transition: opacity 0.25s, transform 0.25s, background 0.25s, border-color 0.25s;
  pointer-events: none;
}
.pillar-card:hover .pillar-arrow {
  opacity: 1; transform: translate(2px, -2px);
  background: rgba(80,230,195,0.14);
  border-color: rgba(80,230,195,0.4);
}

/* Staggered card reveal */
.pillar-card { transition: opacity 0.6s, transform 0.6s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.reveal .pillar-card { opacity: 0; transform: translateY(16px); }
.reveal.visible .pillar-card { opacity: 1; transform: translateY(0); }
.reveal.visible .pillar-card:nth-child(1) { transition-delay: 0.05s; }
.reveal.visible .pillar-card:nth-child(2) { transition-delay: 0.12s; }
.reveal.visible .pillar-card:nth-child(3) { transition-delay: 0.19s; }
.reveal.visible .pillar-card:nth-child(4) { transition-delay: 0.26s; }
.reveal.visible .pillar-card:nth-child(5) { transition-delay: 0.33s; }

@media (max-width: 900px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---- ECOSYSTEM ---- */
.ecosystem { padding: 100px 0; }
.eco-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}
.eco-text .section-title { margin-bottom: 20px; }
.eco-text p { font-size: 16px; line-height: 1.7; color: #9aa3bb; margin-bottom: 16px; }
.eco-visual {
  position: relative;
  background: linear-gradient(180deg, #0e1422, #0a0f1d);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 32px; min-height: 400px;
  display: flex; flex-direction: column; justify-content: center;
}
.eco-visual::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, transparent 40%, rgba(80,230,195,0.15) 55%, transparent 70%);
  border-radius: 16px; pointer-events: none; opacity: 0.5;
}
.eco-ring {
  width: 200px; height: 200px; border-radius: 50%;
  border: 1px solid rgba(80,230,195,0.2);
  margin: 0 auto 28px; position: relative;
  display: grid; place-items: center;
  animation: ringPulse 4s ease-in-out infinite;
}
.eco-ring::before {
  content: ''; position: absolute; inset: 20px;
  border-radius: 50%; border: 1px solid rgba(80,230,195,0.15);
  animation: ringSpin 24s linear infinite;
}
.eco-ring-label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #50e6c3; font-weight: 600;
}
.eco-roles {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.eco-role {
  background: rgba(80,230,195,0.06);
  border: 1px solid rgba(80,230,195,0.18);
  border-radius: 999px; padding: 6px 14px;
  font-size: 11px; color: #cfeee2; font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.eco-role:hover { background: rgba(80,230,195,0.12); transform: translateY(-2px); }
@media (max-width: 900px) { .eco-grid { grid-template-columns: 1fr; } }

/* ---- FEATURES ---- */
.features { padding: 100px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 36px 32px;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.feat-card:hover { border-color: rgba(80,230,195,0.25); transform: translateY(-2px); }
.feat-card h3 { font-size: 20px; font-weight: 600; color: #f0f3fa; margin-bottom: 10px; }
.feat-card p { font-size: 14px; line-height: 1.6; color: #9aa3bb; }
.feat-card .feat-stat {
  margin-top: 20px; display: inline-flex; align-items: baseline; gap: 6px;
}
.feat-stat b {
  font-family: var(--font-display); font-style: italic;
  font-size: 32px; color: #50e6c3; font-weight: 400;
}
.feat-stat span { font-size: 12px; color: #6b7593; }

/* Stagger feature cards */
.reveal .feat-card { opacity: 0; transform: translateY(16px); transition: opacity 0.6s, transform 0.6s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible .feat-card { opacity: 1; transform: translateY(0); }
.reveal.visible .feat-card:nth-child(1) { transition-delay: 0.05s; }
.reveal.visible .feat-card:nth-child(2) { transition-delay: 0.15s; }
.reveal.visible .feat-card:nth-child(3) { transition-delay: 0.25s; }
.reveal.visible .feat-card:nth-child(4) { transition-delay: 0.35s; }

@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---- GAMING ---- */
.gaming { padding: 100px 0; }
.gaming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gaming-visual {
  background: linear-gradient(180deg, #0e1422, #0a0f1d);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 20px;
  position: relative; overflow: hidden;
}
.gaming-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 400px 200px at 50% 80%, rgba(99,130,255,0.1), transparent);
  pointer-events: none;
}
.game-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,130,255,0.1); border: 1px solid rgba(99,130,255,0.25);
  border-radius: 999px; padding: 8px 16px;
  font-size: 12px; font-weight: 600; color: #b8c4ff;
}
.game-board {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  position: relative; z-index: 1;
}
.game-tile {
  width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.game-tile:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.game-tile.t1 { background: rgba(80,230,195,0.12); color: #50e6c3; }
.game-tile.t2 { background: rgba(99,130,255,0.12); color: #8da0ff; }
.game-tile.t3 { background: rgba(255,184,77,0.12); color: #ffb84d; }
.game-tile.t4 { background: rgba(255,122,89,0.1); color: #ff7a59; }
.game-tile.empty { background: rgba(255,255,255,0.02); border-style: dashed; }
.game-tile.empty:hover { transform: none; box-shadow: none; }

.gaming-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.gaming-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; line-height: 1.5; color: #9aa3bb;
}
.gaming-list li::before {
  content: ''; flex-shrink: 0; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #50e6c3; box-shadow: 0 0 6px rgba(80,230,195,0.4);
}
@media (max-width: 900px) { .gaming-grid { grid-template-columns: 1fr; } }

/* ---- METRICS ---- */
.metrics { padding: 100px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 36px 28px;
  text-align: center; transition: all 0.25s;
}
.metric-card:hover { border-color: rgba(80,230,195,0.25); transform: translateY(-2px); }
.metric-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 56px; color: #50e6c3; font-weight: 400; line-height: 1;
  margin-bottom: 4px;
}
.metric-unit { font-size: 12px; color: #6b7593; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.metric-card h3 { font-size: 16px; font-weight: 600; color: #f0f3fa; margin-bottom: 12px; }
.metric-card ul { display: flex; flex-direction: column; gap: 6px; }
.metric-card li { font-size: 12px; color: #9aa3bb; line-height: 1.5; }

/* Stagger metric cards */
.reveal .metric-card { opacity: 0; transform: translateY(16px); transition: opacity 0.6s, transform 0.6s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible .metric-card { opacity: 1; transform: translateY(0); }
.reveal.visible .metric-card:nth-child(1) { transition-delay: 0.05s; }
.reveal.visible .metric-card:nth-child(2) { transition-delay: 0.15s; }
.reveal.visible .metric-card:nth-child(3) { transition-delay: 0.25s; }

@media (max-width: 768px) { .metrics-grid { grid-template-columns: 1fr; } }

/* ---- SUBJECTS ---- */
.subjects { padding: 100px 0; }
.subj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.subj-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 28px 24px;
  transition: all 0.2s;
}
.subj-card:hover { border-color: rgba(80,230,195,0.2); transform: translateY(-2px); }
.subj-card h4 { font-size: 14px; font-weight: 600; color: #f0f3fa; margin-bottom: 10px; }
.subj-card li { font-size: 12px; color: #9aa3bb; line-height: 1.8; }

/* Stagger subject cards */
.reveal .subj-card { opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.5s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible .subj-card { opacity: 1; transform: translateY(0); }
.reveal.visible .subj-card:nth-child(1) { transition-delay: 0.04s; }
.reveal.visible .subj-card:nth-child(2) { transition-delay: 0.10s; }
.reveal.visible .subj-card:nth-child(3) { transition-delay: 0.16s; }
.reveal.visible .subj-card:nth-child(4) { transition-delay: 0.22s; }
.reveal.visible .subj-card:nth-child(5) { transition-delay: 0.28s; }
.reveal.visible .subj-card:nth-child(6) { transition-delay: 0.34s; }

@media (max-width: 768px) { .subj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .subj-grid { grid-template-columns: 1fr; } }

/* ---- FREE ACCESS ---- */
.free-access { padding: 100px 0; }
.free-card {
  display: grid; grid-template-columns: 0.4fr 0.6fr;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; overflow: hidden;
  transition: border-color 0.25s;
}
.free-card:hover { border-color: rgba(80,230,195,0.25); }
.free-card-left {
  padding: 40px 36px;
  background:
    radial-gradient(ellipse 300px 250px at 30% 70%, rgba(80,230,195,0.08), transparent 70%),
    rgba(255,255,255,0.015);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.free-card-brand { font-size: 20px; font-weight: 700; color: #f0f3fa; margin-bottom: 4px; }
.free-card-tagline { font-size: 14px; color: #9aa3bb; margin-bottom: 6px; }
.free-card-full { font-size: 15px; font-weight: 600; color: #50e6c3; margin-bottom: auto; }
.free-ring {
  width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(80,230,195,0.4);
  display: grid; place-items: center;
  margin: 32px auto 0;
  position: relative;
  animation: ringPulse 4s ease-in-out infinite;
}
.free-ring::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(80,230,195,0.12);
}
.free-ring-label {
  font-family: var(--font-display); font-style: italic;
  font-size: 32px; color: #50e6c3; font-weight: 400;
}
.free-card-right { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.free-card-right h3 {
  font-size: 22px; font-weight: 600; color: #f0f3fa; margin-bottom: 16px;
}
.free-card-right h3::after {
  content: ''; display: block; width: 48px; height: 1px;
  background: rgba(255,255,255,0.12); margin-top: 16px;
}
.free-card-right p {
  font-size: 15px; line-height: 1.65; color: #9aa3bb; margin-bottom: 28px;
}
.free-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.free-cta-link {
  font-size: 14px; font-weight: 500; color: #e8ecf5;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px; transition: color 0.15s, border-color 0.15s;
}
.free-cta-link:hover { color: #fff; border-color: #fff; }
@media (max-width: 768px) {
  .free-card { grid-template-columns: 1fr; }
  .free-card-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .free-card-right { padding: 32px 28px; }
}

/* ---- FOOTER ---- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; gap: 24px; font-size: 13px; color: #6b7593; flex-wrap: wrap; }
.footer-links a:hover { color: #9aa3bb; }
.footer-copy { font-size: 12px; color: #6b7593; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px #50e6c3; transform: scale(1); }
  50%      { box-shadow: 0 0 14px #50e6c3, 0 0 22px rgba(80,230,195,0.5); transform: scale(1.2); }
}
@keyframes glowDrift {
  from { background-position: 0% 0%; filter: hue-rotate(0deg); }
  to   { background-position: 100% 100%; filter: hue-rotate(8deg); }
}
@keyframes glowShift {
  from { opacity: 0.3; transform: translateX(-8px); }
  to   { opacity: 0.5; transform: translateX(8px); }
}
@keyframes barFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(80,230,195,0); }
  50%      { box-shadow: 0 0 0 12px rgba(80,230,195,0.06); }
}
@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero entry stagger */
.hero .eyebrow   { animation: riseIn 0.6s 0.2s cubic-bezier(0.16,1,0.3,1) both; }
.hero h1          { animation: riseIn 0.7s 0.3s cubic-bezier(0.16,1,0.3,1) both; }
.hero-lede        { animation: riseIn 0.6s 0.45s cubic-bezier(0.16,1,0.3,1) both; }
.hero .ctas       { animation: riseIn 0.55s 0.58s cubic-bezier(0.16,1,0.3,1) both; }
.hero .trust-row  { animation: riseIn 0.55s 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.peek-card        { animation: peekIn 1s 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.chip-1           { animation: chipIn 0.7s 1.1s cubic-bezier(0.16,1,0.3,1) both, floatBob 4s ease-in-out 1.8s infinite; }
.chip-2           { animation: chipIn 0.7s 1.3s cubic-bezier(0.16,1,0.3,1) both, floatBob 4s ease-in-out 2s infinite; }
.logo, .nav-links, .nav-right { animation: riseIn 0.5s 0.1s cubic-bezier(0.16,1,0.3,1) both; }

@keyframes riseIn  { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes peekIn  { from { opacity:0; transform:translateY(28px) rotateY(-12deg) rotateX(6deg) scale(.97); } to { opacity:1; transform:rotateY(-8deg) rotateX(4deg); } }
@keyframes chipIn  { from { opacity:0; transform:translateY(6px) scale(.92); } to { opacity:1; transform:translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   SUB-PAGE COMPONENTS
   ============================================================ */

/* ---- SUB-PAGE HERO ---- */
.sub-hero { padding: 130px 0 70px; position: relative; z-index: 2; text-align: center; }
.sub-hero .eyebrow { margin: 0 auto 24px; }
.sub-hero h1 {
  font-weight: 600; font-size: 60px; line-height: 1.05;
  letter-spacing: -0.035em; color: #f0f3fa;
  max-width: 880px; margin: 0 auto 20px;
}
.sub-hero h1 em {
  font-family: var(--font-display); font-style: italic;
  font-weight: 400; color: #50e6c3; letter-spacing: -0.02em;
}
.sub-hero p {
  font-size: 17px; line-height: 1.6; color: #9aa3bb;
  max-width: 640px; margin: 0 auto 32px;
}
.sub-hero .ctas { justify-content: center; }
@media (max-width: 768px) {
  .sub-hero h1 { font-size: 40px; }
  .sub-hero { padding: 110px 0 50px; }
}

/* ---- DETAIL CARD (Solutions feature deep-dives) ---- */
.detail-stack { display: flex; flex-direction: column; gap: 16px; }
.detail-card {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; overflow: hidden;
  transition: border-color 0.25s;
}
.detail-card:hover { border-color: rgba(80,230,195,0.25); }
.detail-card-body { padding: 44px 42px; }
.detail-card-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: #50e6c3; letter-spacing: 0.04em; margin-bottom: 12px;
}
.detail-card h3 {
  font-size: 26px; font-weight: 600; color: #f0f3fa;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px;
}
.detail-card h3 em {
  font-family: var(--font-display); font-style: italic;
  font-weight: 400; color: #50e6c3;
}
.detail-card p { font-size: 14px; line-height: 1.75; color: #9aa3bb; }
.detail-card-meta {
  padding: 40px 38px;
  background:
    radial-gradient(ellipse 280px 200px at 80% 30%, rgba(80,230,195,0.06), transparent 70%),
    rgba(255,255,255,0.015);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.detail-card-meta h4 {
  font-size: 11px; color: #6b7593; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 22px; font-weight: 600;
}
.detail-card-meta dl { display: flex; flex-direction: column; gap: 18px; }
.detail-card-meta dt {
  font-family: var(--font-display); font-style: italic;
  color: #50e6c3; font-size: 24px; line-height: 1; font-weight: 400;
}
.detail-card-meta dd { font-size: 13px; color: #9aa3bb; line-height: 1.5; margin-top: 6px; }
@media (max-width: 800px) {
  .detail-card { grid-template-columns: 1fr; }
  .detail-card-meta { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .detail-card-body, .detail-card-meta { padding: 32px 28px; }
}

/* ---- FAQ ---- */
.faq-section { padding: 100px 0; }
.faq-group { display: none; margin-bottom: 0; }
.faq-group.is-active {
  display: block;
  animation: faq-group-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes faq-group-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

/* Segmented control - audience filter above the FAQ list. The active state
   is rendered as a separate sliding pill (.faq-toggle-indicator) positioned
   under the active button by JS - giving the active selection a physical
   glide between options instead of a hard color flip. */
.faq-toggle {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.faq-toggle-indicator {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 0;
  background: rgba(80,230,195,0.12);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(80,230,195,0.3);
  transform: translateX(0);
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    width     0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.faq-toggle-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: #9aa3bb;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.25s ease;
}
.faq-toggle-btn:hover { color: #f0f3fa; }
.faq-toggle-btn.is-active { color: #cfeee2; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] { border-color: rgba(80,230,195,0.25); background: rgba(80,230,195,0.02); }
.faq-q {
  cursor: pointer; padding: 18px 22px; font-size: 14.5px;
  font-weight: 600; color: #f0f3fa; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-family: var(--font-body); font-weight: 300;
  color: #50e6c3; font-size: 22px; line-height: 1;
  flex-shrink: 0;
  /* Close: gentler/slower rotate-back to + */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
  /* Open: snappy rotate to x */
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Collapse / expand animation.

   We do NOT rely on the browser's native <details> show/hide for the
   animation: in Chrome 131+ the content sits in a ::details-content
   pseudo-element that resists author CSS height transitions, and in
   earlier browsers the children are hidden via UA mechanisms that
   don't transition cleanly either.

   Instead, .faq-a is forced into layout at height: 0 with !important
   (overriding any UA display:none). A JS handler on .faq-q manages
   the [open] attribute and animates `height` between 0 and the
   measured scrollHeight. CSS declares only the transition specs and
   final visual style; the live height values are inline.

   Open and close use different transitions because each transition
   is read from the *destination* state. Close is intentionally slower
   with a softer ease-in-out curve so the collapse decelerates rather
   than snapping shut. */
.faq-a {
  display: block !important;
  height: 0;
  overflow: hidden;
  transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item[open] .faq-a {
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-a > * {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #9aa3bb;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item[open] .faq-a > * {
  opacity: 1;
  transition: opacity 0.25s ease 0.1s;
}
.faq-a p { margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---- COMPARISON TABLE ---- */
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; overflow: hidden;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 16px 22px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}
.compare-table thead th {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #cfeee2; font-weight: 600;
  background: rgba(80,230,195,0.05);
}
.compare-table thead th:first-child { color: #6b7593; }
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table tbody th { font-weight: 500; color: #e8ecf5; font-size: 13.5px; }
.compare-table td { color: #9aa3bb; font-size: 13px; }
.compare-table .yes { color: #50e6c3; font-weight: 600; }
.compare-table .yes small { display: block; color: #9aa3bb; font-weight: 400; font-size: 11px; margin-top: 2px; }
.compare-table .partial { color: #ffb84d; font-weight: 600; }
.compare-table .partial small { display: block; color: #9aa3bb; font-weight: 400; font-size: 11px; margin-top: 2px; }
.compare-table .no { color: #6b7593; }
.compare-table .no small { display: block; color: #4a5269; font-weight: 400; font-size: 11px; margin-top: 2px; }
/* Highlight the iBMarker column so the table reads as positioning, not just data. */
.compare-table thead th.compare-self,
.compare-table tbody td.compare-self {
  background: rgba(80,230,195,0.045);
  border-left: 1px solid rgba(80,230,195,0.18);
  border-right: 1px solid rgba(80,230,195,0.18);
}
.compare-table thead th.compare-self { color: #cfeee2; }
.compare-foot {
  margin-top: 16px;
  font-size: 12px; line-height: 1.6; color: #6b7593;
  max-width: 760px;
}
@media (max-width: 600px) {
  .compare-table { font-size: 12.5px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.price-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 32px 26px;
  display: flex; flex-direction: column;
  transition: all 0.25s; position: relative;
}
.price-card:hover { border-color: rgba(80,230,195,0.25); transform: translateY(-3px); }
.price-card.featured {
  border-color: rgba(80,230,195,0.45);
  background:
    radial-gradient(ellipse 300px 200px at 50% 0%, rgba(80,230,195,0.1), transparent 70%),
    rgba(255,255,255,0.03);
}
.price-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: rgba(80,230,195,0.18); border: 1px solid rgba(80,230,195,0.4);
  border-radius: 999px; padding: 4px 12px;
  font-size: 10px; font-weight: 600; color: #cfeee2;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.price-name {
  font-size: 12px; font-weight: 700; color: #50e6c3;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px;
}
.price-tagline { font-size: 14px; color: #9aa3bb; margin-bottom: 22px; min-height: 38px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount b {
  font-family: var(--font-display); font-style: italic;
  font-size: 44px; color: #f0f3fa; line-height: 1; font-weight: 400;
}
.price-amount span { font-size: 12px; color: #6b7593; }
.price-alt { font-size: 12px; color: #6b7593; margin-bottom: 22px; }
.price-features {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px; flex-grow: 1;
}
.price-features li {
  font-size: 12.5px; line-height: 1.5; color: #b8c0d4;
  padding-left: 18px; position: relative;
}
.price-features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: #50e6c3;
  box-shadow: 0 0 6px rgba(80,230,195,0.35);
}
.price-features li.muted { color: #6b7593; }
.price-features li.muted::before { background: #3a4153; box-shadow: none; }
.price-meta {
  font-size: 11px; color: #6b7593; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 14px; line-height: 1.6;
}
.price-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.04); color: #e8ecf5;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; font-weight: 600;
  transition: all 0.15s;
}
.price-card.featured .price-cta {
  background: #f0f3fa; color: #060912; border-color: #f0f3fa;
}
.price-cta:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.price-card.featured .price-cta:hover { background: #fff; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---- PROMO BANNER ---- */
.promo-banner {
  background:
    radial-gradient(ellipse 600px 300px at 30% 50%, rgba(80,230,195,0.1), transparent 70%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(80,230,195,0.25);
  border-radius: 16px;
  padding: 28px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.promo-banner-text h3 { font-size: 19px; font-weight: 600; color: #f0f3fa; margin-bottom: 6px; }
.promo-banner-text p { font-size: 14px; line-height: 1.6; color: #9aa3bb; max-width: 620px; }
.promo-tag {
  font-family: var(--font-display); font-style: italic;
  font-size: 38px; color: #50e6c3; line-height: 1;
}

/* ---- OFFICE / CONTACT CARDS ---- */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.office-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px 28px;
  transition: all 0.25s;
}
.office-card:hover { border-color: rgba(80,230,195,0.25); transform: translateY(-2px); }
.office-flag {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #50e6c3; font-weight: 700; margin-bottom: 8px;
}
.office-name {
  font-size: 22px; font-weight: 600; color: #f0f3fa;
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.office-card address {
  font-size: 13px; line-height: 1.7; color: #9aa3bb;
  font-style: normal; margin-bottom: 18px;
}
.office-meta { display: flex; flex-direction: column; gap: 7px; }
.office-meta a, .office-meta span {
  font-size: 12.5px; color: #b8c0d4;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.office-meta a:hover { color: #50e6c3; }
.office-meta b {
  color: #6b7593; font-weight: 600; min-width: 50px;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }

/* ---- FORM ---- */
.contact-form {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.contact-form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #6b7593; font-weight: 600;
}
.field input, .field select, .field textarea {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: #e8ecf5;
  font-family: inherit; font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(80,230,195,0.4);
  background: rgba(0,0,0,0.35);
}
.field textarea { min-height: 120px; resize: vertical; }
.contact-form button { justify-self: start; cursor: pointer; }
@media (max-width: 700px) {
  .contact-form { grid-template-columns: 1fr; padding: 28px; }
}

/* ---- PARTNER CARDS ---- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.partner-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.partner-card:hover { border-color: rgba(80,230,195,0.25); transform: translateY(-2px); }
.partner-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 240px; height: 120px;
  background: radial-gradient(ellipse at top right, rgba(80,230,195,0.08), transparent 70%);
  pointer-events: none;
}
.partner-name {
  font-size: 22px; font-weight: 600; color: #f0f3fa;
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.partner-url {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: #50e6c3; margin-bottom: 18px;
}
.partner-url a:hover { text-decoration: underline; }
.partner-card h4 {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #6b7593; font-weight: 600; margin: 18px 0 10px;
}
.partner-card ul { display: flex; flex-direction: column; gap: 6px; }
.partner-card li {
  font-size: 13px; line-height: 1.6; color: #9aa3bb;
  padding-left: 14px; position: relative;
}
.partner-card li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(80,230,195,0.6);
}
.partner-card p { font-size: 13px; line-height: 1.6; color: #9aa3bb; }
@media (max-width: 800px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---- LEGAL ---- */
.legal { padding: 60px 0 100px; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.legal-toc-title {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #6b7593; font-weight: 700; margin-bottom: 10px;
}
.legal-toc a {
  font-size: 13px; color: #9aa3bb;
  padding: 4px 0; transition: color 0.15s;
}
.legal-toc a:hover { color: #50e6c3; }
.legal-body { font-size: 15px; line-height: 1.75; color: #9aa3bb; }
.legal-body section { margin-bottom: 48px; scroll-margin-top: 80px; }
.legal-body h2 {
  font-size: 24px; font-weight: 600; color: #f0f3fa;
  letter-spacing: -0.015em; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-body h2 em {
  font-family: var(--font-display); font-style: italic;
  font-weight: 400; color: #50e6c3;
}
.legal-body h3 { font-size: 15px; font-weight: 600; color: #e8ecf5; margin: 22px 0 8px; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { padding-left: 18px; margin-bottom: 14px; }
.legal-body li {
  font-size: 14px; line-height: 1.7; color: #9aa3bb;
  list-style: disc; margin-bottom: 6px;
}
.legal-body strong { color: #e8ecf5; }
.legal-body a { color: #50e6c3; }
.legal-body a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-left: none; padding-left: 0;
    flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
  .legal-toc-title { width: 100%; }
  .legal-toc a {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 12px; border-radius: 999px;
  }
}

/* ---- PRINCIPLES ---- */
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.principle-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 28px 24px;
  transition: all 0.25s; position: relative;
}
.principle-card:hover { border-color: rgba(80,230,195,0.25); transform: translateY(-2px); }
.principle-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 28px; color: #50e6c3; font-weight: 400; line-height: 1;
  margin-bottom: 16px;
}
.principle-card h3 { font-size: 16px; font-weight: 600; color: #f0f3fa; margin-bottom: 8px; }
.principle-card p { font-size: 13px; line-height: 1.6; color: #9aa3bb; }
@media (max-width: 768px) { .principle-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .principle-grid { grid-template-columns: 1fr; } }

/* ---- ELIGIBILITY CHIPS ---- */
.eligibility {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 auto 40px; max-width: 760px; justify-content: center;
}
.eligibility span {
  background: rgba(80,230,195,0.06);
  border: 1px solid rgba(80,230,195,0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px; color: #cfeee2;
}

/* ---- PATHWAY (registration) ---- */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: all 0.25s;
}
.path-card:hover { border-color: rgba(80,230,195,0.3); transform: translateY(-3px); }
.path-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: #50e6c3; letter-spacing: 0.05em; margin-bottom: 8px;
}
.path-card h3 { font-size: 24px; font-weight: 600; color: #f0f3fa; letter-spacing: -0.01em; margin-bottom: 6px; }
.path-card .path-target { font-size: 13px; color: #9aa3bb; margin-bottom: 24px; }
.path-card ul {
  flex-grow: 1; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.path-card li {
  font-size: 13px; line-height: 1.55; color: #b8c0d4;
  padding-left: 16px; position: relative;
}
.path-card li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%;
  background: #50e6c3; box-shadow: 0 0 6px rgba(80,230,195,0.4);
}
.path-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f0f3fa; color: #060912; border-radius: 10px;
  padding: 12px 18px; font-size: 13px; font-weight: 600;
  align-self: flex-start; transition: all 0.15s;
}
.path-cta:hover { background: #fff; transform: translateY(-1px); }
@media (max-width: 900px) { .path-grid { grid-template-columns: 1fr; } }

/* ---- REFS / DOC LIST ---- */
.ref-list { display: flex; flex-direction: column; gap: 10px; }
.ref-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  transition: border-color 0.2s;
}
.ref-item:hover { border-color: rgba(80,230,195,0.2); }
.ref-item-text { font-size: 13px; line-height: 1.6; color: #9aa3bb; flex: 1; min-width: 280px; }
.ref-item-text b { color: #e8ecf5; font-weight: 600; }
.ref-item a {
  font-size: 12px; color: #50e6c3; font-weight: 600;
  border: 1px solid rgba(80,230,195,0.3); padding: 6px 12px;
  border-radius: 8px; transition: background 0.15s; white-space: nowrap;
}
.ref-item a:hover { background: rgba(80,230,195,0.08); }

/* ---- DISCLAIMER FOOTER NOTE ---- */
.footer-disclaimer {
  font-size: 11px; line-height: 1.6; color: #6b7593;
  max-width: 800px; margin: 24px auto 0; text-align: center;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.04);
}

/* ============================================================
   CROSS-PAGE VIEW TRANSITIONS
   Supported: Chrome/Edge 111+, Safari 18.2+, Firefox 131+.
   In unsupported browsers this whole block is silently ignored,
   pages simply hard-cut.

   Effect: navigating between marketing pages crossfades the
   main content while the nav, footer, and logo stay anchored -
   so the page feels like one continuous surface rather than a
   stack of separate documents.
   ============================================================ */

@view-transition { navigation: auto; }

/* Root crossfade - content area. Slightly longer ease so the
   eye registers continuity, not a cut. Outgoing snapshot uses
   a fast fade-out, incoming uses a softer rise-in so the new
   page asserts itself rather than blinking in. */
::view-transition-old(root) {
  animation: vt-fade-out 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}
::view-transition-new(root) {
  animation: vt-rise-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes vt-fade-out {
  to { opacity: 0; }
}
@keyframes vt-rise-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

/* Persistent shell - the nav, footer, and logo are given their
   own view-transition-name so they get their own snapshot pair.
   When old and new share a name AND the same position, the
   browser keeps them visually still while the rest crossfades.
   This is the same technique the credential pages use for
   .form-card / .wordmark. */
.nav { view-transition-name: site-nav; }
.footer { view-transition-name: site-footer; }
.nav .logo { view-transition-name: site-logo; }

/* Each named element gets a gentle, equal-length crossfade so
   any tiny content differences (e.g. active link colour) blend
   instead of flickering. */
::view-transition-old(site-nav),
::view-transition-new(site-nav),
::view-transition-old(site-footer),
::view-transition-new(site-footer),
::view-transition-old(site-logo),
::view-transition-new(site-logo) {
  animation-duration: 0.32s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Respect prefers-reduced-motion - fall back to instant cuts. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(site-nav),
  ::view-transition-new(site-nav),
  ::view-transition-old(site-footer),
  ::view-transition-new(site-footer),
  ::view-transition-old(site-logo),
  ::view-transition-new(site-logo) {
    animation-duration: 0.001ms !important;
  }
}

/* ============================================================
   MOBILE-FIRST OVERRIDES
   ============================================================
   The component sections above are desktop-default with a few
   max-width overrides. This block consolidates the broader
   mobile polish - reflowed hero, denser typography, stacked
   CTAs, the peek card hidden on phones, touch-only affordances,
   and tighter section padding. Kept in one place so future
   small-screen tuning has one obvious home.
   ============================================================ */

/* Tablet and below: trim hero / section padding so the eye
   doesn't have to scroll past so much empty vertical space. */
@media (max-width: 768px) {
  .hero          { padding: 100px 0 60px; }
  .sub-hero      { padding: 92px 0 50px; }
  .pillars,
  .ecosystem,
  .features,
  .gaming,
  .metrics,
  .subjects,
  .free-access,
  .faq-section   { padding: 70px 0; }
  .section-sub   { margin-bottom: 36px; }
}

/* Phone portrait: hero stacks, peek card drops out, type scales
   down to keep above-the-fold information dense. The peek card
   is decorative and burns vertical space on phones - the CTA is
   the message that needs to reach the viewport. */
@media (max-width: 700px) {
  .hero h1       { font-size: 40px; }
  .sub-hero h1   { font-size: 36px; }
  .hero-lede     { font-size: 15px; margin-bottom: 28px; }
  .sub-hero p    { font-size: 15px; }
  .hero-grid     { gap: 24px; }
  .peek          { display: none; }
  .section-title { font-size: 30px; }
  .eyebrow       { white-space: normal; line-height: 1.5; padding: 8px 14px 8px 8px; }
  .trust-row     { margin-top: 32px; padding-top: 20px; }
}

/* Phone portrait: stack CTAs vertically and stretch full-width
   so the primary action is always thumb-reachable, not a small
   pill in the corner. */
@media (max-width: 520px) {
  .ctas                { flex-direction: column; align-items: stretch; gap: 10px; }
  .ctas .btn-primary,
  .ctas .btn-secondary { justify-content: center; width: 100%; }
  .container           { padding: 0 18px; }
}

/* Small phones (320-380px): hard cap typography so display
   strings don't break the layout. */
@media (max-width: 380px) {
  .hero h1          { font-size: 32px; }
  .sub-hero h1      { font-size: 28px; }
  .section-title    { font-size: 26px; }
  .hero             { padding: 90px 0 50px; }
  .sub-hero         { padding: 84px 0 40px; }
  .container        { padding: 0 16px; }
}

/* Pillar grid on phones - the cards are the page's nav hub on
   mobile, so give them more breathing room, bigger type, and
   a bigger touch target. */
@media (max-width: 560px) {
  .pillar-grid    { gap: 10px; }
  .pillar-card    { padding: 26px 22px; padding-right: 60px; }
  .pillar-card h3 { font-size: 17px; margin-bottom: 8px; }
  .pillar-card p  { font-size: 13px; }
  .pillar-icon    { width: 44px; height: 44px; margin-bottom: 16px; }
  .pillar-arrow   { top: 22px; right: 20px; width: 30px; height: 30px; }
}

/* Touch devices (no hover): hover-only affordances need to be
   visible by default since the user can't trigger the hover
   state. The pillar card arrow is the main one - without this,
   the cards look like static blocks on a phone. */
@media (hover: none) {
  .pillar-arrow {
    opacity: 1;
    background: rgba(80,230,195,0.12);
    border-color: rgba(80,230,195,0.32);
  }
  .pillar-card:hover {
    /* Suppress the desktop translate-up on touch - it triggers
       on tap and causes a flicker on iOS. */
    transform: none;
  }
}

/* Detail cards (sub-page deep-dives) - shrink padding so on a
   375px viewport the body copy isn't suffocating against the
   card edge. The 2-column layout already collapses at 800px
   from the component-level rule. */
@media (max-width: 700px) {
  .detail-card-body { padding: 28px 24px; }
  .detail-card-meta { padding: 24px 24px; }
  .detail-card h3   { font-size: 22px; line-height: 1.25; }
  .detail-card p    { font-size: 13.5px; }
}

/* Free-access CTA card on phones - the brand block + body grid
   already stacks at 768px; tighten internal padding on small
   phones so the card doesn't dominate the viewport. */
@media (max-width: 480px) {
  .free-card-left  { padding: 32px 24px; }
  .free-card-right { padding: 28px 24px; }
  .free-ring       { width: 96px; height: 96px; margin-top: 24px; }
  .free-ring-label { font-size: 26px; }
  .free-ctas       { gap: 12px; }
}

/* Footer on phones - links wrap naturally, but the logo +
   links + copy row reads better stacked at narrow widths. */
@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-links { gap: 16px; row-gap: 8px; }
}

/* Nav on very small phones - the bar's horizontal padding from
   the 768px rule is fine, but the logo image scales down a hair
   so the hamburger has room to breathe. */
@media (max-width: 380px) {
  .logo-full { height: 44px; }
}