/* ============================================================
   Constant Employee — Landing v3
   Direction A (Trustworthy / Utility) — navy + cobalt
   Mobile-first, fully responsive
   ============================================================ */

/* ---- Tokens (Light) ---- */
:root {
  --bg:         #FBFBF9;
  --bg-2:       #F4F5F7;
  --surface:    #FFFFFF;
  --surface-2: #F8F9FB;
  --text:       #0A0E1A;
  --text-2:     #4A5468;
  --text-3:     #8B95AC;
  --primary:    #1E3A8A;
  --primary-2:  #1E40AF;
  --accent:     #3B82F6;
  --accent-2:   #2563EB;
  --success:    #059669;
  --danger:     #DC2626;
  --warn:       #D97706;
  --border:     #E5E7EB;
  --border-2:   #D1D5DB;
  --shadow-sm:  0 1px 2px rgba(10,14,26,.04);
  --shadow-md:  0 4px 12px -2px rgba(10,14,26,.08), 0 2px 4px -1px rgba(10,14,26,.04);
  --shadow-lg:  0 24px 60px -16px rgba(30,58,138,.18), 0 8px 20px -8px rgba(10,14,26,.08);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --section-pad: 96px;
}

/* ---- Dark ---- */
[data-theme="dark"] {
  --bg:        #0A0E1A;
  --bg-2:      #111726;
  --surface:   #111726;
  --surface-2: #161D2E;
  --text:      #F5F7FA;
  --text-2:    #B0BAD0;
  --text-3:    #6B7793;
  --primary:   #60A5FA;
  --primary-2: #3B82F6;
  --accent:    #3B82F6;
  --accent-2:  #60A5FA;
  --success:   #34D399;
  --danger:    #F87171;
  --warn:      #FBBF24;
  --border:    #1F2937;
  --border-2:  #2D3748;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 12px -2px rgba(0,0,0,.5), 0 2px 4px -1px rgba(0,0,0,.3);
  --shadow-lg: 0 24px 60px -16px rgba(0,0,0,.6), 0 8px 20px -8px rgba(0,0,0,.5);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
  transition: background-color .3s ease, color .3s ease;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}

.grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* Italic letters have visible overhang past their glyph box. When combined
   with background-clip: text, that overhang doesn't get the gradient and
   appears cut off. Give italic spans a tiny right pad + inline-block so the
   gradient extends past the slant. */
.grad em {
  display: inline-block;
  padding-right: 0.12em;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
  margin-top: 18px;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 4px; }
.section-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-2);
  max-width: 60ch;
}
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .14s ease, box-shadow .18s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 1px 3px rgba(30,58,138,.3);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 18px -6px rgba(30,58,138,.5);
}
.btn--ghost {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--text-2); background: var(--surface-2); }

.btn--sm { padding: 8px 14px; font-size: 13.5px; border-radius: 6px; }
.btn--xs { padding: 6px 12px; font-size: 12.5px; border-radius: 6px; font-weight: 600; }
.btn--lg { padding: 14px 22px; font-size: 15.5px; }

/* ---- Top bar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .22s ease, background-color .22s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--border); }
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-width: 0; }
.brand__mark { color: var(--accent); display: inline-flex; flex-shrink: 0; }
.brand__word {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav { display: flex; gap: 26px; justify-content: center; }
.nav a {
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .18s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 6px;
  color: var(--text-2);
  transition: background .18s, color .18s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: 6px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.menu-toggle:hover { background: var(--surface-2); }

.mobilenav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  gap: 4px;
}
.mobilenav.is-open { display: flex; }
.mobilenav a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobilenav a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Isolate the bg layer (grid + blurred glows) so the heavy blur on
     .hero__glow never causes a repaint of the hero content above it. */
  contain: layout style paint;
  will-change: transform;
  transform: translateZ(0);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  opacity: .5;
}
.hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  /* Promote to its own GPU layer so the heavy blur doesn't recompute
     every time a neighboring composited element (e.g. the zoomBg image)
     transforms. Without this, the blur thrashes and the hero flickers. */
  will-change: transform;
  transform: translateZ(0);
}
.hero__glow--a {
  top: -200px; right: -150px;
  background: color-mix(in oklab, var(--accent) 80%, transparent);
}
.hero__glow--b {
  bottom: -300px; left: -200px;
  background: color-mix(in oklab, var(--primary) 60%, transparent);
  opacity: .2;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero__pill strong { color: var(--text); font-weight: 600; }
.hero__pill-dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
/* Pulse via a separate ::after element using transform + opacity (GPU layer).
   The previous box-shadow keyframes forced a full repaint every 2s and
   contributed to the hero flicker. */
.hero__pill-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: color-mix(in oklab, var(--success) 55%, transparent);
  transform: scale(1);
  opacity: 1;
  animation: pulse 2s ease-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__cta .btn { min-height: 48px; }

/* Slider */
.hslider {
  position: relative;
  /* Stack all slides in the same grid cell. All slides occupy the same
     layout area, so the slider's total height is the max of all slides —
     constant regardless of which slide is active. Controls stay put. */
  display: grid;
  grid-template-areas: "stack";
}
.hslide {
  grid-area: stack;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  /* Hidden via visibility (NOT opacity), so toggling is instant — no
     transition, no cross-fade, no flicker source. Inactive slides keep
     their layout box, which keeps the slider height stable. */
  visibility: hidden;
  pointer-events: none;
}
.hslide.is-active {
  visibility: visible;
  pointer-events: auto;
}

.hslide__copy {
  max-width: 560px;
  min-width: 0;
}
.hslide__eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.hslide__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hslide__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 6%, transparent) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hslide__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96);
  /* Ken Burns zoom removed — the constant transform on the active image
     plus the cross-fade plus the blurred hero glows caused visible
     compositor thrash on Chrome. Static image is the price of zero flicker. */
  transform: translateZ(0);
}

/* Hero nav — prev/next arrows + counter, centered row below the slider.
   Slide heights are uniform (grid stack above), so this row no longer jumps. */
.hslider__nav {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.hslider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.hslider__arrow:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}
.hslider__arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hslider__counter {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  min-width: 56px;
  text-align: center;
  user-select: none;
}
.hslider__current { color: var(--text); font-weight: 600; }
.hslider__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-left: 8px;
}

/* ============================================================
   INDUSTRIES RAIL
   ============================================================ */
.cats {
  padding: 64px 0 48px;
}
.cats__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.cats .section-head { margin-bottom: 36px; }

.cats__rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .25s ease;
}
.cat__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.cat:hover img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.05);
}
.cat__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: linear-gradient(180deg, transparent 30%, rgba(10,14,26,.18) 55%, rgba(10,14,26,.82) 100%);
  z-index: 1;
  pointer-events: none;
}
.cat__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  line-height: 1.2;
}
.cat__phonecall {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--accent);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
  transition: background .18s, transform .18s, box-shadow .18s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.cat__phonecall:hover {
  background: var(--accent-2);
  transform: scale(1.08);
  box-shadow: 0 8px 18px -4px rgba(30,58,138,.4);
}
.cat__phonecall:active { transform: scale(0.95); }

/* Audio player inside card */
.player {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.player__btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, transform .12s;
  padding: 0;
  flex-shrink: 0;
}
.player__btn:hover { background: var(--accent-2); transform: scale(1.05); }
.player__btn:active { transform: scale(0.96); }
.player__btn .player__play { margin-left: 2px; }
.player__btn .player__pause { display: none; }
.player.is-playing .player__play { display: none; }
.player.is-playing .player__pause { display: block; }
.player__progress {
  position: relative;
  height: 3px;
  background: var(--border-2);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
}
.player__bar {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width .1s linear;
}
.player__time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: right;
}

.cats__cta {
  margin-top: 28px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-2);
}
.cats__cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   CTA STRIPS (between sections)
   ============================================================ */
.ctastrip {
  background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 96%, var(--accent)) 0%, var(--accent-2) 100%);
  padding: 28px 0;
  color: #fff;
}
.ctastrip--alt {
  background: linear-gradient(135deg, var(--accent-2) 0%, color-mix(in oklab, var(--primary) 90%, black) 100%);
}
.ctastrip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ctastrip__text { min-width: 0; }
.ctastrip__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}
.ctastrip h3 {
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.ctastrip .btn--primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 18px -6px rgba(0,0,0,.3);
}
.ctastrip .btn--primary:hover {
  background: #fff;
  color: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(0,0,0,.4);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 40px 0;
}
.stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat__num {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
}

/* ============================================================
   THE FLOW
   ============================================================ */
.flow {
  padding: var(--section-pad) 0;
  position: relative;
}
.flow__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Explainer video placeholder */
.explainer {
  margin: 0 auto 48px;
  max-width: 760px;
}
.explainer__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0E1A 0%, #1E3A8A 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  isolation: isolate;
}
.explainer__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(circle at 70% 50%, color-mix(in oklab, var(--primary) 30%, transparent), transparent 60%);
  z-index: 0;
}
.explainer__play {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: transform .22s ease, box-shadow .22s ease;
}
.explainer__play:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.explainer__play svg { margin-left: 4px; }
.explainer__caption {
  position: absolute;
  bottom: 18px; left: 18px;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
.explainer__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

/* Flow steps */
.flowmap {
  position: relative;
  padding: 20px 0;
}
.flowmap__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 23px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 50%, var(--success) 100%);
  border-radius: 2px;
  opacity: .25;
}
.flowstep {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 320px;
  gap: 22px 32px;
  padding: 28px 0;
  position: relative;
  align-items: start;
}
.flowstep__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.flowstep__body { padding-top: 4px; min-width: 0; }
.flowstep__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.flowstep h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.flowstep p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
}
.flowstep p em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.flowstep__visual {
  align-self: start;
  margin-top: 4px;
  min-width: 0;
}
.flowstep__visual--photo {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.flowstep__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94);
}

.vcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
}
.vcard__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.vcard__live {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}
.vcard__lbl {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.vcard__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
}
.vcard__quote {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--surface-2);
  border-radius: 8px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.5;
  border-left: 2px solid var(--accent);
}

.wave {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2px;
  height: 38px;
  padding: 4px 0;
}
.wave span {
  display: block;
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  animation: waveFlex 1.2s ease-in-out infinite alternate;
  transform-origin: center;
}
.wave span:nth-child(odd) { animation-delay: -0.6s; }
.wave span:nth-child(3n) { animation-delay: -0.3s; }
.wave span:nth-child(5n) { animation-delay: -0.9s; }
@keyframes waveFlex {
  0%   { transform: scaleY(0.6); opacity: 0.6; }
  100% { transform: scaleY(1.0); opacity: 1; }
}

.kw { display: flex; flex-wrap: wrap; gap: 6px; }
.kw__chip {
  display: inline-flex; align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 24%, transparent);
}
.kw__chip--neg {
  background: var(--surface-2);
  color: var(--text-2);
  border-color: var(--border);
}
.kw__decide {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.kw__arrow { color: var(--accent); font-weight: 700; }
.kw__route {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.vcal { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.vcal__row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text);
}
.vcal__row--new {
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.vcal__time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
}
.vcal__row--new .vcal__time { color: var(--accent); }
.vcal__job { color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcal__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.vmail { display: flex; flex-direction: column; gap: 6px; }
.vmail__row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
  padding: 3px 0;
}
.vmail__row span:first-child {
  color: var(--text-3);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding-top: 1px;
}
.vmail__row b { color: var(--text); font-weight: 600; }
.vmail__body {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  max-width: 640px;
}
.branch__leg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.branch__leg--emerg { border-left: 3px solid var(--danger); }
.branch__leg--norm { border-left: 3px solid var(--accent); }
.branch__head { margin-bottom: 8px; }
.branch__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 4px;
}
.branch__badge--red {
  background: color-mix(in oklab, var(--danger) 14%, transparent);
  color: var(--danger);
}
.branch__badge--blue {
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--accent);
}
.branch__leg p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash { padding: var(--section-pad) 0; }
.dash__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.dash__app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.dash__crumbs { font-size: 13px; color: var(--text-2); display: flex; gap: 8px; align-items: center; min-width: 0; }
.dash__sep { color: var(--text-3); }
.dash__active { color: var(--text); font-weight: 600; }
.dash__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}
.dash__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
}
.dash__side {
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface-2);
}
.dash__nav {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-2);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.dash__nav:hover { background: var(--surface); color: var(--text); }
.dash__nav--active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.dash__pill {
  font-size: 10.5px;
  background: var(--accent);
  color: #fff;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.dash__main { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dash__row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
  transition: border-color .18s;
}
.dash__row:hover { border-color: var(--accent); }
.dash__row--urgent {
  background: color-mix(in oklab, var(--danger) 4%, var(--surface));
  border-color: color-mix(in oklab, var(--danger) 35%, var(--border));
}
.dash__time {
  text-align: center;
  display: flex; flex-direction: column;
  gap: 2px;
}
.dash__big {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.dash__row--urgent .dash__big {
  color: var(--danger);
  font-size: 26px;
}
.dash__sm {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dash__row--urgent .dash__sm { color: var(--danger); }
.dash__cust {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.dash__meta {
  font-size: 12.5px;
  color: var(--text-2);
}
.dash__chk {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}
.dash__summary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.dash__sumitem {
  text-align: center;
  padding: 12px 8px;
  background: var(--surface-2);
  border-radius: 8px;
}
.dash__sumnum {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.dash__sumlbl {
  display: block;
  font-size: 11px;
  color: var(--text-2);
  margin-top: 2px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
/* Two-card Lite/Pro layout */
.pricing__grid--two {
  grid-template-columns: 1fr 1fr;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .pricing__grid--two { grid-template-columns: 1fr; }
}

/* Pro card highlight + ribbon */
.plan--popular {
  position: relative;
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--surface), color-mix(in oklab, var(--accent) 5%, var(--surface)));
}
.plan__tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Setup-fee promo: strikethrough $497, highlight $97, "before July 4th" tag */
.plan__setup-strike {
  color: #c0202b;
  text-decoration: line-through;
  text-decoration-color: #c0202b;
  text-decoration-thickness: 2px;
  margin-right: 6px;
  font-weight: 500;
}
.plan__setup-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(220, 38, 38, 0.10);
  color: #c0202b;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Overages box inside the plan card */
.plan__over {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 16px 0 18px;
  font-size: 13px;
}
.plan__over-h {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.plan__over-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.plan__over-row b { color: var(--accent); font-variant-numeric: tabular-nums; }

/* Promo pill in the section header */
.promo-pill {
  display: inline-block;
  background: rgba(220, 38, 38, 0.08);
  color: #c0202b;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

/* Simplified add-on pkg (one-line price tag, no list inside) */
.pkg__price-tag {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 4px;
}

.plan {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.plan__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  padding: 4px 9px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.plan__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.plan__amount {
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.plan__period {
  font-size: 17px;
  color: var(--text-2);
  font-weight: 500;
}
.plan__setup {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.plan__features li {
  font-size: 14.5px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  line-height: 1.45;
}
.plan__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  width: 18px;
}
.plan__cta { width: 100%; margin-top: 8px; }
.plan__legal {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
}

.usage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.usage__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
}
.usage__title--over {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--accent);
}
.usage__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.usage__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.usage__list b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 60px; display: inline-block; }
.usage__list--packs li { justify-content: space-between; padding: 8px 12px; background: var(--surface-2); border-radius: 8px; }
.usage__list--packs b { min-width: 0; color: var(--accent); }
.usage__pack {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.usage__hint {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-left: 6px;
}
.usage__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-3);
}

.packages {
  margin-top: 48px;
}
.packages__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
}
.packages__head h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.packages__head p {
  font-size: 15px;
  color: var(--text-2);
}
.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pkg {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pkg:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pkg--popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.pkg__tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}
.pkg__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.pkg__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.pkg__list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  flex-grow: 1;
}
.pkg__list li {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.pkg__list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pkg__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--section-pad) 0; }
.faq__inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.faq__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.faq__nav {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq__nav a {
  font-size: 13.5px;
  color: var(--text-3);
  padding: 8px 0 8px 16px;
  border-left: 2px solid var(--border);
  margin-left: -16px;
  transition: color .15s, border-color .15s;
}
.faq__nav a:hover { color: var(--text-2); }
.faq__nav a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}
.faq__catlabel {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 40px 0 8px;
  scroll-margin-top: 100px;
}
.faq__catlabel:first-of-type { margin-top: 0; }
.faq__item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq__item summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  padding-right: 32px;
  list-style: none;
  letter-spacing: -0.01em;
  transition: color .18s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  line-height: 1;
  transition: transform .25s, color .18s;
}
.faq__item[open] summary::after { content: '−'; color: var(--accent); }
.faq__item summary:hover { color: var(--accent); }
.faq__body {
  padding-top: 12px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 62ch;
}
.faq__body a { color: var(--accent); font-weight: 600; }

/* ============================================================
   CTA (final)
   ============================================================ */
.cta {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, color-mix(in oklab, var(--accent) 25%, transparent), transparent 60%),
    radial-gradient(circle at 70% 50%, color-mix(in oklab, var(--primary) 20%, transparent), transparent 60%);
  z-index: -1;
}
.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.cta p {
  color: var(--text-2);
  margin: 16px auto 28px;
  font-size: 16px;
  max-width: 50ch;
}
.cta__row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot { padding: 56px 0 80px; background: var(--bg-2); border-top: 1px solid var(--border); }
.foot__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 36px;
}
.foot__tag { margin-top: 12px; color: var(--text-2); font-size: 14px; max-width: 32ch; }
.foot__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-weight: 600;
  color: var(--accent);
  font-size: 14.5px;
}
.foot__cta:hover { color: var(--accent-2); }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col h4 { margin-bottom: 6px; color: var(--text); }
.foot__col a { color: var(--text-2); font-size: 14px; transition: color .18s; }
.foot__col a:hover { color: var(--text); }
.foot__legal {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-3);
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   TRADE PAGES (per-industry landing pages)
   ============================================================ */

/* Trade hero */
.trade-hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.trade-hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
.trade-hero__bg .hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  opacity: .5;
}
.trade-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.trade-hero__crumbs {
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.trade-hero__crumbs a { color: var(--text-2); transition: color .15s; }
.trade-hero__crumbs a:hover { color: var(--accent); }
.trade-hero__crumbs span { color: var(--text-3); }
.trade-hero__crumbs strong { color: var(--text); font-weight: 600; }
.trade-hero__copy { max-width: 560px; min-width: 0; }
.trade-hero__copy h1 { margin-bottom: 16px; }
.trade-hero__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.trade-hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.96);
}
.trade-hero__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.trade-hero__pills li {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-2);
}

/* Why this trade — 3-column reasoning */
.whytrade {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.whytrade__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.whytrade__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.why:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.why__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.why h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.why p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Sample call (big player) */
.sample {
  padding: 72px 0;
}
.sample__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.sample__player {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  text-align: left;
}
.sample__btn {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  flex-shrink: 0;
}
.sample__meta { flex: 1; min-width: 0; }
.sample__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.sample__player .player__progress {
  position: relative;
  height: 4px;
  background: var(--border-2);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 4px;
}
.sample__time {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}

/* FAQ — simple variant (no left nav, just a single column) */
.faq__simple {
  max-width: 760px;
  margin: 0 auto;
}
.faq__simple .faq__item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq__simple .faq__item:first-child { border-top: 1px solid var(--border); }
.faq__more {
  margin-top: 28px;
  text-align: center;
  font-size: 14.5px;
}
.faq__more a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Other industries cross-link */
.otherindustries {
  padding: 56px 0 80px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.otherindustries__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.otherindustries h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text);
}
.otherindustries__list {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-2);
}
.otherindustries__list a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.otherindustries__list a:hover { color: var(--accent-2); text-decoration: underline; }
.otherindustries__back {
  margin-top: 28px;
  font-size: 14px;
}
.otherindustries__back a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Trade page responsive */
@media (max-width: 1080px) {
  .trade-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .trade-hero__visual { max-width: 640px; margin: 0 auto; width: 100%; order: 2; }
  .trade-hero__copy { order: 1; max-width: 100%; }
  .whytrade__grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .trade-hero { padding: 32px 0 56px; }
  .trade-hero__inner { padding: 0 18px; }
  .whytrade { padding: 48px 0; }
  .whytrade__inner { padding: 0 18px; }
  .why { padding: 22px; }
  .sample { padding: 48px 0; }
  .sample__inner { padding: 0 18px; }
  .sample__player { flex-direction: column; align-items: stretch; padding: 20px; }
  .sample__btn { align-self: center; }
  .otherindustries { padding: 40px 0 80px; }
  .otherindustries__inner { padding: 0 18px; }
  .otherindustries__list { font-size: 13.5px; line-height: 1.9; }
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.stickycta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: 0 -8px 24px rgba(10,14,26,.2);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.stickycta:hover { background: linear-gradient(180deg, var(--accent-2) 0%, var(--primary) 100%); }
.stickycta svg { flex-shrink: 0; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Large tablet / small desktop: ~1180-1080 ---- */
@media (max-width: 1180px) {
  .cats__rail { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1080px) {
  :root { --section-pad: 80px; }
  .hslide { grid-template-columns: 1fr; gap: 36px; }
  .hslide__visual { max-width: 640px; margin: 0 auto; width: 100%; order: 2; }
  .hslide__copy { order: 1; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .flowstep { grid-template-columns: 48px minmax(0, 1fr) 280px; gap: 18px 24px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .packages__grid { grid-template-columns: repeat(3, 1fr); }
  .cats__rail { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Tablet: ~960 ---- */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .topbar__inner { grid-template-columns: auto 1fr auto; }
  .cats__rail { grid-template-columns: repeat(3, 1fr); }
  .packages__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; border-left: none; }
  .faq__nav a { border-left: none; padding: 6px 12px; margin-left: 0; border: 1px solid var(--border); border-radius: 999px; font-size: 12.5px; }
  .faq__nav a.is-active { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); }
}

/* ---- Phone: ~720 ---- */
@media (max-width: 720px) {
  :root { --section-pad: 56px; }
  body { padding-bottom: 70px; } /* room for sticky CTA */
  .stickycta { display: flex; }
  .topbar__inner { padding: 12px 18px; gap: 12px; }
  .topbar__cta span { display: none; }
  .topbar__cta { padding: 8px 10px; min-width: 36px; }
  .brand__word { font-size: 14.5px; }
  .hero { padding: 40px 0 56px; }
  .hero__inner { padding: 0 18px; }
  .hslide__copy { max-width: 100%; }
  .hslider__nav { grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 32px; }
  .hdot__lbl { display: none; }
  .hdot__bar { margin-top: 0; height: 3px; }
  .hero__cta .btn { width: 100%; padding: 14px 16px; font-size: 14px; }
  .hero__cta .btn span { white-space: normal; text-align: center; }
  .cats { padding: 48px 0 32px; }
  .cats__inner { padding: 0 18px; }
  .cats__rail { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat__name { font-size: 13px; }
  .ctastrip__inner { padding: 0 18px; flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .ctastrip__text { text-align: center; }
  .ctastrip .btn { width: 100%; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); padding: 0 18px; }
  .stats { padding: 28px 0; }
  .flow__inner { padding: 0 18px; }
  .flowstep, .flowstep--branch {
    grid-template-columns: 40px 1fr;
    grid-template-areas: "icon body" ".    visual";
    gap: 12px 14px;
  }
  .flowstep__icon { grid-area: icon; width: 40px; height: 40px; }
  .flowstep__icon svg { width: 18px; height: 18px; }
  .flowstep__body { grid-area: body; }
  .flowstep__visual { grid-area: visual; margin-top: 8px; }
  .flowmap__line { left: 19px; }
  .flowstep h3 { font-size: 18px; }
  .branch { grid-template-columns: 1fr; }
  .dash__inner { padding: 0 18px; }
  .dash__body { grid-template-columns: 1fr; min-height: 0; }
  .dash__side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 10px; gap: 4px; -webkit-overflow-scrolling: touch; }
  .dash__nav { white-space: nowrap; padding: 7px 12px; font-size: 12.5px; }
  .dash__row { grid-template-columns: 60px 1fr; padding: 12px 14px; }
  .dash__act { grid-column: 1 / -1; }
  .dash__summary { grid-template-columns: repeat(2, 1fr); }
  .pricing__inner { padding: 0 18px; }
  .plan { padding: 24px; }
  .plan__amount { font-size: 42px; }
  .usage { padding: 22px; }
  .packages__grid { gap: 12px; }
  .pkg { padding: 22px; }
  .faq__inner { padding: 0 18px; }
  .faq__catlabel { margin-top: 32px; }
  .faq__item { padding: 16px 0; }
  .faq__item summary { font-size: 15px; }
  .cta__inner { padding: 40px 22px; }
  .cta p { font-size: 15px; }
  .cta .btn { width: 100%; }
  .foot { padding: 48px 0 80px; }
  .foot__inner { grid-template-columns: 1fr; gap: 32px; padding: 0 18px; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot__legal { padding: 20px 18px 0; flex-direction: column; gap: 6px; text-align: center; align-items: center; }
  .explainer__caption { bottom: 12px; left: 12px; font-size: 12px; }
  .explainer__play { width: 60px; height: 60px; }
}

/* ---- Small phone: ~420 ---- */
@media (max-width: 420px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hero__pill { font-size: 12px; }
  .cats__rail { gap: 8px; }
  .stat__num { font-size: 26px; }
  .stat__label { font-size: 12px; }
  .vcal__row { grid-template-columns: 40px 1fr; }
  .vcal__tag { display: none; }
  .vcal__job { font-size: 12px; }
  .foot__cols { grid-template-columns: 1fr; }
  .stickycta { font-size: 14px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
}

/* ---- Print / no-anim preferences ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hslide__visual img { animation: none; }
}

/* ============================================================
   Legal pages (privacy / terms / sms-terms)
   ============================================================ */
.legal-page {
  padding: 56px 24px 80px;
  background: var(--bg);
}
.legal-page__inner {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
}
.legal-page__inner h1 {
  margin: 0 0 8px;
  font-size: 36px;
}
.legal-page__inner h2 {
  margin: 32px 0 8px;
  font-size: 20px;
  font-weight: 700;
}
.legal-page__inner p,
.legal-page__inner ul {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 14px;
}
.legal-page__inner ul {
  padding-left: 22px;
}
.legal-page__inner li { margin: 4px 0; }
.legal-page__inner a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-page__inner strong { color: var(--text); }
.legal-page__updated {
  margin: 0 0 32px;
  font-size: 13px;
  color: var(--text-3);
}
