/* ============================================================
   CONNECTION FIBER — Premium Editorial Design System
   Warm, confident, Apple-inspired. Nothing like the competition.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --white: #FFFFFF;
  --off-white: #FAFAF7;
  --cream: #F3EDE4;
  --sand: #E8E2D8;
  --charcoal: #1C1C1C;
  --near-black: #0C0C0C;

  --accent: #FF4D00;
  --accent-hover: #E64500;
  --accent-soft: rgba(255, 77, 0, 0.07);
  --accent-glow: rgba(255, 77, 0, 0.12);
  --blue: #2563EB;

  --text: #1C1C1C;
  --text-2: #4A4A4A;
  --text-3: #888888;
  --text-inv: #FAFAF7;
  --text-inv-2: rgba(250,250,247,0.65);
  --text-inv-3: rgba(250,250,247,0.4);

  --border: #E5E0D8;
  --border-dark: #2A2A2A;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow: 0 8px 30px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.14);

  --wrap: 1200px;
  --wrap-narrow: 880px;
  --wrap-wide: 1400px;

  --serif: 'DM Serif Display', 'Georgia', serif;
  --heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.7s;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Layout --- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-img {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 10px;
}
.brand-name {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.brand-sub {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.2px;
  margin-top: -1px;
}

/* Nav Links */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.1px;
}
.nav a:hover {
  color: var(--text);
  background: rgba(0,0,0,0.04);
}
.nav .pill-link {
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 8px 18px;
}
.nav .pill-link:hover { background: var(--accent-hover); }

/* Top CTAs */
.top-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
}
.top-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.1px;
  transition: all 0.25s ease;
}
.top-cta.primary {
  background: var(--accent);
  color: var(--white);
}
.top-cta.primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.top-cta.secondary {
  color: var(--text-2);
  font-size: 12px;
}
.top-cta.secondary:hover { color: var(--text); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--white);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  border: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,77,0,0.2);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(255,77,0,0.3);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.02);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--text-inv);
}
.btn-dark:hover {
  background: var(--near-black);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 14px 20px;
}
.btn-ghost:hover { color: var(--text); background: rgba(0,0,0,0.03); }
/* Dark context buttons */
.dark .btn-primary { box-shadow: 0 4px 16px rgba(255,77,0,0.3); }
.dark .btn-outline { border-color: var(--border-dark); color: var(--text-inv); }
.dark .btn-outline:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.dark .btn-ghost { color: var(--text-inv-2); }
.dark .btn-ghost:hover { color: var(--text-inv); background: rgba(255,255,255,0.06); }
/* Sizes */
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: var(--r-lg); }
.btn-sm { padding: 10px 18px; font-size: 13px; border-radius: var(--r-sm); }
.btn-wide { width: 100%; }
.btn-pill { border-radius: var(--r-pill); }
/* Icon arrow */
.btn .arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--off-white);
}
/* Gradient mesh orbs */
.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,77,0,0.12), transparent 70%);
  top: -200px; right: -100px;
  animation: orb-drift 25s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.06), transparent 70%);
  bottom: -100px; left: 5%;
  animation: orb-drift 30s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,150,50,0.07), transparent 70%);
  top: 30%; left: 40%;
  animation: orb-drift 22s ease-in-out infinite 5s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.02); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(255,77,0,0.12);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-stat {
  background: var(--white);
  padding: 24px 20px;
  text-align: center;
}
.hero-stat-num {
  font-family: var(--heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1;
}
.hero-stat-num .accent { color: var(--accent); }
.hero-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-top: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.hero-stat-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* Hero Card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card-head {
  padding: 32px 28px 20px;
}
.hero-card-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-card-title {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 800;
  margin-top: 14px;
  letter-spacing: -0.3px;
}
.hero-card-desc {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.6;
}
.hero-card-body {
  display: grid;
  gap: 10px;
  padding: 0 28px 24px;
}
.hero-card-foot {
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.fine { font-size: 13px; color: var(--text-3); }
.fine a { color: var(--accent); font-weight: 600; }
.fine a:hover { text-decoration: underline; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  padding: 120px 0;
}
.section.dark {
  background: var(--charcoal);
  color: var(--text-inv);
}
.section.cream { background: var(--cream); }
.section.white { background: var(--white); }

.section-label {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.dark .section-label { color: var(--accent); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.dark .section-title { color: var(--text-inv); }

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 56ch;
}
.dark .section-desc { color: var(--text-inv-2); }
.section-head { margin-bottom: 56px; }

/* ============================================================
   TRUST BAR / TICKER
   ============================================================ */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.trust-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.trust-num {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.trust-text {
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================================
   FLOW / HOW IT WORKS
   ============================================================ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.flow-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.flow-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.flow-num {
  font-family: var(--heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}
.flow-card h3 {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.flow-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.flow-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ============================================================
   FEATURES / WHY FIBER (Dark Section)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.feature-card {
  padding: 32px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.03);
  transition: all 0.35s var(--ease);
}
.feature-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,77,0,0.25);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r);
  background: rgba(255,77,0,0.08);
  border: 1px solid rgba(255,77,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-inv);
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-inv-2);
}

/* Speed Comparison */
.speed-compare {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: 36px;
}
.speed-compare h3 {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--text-inv);
}
.speed-compare .sub {
  color: var(--text-inv-2);
  font-size: 15px;
  margin-bottom: 28px;
}
.speed-bars { display: flex; flex-direction: column; gap: 20px; }
.speed-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.speed-label {
  min-width: 130px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-inv-2);
}
.speed-track {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.speed-fill {
  height: 100%;
  border-radius: var(--r-pill);
  width: 0;
  transition: width 1.6s var(--ease);
}
.speed-fill.fiber {
  background: linear-gradient(90deg, var(--accent), #FF8533);
}
.speed-fill.cable { background: rgba(255,255,255,0.15); }
.speed-fill.dsl { background: rgba(255,255,255,0.08); }
.speed-val {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 15px;
  min-width: 90px;
  text-align: right;
  color: var(--text-inv);
}
.speed-val.highlight { color: var(--accent); }

/* ============================================================
   COVERAGE / SERVICE AREAS
   ============================================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.coverage-card {
  display: block;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  text-decoration: none;
}
.coverage-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.coverage-card h4 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text);
}
.coverage-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* Callout / Banner */
.callout-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--r-xl);
  background: var(--accent-soft);
  border: 1px solid rgba(255,77,0,0.12);
}
.callout-bar h3 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
}
.callout-bar p { color: var(--text-2); font-size: 14px; }
.callout-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   GALLERY / INSTALLS
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-2);
  border-top: 1px solid var(--border);
}

/* Proof Split */
.proof-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: min(1100px, 94vw);
  max-height: 85vh;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
}
.lb-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
}
.lb-close:hover { background: rgba(255,255,255,0.15); }
body.lb-open { overflow: hidden; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
}
.testimonial:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: #FF8C00;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.testimonial-loc {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ============================================================
   PLANS / PRICING
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.plan-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.plan-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #FF8533);
}
.plan-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.plan-card h3 {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.plan-speed {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  margin-top: 8px;
}
.plan-desc {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}
.plan-ctas {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

/* ============================================================
   GAME / VIDEO SHELL
   ============================================================ */
.media-shell {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}
.media-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--near-black);
  box-shadow: var(--shadow-lg);
  min-height: 480px;
}
.media-frame iframe, .media-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 480px;
}
.media-side .card-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: all 0.35s var(--ease);
}
.card-box:hover { box-shadow: var(--shadow-sm); }
.dark .card-box {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-dark);
}
.card-box h3 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.card-box .muted { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.dark .card-box .muted { color: var(--text-inv-2); }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: 1 / -1; }
label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.2px;
}
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  font-family: var(--body);
  background: var(--white);
  color: var(--text);
  transition: all 0.25s ease;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Dark form inputs */
.dark input, .dark select, .dark textarea {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-dark);
  color: var(--text-inv);
}
.dark input::placeholder, .dark textarea::placeholder { color: var(--text-inv-3); }
.dark input:focus, .dark select:focus, .dark textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,77,0,0.15);
}
.dark label { color: var(--text-inv-2); }

/* ============================================================
   LEAD CAPTURE SECTION
   ============================================================ */
.signup-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-section {
  padding: 100px 0;
  background: var(--charcoal);
  color: var(--text-inv);
  position: relative;
  overflow: hidden;
}
.final-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.final-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.final-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-inv);
}
.final-desc {
  font-size: 17px;
  color: var(--text-inv-2);
  margin-bottom: 32px;
  line-height: 1.7;
}
.final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--off-white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.footer-info {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 6px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-links a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: var(--text);
  background: rgba(0,0,0,0.04);
}

/* ============================================================
   STICKY MOBILE BAR
   ============================================================ */
.sticky-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: rgba(28,28,28,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 -4px 40px rgba(0,0,0,0.15);
}
.sticky-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.sticky-btn.primary {
  background: var(--accent);
  color: var(--white);
}
.sticky-btn.ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text-inv);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }

/* Counter animation */
.count-up { display: inline-block; }

/* ============================================================
   HORIZONTAL RULE / DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}
.dark .divider { background: var(--border-dark); }

/* ============================================================
   STEPPER
   ============================================================ */
.stepper {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.step-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
}
.step-tag.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Bullets */
.bullets { margin: 14px 0 0; padding-left: 20px; }
.bullets li {
  margin: 10px 0;
  color: var(--text-2);
  line-height: 1.6;
  font-size: 15px;
}
.dark .bullets li { color: var(--text-inv-2); }

/* ============================================================
   NOTE
   ============================================================ */
.note-box {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--cream);
  color: var(--text-2);
  font-size: 15px;
}
.note-box a { color: var(--accent); font-weight: 600; }

/* ============================================================
   PAGE HEADER (for subpages)
   ============================================================ */
.page-header {
  padding-top: 120px;
  padding-bottom: 0;
}

/* ============================================================
   ARTICLE (KB)
   ============================================================ */
.article-body {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
}
.article-body h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.article-body h3 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 8px;
}
.article-body p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ============================================================
   CHECK / THANKS page wrapper
   ============================================================ */
.page-card {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

/* Hidden */
.hidden { display: none !important; }

/* Stripe theming */
stripe-pricing-table { --stripe-bg: transparent; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding: 110px 0 60px; }
  .hero-title { font-size: clamp(38px, 5vw, 56px); }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; }
  .gallery { grid-template-columns: 1fr; }
  .media-shell { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .proof-split { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav, .top-ctas { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 12px; right: 12px;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--r-lg);
    background: rgba(250, 250, 247, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    z-index: 99;
  }
  .nav.open a {
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .hero-stats { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 80px; }
  .section { padding: 80px 0; }
  .gallery-item img { height: 200px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 36px; letter-spacing: -0.5px; }
  .section-title { font-size: 28px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { padding: 16px; }
  .plan-card { padding: 28px 24px; }
  .flow-card { padding: 28px 20px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .hero-card-head { padding: 24px 20px 16px; }
  .hero-card-body { padding: 0 20px 20px; }
  .hero-card-foot { padding: 14px 20px; }
  .page-card { padding: 32px 24px; border-radius: var(--r-lg); }
  .final-section { padding: 80px 0; }
}
