/* ============================================================
   Orbita Marketing Site · v1.0
   ------------------------------------------------------------
   Extends colors_and_type.css with:
     • Light "paper" surface tokens (for marketing sections below the hero)
     • Shared nav + footer chrome
     • Marketing-only patterns (hero, brand-slab, feature card, etc.)
   ============================================================ */

:root {
  /* Light "paper" surface palette — brandbook cream */
  --paper-0:      #fbfaf6;   /* page canvas */
  --paper-1:      #f6f3ee;   /* card / panel */
  --paper-2:      #ecdfce;   /* warm subtle accent block */
  --paper-line-1: #e5dccf;
  --paper-line-2: #d8cdb9;

  /* Ink — body text on paper */
  --ink-0: #1a1a1a;   /* headlines */
  --ink-1: #3d3a35;   /* body */
  --ink-2: #6a655e;   /* secondary */
  --ink-3: #857a68;   /* eyebrow / metadata */

  /* Site-wide widths */
  --site-max: 1200px;
  --site-gutter: 28px;
}

/* ============================================================
   Reset + page base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: rgba(255,122,24,.32); color: #fff; }

/* ============================================================
   Surface utilities
   ============================================================ */
.surface-dark  { background: var(--bg-canvas); color: var(--text-1); }
.surface-paper { background: var(--paper-0); color: var(--ink-1); }
.surface-paper-2 { background: var(--paper-1); color: var(--ink-1); }
.surface-signal { background: var(--signal-500); color: #fff; }

.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-loose { padding: 88px 0; }
.container {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
}

/* ============================================================
   Typography presets — marketing rhythm
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--signal-400);
  font-weight: 500;
}
.surface-paper .eyebrow, .surface-paper-2 .eyebrow { color: var(--signal-600); }

.display-h {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(54px, 8.5vw, 112px);
  line-height: 1.06;
  letter-spacing: -1.5px;
  padding-bottom: .08em;
}
.display-h em { font-style: italic; color: var(--signal-500); }

.section-h {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.16;
  letter-spacing: -.5px;
  padding-bottom: .06em;
}
.section-h em { font-style: italic; color: var(--signal-500); }

.kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -.3px;
  padding-bottom: .04em;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 640px;
  font-weight: 300;
}
.surface-paper .lead, .surface-paper-2 .lead { color: var(--ink-2); }

.body-copy { font-size: 15px; line-height: 1.65; color: var(--text-2); }
.surface-paper .body-copy, .surface-paper-2 .body-copy { color: var(--ink-1); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.signal { color: var(--signal-500); }

/* ============================================================
   Buttons (marketing variants)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  font: 500 14px var(--font-sans);
  color: var(--text-1);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { background: var(--bg-4); border-color: var(--line-3); }

.btn-primary {
  background: linear-gradient(180deg, var(--signal-400), var(--signal-600));
  border-color: var(--signal-700);
  color: #fff;
  box-shadow:
    0 6px 20px rgba(255, 122, 24, .35),
    0 1px 0 rgba(255, 255, 255, .18) inset;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ff9846, #e9711a);
  box-shadow:
    0 10px 28px rgba(255, 122, 24, .45),
    0 1px 0 rgba(255, 255, 255, .18) inset;
}
.btn-primary:focus-visible { outline: none; box-shadow: var(--glow-signal); }

.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text-0); background: var(--bg-2); }

.surface-paper .btn:not(.btn-primary), .surface-paper-2 .btn:not(.btn-primary) {
  background: #fff;
  border-color: var(--paper-line-2);
  color: var(--ink-0);
}
.surface-paper .btn:not(.btn-primary):hover, .surface-paper-2 .btn:not(.btn-primary):hover { background: var(--paper-1); border-color: var(--ink-3); }
.surface-paper .btn-ghost, .surface-paper-2 .btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.surface-paper .btn-ghost:hover, .surface-paper-2 .btn-ghost:hover { color: var(--ink-0); background: rgba(0,0,0,.04); }
.surface-paper .btn.btn-primary, .surface-paper-2 .btn.btn-primary {
  background: linear-gradient(180deg, var(--signal-400), var(--signal-600));
  border-color: var(--signal-700);
  color: #fff;
}
.surface-paper .btn.btn-primary:hover, .surface-paper-2 .btn.btn-primary:hover {
  background: linear-gradient(180deg, #ff9846, #e9711a);
  border-color: var(--signal-700);
}

.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  margin-left: 2px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================================
   NAV — top bar
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 9, 12, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-1);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand img { width: 28px; height: 28px; }
.nav-brand .wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  color: var(--text-1);
}
.nav-brand .wordmark .o { color: var(--signal-500); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 18px; flex: 1; }
.nav-links a {
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-2);
  transition: all var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--text-0); background: var(--bg-2); }
.nav-links a.current { color: var(--text-0); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: 999px;
  font: 500 11px var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-2);
}
.nav-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok-500);
  box-shadow: 0 0 6px var(--ok-500);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.nav-status strong { color: var(--text-0); font-weight: 600; }

.nav-burger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
}

/* ============================================================
   NAV MENU dropdown (Account: log in / sign up / support / status)
   ============================================================ */
.nav-menu { position: relative; }
.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  font: 500 13px var(--font-sans);
  color: var(--text-1);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav-menu-btn:hover { background: var(--bg-3); border-color: var(--line-2); }
.nav-menu-btn svg.chev { transition: transform var(--dur-fast) var(--ease-out); width: 12px; height: 12px; }
.nav-menu.open .nav-menu-btn { background: var(--bg-3); border-color: var(--line-3); }
.nav-menu.open .nav-menu-btn svg.chev { transform: rotate(180deg); }

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .04) inset;
  display: none;
  z-index: 90;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav-menu.open .nav-menu-panel {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-menu-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-1);
  transition: background var(--dur-fast) var(--ease-out);
  text-decoration: none;
}
.nav-menu-item:hover { background: var(--bg-3); }
.nav-menu-item .nm-i {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal-400);
}
.nav-menu-item:hover .nm-i { background: rgba(255, 122, 24, .15); color: var(--signal-400); }
.nav-menu-item .nm-i svg { width: 14px; height: 14px; stroke-width: 1.7; }
.nav-menu-item .nm-t {
  font-size: 13.5px;
  color: var(--text-1);
  font-weight: 500;
  line-height: 1.2;
}
.nav-menu-item .nm-d {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .3px;
  color: var(--text-3);
  margin-top: 3px;
  line-height: 1.3;
}
.nav-menu-divider {
  height: 1px;
  background: var(--line-1);
  margin: 6px 8px;
}
.nav-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 4px;
  font: 500 10px var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
}
.nav-menu-footer .live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok-500);
}
.nav-menu-footer .live-dot::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ok-500);
  box-shadow: 0 0 4px var(--ok-500);
}

@media (max-width: 720px) {
  .nav-menu-btn span.lbl { display: none; }
  .nav-menu-panel { right: -10px; min-width: 260px; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-status { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #04060a;
  border-top: 1px solid var(--line-1);
  padding: 80px 28px 36px;
  color: var(--text-2);
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-1);
}
.footer-brand img { width: 36px; height: 36px; }
.footer-brand .wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--text-1);
  margin-top: 16px;
  line-height: 1;
}
.footer-brand .wordmark .o { color: var(--signal-500); }
.footer-brand .tag {
  font-size: 13.5px;
  color: var(--text-3);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col li a:hover { color: var(--text-0); }
.footer-col li a.muted { color: var(--text-3); }
.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a:hover { color: var(--text-1); }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok-500);
  box-shadow: 0 0 5px var(--ok-500);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO (marketing home)
   ============================================================ */
.hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(800px 600px at 85% 30%, rgba(255, 122, 24, .12) 0%, transparent 60%),
    radial-gradient(900px 700px at 10% 110%, rgba(13, 25, 40, .9) 0%, transparent 55%),
    var(--bg-0);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-left { display: flex; flex-direction: column; gap: 28px; max-width: 720px; }
.hero-h { display: block; }
.hero-h { font-size: clamp(34px, 4.4vw, 62px); letter-spacing: -1px; }
.hero-h .nowrap { white-space: nowrap; }
.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.55;
  font-weight: 300;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-meta strong { color: var(--text-1); font-weight: 500; }

/* Right side: live mini-NOC preview */
.hero-preview {
  position: relative;
  perspective: 1600px;
}
.preview-card {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, .8),
    0 30px 60px -30px rgba(255, 122, 24, .25),
    0 1px 0 rgba(255, 255, 255, .04) inset;
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform var(--dur-slow) var(--ease-out);
}
.preview-card:hover { transform: rotateY(-2deg) rotateX(1deg); }
.preview-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-1);
  background: rgba(7, 9, 12, .4);
}
.preview-h .tt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-h .tt::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal-500);
  box-shadow: 0 0 6px var(--signal-500);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
.preview-h .clk { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.preview-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.preview-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview-kpi {
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: 8px;
}
.preview-kpi .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
}
.preview-kpi .val {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text-0);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.preview-kpi .val .u { font-size: 11px; color: var(--text-3); margin-left: 2px; }
.preview-kpi .delta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ok-500);
  margin-top: 4px;
}
.preview-kpi .delta.crit { color: var(--crit-500); }

.preview-map {
  background: #050810;
  border: 1px solid var(--line-1);
  border-radius: 8px;
  padding: 12px;
  height: 180px;
  position: relative;
  overflow: hidden;
}
.preview-map svg { width: 100%; height: 100%; }
.preview-map .cont { fill: #11202c; stroke: #1a2738; stroke-width: .5; }
.preview-map .gd { stroke: #0c1620; stroke-width: .3; }
.preview-map .terminal { transform-origin: center; }
.preview-map .terminal-pulse {
  animation: tpulse 1.8s ease-out infinite;
}
@keyframes tpulse { 0% { r: 3; opacity: .8 } 100% { r: 11; opacity: 0 } }

.preview-alerts { display: flex; flex-direction: column; gap: 6px; }
.preview-alert {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: 6px;
}
.preview-alert .dot { width: 6px; height: 6px; border-radius: 50%; }
.preview-alert .dot.crit { background: var(--crit-500); box-shadow: 0 0 5px var(--crit-500); }
.preview-alert .dot.warn { background: var(--warn-500); box-shadow: 0 0 5px var(--warn-500); }
.preview-alert .dot.info { background: var(--info-500); }
.preview-alert .t {
  font-size: 11.5px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-alert .t .id { font-family: var(--font-mono); color: var(--text-3); margin-right: 4px; font-size: 10.5px; }
.preview-alert .when { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); }

@media (max-width: 920px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { font-size: 17px; }
  .preview-card { transform: none; }
}

/* ============================================================
   LOGO BAR (customers)
   ============================================================ */
.logo-bar {
  padding: 36px 0;
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.logo-bar .label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: center;
  justify-items: center;
  opacity: .65;
}
.logo-strip .l {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-2);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.logo-strip .l strong { font-weight: 400; color: var(--text-1); }
@media (max-width: 880px) {
  .logo-strip { grid-template-columns: repeat(3, 1fr); gap: 24px 18px; }
  .logo-strip .l { font-size: 15px; }
}

/* ============================================================
   FEATURE GRID (Visibility · Control · Trust · Calm)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--paper-line-1);
  border-radius: 18px;
  padding: 32px;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.feature:hover { border-color: var(--paper-line-2); }
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px;
  height: 2px;
  background: var(--signal-500);
}
.feature .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--signal-600);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  color: var(--ink-0);
  letter-spacing: -.4px;
  margin-bottom: 14px;
  line-height: 1.18;
  padding-bottom: .04em;
}
.feature p { font-size: 15px; line-height: 1.6; color: var(--ink-1); max-width: 380px; }
.feature .feature-readout {
  margin-top: 22px;
  padding: 12px 14px;
  background: var(--paper-1);
  border: 1px solid var(--paper-line-1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: .3px;
}
.feature .feature-readout strong { color: var(--ink-0); font-weight: 500; }
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOW IT WORKS (3-step diagram)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--paper-line-2) 20%, var(--paper-line-2) 80%, transparent);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: left; padding: 0 8px; }
.step .badge {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--paper-0);
  border: 1px solid var(--paper-line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--signal-600);
  font-weight: 500;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}
.step h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink-0);
  letter-spacing: -.3px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.step p { font-size: 14.5px; color: var(--ink-1); line-height: 1.6; max-width: 320px; }
.step .step-bullet {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 14px;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
}

/* ============================================================
   CINEMATIC BRAND SLAB (Signal-on-Signal)
   ============================================================ */
.brand-slab {
  position: relative;
  padding: 80px 0;
  background: var(--signal-500);
  color: #fff;
  overflow: hidden;
}
.brand-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, .14), transparent 50%),
    linear-gradient(135deg, var(--signal-400), var(--signal-600));
}
.brand-slab .container { position: relative; }
.brand-slab .eyebrow { color: rgba(255, 255, 255, .82); }
.brand-slab .h {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -1.2px;
  margin: 18px 0 24px;
  max-width: 14ch;
}
.brand-slab .h em { font-style: italic; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); text-underline-offset: 8px; }
.brand-slab p { font-size: 18px; max-width: 540px; line-height: 1.55; color: rgba(255, 255, 255, .92); font-weight: 300; }
.brand-slab-mark {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 540px;
  height: 540px;
  opacity: .9;
  pointer-events: none;
}
.brand-slab-mark img { width: 100%; height: 100%; }
@media (max-width: 920px) {
  .brand-slab { padding: 56px 0; }
  .brand-slab-mark { display: none; }
}

/* ============================================================
   CASE STUDY card
   ============================================================ */
.case-card {
  background: linear-gradient(135deg, #fff 0%, var(--paper-1) 100%);
  border: 1px solid var(--paper-line-1);
  border-radius: 22px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}
.case-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 3px;
  background: var(--signal-500);
}
.case-card .case-left { display: flex; flex-direction: column; gap: 18px; }
.case-card .case-eyebrow { color: var(--signal-600); }
.case-card h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 42px;
  color: var(--ink-0);
  letter-spacing: -.4px;
  line-height: 1.05;
}
.case-card h3 em { font-style: italic; color: var(--signal-500); }
.case-card p { font-size: 16px; line-height: 1.6; color: var(--ink-1); }
.case-card .customer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--paper-line-1);
  margin-top: 12px;
}
.case-card .customer .tm {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--info-500), #3e7ed1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
}
.case-card .customer .who { display: flex; flex-direction: column; }
.case-card .customer .who .nm { font-size: 14px; color: var(--ink-0); font-weight: 500; }
.case-card .customer .who .role { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .3px; }

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.case-stat {
  background: #fff;
  border: 1px solid var(--paper-line-1);
  border-radius: 12px;
  padding: 22px 20px;
}
.case-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.case-stat .v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  color: var(--ink-0);
  font-weight: 500;
  line-height: 1;
}
.case-stat .v .u { font-size: 14px; color: var(--ink-2); margin-left: 3px; }
.case-stat .delta { font-family: var(--font-mono); font-size: 11px; color: var(--ok-500); margin-top: 4px; }
@media (max-width: 880px) {
  .case-card { padding: 36px 28px; grid-template-columns: 1fr; gap: 36px; }
  .case-card h3 { font-size: 32px; }
}

/* ============================================================
   PRICING tier card
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.tier {
  background: #fff;
  border: 1px solid var(--paper-line-1);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.tier:hover { border-color: var(--paper-line-2); }
.tier .tier-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  color: var(--ink-0);
  line-height: 1.05;
  letter-spacing: -.3px;
}
.tier .tier-blurb { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; min-height: 40px; }
.tier .price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  color: var(--ink-0);
  font-weight: 500;
  line-height: 1;
}
.tier .price .u { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.tier .price-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .5px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding-top: 14px; border-top: 1px solid var(--paper-line-1); margin-top: 4px; }
.tier li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-1); line-height: 1.45; }
.tier li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--signal-500);
  margin-top: 7px;
  flex: none;
}
.tier li.muted { color: var(--ink-3); }
.tier li.muted::before { background: var(--paper-line-2); }
.tier .tier-cta { margin-top: auto; padding-top: 16px; }
.tier .tier-cta .btn { width: 100%; justify-content: center; }
.tier.featured {
  background: linear-gradient(180deg, #fff, #fffaf3);
  border: 1px solid var(--signal-500);
  box-shadow: 0 24px 60px -20px rgba(255, 122, 24, .25);
}
.tier.featured .badge-pop {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--signal-500);
  color: #fff;
  border-radius: 12px;
  font: 500 10px var(--font-mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--paper-line-1);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--paper-line-1);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item details { padding: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink-0);
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--signal-500);
  transition: transform var(--dur-base) var(--ease-out);
  line-height: 1;
}
.faq-item details[open] summary::after { content: "−"; }
.faq-item summary:hover { background: rgba(0,0,0,.02); }
.faq-item .answer {
  padding: 0 28px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-1);
  max-width: 720px;
}

/* ============================================================
   FINAL CTA slab
   ============================================================ */
.cta-slab {
  position: relative;
  padding: 88px 0;
  background:
    radial-gradient(900px 600px at 70% 50%, rgba(255, 122, 24, .14) 0%, transparent 55%),
    var(--bg-0);
  border-top: 1px solid var(--line-1);
}
.cta-slab .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-slab .h {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.6px;
}
.cta-slab .h em { font-style: italic; color: var(--signal-500); }
.cta-slab p { color: var(--text-2); font-size: 17px; line-height: 1.6; margin-top: 20px; max-width: 540px; font-weight: 300; }
.cta-slab .cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta-side {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line-1);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.cta-side h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--signal-400);
  font-weight: 500;
}
.cta-side .name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
}
.cta-side ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.cta-side li {
  display: flex; gap: 9px;
  font-size: 13.5px; color: var(--text-2);
  line-height: 1.5;
}
.cta-side li::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%; background: var(--ok-500);
  margin-top: 7px; flex: none;
}
@media (max-width: 880px) {
  .cta-slab { padding: 56px 0; }
  .cta-slab .container { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   GENERIC small-page hero (used by sub-pages)
   ============================================================ */
.page-hero {
  padding: 64px 0 36px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(255, 122, 24, .08) 0%, transparent 55%),
    var(--bg-0);
}
.page-hero .container { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(46px, 6vw, 80px);
  line-height: 1.1;
  letter-spacing: -1px;
  padding-bottom: .06em;
}
.page-hero h1 em { font-style: italic; color: var(--signal-500); }
.page-hero p { color: var(--text-2); font-size: 18px; line-height: 1.55; max-width: 640px; font-weight: 300; }

/* ============================================================
   SHARED utilities
   ============================================================ */
.divider { height: 1px; background: var(--line-1); }
.divider-paper { height: 1px; background: var(--paper-line-1); }
.kbd {
  display: inline-flex;
  align-items: center;
  font: 500 11px var(--font-mono);
  padding: 2px 7px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--text-1);
}

/* ============================================================
   SMART MENU — grouped mega-nav (Platform / Company)
   ============================================================ */
.nav-links { gap: 2px; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 6px;
  font-family: var(--font-sans); font-size: 14px; color: var(--text-2);
  background: none; border: none; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav-trigger .chev { width: 11px; height: 11px; opacity: .65; transition: transform var(--dur-fast) var(--ease-out); }
.nav-trigger:hover,
.nav-item:hover > .nav-trigger,
.nav-item.open > .nav-trigger { color: var(--text-0); background: var(--bg-2); }
.nav-item:hover > .nav-trigger .chev,
.nav-item.open > .nav-trigger .chev { transform: rotate(180deg); }
.nav-trigger.current { color: var(--text-0); }

.mega {
  position: absolute; top: 100%; left: 0; padding-top: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  z-index: 95;
}
.mega.right { left: auto; right: 0; }
.nav-item:hover > .mega,
.nav-item:focus-within > .mega,
.nav-item.open > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.mega-inner {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2); border-radius: 14px; padding: 14px;
  box-shadow: 0 28px 60px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.04) inset;
  display: grid; gap: 8px;
}
.mega.platform .mega-inner { grid-template-columns: 1fr 1fr 1.05fr; width: 740px; }
.mega.company .mega-inner { grid-template-columns: 1fr 1fr; width: 480px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; padding: 0 6px; }
.mega-col + .mega-col { border-left: 1px solid var(--line-1); }
.mega-h {
  font: 600 10px var(--font-mono); letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-3); padding: 6px 10px 8px; display: flex; align-items: center; gap: 7px;
}
.mega-h .pdot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.mega-h .pdot.sl { background: var(--info-500); box-shadow: 0 0 6px var(--info-500); }
.mega-h .pdot.pw { background: var(--signal-500); box-shadow: 0 0 6px var(--signal-500); }
.mega-link { display: grid; grid-template-columns: 30px 1fr; gap: 11px; padding: 9px 10px; border-radius: 9px; text-decoration: none; }
.mega-link:hover { background: var(--bg-3); }
.mega-link .mi { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; color: var(--signal-400); }
.mega-link:hover .mi { background: rgba(255,122,24,.16); }
.mega-link .mi svg { width: 15px; height: 15px; stroke-width: 1.7; }
.mega-link .mt { font-size: 13.5px; color: var(--text-1); font-weight: 500; line-height: 1.2; }
.mega-link .md { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2px; color: var(--text-3); margin-top: 2px; line-height: 1.3; }
.mega-promo {
  background: linear-gradient(150deg, rgba(255,122,24,.14), var(--bg-2) 70%);
  border: 1px solid var(--signal-800); border-radius: 12px; padding: 15px 16px;
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
}
.mega-promo .pe { font: 600 9.5px var(--font-mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--signal-400); }
.mega-promo .ph { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.1; color: var(--text-0); }
.mega-promo .pp { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.mega-promo .pchips { display: flex; gap: 6px; }
.mega-promo .pchip { font: 500 10px var(--font-mono); letter-spacing: .4px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.mega-promo .pchip .d { width: 6px; height: 6px; border-radius: 50%; }
.mega-promo .pa { font: 500 12px var(--font-mono); letter-spacing: .3px; color: var(--signal-400); }
.nav-login { font-size: 14px; color: var(--text-2); padding: 7px 12px; border-radius: 6px; transition: all var(--dur-fast) var(--ease-out); }
.nav-login:hover { color: var(--text-0); background: var(--bg-2); }

@media (max-width: 1040px) {
  .nav-login { display: none; }
}
@media (max-width: 880px) {
  .nav-burger { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-1); border-bottom: 1px solid var(--line-2);
    padding: 12px; margin: 0; max-height: 82vh; overflow-y: auto;
    box-shadow: 0 28px 60px rgba(0,0,0,.6);
  }
  .nav-links.open { display: flex; }
  .nav-item { position: static; }
  .nav-trigger { width: 100%; justify-content: space-between; font-size: 15px; padding: 12px 14px; }
  .nav-trigger .chev { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; padding-top: 0; }
  .mega-inner { width: auto !important; grid-template-columns: 1fr !important; background: none; border: 0; box-shadow: none; padding: 2px 6px 10px; gap: 2px; }
  .mega-col { padding: 0; }
  .mega-col + .mega-col { border-left: 0; border-top: 1px solid var(--line-1); margin-top: 6px; padding-top: 6px; }
  .mega.company .mega-inner, .mega.platform .mega-inner { grid-template-columns: 1fr !important; }
  .mega-promo { display: none; }
  .nav-login { display: block; padding: 12px 14px; }
}

/* ============================================================
   FORM HELPERS — required mark · phone w/ dial · consent
   ============================================================ */
.req { color: var(--signal-500); font-weight: 700; margin-left: 1px; }
.phone-group {
  display: flex; align-items: stretch;
  border: 1px solid var(--paper-line-2); border-radius: 8px; overflow: hidden; background: #fff;
}
.phone-group:focus-within { border-color: var(--signal-500); box-shadow: 0 0 0 3px rgba(255,122,24,.14); }
.phone-group .dial {
  display: flex; align-items: center; gap: 6px; padding: 11px 12px;
  background: var(--paper-1); border-right: 1px solid var(--paper-line-2);
  font: 500 14px var(--font-mono); color: var(--ink-1); white-space: nowrap;
}
.phone-group input { border: 0; outline: 0; padding: 11px 12px; font: 400 14px var(--font-sans); color: var(--ink-0); background: transparent; width: 100%; }
.js-country {
  padding: 11px 14px; border: 1px solid var(--paper-line-2); border-radius: 8px;
  font: 400 14px var(--font-sans); color: var(--ink-0); background: #fff; outline: none; width: 100%;
}
.js-country:focus { border-color: var(--signal-500); box-shadow: 0 0 0 3px rgba(255,122,24,.14); }
.consent {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 15px; background: var(--paper-1); border: 1px solid var(--paper-line-1);
  border-radius: 10px; cursor: pointer;
}
.consent input[type="checkbox"] { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--signal-500); flex: none; cursor: pointer; }
.consent span { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.consent strong { color: var(--ink-0); font-weight: 600; }
