/* ============================================================
   TOKENS - dark is the default. .band-light overrides per-section.
   ============================================================ */
:root {
  --bg: #0B0C0E;          /* charcoal-black, from the logo body */
  --surface: #161719;
  --surface-2: #1E2023;
  --surface-line: #2A2D31;
  --sky: #4DB8E0;         /* the logo's glowing G */
  --sky-dim: #2A7FA3;     /* sky blue for text on light sections */
  --amber: #F2A93B;
  --amber-dim: #9A6A12;
  --text: #EDEEF0;
  --text-dim: #8E949C;
  --radius: 10px;
  --max-w: 1180px;
}

.band-light {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --surface-line: #E3E0D6;
  --text: #14181F;
  --text-dim: #5B6270;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

img { max-width: 100%; display: block; }

html { scroll-padding-top: 84px; }

section {
  position: relative;
  background: var(--bg);
  color: var(--text);
}

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(56px, 9vh, 108px) clamp(20px, 5vw, 64px);
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; }

/* ============================================================
   SEAM BLEED - soft multi-hue blob straddling a section boundary
   ============================================================ */
.seam {
  position: relative;
  height: 0;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}
.seam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -80px;
  width: 900px;
  max-width: 140vw;
  height: 160px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 30% 50%, rgba(77,184,224,0.35), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(242,169,59,0.30), transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(200,220,235,0.10), transparent 60%);
  filter: blur(26px);
  opacity: 0.55;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(11, 12, 14, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-line);
}
.logo-group { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; cursor: pointer; }
.cube-mark { width: 34px; height: 30px; flex-shrink: 0; object-fit: contain; }
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--text); }
nav { display: flex; align-items: center; gap: 44px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
nav a { color: var(--text-dim); text-decoration: none; font-size: 0.94rem; transition: color 0.2s ease; }
nav a:hover { color: var(--text); }
.nav-cta { padding: 10px 22px; border-radius: 7px; background: var(--sky); color: #06161E; font-weight: 600; font-size: 0.9rem; }
.nav-ghost { padding: 10px 20px; border-radius: 7px; border: 1px solid var(--surface-line); color: var(--text) !important; font-weight: 600; font-size: 0.9rem; transition: border-color 0.2s ease, background 0.2s ease; }
.nav-ghost:hover { border-color: var(--sky); background: rgba(77, 184, 224, 0.06); }
.nav-signin { font-weight: 600; color: var(--text) !important; padding: 10px 6px; }
.nav-signin:hover { color: var(--sky) !important; }
.nav-toggle { display: none; }

/* ============================================================
   A - HERO
   ============================================================ */
.hero { overflow: hidden; }
.hero .inner { overflow: visible; }
/* Breathing corner glow: the static base is the poster; this layer brightens and expands,
   then settles, on an 8s loop. No translation, no new objects. Reduced motion holds it at mid. */
.hero-glow {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 80% 15%, rgba(77,184,224,0.55), transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(242,169,59,0.12), transparent 42%);
  opacity: 0.65;
  transform-origin: 80% 15%;
  will-change: opacity, transform;
  animation: hero-breathe 8s ease-in-out infinite;
}
@keyframes hero-breathe {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.18); }
}
/* Reduced-motion visitors still see the glow breathe, as brightness only (no growing or shrinking). */
@keyframes hero-breathe-still {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: hero-breathe-still 8s ease-in-out infinite; transform: none; }
}
.hero .inner { position: relative; z-index: 1; }
.hero .inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; color: var(--sky); font-weight: 600; margin: 0 0 18px; }
.hero .eyebrow { font-size: 1.5rem; font-weight: 700; text-shadow: 0 0 18px rgba(77,184,224,0.55); }
/* Rolling word: "Your Digital Partner for [Dispatching / Invoicing / ...]" */
.roll-tag { margin: 0 0 14px; font-size: 1.05rem; }
.solution .roll-tag { text-align: center; }
.roll { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; text-align: left; transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.roll-track { display: flex; flex-direction: column; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.roll-track span { display: block; height: 1.25em; line-height: 1.25em; color: var(--text); font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .roll, .roll-track { transition: none; } }
.hero h1 { font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 22px; }
.hero h1 .nowrap { white-space: nowrap; }
@media (max-width: 420px) { .hero h1 .nowrap { white-space: normal; } }
.subhead { font-size: 1.13rem; line-height: 1.6; color: var(--text-dim); margin: 0 0 34px; max-width: 54ch; }
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.btn-primary {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.02rem; color: #06161E;
  background: linear-gradient(135deg, var(--sky), #6CC8EC); border: none; padding: 16px 34px;
  border-radius: 8px; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(77,184,224,0.28); }
.btn-primary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.guarantee-line { font-size: 0.92rem; color: var(--text-dim); }
.guarantee-line strong { color: var(--text); font-weight: 600; }
/* 3D mockup: turned ~11 deg away toward the right, tipped back ~3 deg, left edge pinned, bleeds off the right edge */
.hero-visual {
  position: relative;
  width: 130%;
  max-width: none;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 14px;
  padding: 10px;
  transform: perspective(1600px) rotateY(-11deg) rotateX(3deg);
  transform-origin: left center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(77,184,224,0.08);
}
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 860px) {
  .hero-visual { width: 100%; transform: none; box-shadow: none; }
}
/* ============================================================
   B - TRUST STRIP
   ============================================================ */
.trust-strip .inner { padding-top: 32px; padding-bottom: 72px; }
.trust-label { text-align: center; font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; color: var(--text-dim); margin: 0 0 28px; }
.trust-label strong { color: var(--text); font-weight: 700; }
.trust-row { display: flex; }
.trust-item { flex: 1; text-align: center; padding: 0 20px; border-left: 1px solid var(--surface-line); }
.trust-item:first-child { border-left: none; }
.trust-item .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--sky); margin-bottom: 6px; white-space: nowrap; }
.trust-item .desc { font-size: 0.86rem; color: var(--text-dim); line-height: 1.4; }

/* ============================================================
   C - OPPORTUNITY COST (light, draft copy)
   ============================================================ */
.opportunity .inner { max-width: 1040px; text-align: left; }
.opportunity h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: 14px; line-height: 1.15; max-width: 700px; }
.btn-inline { display: inline-block; text-decoration: none; margin: 4px 0 8px; }
.opportunity-sub { font-size: 1.15rem; line-height: 1.6; color: var(--text-dim); max-width: 620px; margin: 0 0 32px; }
.opportunity-lead { font-size: 1.05rem; line-height: 1.7; color: var(--text-dim); margin: 0 0 22px; max-width: 700px; }
.chaos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin: 8px 0 30px; }
.chaos-item { border-top: 2px solid var(--sky-dim); padding-top: 14px; }
.chaos-item h3 { font-size: 1.1rem; line-height: 1.3; color: var(--text); margin: 0 0 8px; }
.chaos-item p { font-size: 0.98rem; line-height: 1.6; color: var(--text-dim); margin: 0; }
@media (max-width: 860px) { .chaos-grid { grid-template-columns: 1fr; gap: 22px; } }
.opportunity-shove {
  font-size: 1.05rem; line-height: 1.7; color: var(--text); font-weight: 600; margin: 40px 0 0; max-width: 760px;
  background: var(--surface-2); border: 1px solid rgba(77, 184, 224, 0.45); border-radius: 12px; padding: 20px 24px;
  box-shadow: 0 0 0 1px rgba(77, 184, 224, 0.10), 0 0 22px rgba(77, 184, 224, 0.28), 0 0 56px rgba(77, 184, 224, 0.14);
}
@media (max-width: 860px) {
}

/* ============================================================
   SOLUTION (dark) - the direct answer to Section C's fear list
   compressed to one strip, not a wall of cards
   ============================================================ */
.solution .inner { text-align: center; padding-top: 64px; padding-bottom: 56px; }
.solution h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 16px; }
.solution-lead { font-size: 1.05rem; line-height: 1.6; color: var(--text-dim); max-width: 640px; margin: 0 auto 40px; }
.solution-answers { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; text-align: left; margin-bottom: 44px; }
.solution-answers .answer { border-top: 2px solid var(--sky); padding-top: 16px; }
.solution-answers .answer h3 { font-size: 1.05rem; line-height: 1.3; color: var(--text); margin-bottom: 8px; }
.solution-answers .answer p { font-size: 0.95rem; line-height: 1.6; color: var(--text-dim); margin: 0; }
@media (max-width: 860px) { .solution-answers { grid-template-columns: 1fr; gap: 24px; } }
.solution-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.works-with { text-align: center; color: var(--text-dim); font-size: 0.92rem; margin: 26px auto 0; max-width: 640px; line-height: 1.6; }
.solution-item {
  font-size: 0.88rem; font-weight: 600; color: var(--sky);
  padding: 0 18px; border-left: 1px solid var(--surface-line);
  white-space: nowrap;
}
.solution-item:first-child { border-left: none; }
@media (max-width: 860px) {
  .solution-strip { flex-direction: column; gap: 14px; }
  .solution-item { border-left: none; padding: 0; }
}

/* ============================================================
   D - PERSPECTIVE ENGINE (real build - structure/logic untouched,
   colors recolored from the original cyan/navy to the logo's sky blue/charcoal)
   ============================================================ */
#hero-stage {
  --stage-h: 72vh;
  position: relative;
  width: 100%;
  height: var(--stage-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg);
}

#canvas-container .cube-fallback[hidden] { display: none; }

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bullets-panel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: clamp(200px, 18vw, 320px);
  height: calc(var(--stage-h) * 0.536);
  min-height: 240px;
  pointer-events: auto;
}
.bullets-panel.left-side { left: clamp(70px, 7vw, 120px); }
.bullets-panel.right-side { right: clamp(70px, 7vw, 120px); }

.bullet-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.bullet-card-list li {
  background: rgba(22, 23, 25, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(77, 184, 224, 0.4);
  border-left: 4px solid var(--sky);
  border-radius: 10px;
  padding: clamp(8px, 1.2vh, 16px) clamp(10px, 1vw, 20px);
  color: var(--text);
  font-size: clamp(13px, 0.85vw, 16px);
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  height: calc(var(--stage-h) * 0.1787);
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bullet-card-list li .highlight-verb {
  color: var(--sky);
  font-weight: 900;
  font-size: clamp(14px, 0.95vw, 18px);
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: var(--surface-2);
  border: 3px solid var(--sky);
  color: var(--sky);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(77, 184, 224, 0.35);
  transition: all 0.25s ease;
}
.nav-arrow.left { left: clamp(10px, 1.5vw, 24px); }
.nav-arrow.right { right: clamp(10px, 1.5vw, 24px); }
.nav-arrow:hover { background: var(--sky); color: #06161E; box-shadow: 0 0 35px rgba(77, 184, 224, 0.9); transform: translateY(-50%) scale(1.1); }

nav#nav-container { z-index: 60; padding: 24px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.nav-btn { background: var(--surface-2); border: 2px solid rgba(255, 255, 255, 0.25); color: var(--text-dim); padding: 12px 22px; border-radius: 24px; font-weight: 900; font-size: 11px; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; }
.nav-btn:hover { border-color: var(--sky); color: var(--text); transform: translateY(-2px); }
.nav-btn.active { background: var(--amber); color: #06161E; border-color: var(--amber); box-shadow: 0 0 25px rgba(242, 169, 59, 0.6); }

/* Phone / small tablet: stack the engine. Tabs on top, cube in the middle, all six bullets below.
   Desktop layout above 820px is untouched. */
@media (max-width: 820px) {
  #hero-stage {
    --nav-h: 104px;
    --canvas-h: min(88vw, 520px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 20px;
  }
  nav#nav-container {
    order: 0;
    height: var(--nav-h);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 36px;
    gap: 8px;
    padding: 16px 16px 8px;
    margin: 0;
  }
  .nav-btn { height: 36px; padding: 0 6px; font-size: 10px; letter-spacing: 0.6px; white-space: nowrap; }
  #canvas-container { order: 1; position: relative; height: var(--canvas-h); }
  .nav-arrow { top: calc(var(--nav-h) + var(--canvas-h) / 2); width: 40px; height: 40px; font-size: 18px; }
  .nav-arrow.left { left: 8px; }
  .nav-arrow.right { right: 8px; }
  .bullets-panel {
    display: block; position: static; transform: none;
    width: auto; height: auto; min-height: 0; padding: 0 16px; margin: 0;
  }
  .bullets-panel.left-side { order: 2; margin-top: 8px; }
  .bullets-panel.right-side { order: 3; margin-top: 8px; }
  .bullet-card-list { display: flex; flex-direction: column; gap: 8px; height: auto; }
  .bullet-card-list li { height: auto; min-height: 0; padding: 10px 12px; font-size: 13px; line-height: 1.3; }
  .bullet-card-list li .highlight-verb { display: inline; margin: 0 6px 0 0; font-size: 12px; }
}
/* Phone: each bullet list is a swipeable row (one card plus a peek of the next) instead of a six-card stack */
@media (max-width: 599px) {
  .bullets-panel { padding: 0 0 0 16px; }
  .bullet-card-list {
    display: flex; flex-direction: row; gap: 10px; overflow-x: auto; padding: 4px 16px 10px 0;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .bullet-card-list::-webkit-scrollbar { display: none; }
  .bullet-card-list li { flex: 0 0 78vw; scroll-snap-align: start; min-height: 64px; }
  .bullets-panel.left-side { margin-top: 12px; }
  .bullets-panel.right-side { margin-top: 0; }
}
/* Tablet portrait: same stacked layout, bullets three across like the desktop sides */
@media (min-width: 600px) and (max-width: 820px) {
  .bullets-panel { padding: 0 24px; }
  .bullet-card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .bullet-card-list li { padding: 12px 14px; font-size: 14px; }
  .bullet-card-list li .highlight-verb { display: block; margin: 0 0 2px; font-size: 13px; }
}

#steps-section { position: relative; z-index: 10; background: var(--bg); padding: 56px 32px 64px; max-width: 980px; margin: 0 auto; border-top: 2px solid var(--sky); }
#steps-section .before-after { margin-top: 0; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-tag { color: var(--sky); font-size: 11px; font-weight: 900; letter-spacing: 3px; margin-bottom: 8px; }
.section-header h2 { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-header p { color: var(--text-dim); font-size: 15px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

.step-card {
  position: relative;
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 2px solid rgba(77, 184, 224, 0.35);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 138px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.step-card:hover {
  border-color: var(--sky);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(77, 184, 224, 0.25);
}
.card-icon { width: 34px; height: 34px; margin-bottom: 12px; color: var(--sky); }
.card-icon svg { width: 100%; height: 100%; }
.step-card h3 { font-size: 13px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.step-card p { font-size: 11.5px; color: var(--text-dim); line-height: 1.45; }

.step-card.hub-card {
  background: linear-gradient(145deg, #26292E 0%, #17191C 100%);
  border: 3px solid var(--amber);
  box-shadow: 0 0 35px rgba(242, 169, 59, 0.4);
}
.hub-icon { color: var(--amber); width: 40px; height: 40px; }
.step-card.hub-card h2 { font-size: 19px; font-weight: 900; letter-spacing: 3px; color: var(--text); text-transform: uppercase; margin-top: 4px; }
.hub-bar { width: 64px; height: 4px; background: var(--amber); border-radius: 2px; margin-top: 12px; box-shadow: 0 0 12px var(--amber); }

/* ============================================================
   E - DIGITAL EMPLOYEE (light, draft)
   ============================================================ */
.employee .inner { max-width: 700px; text-align: left; }
.employee h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 18px; line-height: 1.2; }
.employee p { font-size: 1.05rem; line-height: 1.7; color: var(--text-dim); margin: 0 0 16px; }


/* ============================================================
   F - REAL RESULTS (dark, verified stats)
   ============================================================ */
.results .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.results h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 18px; line-height: 1.2; }
.results p { font-size: 1.02rem; line-height: 1.7; color: var(--text-dim); margin: 0 0 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: 12px; padding: 22px 20px; text-align: center; }
.stat-card .stat-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--amber); }
.stat-card .stat-label { font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; line-height: 1.4; }

/* ============================================================
   REVIEWS (dark)
   ============================================================ */
.reviews .inner { padding-top: 0; }
.reviews-lead { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; color: var(--text-dim); margin-bottom: 24px; text-align: center; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.review-card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: 14px; padding: 26px 28px; }
.review-card .stars { color: var(--amber); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-quote { font-size: 1rem; line-height: 1.6; color: var(--text); margin: 0 0 18px; }
.review-who strong { display: block; color: var(--text); font-size: 0.95rem; }
.review-who span { color: var(--text-dim); font-size: 0.85rem; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================================
   G - CALCULATOR (light, functional first-draft logic)
   ============================================================ */
.calculator .inner { max-width: 620px; }
.calc-card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: 16px; padding: clamp(24px, 4vw, 40px); }
.calc-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.calc-card .calc-sub { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 28px; }
.calc-field { margin-bottom: 18px; }
.calc-field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.calc-field input {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--surface-line);
  background: var(--bg); color: var(--text); font-size: 1rem; font-family: 'Inter', sans-serif;
}
.calc-result { margin-top: 26px; padding: 20px; border-radius: 10px; background: var(--bg); border: 1px solid var(--surface-line); display: none; }
.calc-result.show { display: block; }
.calc-result .result-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--sky); }
.band-light .calc-result .result-num { color: #175270; }
.band-light .calc-table tr.net td { border-top-color: #175270; }
.calc-result .result-label { font-size: 0.86rem; color: var(--text-dim); margin-top: 4px; }
.calc-proof { font-size: 0.9rem; font-style: italic; color: var(--text-dim); margin-top: 22px; line-height: 1.5; }
.calc-help { display: block; font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
.calc-field input[readonly] { background: var(--surface-2); color: var(--text); border-style: dashed; }
.calc-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.9rem; }
.calc-table th, .calc-table td { padding: 8px 6px; text-align: right; border-top: 1px solid var(--surface-line); color: var(--text); }
.calc-table th:first-child, .calc-table td:first-child { text-align: left; color: var(--text-dim); }
.calc-table thead th { border-top: none; color: var(--text-dim); font-weight: 600; }
.calc-table tr.net td { font-weight: 700; color: var(--text); border-top: 2px solid var(--sky-dim); }

/* ============================================================
   H - OFFER + GUARANTEE (dark)
   ============================================================ */
.offer h2 { text-align: center; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 44px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.offer-grid.single { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
.offer-card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: 14px; padding: 32px; }
.offer-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.offer-card p { font-size: 0.94rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.offer-facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.offer-facts li { font-size: 0.94rem; color: var(--text-dim); line-height: 1.5; padding-left: 22px; position: relative; }
.offer-facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px rgba(77,184,224,0.6); }
.offer-facts strong { color: var(--text); }
.offer-totals { font-size: 0.94rem; color: var(--text-dim); line-height: 1.6; margin: -6px 0 24px; padding-top: 16px; border-top: 1px solid var(--surface-line); }
.offer-card.featured { border-color: var(--amber); }
.guarantee-band {
  text-align: center; padding: 22px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(242,169,59,0.10), rgba(77,184,224,0.06));
  border: 1px solid rgba(242, 169, 59, 0.45);
  box-shadow: 0 0 28px rgba(242, 169, 59, 0.12);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.01em;
}

/* ============================================================
   I - FOUNDER (light, facts locked / prose draft)
   ============================================================ */
.founder .inner { max-width: 700px; }
.founder h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 18px; }
.founder p { font-size: 1.05rem; line-height: 1.75; color: var(--text-dim); margin: 0 0 16px; }

/* ============================================================
   J - FAQ (light)
   ============================================================ */
.faq .inner { max-width: 700px; }
.faq h2 { text-align: center; margin-bottom: 36px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.faq details { border-top: 1px solid var(--surface-line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--surface-line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--text-dim); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }

/* ============================================================
   K - FINAL CTA (dark)
   ============================================================ */
.final-cta { text-align: center; background: linear-gradient(180deg, var(--surface), var(--bg)); }
.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.final-cta .btn-primary { margin: 0; display: inline-block; }
.final-actions { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.final-actions .nav-ghost { display: inline-block; text-decoration: none; }
.booking-embed {
  margin: 32px auto 0; max-width: 820px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--surface-line); background: #FFFFFF;
}
.booking-embed:empty, .booking-embed:not(:has(iframe)) { display: none; }
.booking-embed iframe { display: block; width: 100%; min-height: 720px; border: 0; }
@media (max-width: 640px) { .booking-embed iframe { min-height: 860px; } }
.calc-next { display: inline-block; margin-top: 18px; text-decoration: none; }
footer { text-align: center; padding: 32px 20px 48px; font-size: 0.82rem; color: var(--text-dim); }
footer a { color: var(--text-dim); margin: 0 10px; text-decoration: none; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 860px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; min-height: 260px; }
  .hero-copy { order: 1; max-width: none; }
  nav, .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; color: var(--text); background: none; border: none; font-size: 1.4rem; cursor: pointer; padding: 4px 8px; }
  /* Open menu: drops down under the header bar */
  header.menu-open { background: var(--bg); border-bottom-color: var(--surface-line); }
  header.menu-open nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--surface-line);
    padding: 8px 20px 24px; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  }
  header.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  header.menu-open .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--surface-line); font-size: 1.05rem; color: var(--text); }
  header.menu-open .nav-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 18px; }
  header.menu-open .nav-signin, header.menu-open .nav-ghost, header.menu-open .nav-cta { text-align: center; padding: 13px 20px; }
  header.menu-open .nav-signin { border: 1px solid var(--surface-line); border-radius: 7px; }
  .trust-row { flex-wrap: wrap; }
  .trust-item { flex: 1 1 50%; margin-bottom: 20px; border-left: none; }
  .results .inner { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* Before / With Gridabyte */
.before-after { max-width: 900px; margin: 8px auto 0; border: 1px solid var(--surface-line); border-radius: 14px; overflow: hidden; background: var(--surface); text-align: left; }
.ba-head, .ba-row { display: grid; grid-template-columns: 1fr 1.25fr; }
.ba-head span { padding: 14px 22px; font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); background: var(--surface-2); }
.ba-head span + span { color: var(--sky); }
.ba-row { border-top: 1px solid var(--surface-line); }
.ba-row span { padding: 15px 22px; font-size: 0.97rem; line-height: 1.5; }
.ba-row span:first-child { color: var(--text-dim); }
.ba-row span + span { color: var(--text); font-weight: 600; position: relative; padding-left: 44px; border-left: 1px solid var(--surface-line); }
.ba-row span + span::before { content: ""; position: absolute; left: 20px; top: 1.25em; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px rgba(77,184,224,0.6); }
@media (max-width: 640px) {
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-row span:first-child { padding-bottom: 4px; font-size: 0.88rem; }
  .ba-row span:first-child::before { content: "Before: "; font-weight: 700; }
  .ba-row span + span { border-left: 0; padding-top: 0; }
  .ba-row span + span::before { top: 0.45em; }
}

/* Floating Run the Numbers: appears after the hero, hides while the calculator or booking is on screen */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: var(--sky); color: #06161E; font-weight: 700; font-size: 0.92rem; padding: 13px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 24px rgba(77,184,224,0.35); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { filter: brightness(1.08); }
@media (max-width: 640px) { .float-cta { right: 12px; bottom: 12px; padding: 12px 18px; } }
