/* ─────────────────────────────────────────────────────────
   T2K0 Design System
───────────────────────────────────────────────────────── */
:root {
  --bg:       #030508;
  --bg-soft:  #060a10;
  --panel:    #0b1220;
  --panel-2:  #0f1928;
  --ink:      #f4f8fc;
  --muted:    #9cb0c9;
  --buy:      #00e5c8;
  --sell:     #ff4fce;
  --buy-rgb: 0,229,200;
  --sell-rgb: 255,79,206;
  --accent:   #00e5c8;
  --teal-glow: rgba(0,229,200,.22);
  --magenta-glow: rgba(255,79,206,.18);
  --warning:  #f8c146;
  --radius:   14px;
  --radius-lg: 22px;
  --shadow:   0 20px 48px rgba(0,0,0,0.62);
  --shadow-sm: 0 8px 24px rgba(0,0,0,0.44);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: #030508;
  overscroll-behavior: none;
}
body {
  margin: 0;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1400px 700px at -4% 0%, rgba(var(--sell-rgb), .055), transparent 60%),
    radial-gradient(1300px 700px at 104% 6%, rgba(var(--buy-rgb), .045), transparent 58%),
    linear-gradient(180deg, #030508 0%, #040810 48%, #030609 100%);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover {
  text-decoration: none;
  color: var(--sell);
}
ul { margin: 0; padding: 0; list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Sora", "Avenir Next", sans-serif;
  line-height: 1.12;
  margin: 0 0 .85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5.8vw, 3.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 .7rem; }
.eyebrow {
  font-family: "Sora", sans-serif;
  color: var(--buy);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: .35rem;
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.micro { color: var(--muted); font-size: .84rem; }
.center-text { text-align: center; }
.mt-sm  { margin-top: .7rem; }
.mt-lg  { margin-top: 2rem; }

/* ── Layout ── */
.container { width: min(1140px, 92vw); margin: 0 auto; }
.container-expanded { width: min(1280px, 94vw); margin: 0 auto; }
.container-wide { width: min(1400px, 96vw); margin: 0 auto; }
.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.section-dark {
  background:
    radial-gradient(900px 460px at 100% 40%, rgba(var(--buy-rgb), .06), transparent 66%),
    radial-gradient(760px 420px at 0% 90%, rgba(var(--sell-rgb), .05), transparent 68%),
    linear-gradient(180deg, rgba(8,13,20,.74), rgba(5,9,15,.68));
}

main {
  position: relative;
  isolation: isolate;
}

/* Universal Page Offset for Floating Header */
main > *:first-child {
  padding-top: 15rem !important;
  margin-top: 0 !important;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 680px at 18% 10%, rgba(var(--sell-rgb), .025), transparent 70%),
    radial-gradient(980px 620px at 84% 16%, rgba(var(--buy-rgb), .025), transparent 68%);
}

main > * {
  position: relative;
  z-index: 1;
}

/* ── Floating Island Header (DeepCharts Style) ── */
.header-floating-anchor {
  position: fixed;
  top: 50px; /* Lowered from 40px to give larger logo breathing room */
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  pointer-events: none;
}

/* ── Floating Island Constants ── */
:root {
  --island-bg: rgba(8, 15, 26, 0.45);
  --island-bg-hover: rgba(12, 22, 36, 0.65);
  --island-blur: blur(24px) saturate(190%) brightness(1.1);
}

.site-header-island {
  position: relative;
  pointer-events: auto;
  width: 100%;
  max-width: 1140px;
  height: 68px;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 10;
}

/* ── The Master Pill (Background Layer) ── */
.site-header-island::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--island-bg);
  backdrop-filter: var(--island-blur);
  border-radius: 99px;
  z-index: -1;
  pointer-events: none;
  transition: background 0.3s ease;

  /* THE HOLE PUNCH: Punching a perfect ~204px circle in the middle */
  -webkit-mask-image: radial-gradient(circle at center, transparent 102px, black 103px);
  mask-image: radial-gradient(circle at center, transparent 102px, black 103px);
}

/* The outer border frame for the pill */
.site-header-island::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease;
  
  /* Masking the border so it doesn't cross the logo */
  -webkit-mask-image: radial-gradient(circle at center, transparent 102px, black 103px);
  mask-image: radial-gradient(circle at center, transparent 102px, black 103px);
}

/* ── The Deep Circular Cradle (Brand Badge) ── */
.nav-split::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px; /* Scaling with logo */
  height: 155px;
  background: var(--island-bg);
  backdrop-filter: var(--island-blur);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: -2; /* Behind content but visible through the pill's hole */
  pointer-events: none;
  transition: background 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.site-header-island:hover .nav-split::before {
  background: var(--island-bg-hover);
}

.nav-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
}

.nav-group {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-left {
  flex: 1;
  justify-content: flex-start;
}

.nav-right {
  flex: 1;
  justify-content: flex-end;
  gap: 1.5rem;
}

.nav-group a {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
  letter-spacing: -0.01em;
}

.nav-group a:hover {
  color: var(--ink);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* ── Brand Badge (Breakout Effect) ── */
.brand-badge-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin: 0 1rem;
  /* top offset removed to let flexbox center naturally */
}

.header-master-badge {
  height: 145px;
  width: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible;
  /* transform translateY removed for perfect centering */
}

.brand-badge-center:hover .header-master-badge {
  transform: translateY(-4px) scale(1.06);
}
.footer-cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-cta-col .btn {
  margin-top: .5rem;
  width: auto;
}
nav { display: flex; gap: 1.1rem; align-items: center; }
nav a {
  color: var(--ink);
  opacity: .95;
  font-size: .95rem;
}

nav a:not(.btn) {
  position: relative;
  padding: .35rem .68rem;
  border-radius: 6px;
  transition: background-color .18s ease, color .18s ease;
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: -2px;
  height: 2px;
  border-radius: 99px;
  background: var(--buy);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform .2s ease;
}

nav a:not(.btn):hover {
  color: #ffffff;
  background: rgba(255,255,255,.06);
}

nav a:not(.btn):hover::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

nav a[aria-current="page"] {
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  border-radius: 999px;
  padding: .68rem 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .96rem;
  color: #041016;
  background: linear-gradient(138deg, #00e5c8 0%, #5cf3d0 65%, #8cf6dd 100%);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: filter .15s, transform .15s, box-shadow .18s;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(var(--buy-rgb), .28);
  color: #041016;
}
.btn .btn-icon {
  margin-left: .2rem;
  transition: transform .2s ease;
}
.btn:hover .btn-icon {
  transform: translate(2px, -2px);
}
.btn-large { padding: .88rem 1.75rem; font-size: 1.04rem; }
.btn-small { padding: .48rem .9rem; font-size: .88rem; }
.btn-ghost {
  color: var(--ink);
  background: linear-gradient(160deg, rgba(var(--sell-rgb), .18), rgba(var(--buy-rgb), .08));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.62);
  box-shadow: 0 10px 22px rgba(var(--sell-rgb), .16);
  color: var(--ink);
}

a.btn[data-whop*="flow-membership"] {
  background: linear-gradient(138deg, #ff4fce 0%, #ff70c7 62%, #ff95cf 100%);
  color: #19091a;
}

a.btn[data-whop*="flow-membership"]:hover {
  box-shadow: 0 12px 28px rgba(var(--sell-rgb), .28);
  color: #19091a;
}

/* Headers Access Button Override to stay Cyan */
.site-header-island .btn-neon {
  background: linear-gradient(138deg, #00e5c8 0%, #5cf3d0 65%, #8cf6dd 100%) !important;
  color: #041016 !important;
  animation: neonPulse 2.5s infinite ease-in-out !important;
}
.site-header-island .btn-neon:hover {
  box-shadow: 0 0 25px rgba(var(--buy-rgb), .6), 0 0 10px rgba(var(--buy-rgb), .4) !important;
}

a.btn[data-whop*="flow-footprint-lifetime"] {
  background: linear-gradient(138deg, #00e5c8 0%, #5cf3d0 70%, #8cf6dd 100%);
}

a.btn[data-whop*="flow-upgrade"] {
  background: linear-gradient(138deg, rgba(var(--buy-rgb), .9), rgba(var(--sell-rgb), .86));
  color: #0d0d14;
}

/* ── Neon Glow ── */
.btn-neon {
  position: relative;
  box-shadow: 0 0 15px rgba(var(--buy-rgb), .3);
  transition: all .2s ease-out;
  animation: neonPulse 2.5s infinite ease-in-out;
}
.btn-neon:hover {
  box-shadow: 0 0 25px rgba(var(--buy-rgb), .6), 0 0 10px rgba(var(--buy-rgb), .4);
  filter: brightness(1.15);
  transform: translateY(-2px) scale(1.02);
  animation-play-state: paused;
}

@keyframes neonPulse {
  0% { box-shadow: 0 0 12px rgba(var(--buy-rgb), .2), 0 0 5px rgba(var(--buy-rgb), .1); }
  50% { box-shadow: 0 0 22px rgba(var(--buy-rgb), .5), 0 0 12px rgba(var(--buy-rgb), .3); transform: scale(1.01); }
  100% { box-shadow: 0 0 12px rgba(var(--buy-rgb), .2), 0 0 5px rgba(var(--buy-rgb), .1); }
}

.btn-membership {
  background: linear-gradient(138deg, #ff4fce 0%, #ff70c7 62%, #ff95cf 100%) !important;
  color: #19091a !important;
}
.btn-membership:hover {
  box-shadow: 0 0 25px rgba(var(--sell-rgb), .5), 0 0 10px rgba(var(--sell-rgb), .3) !important;
}
.btn-membership.btn-neon {
  animation: neonPulseMagenta 2.5s infinite ease-in-out;
}

@keyframes neonPulseMagenta {
  0% { box-shadow: 0 0 12px rgba(var(--sell-rgb), .2), 0 0 5px rgba(var(--sell-rgb), .1); }
  50% { box-shadow: 0 0 22px rgba(var(--sell-rgb), .5), 0 0 12px rgba(var(--sell-rgb), .3); transform: scale(1.01); }
  100% { box-shadow: 0 0 12px rgba(var(--sell-rgb), .2), 0 0 5px rgba(var(--sell-rgb), .1); }
}

/* ── Tags ── */
.tag {
  display: inline-block;
  padding: .22rem .6rem;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 600;
  font-family: "Sora", sans-serif;
  letter-spacing: .04em;
}
.tag-teal,
.tag-blue   { background: rgba(0,229,200,.18); color: var(--accent); border: 1px solid rgba(0,229,200,.3); }
.tag-green  { background: rgba(0,229,200,.18); color: var(--buy); }
.tag-magenta,
.tag-red    { background: rgba(255,79,206,.18);  color: var(--sell); border: 1px solid rgba(255,79,206,.34); }
.tag-yellow { background: rgba(248,193,70,.18);  color: var(--warning); }
.tag-white  { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

/* ── Hero ── */
.hero {
  --hero-bg-shift: 0px;
  --hero-copy-shift: 1rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1300px 620px at 84% -8%, rgba(var(--buy-rgb), .10), transparent 56%),
    radial-gradient(860px 480px at 8% 12%, rgba(var(--sell-rgb), .08), transparent 58%),
    linear-gradient(180deg, rgba(4,6,10,.92), rgba(4,7,12,.72));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 20% 12%, rgba(8,16,27,.54), transparent 64%),
    radial-gradient(760px 420px at 80% 15%, rgba(7,12,21,.46), transparent 68%),
    linear-gradient(to bottom, rgba(5,8,13,.28), rgba(6,10,17,.68));
}
.hero-center {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-inner {
  max-width: 760px;
  text-align: center;
  animation: heroFadeIn .75s ease-out both;
}
.hero-logo-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.hero-master-logo {
  max-width: 700px;
  width: 96%;
  height: auto;
  filter: drop-shadow(0 0 45px rgba(var(--sell-rgb), 0.18)) drop-shadow(0 0 12px rgba(var(--buy-rgb), 0.08));
  animation: logoPresence 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes logoPresence {
  0% { transform: translateY(24px) scale(0.95) rotateX(8deg); opacity: 0; filter: blur(12px); }
  100% { transform: translateY(0) scale(1) rotateX(0); opacity: 1; filter: blur(0); }
}
.hero h1 {
  max-width: 16ch;
  margin: 0 auto 1rem;
}
.hero .lead {
  margin: 0 auto;
  color: #d2dfec;
}
.cta-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 .8rem;
  justify-content: center;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  margin-bottom: .9rem;
  align-items: center;
}
.hero-points p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.hero-points strong { color: var(--ink); font-weight: 600; }

.hero-trust {
  margin: .95rem auto .55rem;
  display: flex;
  gap: .45rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 760px;
}
.hero-trust span {
  padding: .2rem .58rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(150deg, rgba(0,229,200,.12), rgba(255,79,206,.1));
  color: #d6e4f2;
  font-size: .73rem;
  letter-spacing: .01em;
  white-space: nowrap;
}

.media-window {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(12,22,36,.96), rgba(8,14,22,.96));
  box-shadow: var(--shadow);
}
.media-window-topbar {
  min-height: 34px;
  padding: .45rem .7rem;
  display: flex;
  align-items: center;
  gap: .42rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(22,37,56,.9);
}
.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background: #e040fb; }
.window-dot.amber { background: #f8c146; }
.window-dot.green { background: #00e5c8; }
.media-window-title {
  margin-left: .38rem;
  color: #c3d4e7;
  font-size: .74rem;
  letter-spacing: .01em;
  font-family: "JetBrains Mono", monospace;
}
.media-window-body {
  width: 100%;
  background: #050c14;
}
.media-video-body {
  aspect-ratio: 16 / 9;
}
.hero-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-media-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-bg-window {
  width: min(1160px, 98%);
  opacity: .56;
  transform: translateY(var(--hero-bg-shift)) scale(1.01);
  filter: saturate(1.12) contrast(1.05);
  animation: heroFloat 8s ease-in-out infinite;
}
.hero-inner {
  position: relative;
  z-index: 1;
  transform: translateY(var(--hero-copy-shift));
}

.preview-carousel {
  position: relative;
  margin-top: 1.4rem;
}
.preview-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 24%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: .2rem 0 .4rem;
}
.preview-track::-webkit-scrollbar { display: none; }
.preview-track .preview-card { scroll-snap-align: start; }
.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  margin-bottom: .7rem;
}
.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(140deg, rgba(0,229,200,.22), rgba(255,79,206,.2));
  color: #f2f7ff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.preview-card {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.11);
  overflow: hidden;
  position: relative;
  padding: 1.08rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .72rem;
  background:
    linear-gradient(to top, rgba(6,11,17,.92), rgba(8,13,20,.9)),
    radial-gradient(circle at 16% 12%, rgba(0,229,200,.26), transparent 58%),
    radial-gradient(circle at 90% 10%, rgba(255,79,206,.2), transparent 54%),
    #09131f;
  box-shadow: var(--shadow-sm);
}
.preview-shot-card {
  border-color: rgba(255,255,255,.14);
}
.preview-shot {
  --shot: none;
  --shot-pos: center 46%;
  --shot-zoom: 1.06;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(145deg, rgba(5,10,16,.24), rgba(9,14,22,.36));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  position: relative;
  isolation: isolate;
}
.preview-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--shot);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--shot-pos);
  transform: scale(var(--shot-zoom));
  transform-origin: center;
  filter: saturate(1.1) contrast(1.06);
  z-index: 0;
}
.preview-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  transform: scale(1.06);
  transform-origin: center;
  filter: saturate(1.03) contrast(1.04);
}
.preview-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.16), transparent 44%),
    linear-gradient(to bottom, rgba(8,12,18,.14), transparent 36%);
  z-index: 1;
}
/* ── Header Base (Transparent Wrapper) ── */
.site-header {
  position: absolute; /* Changed from sticky to not occupy space if needed, or keep sticky but invisible */
  top: 0;
  left: 0;
  right: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  z-index: 1000;
}

.site-header::after {
  display: none !important; /* Remove the bottom decorative line */
}
.preview-shot-label {
  position: absolute;
  left: .65rem;
  bottom: .58rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
  color: #d8e2ef;
  padding: .2rem .45rem;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(7,12,19,.72);
  z-index: 2;
}
.preview-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin: 0;
}
.preview-copy {
  margin: 0;
  color: #c8d6e8;
  font-size: .86rem;
}

/* ── Stats bar ── */
.stats-bar {
  background:
    radial-gradient(700px 260px at 10% 40%, rgba(var(--sell-rgb), .14), transparent 65%),
    radial-gradient(700px 260px at 90% 40%, rgba(var(--buy-rgb), .16), transparent 65%),
    linear-gradient(180deg, rgba(12,20,33,.52), rgba(10,16,27,.42));
  border-top: 1px solid rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.03);
  padding: 1.4rem 0;
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--buy);
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.1); }

/* ── Workflow grid ── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.workflow-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.wf-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}
.wf-context .wf-label { color: var(--accent); }
.wf-trigger .wf-label { color: var(--buy); }
.wf-confirm .wf-label { color: var(--sell); }
.wf-signature { font-family: 'Mr Dafoe', cursive; }
.wf-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }

/* ── Feature split ── */
.feature-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.feature-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
  font-size: .95rem;
}
.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--buy);
  font-size: .85rem;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.feature-stack .feature-text {
  max-width: 780px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 2rem;
}
.feature-story > * {
  min-width: 0;
}
.feature-story .feature-text {
  max-width: 520px;
}
.feature-reverse .feature-text { order: 2; }
.feature-reverse .feature-visual { order: 1; }
.feature-reverse { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr); }

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.featured-native-frame {
  --mockup-scale: 0.86;
  --mockup-max-scale: 1;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
  position: relative;
  width: calc(var(--mockup-width, 100%) * var(--mockup-scale));
  height: calc(var(--mockup-height, 520px) * var(--mockup-scale));
}
.featured-native-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--mockup-width, 100%);
  height: var(--mockup-height, 520px);
  border: 0;
  display: block;
  background: transparent;
  transform: scale(var(--mockup-scale));
  transform-origin: top left;
}
.feature-story .featured-native-frame { --mockup-scale: .86; --mockup-max-scale: 1; }
.featured-frame-footprint { --mockup-width: 980px; --mockup-height: 544px; }
.feature-story .featured-frame-footprint { --mockup-scale: .72; --mockup-max-scale: 1; }
.featured-frame-imbalance { --mockup-width: 860px; --mockup-height: 492px; --mockup-scale: .9; }
.featured-frame-tracker  { --mockup-width: 860px; --mockup-height: 492px; --mockup-scale: .9; }

/* ── Coming Soon overlay ── */
.featured-coming-soon { position: relative; }

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(7,9,15,0.38);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.featured-coming-soon:hover .coming-soon-overlay {
  background: rgba(7,9,15,0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.coming-soon-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  padding: 1.6rem 2.4rem;
  background: rgba(8,12,18,0.85);
  border: 1px solid rgba(192,64,176,0.35);
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(192,64,176,0.15), 0 8px 32px rgba(0,0,0,0.5);
  pointer-events: none;
}

.cs-lock {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.cs-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.cs-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C040B0;
}

.coming-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(192,64,176,0.9);
  letter-spacing: 0.04em;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(192,64,176,0.3);
  border-radius: 20px;
  background: rgba(192,64,176,0.07);
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.confidence-card h3 {
  margin-bottom: .35rem;
  font-size: 1.03rem;
}
.confidence-card p {
  margin: 0;
  color: var(--muted);
}

/* ── Cards ── */
.card {
  background: rgba(10,16,26,.94);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 18px 42px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.06);
}
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card-featured {
  border-color: rgba(0,229,200,.38);
  background: rgba(10,16,26,.94);
  box-shadow: 0 12px 30px rgba(0,0,0,.36), inset 0 1px 0 rgba(0,229,200,.08);
}
.card-indicator {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.card-indicator h3 { margin-bottom: .3rem; font-size: 1rem; }
.card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .8rem;
}
.icon-teal,
.icon-blue   { background: rgba(0,229,200,.16); color: var(--accent); border: 1px solid rgba(0,229,200,.34); }
.icon-green  { background: rgba(0,229,200,.15); color: var(--buy);    border: 1px solid rgba(0,229,200,.3); }
.icon-magenta,
.icon-red    { background: rgba(255,79,206,.15); color: var(--sell);   border: 1px solid rgba(255,79,206,.34); }
.icon-yellow { background: rgba(248,193,70,.15); color: var(--warning);border: 1px solid rgba(248,193,70,.3); }
.icon-cyan   { background: rgba(0,229,200,.24);  color: #00e5c8;       border: 1px solid rgba(0,229,200,.45); }

/* ── Testimonials ── */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(0,229,200,.04), var(--panel) 70%);
  border-color: rgba(0,229,200,.14);
}
.testimonial-text {
  color: #d8e8f5;
  font-size: .97rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,229,200,.25), rgba(224,64,251,.25));
  border: 1px solid rgba(0,229,200,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  color: var(--accent);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .9rem;
  margin: 0;
  color: var(--ink);
}
.testimonial-meta {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}

/* ── Pricing cards ── */
.pricing-card   { text-align: center; padding: 1.75rem 1.25rem; }
.pricing-tier   { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .9rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--buy);
  line-height: 1;
  margin: .2rem 0;
}
.pricing-items  { color: var(--ink); font-size: .95rem; margin-bottom: .3rem; }
.pricing-badge {
  display: inline-block;
  background: rgba(0,229,200,.2);
  color: var(--buy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .18rem .6rem;
  border-radius: 6px;
  margin-bottom: .5rem;
}
.section-cta    { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }

/* ── FAQ teaser ── */
.faq-teaser { text-align: center; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: .75rem; }

/* ── CTA section ── */
.cta-section {
  background:
    radial-gradient(900px 480px at 30% 50%, rgba(var(--buy-rgb), .07), transparent 65%),
    radial-gradient(800px 420px at 80% 60%, rgba(var(--sell-rgb), .06), transparent 70%),
    linear-gradient(180deg, rgba(5,8,13,.82), rgba(4,7,11,.74));
  text-align: center;
}

.page-shell { max-width: 980px; }
.page-shell-narrow { max-width: 860px; }
.page-shell-faq { max-width: 780px; }

.page-hero {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.35rem 1.35rem 1rem;
  background: rgba(10,16,26,.92);
  box-shadow: 0 14px 34px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
}

.page-hero .lead {
  max-width: 68ch;
}

.guide-media {
  margin-top: 1.5rem;
  padding: 0.9rem;
}

.guide-media-img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
}

.section-cta-left {
  justify-content: flex-start;
}

.price-inline {
  font-size: .56em;
  opacity: .82;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(var(--hero-copy-shift));
  }
}

@keyframes heroFloat {
  0%,
  100% { transform: translateY(var(--hero-bg-shift)) scale(1.01); }
  50% { transform: translateY(calc(var(--hero-bg-shift) - 5px)) scale(1.012); }
}
.cta-inner { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: .75rem; }

/* ── Guide pages ── */
.guide-breadcrumb {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.guide-breadcrumb a { color: var(--muted); }
.guide-breadcrumb a:hover { color: var(--ink); }
.guide-breadcrumb span { opacity: .4; }

.guide-role-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .22rem .65rem;
  border-radius: 6px;
  margin-bottom: .55rem;
}
.guide-role-badge.context  { background: rgba(0,196,160,.14); color: #00C4A0; border: 1px solid rgba(0,196,160,.3); }
.guide-role-badge.trigger  { background: rgba(0,196,160,.1);  color: #00C4A0; border: 1px solid rgba(0,196,160,.22); }
.guide-role-badge.confirm  { background: rgba(192,64,176,.14); color: #C040B0; border: 1px solid rgba(192,64,176,.3); }

/* Signal scenario */
.signal-scenarios { display: flex; flex-direction: column; gap: 1rem; margin-top: .75rem; }
.signal-scenario {
  border-left: 3px solid var(--buy);
  background: rgba(10,16,26,.92);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.signal-scenario.bearish { border-left-color: var(--sell); }
.signal-scenario.neutral { border-left-color: var(--warning); }
.signal-scenario-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .95rem;
  margin: 0 0 .65rem;
  color: var(--ink);
}
.signal-steps { display: flex; flex-direction: column; gap: .3rem; }
.signal-step {
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  gap: .55rem;
  align-items: baseline;
}
.step-label {
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  flex-shrink: 0;
  padding: .1rem .4rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.step-label.setup    { background: rgba(156,176,201,.12); color: #9cb0c9; }
.step-label.trigger  { background: rgba(0,196,160,.12);   color: #00C4A0; }
.step-label.confirm  { background: rgba(192,64,176,.12);  color: #C040B0; }
.step-label.invalid  { background: rgba(248,193,70,.12);  color: #D4A843; }

/* Confluence table */
.confluence-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .6rem;
  font-size: .88rem;
}
.confluence-table th {
  text-align: left;
  padding: .52rem .75rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: "Space Grotesk", sans-serif;
}
.confluence-table td {
  padding: .65rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--muted);
  vertical-align: top;
}
.confluence-table tr:last-child td { border-bottom: 0; }
.confluence-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.confluence-result {
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem;
  padding: .15rem .45rem;
  border-radius: 5px;
  white-space: nowrap;
}
.confluence-result.bull { background: rgba(0,196,160,.12); color: #00C4A0; }
.confluence-result.bear { background: rgba(192,64,176,.12); color: #C040B0; }
.confluence-result.skip { background: rgba(212,168,67,.12); color: #D4A843; }

/* Layout diagram (chart-setups page) */
.layout-template { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.layout-card {
  background: rgba(10,16,26,.94);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.04);
}
.layout-card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.layout-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem; margin: 0; }
.layout-level { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .18rem .55rem; border-radius: 5px; }
.layout-level.beginner  { background: rgba(0,196,160,.14); color: #00C4A0; }
.layout-level.intermediate { background: rgba(212,168,67,.14); color: #D4A843; }
.layout-level.advanced  { background: rgba(192,64,176,.14); color: #C040B0; }
.layout-diagram {
  display: grid;
  gap: 4px;
  margin: 1rem 0;
  font-family: "JetBrains Mono", monospace;
  font-size: .74rem;
}
.layout-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: .55rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.layout-panel-title { font-weight: 600; color: var(--ink); font-size: .78rem; }
.layout-panel-inds { color: var(--muted); font-size: .73rem; line-height: 1.4; }
.layout-panel.main { grid-column: span 2; }
.layout-panel.teal { border-color: rgba(0,196,160,.3); }
.layout-panel.magenta { border-color: rgba(192,64,176,.3); }
.layout-panel.yellow { border-color: rgba(212,168,67,.3); }
.layout-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.layout-desc { color: var(--muted); font-size: .9rem; margin: .5rem 0 0; }

/* Guide nav strip (prev/next) */
.guide-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.guide-nav-link {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .75rem 1rem;
  background: rgba(10,16,26,.92);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s;
  min-width: 180px;
  flex: 1;
  max-width: 280px;
}
.guide-nav-link:hover { border-color: rgba(255,255,255,.18); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.guide-nav-dir { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: "Space Grotesk", monospace; }
.guide-nav-name { font-size: .92rem; color: var(--ink); font-weight: 600; }
.guide-nav-link.next { text-align: right; margin-left: auto; }


/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-heading { font-size: .72rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
}
.footer-bottom p { color: var(--muted); font-size: .84rem; margin: 0; }

/* ── Responsive ── */

/* ─── Tablet ─── */
@media (max-width: 1000px) {
  .hero {
    --hero-bg-shift: 0px;
    --hero-copy-shift: .8rem;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .hero-inner { max-width: 700px; }
  .preview-track { grid-auto-columns: minmax(0, 48%); }
  .workflow-grid   { grid-template-columns: 1fr; }
  .feature-story { grid-template-columns: 1fr; gap: 1.35rem; }
  .feature-story .feature-text { max-width: 780px; }
  .feature-story .featured-native-frame { --mockup-scale: 1; }
  .feature-reverse .feature-text,
  .feature-reverse .feature-visual { order: initial; }
  .cards-3         { grid-template-columns: 1fr 1fr; }
  .confidence-grid { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

/* ─── Mobile Hamburger (hidden on desktop) ─── */
.nav-mobile-toggle {
  display: none;
}

/* ─── Mobile Drawer (hidden by default everywhere) ─── */
.mobile-nav-drawer {
  display: none;
}

/* ─── Mobile Breakpoint ─── */
@media (max-width: 768px) {

  /* ── Universal offset: tighter on mobile ── */
  main > *:first-child {
    padding-top: 8rem !important;
    margin-top: 0 !important;
  }

  /* ── Header Island: compact pill ── */
  .site-header {
    top: 16px;
  }

  .site-header-island {
    height: 56px;
    max-width: calc(100vw - 32px);
  }

  /* Hole punch radius adjust for smaller pill */
  .site-header-island::before,
  .site-header-island::after {
    -webkit-mask-image: radial-gradient(circle at center, transparent 54px, black 55px);
    mask-image: radial-gradient(circle at center, transparent 54px, black 55px);
  }

  /* Cradle circle: smaller on mobile */
  .nav-split::before {
    width: 108px;
    height: 84px;
  }

  /* Hide desktop nav groups */
  .nav-group {
    display: none !important;
  }

  /* nav-split: center logo, hamburger absolute right */
  .nav-split {
    padding: 0 1rem;
    position: relative;
    justify-content: center;
  }

  /* Logo badge: back to normal flow so flex centering works */
  .brand-badge-center {
    position: static;
    transform: none;
  }

  .header-master-badge {
    width: 90px;
    height: 70px;
  }

  /* ── Hamburger button — absolute right ── */
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    transition: background .2s ease, border-color .2s ease;
    z-index: 20;
  }

  .nav-mobile-toggle:hover {
    background: rgba(0,196,160,.1);
    border-color: rgba(0,196,160,.3);
  }

  .nav-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #F2F6FB;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
  }

  /* X animation when open */
  .nav-mobile-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-mobile-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── Mobile Drawer ── */
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    position: fixed;
    top: calc(16px + 56px + 8px); /* header top + pill height + gap */
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: min(400px, calc(100vw - 32px));
    background: rgba(8, 15, 26, 0.92);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 1rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s cubic-bezier(.22,.68,0,1.2);
    box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
  }

  .mobile-nav-drawer.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-nav-link {
    display: block;
    padding: .85rem 1.1rem;
    border-radius: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(242,246,251,.8);
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
    border: 1px solid transparent;
  }

  .mobile-nav-link:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
    color: #F2F6FB;
  }

  .mobile-nav-cta {
    margin-top: .5rem;
    text-align: center;
    padding: .85rem 1.1rem;
    font-size: 1rem;
    border-radius: 12px;
    justify-content: center;
  }

  /* Drawer separator line */
  .mobile-nav-drawer::before {
    content: "";
    display: block;
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: .1rem -.4rem .5rem;
    order: 4;
  }

  /* ── Global typography ── */
  h1 { font-size: 2.1rem; line-height: 1.15; }
  h2 { font-size: 1.5rem; }
  .lead { font-size: 1rem; }

  /* ── Sections ── */
  .section { padding: 2.5rem 0; }
  .container { width: min(100%, 100vw - 32px); }

  /* ── Hero ── */
  .hero {
    --hero-bg-shift: 0px;
    --hero-copy-shift: .5rem;
    padding-bottom: 3rem;
  }
  .hero .lead { font-size: .95rem; }
  .hero-points p { font-size: .84rem; }
  .hero-trust { gap: .36rem; flex-wrap: wrap; }
  .hero-trust span { font-size: .68rem; }
  .hero-bg-window { width: min(960px, 108%); opacity: .32; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: .7rem; }
  .hero-cta .btn { text-align: center; justify-content: center; }

  /* ── Cards ── */
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .preview-track { grid-auto-columns: minmax(0, 88%); }
  .preview-shot { aspect-ratio: 16 / 9; }

  /* ── Stats ── */
  .stats-row { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
  .stat-sep { display: none; }
  .stat-num { font-size: 2rem; }

  /* ── Carousel controls ── */
  .carousel-controls { justify-content: center; }

  /* ── Confidence & Workflow ── */
  .confidence-grid { grid-template-columns: 1fr; }
  .workflow-grid   { grid-template-columns: 1fr; }

  /* ── Feature stories ── */
  .feature-story { grid-template-columns: 1fr; gap: 1rem; }
  .feature-reverse .feature-text,
  .feature-reverse .feature-visual { order: initial; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .site-footer { padding-top: 2rem; }
  .footer-bottom p { font-size: .78rem; }
}

/* ─── Very small screens (<400px) ─── */
@media (max-width: 400px) {
  .site-header-island { max-width: calc(100vw - 20px); }
  .mobile-nav-drawer  { width: calc(100vw - 20px); }
  h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* ══════════════════════════════════════════
   PHASE 1 HOMEPAGE ADDITIONS
══════════════════════════════════════════ */

.btn-primary-teal {
  background: linear-gradient(135deg, var(--buy) 0%, #00a888 100%);
  color: #020c0a;
  font-weight: 700;
  box-shadow: 0 0 28px rgba(var(--buy-rgb), .35), 0 4px 16px rgba(0,0,0,.4);
}
.btn-primary-teal:hover {
  background: linear-gradient(135deg, #00f5d6 0%, var(--buy) 100%);
  color: #020c0a;
  box-shadow: 0 0 42px rgba(var(--buy-rgb), .55), 0 6px 22px rgba(0,0,0,.45);
  transform: translateY(-1px);
}

.cta-row-left { justify-content: flex-start; }

.fp-screenshot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(var(--buy-rgb), .22);
  box-shadow: 0 20px 56px rgba(0,0,0,.7), 0 0 40px rgba(var(--buy-rgb), .08);
  background: #0a0f18;
}
.fp-screenshot-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .55rem 1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.fp-screenshot-title {
  font-size: .72rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  margin-left: .5rem;
}
.fp-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center 40%;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.compare-vs {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  padding: 0 .5rem;
}
.compare-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.07);
}
.compare-bad  { background: rgba(255,79,206,.05); border-color: rgba(255,79,206,.14); }
.compare-good { background: rgba(var(--buy-rgb), .06); border-color: rgba(var(--buy-rgb), .18); }
.compare-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; margin-bottom: 1rem;
}
.compare-label-bad  { color: var(--sell); }
.compare-label-good { color: var(--buy); }
.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.compare-bad  .compare-list li::before { content: "✗  "; color: var(--sell); opacity: .7; }
.compare-good .compare-list li::before { content: "✓  "; color: var(--buy); }
.compare-list li { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.coming-card { position: relative; padding-top: 2.5rem; }
.coming-badge {
  position: absolute; top: 1.1rem; left: 1.1rem;
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--sell); background: rgba(255,79,206,.1); border: 1px solid rgba(255,79,206,.2);
  border-radius: 20px; padding: .2rem .65rem;
}

.confidence-icon { font-size: 1.8rem; margin-bottom: .75rem; line-height: 1; }

.faq-teaser-section .faq-teaser { max-width: 100%; text-align: left; align-items: flex-start; }
.faq-teaser-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 1.5rem; }
.faq-teaser-inner h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.faq-teaser-inner .lead { font-size: .92rem; }

@media (max-width: 1000px) {
  .compare-grid { grid-template-columns: 1fr; gap: 1rem; }
  .compare-vs { display: none; }
  .coming-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-teaser-inner { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 600px) {
  .coming-grid { grid-template-columns: 1fr; }
  .fp-screenshot-img { max-height: 260px; }
  .cta-row-left { flex-direction: column; }
}

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--buy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Logo Animations ── */
@keyframes logoPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

@keyframes sigPulse {
  0%, 100% { opacity: 0.45; filter: blur(8px) brightness(1); }
  50% { opacity: 0.7; filter: blur(6px) brightness(1.2); }
}

.logo-pulse-halo {
  animation: logoPulse 4s infinite ease-in-out;
  transform-origin: center;
}

.logo-pulse-sig {
  animation: sigPulse 4s infinite ease-in-out;
  animation-delay: 0.5s;
}
