/* ==========================================================================
   StowPilot — "Every pick, the shortest path"
   AI warehouse slotting & pick-path optimization for 3PLs.
   Light industrial: warm concrete, industrial amber, slate. Precise, physical.
   BuildspaceLabs
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  --base: #F5F4F1;
  --base-2: #EFEDE8;
  --surface: #FFFFFF;
  --ink: #1B2431;
  --ink-2: #2C3746;
  --slate: #5C6673;
  --slate-2: #939DAB;
  --hair: #E7E3DC;
  --hair-strong: #D6D1C7;

  --amber: #D97706;
  --amber-hover: #B45309;
  --amber-deep: #92400E;
  --amber-tint: #FEF3E7;
  --amber-tint-2: #FDECD3;
  --amber-ring: rgba(217, 119, 6, 0.16);

  --sky: #0284C7;
  --sky-tint: #EFF6FF;
  --green: #15803D;
  --green-tint: #ECFDF3;
  --steel: #334155;

  --ink-soft: rgba(27, 36, 49, 0.06);
  --ink-soft-2: rgba(27, 36, 49, 0.10);

  --shadow-sm: 0 1px 2px rgba(27, 36, 49, 0.06);
  --shadow-md: 0 8px 24px -12px rgba(27, 36, 49, 0.18), 0 2px 6px -3px rgba(27, 36, 49, 0.09);
  --shadow-lg: 0 40px 80px -32px rgba(27, 36, 49, 0.34), 0 12px 28px -12px rgba(27, 36, 49, 0.16);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 15px;
  --radius-lg: 22px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset-ish ----- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: -0.02em; }

/* ----- Layout helpers ----- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.hero-grid > *, .shot-row > *, .why-grid > *, .contact-grid > *,
.steps > *, .features > *, .diff-inner > *, .viz-body > *, .kpi-inner > * { min-width: 0; }
.section { padding-block: clamp(64px, 9vw, 132px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-hover);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--amber); opacity: 0.7;
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--slate); font-size: clamp(16px, 1.4vw, 18px); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 550; font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), box-shadow 0.25s var(--ease), color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--amber); color: #fff;
  box-shadow: 0 1px 2px rgba(217,119,6,0.25), 0 10px 22px -12px rgba(217,119,6,0.6);
}
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-2px); box-shadow: 0 1px 2px rgba(217,119,6,0.3), 0 18px 34px -14px rgba(217,119,6,0.65); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--hair-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--slate-2); transform: translateY(-2px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 244, 241, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--hair); }
.nav {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #F59E0B, var(--amber-hover));
  box-shadow: 0 2px 6px -2px rgba(180,83,9,0.5), inset 0 1px 0 rgba(255,255,255,0.28);
  flex: none;
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: none; align-items: center; gap: 28px; margin-left: 22px; }
.nav-links a { font-size: 14.5px; color: var(--slate); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.built-by {
  display: none; align-items: center; gap: 6px;
  font-size: 13px; color: var(--slate);
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--hair);
  background: var(--surface);
  transition: border-color 0.2s, color 0.2s;
}
.built-by:hover { color: var(--ink); border-color: var(--hair-strong); }
.built-by svg { width: 12px; height: 12px; }
.built-by b { color: var(--ink); font-weight: 600; }
.nav-cta { display: none; }

@media (min-width: 820px) {
  .nav-links { display: flex; }
  .built-by { display: inline-flex; }
  .nav-cta { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1000px 520px at 84% 6%, var(--amber-tint), transparent 60%),
    radial-gradient(680px 420px at 4% 92%, rgba(2,132,199,0.06), transparent 60%);
}
/* warehouse-aisle stripes */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(to right,
      var(--ink-soft) 0 1px,
      transparent 1px 84px),
    repeating-linear-gradient(to right,
      transparent 0 40px,
      rgba(27,36,49,0.03) 40px 44px,
      transparent 44px 84px);
  -webkit-mask-image: radial-gradient(760px 560px at 72% 34%, #000 24%, transparent 76%);
  mask-image: radial-gradient(760px 560px at 72% 34%, #000 24%, transparent 76%);
  opacity: 0.75;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(40px, 6vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; }
}

.hero-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--slate);
  background: var(--surface); border: 1px solid var(--hair);
  padding: 7px 13px 7px 11px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pulse-dot { position: relative; width: 8px; height: 8px; }
.pulse-dot span { position: absolute; inset: 0; border-radius: 50%; background: var(--amber); }
.pulse-dot span:last-child { animation: pulse-ring 2.4s var(--ease) infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

.hero h1 {
  font-size: clamp(37px, 6.2vw, 64px);
  line-height: 1.03;
  margin-top: 22px;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--amber-hover); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.10em;
  background: linear-gradient(90deg, var(--amber), rgba(217,119,6,0.15));
  border-radius: 2px;
}
.hero-sub {
  margin-top: 24px; max-width: 520px;
  font-size: clamp(16px, 1.55vw, 19px); color: var(--slate); line-height: 1.62;
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  font-size: 13.5px; color: var(--slate);
}
.hero-trust .item { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--amber); flex: none; }

/* ----- Signature hero visual: warehouse floor + pick route ----- */
.hero-visual { position: relative; }
.viz-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  overflow: hidden;
}
.viz-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 220px at 92% -10%, var(--amber-tint), transparent 70%);
  pointer-events: none;
}
.viz-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; position: relative; }
.viz-topbar .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.viz-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--amber-hover); }
.viz-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: blink 2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.viz-body { display: grid; grid-template-columns: 1fr; gap: 16px; position: relative; }
@media (min-width: 520px) { .viz-body { grid-template-columns: 1.15fr 0.85fr; } }

/* Floor plan */
.floor { position: relative; border: 1px solid var(--hair); border-radius: var(--radius-sm); background: linear-gradient(180deg,#FCFBF9,#F6F5F2); overflow: hidden; }
.floor svg { width: 100%; height: auto; display: block; }
.rack { fill: #ECEAE4; stroke: #D6D1C7; stroke-width: 1; }
.rack-line { stroke: #DED9D0; stroke-width: 1; }
.aisle-label { font-family: var(--font-mono); font-size: 8px; fill: var(--slate-2); }
.dock { fill: #E7E3DC; stroke: #D6D1C7; stroke-width: 1; }
.route { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.route-old { fill: none; stroke: var(--slate-2); stroke-width: 1.8; stroke-dasharray: 4 5; stroke-linecap: round; opacity: 0.7; }
.pick-dot { fill: var(--amber); }
.pick-dot.b { fill: var(--sky); }
.picker { fill: var(--ink); }
.floor-cap { position: absolute; left: 12px; bottom: 9px; font-family: var(--font-mono); font-size: 10px; color: var(--slate); }

/* Walk chart mini */
.walk { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.walk-head .val { font-family: var(--font-mono); font-size: 30px; font-weight: 500; color: var(--ink); letter-spacing: -0.03em; }
.walk-head .val small { font-size: 15px; color: var(--slate); }
.walk-head .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 2px; }
.walk-delta { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 12px; color: var(--green); margin-top: 4px; }
.walk-delta svg { width: 12px; height: 12px; }
.walk-chart { position: relative; margin-top: 6px; }
.walk-chart svg { width: 100%; height: auto; overflow: visible; }
.walk-line { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.walk-area { fill: url(#walkFill); opacity: 0; }
.walk-dot { fill: var(--amber); stroke: #fff; stroke-width: 2.4; }
.walk-baseline { stroke: var(--hair-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.walk-foot { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--slate-2); }

/* mini legend */
.viz-legend { display: flex; gap: 16px; margin-top: 16px; position: relative; flex-wrap: wrap; }
.viz-legend .lg { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--slate); }
.viz-legend .sw { width: 9px; height: 9px; border-radius: 3px; }
.sw.a { background: var(--amber); }
.sw.b { background: var(--sky); }
.sw.rt { background: var(--ink); border-radius: 50%; }

/* ==========================================================================
   KPI band
   ========================================================================== */
.kpi-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.kpi-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 25% 100%;
  opacity: 0.5;
}
.kpi-inner { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (min-width: 760px) { .kpi-inner { grid-template-columns: repeat(4, 1fr); } }
.kpi {
  padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 30px);
  border-top: 1px solid rgba(255,255,255,0.10);
  border-left: 1px solid rgba(255,255,255,0.10);
}
.kpi:nth-child(1), .kpi:nth-child(2) { border-top: none; }
@media (min-width: 760px) { .kpi { border-top: none; } .kpi:first-child { border-left: none; } }
.kpi .num { font-family: var(--font-mono); font-size: clamp(32px, 5vw, 50px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.kpi .num .unit { color: #FBBF77; font-size: 0.5em; margin-left: 3px; }
.kpi .lbl { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,0.62); letter-spacing: 0.01em; }
.kpi .tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; }
.kpi .tag.good { color: #6EE7B7; }
.kpi .tag.warn { color: #FBBF77; }

/* ==========================================================================
   Why slotting
   ========================================================================== */
.why-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 0.9fr 1.1fr; } }

.driver-list { display: flex; flex-direction: column; gap: 14px; }
.driver {
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.driver:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--hair-strong); }
.driver-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.driver-name { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15.5px; }
.driver-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--amber-tint); color: var(--amber-hover); flex: none; }
.driver-ic svg { width: 18px; height: 18px; }
.driver-weight { font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: var(--ink); }
.driver-bar { margin-top: 14px; height: 7px; border-radius: 999px; background: var(--ink-soft); overflow: hidden; }
.driver-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--amber-hover), var(--amber)); transition: width 1.1s var(--ease); }
.driver.d2 .driver-ic { background: var(--sky-tint); color: var(--sky); }
.driver.d2 .driver-bar i { background: linear-gradient(90deg, var(--sky), #38BDF8); }
.driver.d3 .driver-ic { background: var(--amber-tint); color: var(--amber-hover); }
.driver.d4 .driver-ic { background: var(--green-tint); color: var(--green); }
.driver.d4 .driver-bar i { background: linear-gradient(90deg, var(--green), #4ADE80); }
.driver-desc { margin-top: 10px; font-size: 13.5px; color: var(--slate); }

.why-note {
  align-self: stretch;
  background: linear-gradient(180deg, var(--surface), #FCFBF9);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.why-note h3 { font-size: 22px; }
.why-note p { margin-top: 14px; color: var(--slate); font-size: 15.5px; }
.split-ring { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.ring-wrap { position: relative; width: 132px; height: 132px; flex: none; }
.ring-wrap svg { transform: rotate(-90deg); width: 132px; height: 132px; }
.ring-track { fill: none; stroke: var(--hair); stroke-width: 12; }
.ring-fill { fill: none; stroke: var(--amber); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray 1.4s var(--ease); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label .score { font-family: var(--font-mono); font-size: 28px; font-weight: 500; color: var(--ink); line-height: 1; }
.ring-label .of { font-family: var(--font-mono); font-size: 11px; color: var(--slate); margin-top: 2px; }
.ring-legend { display: flex; flex-direction: column; gap: 10px; }
.ring-legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--slate); }
.ring-legend .k { font-family: var(--font-mono); color: var(--ink); font-size: 13px; margin-left: auto; }
.ring-legend .d { width: 9px; height: 9px; border-radius: 3px; flex: none; }

/* ==========================================================================
   Steps: rank -> re-slot -> route
   ========================================================================== */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-n { font-family: var(--font-mono); font-size: 12px; color: var(--amber-hover); letter-spacing: 0.1em; }
.step-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin: 16px 0 20px; background: var(--amber-tint); color: var(--amber-hover); }
.step-ic svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; }
.step p { margin-top: 12px; color: var(--slate); font-size: 14.5px; }
@media (min-width: 800px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; right: -12px; width: 24px; height: 1px;
    background: var(--hair-strong); z-index: 2;
  }
}

/* ==========================================================================
   Product tour (screenshots)
   ========================================================================== */
.tour { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }
.shot-row { display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .shot-row { grid-template-columns: 1fr 1.25fr; }
  .shot-row.reverse { grid-template-columns: 1.25fr 1fr; }
  .shot-row.reverse .shot-copy { order: 2; }
}
.shot-copy .eyebrow { margin-bottom: 14px; }
.shot-copy h3 { font-size: clamp(24px, 3vw, 32px); }
.shot-copy p { margin-top: 16px; color: var(--slate); font-size: 16px; }
.shot-copy .shot-feats { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.shot-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.shot-feats svg { width: 19px; height: 19px; color: var(--amber); flex: none; margin-top: 1px; }

.browser {
  border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #FAF9F6; border-bottom: 1px solid var(--hair); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--hair-strong); }
.browser-url {
  margin-left: 8px; flex: 1; max-width: 340px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--slate);
  background: var(--base); border: 1px solid var(--hair); border-radius: 7px;
  padding: 5px 12px; display: inline-flex; align-items: center; gap: 7px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-url svg { width: 11px; height: 11px; color: var(--amber); flex: none; }
.browser img { width: 100%; display: block; }
.shot-cap { margin-top: 14px; font-size: 13px; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.shot-cap svg { width: 14px; height: 14px; color: var(--slate-2); flex: none; }

/* ==========================================================================
   Feature grid
   ========================================================================== */
.features { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); padding: 30px 28px; transition: background 0.3s; }
.feature:hover { background: #FCFBF9; }
.feature-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--amber-tint); color: var(--amber-hover); margin-bottom: 18px; }
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 10px; color: var(--slate); font-size: 14.5px; }

/* ==========================================================================
   Differentiator band
   ========================================================================== */
.diff { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.diff::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to right, rgba(255,255,255,0.05) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(700px 460px at 12% 20%, #000, transparent 78%);
  mask-image: radial-gradient(700px 460px at 12% 20%, #000, transparent 78%);
}
.diff-inner { display: grid; gap: clamp(32px, 5vw, 60px); grid-template-columns: 1fr; align-items: center; position: relative; }
@media (min-width: 900px) { .diff-inner { grid-template-columns: 1fr 0.85fr; } }
.diff .eyebrow { color: #FBBF77; }
.diff .eyebrow::before { background: #FBBF77; }
.diff h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 16px; }
.diff p { margin-top: 18px; color: rgba(255,255,255,0.68); font-size: 17px; max-width: 520px; }
.diff-points { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.diff-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,0.85); }
.diff-points svg { width: 20px; height: 20px; color: #FBBF77; flex: none; margin-top: 1px; }

.diff-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 26px;
  backdrop-filter: blur(8px);
}
.diff-card .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.diff-card .head .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.diff-card .head .s { font-family: var(--font-mono); font-size: 24px; color: #FBBF77; }
.diff-card .row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.diff-card .row:last-child { border-bottom: none; }
.diff-card .row .name { font-size: 14px; color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 9px; }
.diff-card .row .name .dot { width: 8px; height: 8px; border-radius: 3px; }
.diff-card .row .wt { font-family: var(--font-mono); font-size: 13px; color: #fff; }
.mini-bar { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.12); margin: 0 12px; overflow: hidden; max-width: 120px; }
.mini-bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1.1s var(--ease); }

/* ==========================================================================
   Tech chips
   ========================================================================== */
.tech { text-align: center; }
.tech .section-head { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hair);
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--amber); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #5A2E06 0%, #92400E 44%, #D97706 100%);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(40px, 6vw, 76px);
  color: #fff;
  box-shadow: 0 40px 90px -40px rgba(146,64,14,0.72);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to right, rgba(255,255,255,0.07) 0 1px, transparent 1px 56px);
  -webkit-mask-image: radial-gradient(600px 400px at 86% 20%, #000, transparent 75%);
  mask-image: radial-gradient(600px 400px at 86% 20%, #000, transparent 75%);
}
.cta-card .inner { position: relative; z-index: 1; max-width: 640px; }
.cta-card h2 { font-size: clamp(28px, 4.4vw, 46px); }
.cta-card p { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.85); }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-card .btn-primary { background: #fff; color: var(--amber-hover); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.4); }
.cta-card .btn-primary:hover { background: #FFF7ED; }
.cta-card .btn-ghost { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; box-shadow: none; }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--hair); background: var(--surface); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-block: clamp(48px, 6vw, 72px); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--slate); font-size: 14.5px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-2); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--slate); font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber-hover); }
.footer-bottom {
  border-top: 1px solid var(--hair); padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.credit { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; color: var(--slate); }
.bs-lockup {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 500; color: var(--ink);
  padding: 6px 12px; border: 1px solid var(--hair); border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.bs-lockup:hover { border-color: var(--amber); transform: translateY(-1px); }
.bs-lockup .bs { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; }
.credit .tag { color: var(--slate); }
.footer-note { font-size: 13px; color: var(--slate-2); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.page-hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(20px, 3vw, 32px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 56px); max-width: 13ch; }
.page-hero p { margin-top: 20px; color: var(--slate); font-size: clamp(16px, 1.5vw, 19px); max-width: 540px; }

.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; padding-bottom: clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; } }

.form-card {
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--amber); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--base); border: 1px solid var(--hair-strong); border-radius: 11px;
  padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: var(--surface);
  box-shadow: 0 0 0 4px var(--amber-ring);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-card .btn-primary { width: 100%; margin-top: 4px; }
.form-reassure { margin-top: 16px; font-size: 13px; color: var(--slate); display: flex; align-items: center; gap: 8px; justify-content: center; text-align: center; }
.form-reassure svg { width: 14px; height: 14px; color: var(--amber); flex: none; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.aside-card {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 17px; margin-bottom: 6px; }
.aside-card p { color: var(--slate); font-size: 14px; }
.aside-card a.link { color: var(--amber-hover); font-weight: 500; word-break: break-word; }
.aside-card a.link:hover { color: var(--amber-deep); text-decoration: underline; }
.aside-contact { display: flex; align-items: center; gap: 13px; margin-top: 14px; }
.aside-contact .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--amber-tint); color: var(--amber-hover); flex: none; }
.aside-contact .ic svg { width: 19px; height: 19px; }
.aside-contact .meta .k { font-size: 12px; color: var(--slate); }
.aside-contact .meta .v { font-size: 14.5px; font-weight: 500; }
.aside-facts { display: flex; flex-direction: column; gap: 14px; }
.aside-facts li { display: flex; gap: 11px; font-size: 14px; color: var(--slate); align-items: flex-start; }
.aside-facts svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 1px; }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.thanks-inner { max-width: 520px; }
.success-badge {
  width: 84px; height: 84px; margin: 0 auto 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber-tint); color: var(--amber-hover);
  border: 1px solid rgba(217,119,6,0.2);
  position: relative;
}
.success-badge::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid var(--amber-ring);
  animation: pulse-ring 2.8s var(--ease) infinite;
}
.success-badge svg { width: 40px; height: 40px; }
.thanks h1 { font-size: clamp(30px, 4.6vw, 46px); }
.thanks p { margin-top: 18px; color: var(--slate); font-size: clamp(16px, 1.6vw, 18px); }
.thanks-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.thanks-email { margin-top: 24px; font-size: 14px; color: var(--slate); }
.thanks-email a { color: var(--amber-hover); font-weight: 500; }
.thanks-email a:hover { text-decoration: underline; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .route, .picker, .pulse-dot span:last-child, .success-badge::after, .viz-live .dot { animation: none !important; }
  .walk-area { opacity: 1 !important; }
}
