/* =========================================================
   Vector — marketing site
   Aesthetic: cockpit / instrument-panel ops
   ========================================================= */

:root {
  /* Surfaces */
  --bg-deep: #060a14;
  --bg: #0e1626;
  --bg-raised: #161f33;
  --bg-elevated: #1c273e;
  --bg-amber-tint: rgba(245, 166, 35, 0.04);

  /* Borders */
  --border-hairline: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Foreground */
  --fg: #e6ecf5;
  --fg-dim: #8a96ad;
  --fg-mute: #5b6680;

  /* Accents */
  --amber: #f5a623;
  --amber-bright: #ffb84d;
  --amber-deep: #b87600;
  --amber-glow: rgba(245, 166, 35, 0.20);
  --cyan: #5fb8e8;
  --cyan-glow: rgba(95, 184, 232, 0.18);
  --green: #4ade80;
  --red: #ef5454;
  --magenta: #d96be4;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* =========================================================
   RESET
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: #0a0e18; }

/* =========================================================
   GLOBAL ATMOSPHERE
   Subtle grid overlay + amber glow at top of viewport
   ========================================================= */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 30%, transparent 80%);
}

/* =========================================================
   TYPOGRAPHY UTILITIES
   ========================================================= */

.mono {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.eyebrow--amber { color: var(--amber); }
.eyebrow--cyan { color: var(--cyan); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

h1 { font-size: clamp(40px, 6.5vw, 84px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.4vw, 32px); }
h4 { font-size: 18px; }

p { margin: 0; color: var(--fg-dim); }

/* =========================================================
   LAYOUT
   ========================================================= */

.shell {
  position: relative;
  z-index: 1;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.row { display: flex; align-items: center; gap: 16px; }
.col { display: flex; flex-direction: column; }

/* =========================================================
   STATUS BANNER (top strip)
   ========================================================= */

.status-banner {
  position: relative;
  border-bottom: 1px solid var(--border-hairline);
  background: linear-gradient(90deg,
    rgba(245, 166, 35, 0.08) 0%,
    rgba(245, 166, 35, 0.02) 50%,
    rgba(245, 166, 35, 0.08) 100%);
  overflow: hidden;
}
.status-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,
    transparent, transparent 12px,
    rgba(245, 166, 35, 0.04) 12px, rgba(245, 166, 35, 0.04) 14px);
  pointer-events: none;
}
.status-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px var(--gutter);
  color: var(--amber);
}
.status-banner__dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18), 0 0 12px var(--amber-glow);
  animation: pulse 1.8s ease-in-out infinite;
}
.status-banner__msg { display: flex; align-items: center; gap: 12px; }
.status-banner__cta { color: var(--fg); border-bottom: 1px solid var(--border-strong); padding-bottom: 1px; transition: border-color .2s; }
.status-banner__cta:hover { border-color: var(--amber); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18), 0 0 12px var(--amber-glow); }
  50%      { box-shadow: 0 0 0 8px rgba(245, 166, 35, 0.04), 0 0 22px var(--amber-glow); }
}

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(14, 22, 38, 0.78);
  border-bottom: 1px solid var(--border-hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.brand__mark {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  position: relative;
}
.brand__mark svg { width: 28px; height: 28px; }
.brand__name { color: var(--fg); }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  text-transform: uppercase;
  border-left: 1px solid var(--border-hairline);
  padding-left: 12px;
  margin-left: 4px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 14px;
  color: var(--fg-dim);
  transition: color .2s;
  position: relative;
}
.nav__link:hover { color: var(--fg); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--fg);
  transition: all .2s;
}
.nav__cta:hover {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

@media (max-width: 720px) {
  .nav__links { gap: 14px; }
  .nav__link:not(.nav__cta):not(.nav__link--keep) { display: none; }
  .brand__sub { display: none; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .15s var(--ease-snap), box-shadow .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber);
  color: #0a0e18;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 8px 24px -8px rgba(245, 166, 35, 0.6);
}
.btn--primary:hover {
  background: var(--amber-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 14px 32px -10px rgba(245, 166, 35, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
}
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  width: 1100px; height: 600px;
  background: radial-gradient(closest-side, rgba(245, 166, 35, 0.16), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}
.hero::after {
  content: '';
  position: absolute;
  top: 80px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, var(--cyan-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 1080px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: rgba(255, 255, 255, 0.02);
}
.hero__chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.hero h1 {
  color: var(--fg);
}
.hero h1 .accent {
  color: var(--amber);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 4px;
}
.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  max-width: 540px;
  color: var(--fg-dim);
}
.hero__sub strong { color: var(--fg); font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  margin-top: 8px;
  flex-wrap: wrap;
}
.hero__meta-bullet {
  width: 3px; height: 3px; background: var(--fg-mute); border-radius: 50%;
}

/* Hero instrument panel (right side mock) */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--bg-raised), var(--bg));
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}
.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.panel__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.panel__chrome-dots { display: flex; gap: 6px; }
.panel__chrome-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.panel__chrome-dot--green { background: var(--green); box-shadow: 0 0 8px rgba(74, 222, 128, 0.5); }

.dispatch {
  display: grid;
  gap: 10px;
}
.dispatch__row {
  display: grid;
  grid-template-columns: 64px 80px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.dispatch__row--gated { border-color: rgba(245, 166, 35, 0.4); background: var(--bg-amber-tint); }
.dispatch__time { color: var(--fg-mute); letter-spacing: 0.05em; }
.dispatch__tail { color: var(--fg); font-weight: 600; }
.dispatch__pilot { color: var(--fg-dim); font-family: var(--font-sans); font-size: 13px; }
.dispatch__status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid;
}
.dispatch__status--ok { color: var(--green); border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.08); }
.dispatch__status--warn { color: var(--amber); border-color: rgba(245, 166, 35, 0.4); background: rgba(245, 166, 35, 0.08); }
.dispatch__status--mute { color: var(--fg-mute); border-color: var(--border); }

.panel__readouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-hairline);
  margin-top: 14px;
  border: 1px solid var(--border-hairline);
}
.panel__readout {
  background: var(--bg);
  padding: 12px 14px;
}
.panel__readout-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.panel__readout-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.panel__readout-value--accent { color: var(--cyan); }
.panel__readout-value--warn { color: var(--amber); }

/* =========================================================
   AIRPORT MARQUEE
   ========================================================= */

.marquee {
  position: relative;
  border-block: 1px solid var(--border-hairline);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 60s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
}
.marquee__item { display: inline-flex; align-items: center; gap: 10px; }
.marquee__item span { color: var(--fg-dim); }
.marquee__sep { width: 4px; height: 4px; background: var(--amber); border-radius: 50%; opacity: 0.6; }

@keyframes marquee {
  to { transform: translateX(calc(-50% - 32px)); }
}

/* =========================================================
   SECTIONS
   ========================================================= */

section { position: relative; }

.section {
  padding: clamp(72px, 11vw, 140px) 0;
}
.section--alt { background: var(--bg-deep); }
.section--alt::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.section__head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 760px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--split {
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
  max-width: var(--max);
}
@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1fr 1fr; }
}

.section__num {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.section__num::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--amber);
}

.section__title {
  color: var(--fg);
  max-width: 720px;
}
.section__sub {
  font-size: 18px;
  line-height: 1.55;
  max-width: 580px;
  color: var(--fg-dim);
}

/* =========================================================
   VALUE PROPS
   ========================================================= */

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 760px) {
  .values { grid-template-columns: repeat(3, 1fr); }
}
.value {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .25s;
}
.value:hover { background: var(--bg-raised); }
.value__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}
.value__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.value__body { font-size: 15px; line-height: 1.55; color: var(--fg-dim); }

/* =========================================================
   SCREENSHOT SHOWCASE — alternating
   ========================================================= */

.shots { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 140px); }

.shot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .shot { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .shot--reverse > .shot__copy { order: 2; }
}
.shot__copy { display: flex; flex-direction: column; gap: 18px; }
.shot__num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.shot__num-mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  font-size: 10px;
  color: var(--cyan);
}
.shot__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.1;
}
.shot__body { font-size: 16px; line-height: 1.6; color: var(--fg-dim); max-width: 460px; }
.shot__bullets {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.shot__bullets li {
  font-size: 14px;
  color: var(--fg-dim);
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
}
.shot__bullets li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-top: 8px;
}

.shot__frame {
  position: relative;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 8px;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}
.shot__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), transparent 40%);
  pointer-events: none;
  border-radius: inherit;
}
.shot__frame-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.shot__frame-dots { display: flex; gap: 5px; }
.shot__frame-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.shot__frame-dot:nth-child(1) { background: rgba(239, 84, 84, 0.6); }
.shot__frame-dot:nth-child(2) { background: rgba(245, 166, 35, 0.7); }
.shot__frame-dot:nth-child(3) { background: rgba(74, 222, 128, 0.7); }
.shot__img {
  width: 100%;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border-hairline);
  background: var(--bg);
}

/* =========================================================
   FLOWS — cross-module
   ========================================================= */

.flows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 760px) { .flows { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .flows { grid-template-columns: 1fr 1fr 1fr; } }

.flow {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.flow:hover { background: var(--bg-raised); }
.flow:hover .flow__arrow { transform: translateX(4px); color: var(--amber); }

.flow__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.flow__chain-pill {
  padding: 3px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 3px;
  color: var(--fg-dim);
}
.flow__chain-arrow { color: var(--amber); }
.flow__title { font-size: 19px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; line-height: 1.25; }
.flow__body { font-size: 14px; line-height: 1.55; color: var(--fg-dim); }
.flow__arrow {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: auto;
  transition: transform .25s, color .25s;
}

/* =========================================================
   MIGRATION TIMELINE
   ========================================================= */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .timeline--three { grid-template-columns: repeat(3, 1fr); } }

.tstep {
  background: var(--bg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  min-height: 200px;
}
.tstep__time {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.tstep__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tstep__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.tstep__body { font-size: 13px; line-height: 1.55; color: var(--fg-dim); }
.tstep__connector {
  position: absolute;
  display: none;
  top: 50%; right: -1px;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: translateY(-50%);
  z-index: 2;
}
@media (min-width: 900px) { .tstep:not(:last-child) .tstep__connector { display: block; } }

/* =========================================================
   PRICING TEASER + PRICING PAGE
   ========================================================= */

.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .3s;
}
.tier:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.tier--featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber-glow), 0 30px 60px -30px rgba(245, 166, 35, 0.4);
}
.tier--featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -10px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  background: var(--amber);
  color: #0a0e18;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 700;
}
.tier__name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--fg);
}
.tier__price-amount {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.tier__price-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
.tier__sub { font-size: 14px; color: var(--fg-dim); line-height: 1.5; }
.tier__divider { height: 1px; background: var(--border-hairline); }
.tier__features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.tier__features li {
  font-size: 14px;
  color: var(--fg-dim);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.45;
}
.tier__features li::before {
  content: '';
  width: 14px; height: 14px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23f5a623' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='2,6 5,9 10,3'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.tier__features li.x::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%235b6680' stroke-width='2' stroke-linecap='round'><line x1='3' y1='3' x2='9' y2='9'/><line x1='9' y1='3' x2='3' y2='9'/></svg>");
}
.tier__features li.x { color: var(--fg-mute); }
.tier__cta { margin-top: auto; }

.pricing-foot {
  margin-top: 36px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
}
.pricing-foot a {
  color: var(--amber);
  border-bottom: 1px solid rgba(245, 166, 35, 0.4);
  transition: border-color .2s, color .2s;
}
.pricing-foot a:hover { color: var(--amber-bright); border-color: var(--amber); }

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
}
.faq__item {
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-raised);
}
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%;
  padding: 24px 28px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.015em;
  transition: background .2s;
}
.faq__q:hover { background: var(--bg-elevated); }
.faq__q-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-dim);
  flex-shrink: 0;
  transition: transform .25s, border-color .25s, color .25s;
}
.faq__item.open .faq__q-mark { transform: rotate(45deg); border-color: var(--amber); color: var(--amber); }
.faq__a {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
}
.faq__item.open .faq__a {
  max-height: 600px;
  padding: 0 28px 26px;
}

/* =========================================================
   COMPARISON TABLE
   ========================================================= */

.compare {
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-raised);
  margin-top: 16px;
}
.compare__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border-bottom: 1px solid var(--border-hairline);
}
.compare__row:last-child { border-bottom: 0; }
.compare__row--head {
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.compare__cell {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-dim);
}
.compare__cell--feature { color: var(--fg); font-weight: 500; }
.compare__cell--us { color: var(--amber); border-left: 1px solid var(--border-hairline); border-right: 1px solid var(--border-hairline); background: rgba(245, 166, 35, 0.03); }
.compare__cell--them { color: var(--fg-mute); }
.compare__check { width: 14px; height: 14px; flex-shrink: 0; }
.compare__group {
  background: var(--bg);
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--border-hairline);
}

/* =========================================================
   CTA BAND
   ========================================================= */

.cta-band {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-deep);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(245, 166, 35, 0.08), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 20px; align-items: center; max-width: 640px; margin-inline: auto; padding-inline: var(--gutter); }
.cta-band h2 { color: var(--fg); }
.cta-band__sub { font-size: 17px; max-width: 520px; }
.cta-band__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-deep);
  padding: 64px 0 40px;
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer__tag { font-size: 13px; color: var(--fg-mute); line-height: 1.55; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 4px;
}
.footer__link {
  font-size: 14px;
  color: var(--fg-dim);
  transition: color .2s;
}
.footer__link:hover { color: var(--amber); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */

.page-head {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  width: 800px; height: 400px;
  background: radial-gradient(closest-side, rgba(245, 166, 35, 0.12), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}
.page-head__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 72px); }
.page-head p { font-size: 19px; line-height: 1.5; color: var(--fg-dim); max-width: 600px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* =========================================================
   MISC: stat strip
   ========================================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 40px;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 28px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: 6px;
}
.stat__sub { font-size: 13px; color: var(--fg-dim); margin-top: 6px; }

/* =========================================================
   PHONE FRAME — mobile section and product shot
   ========================================================= */

.phone-frame {
  width: 260px;
  border-radius: 36px;
  border: 6px solid var(--border-strong);
  background: var(--bg-deep);
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 8px var(--bg-raised);
  position: relative;
  flex-shrink: 0;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 8px;
  background: var(--border-strong);
  border-radius: 0 0 8px 8px;
  z-index: 2;
}
.phone-frame img {
  display: block;
  width: 100%;
}

/* Wrapper centers the phone inside the shot__frame */
.phone-frame-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 8px;
  min-height: 420px;
  background: var(--bg);
}

/* =========================================================
   MOBILE SECTION LAYOUT
   ========================================================= */

.mobile-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .mobile-split { grid-template-columns: 1fr 1fr; }
}
.mobile-split__copy {
  display: flex;
  flex-direction: column;
}
.mobile-split__visual {
  display: flex;
  justify-content: center;
}

/* =========================================================
   HERO ROTOR — 3 scenes cycling on a 15s loop
   ========================================================= */

.hero-rotor {
  position: relative;
  width: 100%;
  min-height: 460px;
}

.hero-rotor__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: rotor-scene 15s infinite;
  will-change: opacity, transform;
}

/* The three scenes fire at 0s, 5s, and 10s of the 15s loop.
   Each is visible for ~4s with 0.6s cross-fades.            */
.hero-rotor__scene--1 { animation-delay: 0s; }
.hero-rotor__scene--2 { animation-delay: 5s; }
.hero-rotor__scene--3 { animation-delay: 10s; }

@keyframes rotor-scene {
  0%       { opacity: 0; transform: translateY(8px); }
  4%       { opacity: 1; transform: translateY(0); }
  30%      { opacity: 1; transform: translateY(0); }
  34%      { opacity: 0; transform: translateY(-6px); }
  100%     { opacity: 0; transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotor__scene { animation: none; opacity: 0; }
  .hero-rotor__scene--1 { opacity: 1; }
}

.hero-rotor__dots {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-rotor__dot {
  width: 6px;
  height: 6px;
  background: var(--border-strong);
  border-radius: 50%;
  animation: rotor-dot 15s infinite;
}
.hero-rotor__dot--1 { animation-delay: 0s; }
.hero-rotor__dot--2 { animation-delay: 5s; }
.hero-rotor__dot--3 { animation-delay: 10s; }

@keyframes rotor-dot {
  0%, 33%, 100% { background: var(--border-strong); transform: scale(1); }
  4%, 30%       { background: var(--amber); transform: scale(1.3); box-shadow: 0 0 8px var(--amber-glow); }
}

.panel__chrome-dot--red { background: var(--red); box-shadow: 0 0 8px rgba(239, 84, 84, 0.5); }

/* =========================================================
   HERO ROTOR — Scene 1: Dispatch gate checks
   ========================================================= */

.gate { display: flex; flex-direction: column; gap: 6px; }

.gate__hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--border-hairline);
}
.gate__tail { color: var(--fg); font-weight: 600; letter-spacing: 0.04em; }
.gate__time { font-size: 10px; }

.gate__check {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.gate__check--warn { border-color: rgba(245, 166, 35, 0.35); background: var(--bg-amber-tint); }

.gate__icon {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-sans);
}
.gate__icon--ok { background: rgba(74, 222, 128, 0.12); color: var(--green); border: 1px solid rgba(74, 222, 128, 0.3); }
.gate__icon--warn { background: rgba(245, 166, 35, 0.12); color: var(--amber); border: 1px solid rgba(245, 166, 35, 0.35); }

.gate__label { color: var(--fg); font-family: var(--font-sans); font-size: 13px; }
.gate__meta { color: var(--fg-mute); font-size: 11px; letter-spacing: 0.04em; }

.gate__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.08), transparent);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 4px;
}
.gate__result-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.gate__result-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
}

/* =========================================================
   HERO ROTOR — Scene 2: Membership tier access
   ========================================================= */

.tier { display: flex; flex-direction: column; gap: 14px; }

.tier-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
}
.tier-card__name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg);
  font-weight: 600;
}
.tier-card__badge {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border-radius: 3px;
  text-align: center;
}
.tier-card__badge--bronze {
  background: linear-gradient(135deg, #8a5a3b, #b87f5a);
  color: #1a0f08;
  box-shadow: 0 0 0 1px rgba(184, 127, 90, 0.4) inset;
}
.tier-card__sub { font-family: var(--font-mono); font-size: 10px; color: var(--fg-mute); letter-spacing: 0.04em; }

.tier__attempt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 14px;
  align-items: baseline;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
}
.tier__attempt-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tier__attempt-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg);
  letter-spacing: 0.04em;
}
.tier__attempt-meta {
  grid-column: 2 / 4;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-mute);
}

.tier__verdict {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(239, 84, 84, 0.06);
  border: 1px solid rgba(239, 84, 84, 0.28);
  border-radius: 4px;
}
.tier__verdict-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(239, 84, 84, 0.15);
  border: 1px solid rgba(239, 84, 84, 0.4);
  border-radius: 50%;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}
.tier__verdict-body { display: flex; flex-direction: column; gap: 2px; }
.tier__verdict-line { font-size: 14px; color: var(--fg); font-weight: 500; }
.tier__verdict-line strong { color: var(--red); }
.tier__verdict-sub { font-size: 12px; color: var(--fg-mute); }

.tier__ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.tier__rung {
  padding: 8px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border: 1px solid var(--border-hairline);
  border-radius: 3px;
  background: var(--bg);
  color: var(--fg-mute);
}
.tier__rung--done { color: var(--fg-dim); border-color: var(--border-hairline); }
.tier__rung--current { color: var(--amber); border-color: var(--amber); background: var(--bg-amber-tint); }
.tier__rung--needed {
  color: var(--red);
  border-color: var(--red);
  background: rgba(239, 84, 84, 0.04);
  position: relative;
}
.tier__rung--needed::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 1px dashed var(--red);
  border-radius: 4px;
  opacity: 0.5;
}

/* =========================================================
   HERO ROTOR — Scene 3: Curriculum progress
   ========================================================= */

.cur { display: flex; flex-direction: column; gap: 12px; }

.cur__hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-hairline);
}
.cur__student {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg);
  font-weight: 600;
}
.cur__cfi {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}

.cur__stages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cur__stage {
  display: grid;
  grid-template-columns: 64px 1fr 1fr 40px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
}
.cur__stage--done { border-color: rgba(74, 222, 128, 0.25); background: rgba(74, 222, 128, 0.03); }
.cur__stage--active { border-color: rgba(95, 184, 232, 0.4); background: rgba(95, 184, 232, 0.04); }
.cur__stage-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.cur__stage--done .cur__stage-num { color: var(--green); }
.cur__stage--active .cur__stage-num { color: var(--cyan); }
.cur__stage-name { font-size: 13px; color: var(--fg); }
.cur__stage-meter {
  height: 4px;
  background: var(--bg-deep);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
}
.cur__stage-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-bright));
}
.cur__stage--done .cur__stage-meter span { background: linear-gradient(90deg, var(--green), #6ee895); }
.cur__stage--active .cur__stage-meter span { background: linear-gradient(90deg, var(--cyan), #8fd0f3); }
.cur__stage-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg);
  font-weight: 600;
  text-align: right;
}

.cur__task {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 12px 14px;
  background: var(--bg-amber-tint);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 4px;
}
.cur__task-label {
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  align-self: center;
}
.cur__task-name { font-size: 13px; color: var(--fg); font-weight: 500; }
.cur__task-assigned {
  grid-column: 1 / 3;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}

/* =========================================================
   BUCKETS — 6 punchy capability cards
   ========================================================= */

.buckets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 760px) { .buckets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .buckets { grid-template-columns: repeat(3, 1fr); } }

.bucket {
  background: var(--bg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .25s;
  color: inherit;
}
.bucket:hover { background: var(--bg-raised); }
.bucket:hover .bucket__arrow { transform: translateX(4px); color: var(--amber); }
.bucket--accent { background: linear-gradient(160deg, var(--bg-amber-tint), var(--bg)); }
.bucket--accent:hover { background: linear-gradient(160deg, rgba(245, 166, 35, 0.06), var(--bg-raised)); }
.bucket--accent .bucket__num { color: var(--amber); }

.bucket__num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-mute);
  line-height: 1;
}
.bucket__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.bucket__body { font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); flex-grow: 1; }
.bucket__arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: 4px;
  transition: transform .25s, color .25s;
}

/* =========================================================
   DUAL — desktop + phone side-by-side panels
   ========================================================= */

.dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) { .dual { grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; } }

.dual__panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.dual__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-elevated);
}
.dual__chrome-dots { display: flex; gap: 5px; }
.dual__chrome-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.dual__img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border-hairline);
}
.dual__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-hairline);
  flex: 1;
}
.dual__panel--phone .phone-frame {
  width: 220px;
}
.dual__caption {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dual__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.dual__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

/* =========================================================
   SPOTLIGHT — co-equal feature sections
   ========================================================= */

.spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .spotlight { grid-template-columns: 1fr 1.2fr; gap: 72px; }
  .spotlight--reverse .spotlight__copy { order: 2; }
}
.spotlight__copy { display: flex; flex-direction: column; gap: 22px; }
.spotlight__headline {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.1;
}
.spotlight__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 520px;
}
.spotlight__bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spotlight__bullets li {
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-dim);
  padding-left: 22px;
}
.spotlight__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg-amber-tint);
}
.spotlight__bullets li strong {
  color: var(--fg);
  font-weight: 600;
}
.spotlight__frame {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Billing-profile inheritance mini-diagram */
.profile-tree {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  background: var(--bg-deep);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.profile-tree__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.profile-tree__row--root { border-bottom: 1px dashed var(--border-hairline); margin-bottom: 4px; padding-bottom: 8px; }
.profile-tree__node { color: var(--fg); letter-spacing: 0.04em; font-weight: 600; }
.profile-tree__node--child { color: var(--amber); font-weight: 500; }
.profile-tree__node--gchild { color: var(--cyan); font-weight: 500; }
.profile-tree__rule { color: var(--fg-mute); font-size: 11px; }

/* =========================================================
   MULTI-LOCATION — 3 small cards
   ========================================================= */

.multi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 760px) { .multi { grid-template-columns: repeat(3, 1fr); } }

.multi__card {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .25s;
}
.multi__card:hover { background: var(--bg-raised); }
.multi__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg-amber-tint);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  color: var(--amber);
  margin-bottom: 4px;
}
.multi__icon svg { width: 22px; height: 22px; }
.multi__title { font-size: 19px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; line-height: 1.25; }
.multi__body { font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); }

/* =========================================================
   MORE GRID — compact "everything else" thumbnails
   ========================================================= */

.more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }

.more-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s;
}
.more-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.more-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg);
}
.more-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.more-card__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}
.more-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.more-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.more-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.more-card__sub { font-size: 13px; line-height: 1.5; color: var(--fg-dim); }
