/* ==========================================================================
   TenantDesk — "Run the whole building from one desk"
   A residential property-operations command centre. Warm, grounded, editorial.
   BuildspaceLabs
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  --base: #FAF6F1;
  --surface: #FFFFFF;
  --surface-2: #FDFBF8;
  --ink: #2A211A;
  --slate: #6E6055;
  --slate-2: #9E9084;
  --hair: #ECE3DA;
  --hair-strong: #DDD1C5;

  --terra: #C2410C;
  --terra-hover: #9A3412;
  --terra-tint: #FBEADF;
  --terra-ring: rgba(194, 65, 12, 0.15);
  --terra-soft: #F6D8C4;

  --amber: #B45309;
  --amber-tint: #FDF2E1;
  --red: #B42318;
  --red-tint: #FCEBE9;
  --green: #15803D;
  --green-tint: #EAF6EE;
  --blue: #1D5DBB;
  --blue-tint: #E9F0FB;

  --ink-soft: rgba(42, 33, 26, 0.06);
  --ink-soft-2: rgba(42, 33, 26, 0.10);

  --shadow-sm: 0 1px 2px rgba(58, 40, 24, 0.05);
  --shadow-md: 0 8px 24px -12px rgba(58, 40, 24, 0.18), 0 2px 6px -3px rgba(58, 40, 24, 0.09);
  --shadow-lg: 0 40px 80px -32px rgba(58, 40, 24, 0.32), 0 12px 28px -12px rgba(58, 40, 24, 0.16);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --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.015em; 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 > *, .pillars-grid > *, .contact-grid > *,
.steps > *, .features > *, .explain-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(--terra);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--terra); opacity: 0.6;
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); 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(--terra);
  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: 500; 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(--terra); color: #fff;
  box-shadow: 0 1px 2px rgba(194,65,12,0.25), 0 10px 22px -12px rgba(194,65,12,0.55);
}
.btn-primary:hover { background: var(--terra-hover); transform: translateY(-2px); box-shadow: 0 1px 2px rgba(194,65,12,0.3), 0 18px 34px -14px rgba(194,65,12,0.6); }
.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(250, 246, 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: 18px; letter-spacing: -0.02em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #EA6A2F, var(--terra-hover));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  flex: none;
}
.brand-mark svg { width: 19px; height: 19px; }
.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 82% 6%, var(--terra-tint), transparent 62%),
    radial-gradient(680px 420px at 4% 96%, rgba(21,128,61,0.05), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--ink-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(720px 520px at 70% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(720px 520px at 70% 30%, #000 30%, transparent 78%);
  opacity: 0.55;
}
.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(--terra); }
.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(38px, 6.2vw, 66px);
  line-height: 1.04;
  margin-top: 22px;
  letter-spacing: -0.025em;
}
.hero h1 .accent { color: var(--terra); position: relative; white-space: nowrap; font-style: italic; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.09em;
  background: linear-gradient(90deg, var(--terra), rgba(194,65,12,0.15));
  border-radius: 2px;
}
.hero-sub {
  margin-top: 24px; max-width: 508px;
  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(--terra); flex: none; }

/* ----- Signature hero visual: building facade + triage + collection ----- */
.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 200px at 88% -10%, var(--terra-tint), transparent 70%);
  pointer-events: none;
}
.viz-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; 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(--terra); }
.viz-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); animation: blink 2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

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

/* Building facade */
.facade { position: relative; border-radius: 14px; background: linear-gradient(180deg, #FBF3EC, #F4E7DB); border: 1px solid var(--hair); padding: 16px 16px 30px; }
.facade .roof { height: 12px; border-radius: 8px 8px 3px 3px; background: linear-gradient(90deg, #9A3412, #C2410C); margin-bottom: 12px; box-shadow: 0 2px 5px rgba(154,52,18,0.25); }
.facade .windows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.facade .win { aspect-ratio: 3 / 4; border-radius: 5px; background: #E4D3C2; border: 1px solid #D8C4B0; position: relative; overflow: hidden; }
.facade .win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 60%); }
.facade .win.lit { background: linear-gradient(180deg, #FFD9A8, #F2A25A); border-color: #E9954A; box-shadow: inset 0 0 6px rgba(255,214,150,0.7); }
.facade .win.lit.pulse { animation: winGlow 4s var(--ease) infinite; }
@keyframes winGlow { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
.facade-caption { position: absolute; left: 16px; bottom: 9px; font-family: var(--font-mono); font-size: 10.5px; color: var(--slate); }

/* triage + collection column */
.viz-right { display: flex; flex-direction: column; gap: 14px; }
.triage-chip {
  background: var(--surface-2); border: 1px solid var(--hair); border-radius: 12px; padding: 12px 13px;
}
.triage-chip .tc-top { display: flex; align-items: center; justify-content: space-between; }
.triage-chip .tc-unit { font-family: var(--font-mono); font-size: 11px; color: var(--slate); }
.triage-chip .tc-conf { font-family: var(--font-mono); font-size: 11px; color: var(--terra); }
.triage-chip .tc-issue { font-size: 13px; font-weight: 600; margin: 8px 0 9px; color: var(--ink); }
.triage-chip .tc-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.tp { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.tp .d { width: 6px; height: 6px; border-radius: 50%; }
.tp.cat { background: var(--blue-tint); color: var(--blue); }
.tp.cat .d { background: var(--blue); }
.tp.prio { background: var(--red-tint); color: var(--red); }
.tp.prio .d { background: var(--red); }

.collect { background: var(--surface-2); border: 1px solid var(--hair); border-radius: 12px; padding: 12px 13px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.collect-head { display: flex; align-items: baseline; justify-content: space-between; }
.collect-head .val { font-family: var(--font-mono); font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -0.03em; }
.collect-head .val small { font-size: 14px; color: var(--slate); }
.collect-head .delta { font-family: var(--font-mono); font-size: 11.5px; color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.nrr-chart { position: relative; margin-top: 10px; }
.nrr-chart svg { width: 100%; height: auto; overflow: visible; }
.nrr-line { fill: none; stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nrr-area { fill: url(#collectFill); opacity: 0; }
.nrr-dot { fill: var(--terra); stroke: #fff; stroke-width: 2.5; }
.nrr-baseline { stroke: var(--hair-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.collect-foot { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; color: var(--slate-2); }

.viz-legend { display: flex; gap: 16px; margin-top: 18px; 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: 50%; }
.sw.h { background: var(--green); }
.sw.r { background: var(--amber); }
.sw.c { background: var(--red); }

/* ==========================================================================
   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(34px, 5vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.kpi .num .unit { color: var(--terra-soft); font-size: 0.6em; margin-left: 2px; }
.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.risk { color: #FBBF77; }
.kpi .tag.save { color: #6EE7B7; }

/* ==========================================================================
   Pillars (what TenantDesk runs)
   ========================================================================== */
.pillars-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .pillars-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(--terra-tint); color: var(--terra); 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(--terra), #EA6A2F); transition: width 1.1s var(--ease); }
.driver.d2 .driver-ic { background: var(--teal-tint, #E5F2F5); color: #0E7490; }
.driver.d2 .driver-bar i { background: linear-gradient(90deg, #0E7490, #38A3B8); }
.driver.d3 .driver-ic { background: var(--amber-tint); color: var(--amber); }
.driver.d3 .driver-bar i { background: linear-gradient(90deg, var(--amber), #F5A742); }
.driver.d4 .driver-ic { background: #F1ECF9; color: #6D4AA8; }
.driver.d4 .driver-bar i { background: linear-gradient(90deg, #6D4AA8, #9A7AD0); }
.driver-desc { margin-top: 10px; font-size: 13.5px; color: var(--slate); }

.drivers-note {
  align-self: stretch;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  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;
}
.drivers-note h3 { font-size: 23px; }
.drivers-note p { margin-top: 14px; color: var(--slate); font-size: 15.5px; }
.attrib-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: 11; }
.ring-fill { fill: none; stroke: var(--terra); stroke-width: 11; 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
   ========================================================================== */
.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(--terra); letter-spacing: 0.1em; }
.step-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin: 16px 0 20px; background: var(--terra-tint); color: var(--terra); }
.step-ic svg { width: 24px; height: 24px; }
.step h3 { font-size: 21px; }
.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
   ========================================================================== */
.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, 33px); }
.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(--terra); 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: var(--surface-2); 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(--terra); 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: var(--surface-2); }
.feature-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--terra-tint); color: var(--terra); margin-bottom: 18px; }
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; }
.feature p { margin-top: 10px; color: var(--slate); font-size: 14.5px; }

/* ==========================================================================
   Explain / differentiator band
   ========================================================================== */
.explain { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.explain-inner { display: grid; gap: clamp(32px, 5vw, 60px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .explain-inner { grid-template-columns: 1fr 0.85fr; } }
.explain .eyebrow { color: var(--terra-soft); }
.explain .eyebrow::before { background: var(--terra-soft); }
.explain h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 16px; }
.explain p { margin-top: 18px; color: rgba(255,255,255,0.68); font-size: 17px; max-width: 520px; }
.explain-points { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.explain-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,0.85); }
.explain-points svg { width: 20px; height: 20px; color: var(--terra-soft); flex: none; margin-top: 1px; }

.explain-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);
}
.explain-card .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.explain-card .row:last-child { border-bottom: none; }
.explain-card .row .name { font-size: 14px; color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 9px; }
.explain-card .row .name .dot { width: 8px; height: 8px; border-radius: 50%; }
.explain-card .row .wt { font-family: var(--font-mono); font-size: 13px; color: #fff; }
.explain-card .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.explain-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); }
.explain-card .head .s { font-family: var(--font-mono); font-size: 15px; color: #FBBF77; display: inline-flex; align-items: center; gap: 6px; }
.explain-card .head .s .pdot { width: 7px; height: 7px; border-radius: 50%; background: #F87171; }
.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%; border-radius: 999px; width: 0; 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(--terra); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #5A1E08 0%, #9A3412 46%, #C2410C 100%);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(40px, 6vw, 76px);
  color: #fff;
  box-shadow: 0 40px 90px -40px rgba(154,52,18,0.7);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(600px 400px at 85% 20%, #000, transparent 75%);
  mask-image: radial-gradient(600px 400px at 85% 20%, #000, transparent 75%);
}
.cta-card .inner { position: relative; z-index: 1; max-width: 640px; }
.cta-card h2 { font-size: clamp(28px, 4.4vw, 48px); }
.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(--terra-hover); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.4); }
.cta-card .btn-primary:hover { background: #FFF3EC; }
.cta-card .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); color: #fff; box-shadow: none; }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.16); 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(--terra); }
.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(--terra); 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: 14ch; }
.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(--terra); }
.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(--terra); background: var(--surface);
  box-shadow: 0 0 0 4px var(--terra-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(--terra); 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: 18px; margin-bottom: 6px; }
.aside-card p { color: var(--slate); font-size: 14px; }
.aside-card a.link { color: var(--terra); font-weight: 500; word-break: break-word; }
.aside-card a.link:hover { color: var(--terra-hover); 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(--terra-tint); color: var(--terra); 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(--terra); 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(--terra-tint); color: var(--terra);
  border: 1px solid rgba(194,65,12,0.2);
  position: relative;
}
.success-badge::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid var(--terra-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(--terra); 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; }
  .win.lit.pulse, .pulse-dot span:last-child, .success-badge::after, .viz-live .dot { animation: none !important; }
  .nrr-area { opacity: 1 !important; }
  .driver-bar i, .mini-bar i { transition: none !important; }
}
