:root {
  color-scheme: light;
  --bg: oklch(98.6% 0.006 228);
  --bg-2: oklch(96.4% 0.012 228);
  --surface: oklch(99.2% 0.004 228);
  --surface-2: oklch(94.8% 0.014 228);
  --ink: oklch(18% 0.025 235);
  --muted: oklch(46% 0.032 235);
  --line: oklch(88% 0.018 230);
  --primary: oklch(29% 0.07 208);
  --primary-2: oklch(23% 0.06 225);
  --accent: oklch(70% 0.19 220);
  --accent-2: oklch(74% 0.19 190);
  --violet: oklch(62% 0.2 290);
  --review: oklch(63% 0.16 154);
  --warning: oklch(68% 0.15 72);
  --danger: oklch(60% 0.18 28);
  --ink-soft: oklch(32% 0.035 235);
  --panel-line: oklch(84% 0.025 230);
  --panel-line-strong: oklch(82% 0.03 230);
  --header-line: oklch(88% 0.018 230 / .76);
  --header-bg: oklch(98.6% 0.006 228 / .9);
  --accent-border: oklch(70% 0.19 220 / .28);
  --accent-border-soft: oklch(70% 0.19 220 / .24);
  --accent-wash: oklch(70% 0.19 220 / .08);
  --accent-wash-strong: oklch(70% 0.19 220 / .1);
  --accent-focus: oklch(70% 0.19 220 / .7);
  --accent-inset: oklch(70% 0.19 220 / .14);
  --accent-halo: oklch(70% 0.19 220 / .45);
  --accent-haze: oklch(70% 0.19 220 / .26);
  --accent-haze-strong: oklch(70% 0.19 220 / .32);
  --accent-haze-stronger: oklch(70% 0.19 220 / .34);
  --accent-field-hover: oklch(70% 0.19 220 / .55);
  --accent-final-haze: oklch(70% 0.19 220 / .16);
  --page-accent-haze: oklch(72% 0.2 220 / 0.18);
  --page-violet-haze: oklch(62% 0.2 290 / 0.11);
  --accent-2-haze: oklch(74% 0.19 190 / .15);
  --workflow-pulse-start: oklch(74% 0.18 218);
  --workflow-pulse-mid: oklch(78% 0.2 190);
  --workflow-pulse-end: oklch(67% 0.2 285);
  --review-halo: oklch(63% 0.16 154 / .55);
  --review-glow: oklch(63% 0.16 154 / .5);
  --review-border: oklch(63% 0.16 154 / .6);
  --review-ring: oklch(63% 0.16 154 / .22);
  --review-shadow: oklch(63% 0.16 154 / .12);
  --review-haze: oklch(63% 0.16 154 / .18);
  --dark-panel-ink: oklch(89% 0.02 230);
  --dark-panel-muted: oklch(86% 0.07 210);
  --dark-panel-quiet: oklch(91% 0.025 230);
  --dark-panel-label: oklch(88% 0.09 210);
  --dark-panel-divider: oklch(95% 0.02 230 / .18);
  --panel-gradient-start: oklch(99.4% 0.004 228);
  --panel-gradient-end: oklch(94.2% 0.018 232);
  --panel-node-line: oklch(86% 0.024 230);
  --panel-node-bg: oklch(99% 0.005 228 / .94);
  --dark-gradient-end: oklch(20% 0.07 240);
  --dark-gradient-end-2: oklch(21% 0.08 242);
  --dark-gradient-end-3: oklch(19% 0.07 245);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-soft: 0 18px 50px oklch(20% 0.04 230 / 0.11);
  --shadow-brand: 0 12px 26px oklch(22% 0.08 220 / .18);
  --shadow-cta: 0 18px 42px oklch(23% 0.06 225 / .22);
  --shadow-tab: 0 14px 28px oklch(23% 0.06 225 / .16);
  --shadow-node: 0 16px 34px oklch(24% 0.05 230 / .1);
  --shadow-glow: 0 0 42px oklch(70% 0.19 220 / 0.28);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 84% 8%, var(--page-accent-haze), transparent 27rem),
    radial-gradient(circle at 12% 4%, var(--page-violet-haze), transparent 24rem),
    linear-gradient(180deg, var(--bg), var(--bg-2) 55%, var(--bg));
  color: var(--ink);
  line-height: 1.55;
  font-optical-sizing: auto;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
[id] { scroll-margin-top: 6rem; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--primary-2);
  color: var(--surface);
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--header-line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
}
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--surface);
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: var(--shadow-brand);
  font-family: var(--font-mono);
  font-size: .875rem;
}
.brand-name { letter-spacing: -0.03em; }

nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}
nav a, .nav-cta, .button { min-height: 44px; }
nav a { display: inline-flex; align-items: center; }
nav a:hover { color: var(--primary); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .7rem 1rem;
  color: var(--primary);
  font-weight: 800;
  background: var(--surface);
}

.hero {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7.5rem) 0 3rem;
}

.hero-copy { max-width: 720px; }
.kicker, .section-label {
  margin: 0 0 .9rem;
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-label {
  color: var(--muted);
  letter-spacing: .12em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.35rem;
  max-width: 12ch;
  font-size: clamp(3.6rem, 8vw, 7.3rem);
  line-height: .9;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
h1 span {
  display: block;
  white-space: nowrap;
}
h2 {
  margin-bottom: 1rem;
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
h3 {
  margin-bottom: .5rem;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  display: grid;
  gap: .35rem;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.48;
}
.lead span { display: block; }

.hero-actions, .assurance-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero-actions { margin: 1.7rem 0 1.2rem; }
.assurance-row span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.assurance-row span::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--review);
  box-shadow: 0 0 18px var(--review-glow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .9rem 1.2rem;
  font-weight: 800;
  transition: transform .18s cubic-bezier(.16,1,.3,1), border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.button.primary {
  background: var(--primary-2);
  color: var(--surface);
  box-shadow: var(--shadow-cta), 0 0 0 1px var(--accent-inset) inset;
}
.button.secondary {
  background: var(--surface);
  color: var(--primary-2);
  border-color: var(--line);
}
.button:hover, .nav-cta:hover { transform: translateY(-1px); }
.button:active, .nav-cta:active { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent-focus);
  outline-offset: 3px;
}

.hero-system {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, var(--panel-gradient-start), var(--panel-gradient-end)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}
.hero-system::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 65% 18%, var(--accent-haze), transparent 17rem),
    radial-gradient(circle at 20% 72%, var(--accent-2-haze), transparent 15rem);
  pointer-events: none;
}
.system-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .875rem;
}
.system-toolbar strong { margin-left: auto; color: var(--primary); }
.status-dot {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: var(--review);
  box-shadow: 0 0 22px var(--review-halo);
}

.workflow-map { position: relative; height: 390px; }
.workflow-map::before {
  content: "review signals";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent-border-soft);
  border-radius: 999px;
  padding: .55rem .85rem;
  color: var(--primary-2);
  background: oklch(99.2% 0.004 228 / .76);
  box-shadow: 0 0 36px var(--accent-inset);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.map-lines {
  position: absolute;
  inset: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  overflow: visible;
}
.map-lines path {
  fill: none;
  stroke: url(#pulse);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px var(--accent-halo));
  stroke-dasharray: 9 13;
  animation: lineFlow 12s linear infinite;
}

.node {
  position: absolute;
  z-index: 2;
  width: 158px;
  border: 1px solid var(--panel-node-line);
  border-radius: 20px;
  padding: .85rem;
  background:
    linear-gradient(180deg, oklch(100% 0 0 / .72), oklch(99% 0.005 228 / .9)),
    var(--panel-node-bg);
  box-shadow: var(--shadow-node);
}
.node span {
  display: inline-flex;
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: .875rem;
  color: var(--accent);
}
.node strong, .node small { display: block; }
.node small { margin-top: .12rem; color: var(--muted); font-size: .875rem; }
.node.approved { border-color: var(--review-border); box-shadow: 0 0 0 1px var(--review-ring), 0 18px 38px var(--review-shadow); }
.node-intake { left: 5%; top: 13%; }
.node-data { left: 25%; bottom: 11%; }
.node-draft { left: 45%; top: 13%; }
.node-review { left: 64%; bottom: 11%; }
.node-action { right: 5%; top: 13%; }
.node-intake,
.node-draft,
.node-action {
  box-shadow: var(--shadow-node), 0 0 28px var(--accent-inset);
}

.console-card {
  position: relative;
  z-index: 3;
  width: calc(100% - 2rem);
  margin: 0 1rem 1rem;
  border: 1px solid var(--accent-border);
  border-radius: 22px;
  padding: 1rem;
  color: var(--surface);
  background: linear-gradient(135deg, var(--primary-2), var(--dark-gradient-end));
  box-shadow: var(--shadow-glow);
}
.console-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .65rem;
  font-family: var(--font-mono);
  color: var(--dark-panel-label);
}
.console-head strong {
  color: var(--surface);
}
.console-card p { margin: 0; color: var(--dark-panel-ink); font-size: .9rem; }

@media (min-width: 721px) {
  .console-card {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: .35rem 1rem;
    align-items: start;
  }
  .console-head { display: contents; }
  .console-head span { grid-column: 1; }
  .console-head strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 2rem;
    line-height: .95;
    color: var(--surface);
  }
  .console-card p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.business-strip {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem .8rem;
  padding: 1rem;
  border-block: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}
.business-strip strong {
  color: var(--primary);
  font-weight: 800;
}

.section {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-intro p, .operator-heading p {
  color: var(--muted);
  max-width: 68ch;
}
.section-intro.compact { display: block; max-width: 820px; }

.process-section {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
}
.process-section::after {
  content: "";
  position: absolute;
  right: max(-1rem, calc((100vw - 1220px) / -2));
  bottom: clamp(3.5rem, 8vw, 6rem);
  width: min(40vw, 420px);
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-final-haze), transparent 68%);
  pointer-events: none;
}
.process-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.process-steps li {
  display: grid;
  gap: .75rem;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
  background: var(--surface);
  transition: transform .26s var(--ease-out-expo), border-color .26s ease, box-shadow .26s ease;
}
.process-steps li:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-soft);
}
.process-steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-wash-strong);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .875rem;
}
.process-steps strong { color: var(--primary-2); }
.process-steps p { margin: 0; color: var(--muted); }
.motion-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .52s var(--ease-out-quint), transform .52s var(--ease-out-expo);
}
.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.process-steps .motion-reveal:nth-child(2) { transition-delay: .08s; }
.process-steps .motion-reveal:nth-child(3) { transition-delay: .16s; }
.process-controls {
  display: none;
}

.operator-section {
  width: min(1280px, calc(100% - 1rem));
  padding-top: clamp(2.4rem, 5vw, 4.2rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-inline: clamp(.5rem, 2vw, 1rem);
}
.operator-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .66fr);
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1rem;
}
.operator-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr);
  gap: .8rem;
  border: 1px solid var(--accent-border-soft);
  border-radius: 30px;
  padding: .72rem;
  background:
    radial-gradient(circle at 14% 0%, var(--accent-haze), transparent 18rem),
    radial-gradient(circle at 100% 100%, var(--page-violet-haze), transparent 18rem),
    linear-gradient(135deg, oklch(99.2% 0.006 228), var(--surface-2)),
    var(--surface);
  box-shadow: 0 22px 70px oklch(20% 0.05 230 / .14);
}
.operator-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, var(--accent-inset) 48%, transparent 100%),
    repeating-linear-gradient(90deg, oklch(18% 0.02 235 / .045) 0 1px, transparent 1px 72px);
  opacity: .22;
}
.operator-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .62rem;
  align-content: start;
  border: 1px solid oklch(100% 0 0 / .72);
  border-radius: 24px;
  padding: clamp(.72rem, 1.4vw, .95rem);
  background:
    radial-gradient(circle at 100% 0%, var(--accent-wash), transparent 15rem),
    oklch(99.4% 0.006 228 / .86);
  box-shadow:
    0 1px 0 oklch(100% 0 0 / .82) inset,
    0 0 42px oklch(70% 0.19 220 / .08) inset;
}
.form-console-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .55rem;
  min-height: 2.25rem;
  padding: .18rem .2rem .42rem;
  border-bottom: 1px solid var(--line);
}
.form-console-head span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--primary-2);
  background: linear-gradient(135deg, var(--accent-wash-strong), var(--accent-2-haze));
  font-family: var(--font-mono);
  font-weight: 800;
}
.form-console-head strong {
  color: var(--primary-2);
  font-size: .98rem;
}
.form-console-head em {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.form-quick-row,
.form-notes-row,
.scanner-scale {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .58rem;
}
.custom-business-field {
  display: none;
}
.custom-business-field.is-visible {
  display: grid;
}
.form-quick-row .custom-business-field {
  grid-column: 1 / -1;
}
.scanner-scale {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
label {
  display: grid;
  gap: .22rem;
  color: var(--primary-2);
  font-size: .86rem;
  font-weight: 800;
}
label.custom-business-field {
  display: none;
}
label.custom-business-field.is-visible {
  display: grid;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-sm);
  padding: .62rem .74rem;
  color: var(--ink);
  background: oklch(99.6% 0.004 228 / .92);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:hover, textarea:hover, select:hover { border-color: var(--accent-field-hover); }
select {
  min-height: 42px;
  text-overflow: ellipsis;
}
textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.35;
}
textarea[name="systems"] { min-height: 70px; }
.estimate-button {
  min-height: 46px;
  margin-top: .08rem;
  box-shadow: var(--shadow-cta), 0 0 34px var(--accent-haze);
}

.recommendation-card {
  position: sticky;
  top: 5.75rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  border: 1px solid oklch(86% 0.08 220 / .28);
  border-radius: 24px;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--surface);
  background:
    radial-gradient(circle at 90% 0%, oklch(70% 0.19 220 / .45), transparent 13rem),
    radial-gradient(circle at 0% 100%, oklch(63% 0.16 154 / .22), transparent 12rem),
    linear-gradient(120deg, oklch(24% 0.09 230 / .95), transparent 52%),
    linear-gradient(145deg, var(--primary-2), var(--dark-gradient-end-3));
  box-shadow: 0 20px 60px oklch(20% 0.06 235 / .25), 0 0 60px var(--accent-inset) inset;
}
.recommendation-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: .8rem;
  align-items: start;
  font-family: var(--font-mono);
  color: var(--dark-panel-muted);
}
.recommendation-top span {
  display: block;
  margin-bottom: .25rem;
  color: var(--dark-panel-muted);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.recommendation-top strong {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  line-height: .88;
  letter-spacing: -0.07em;
  color: var(--surface);
}
.score-chip {
  min-width: 4.75rem;
  border: 1px solid var(--dark-panel-divider);
  border-radius: 18px;
  padding: .58rem .68rem;
  text-align: right;
  background: oklch(96% 0.018 230 / .1);
  box-shadow: 0 0 28px var(--accent-inset) inset;
}
.score-chip span {
  margin-bottom: .25rem;
  font-size: .74rem;
}
.score-chip strong {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -0.04em;
}
.recommendation-card p { color: var(--dark-panel-ink); }
.result-summary {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
}
.result-type {
  margin-bottom: .28rem;
  color: var(--dark-panel-muted);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.result-meter {
  overflow: hidden;
  height: .65rem;
  border-radius: 999px;
  background: var(--dark-panel-divider);
}
.result-meter span {
  display: block;
  width: var(--score-width, 82%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--review), var(--accent-2), var(--accent));
  transition: width .22s cubic-bezier(.16,1,.3,1);
}
.time-saved {
  display: grid;
  gap: .28rem;
  border: 1px solid var(--dark-panel-divider);
  border-radius: 18px;
  padding: .72rem;
  background: linear-gradient(135deg, oklch(96% 0.018 230 / .1), oklch(63% 0.16 154 / .08));
}
.time-saved span {
  color: var(--dark-panel-muted);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.time-saved strong {
  color: var(--surface);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.time-saved p {
  max-width: 58ch;
  margin: 0;
  color: var(--dark-panel-quiet);
  font-size: .9rem;
}
.mobile-savings-bar {
  display: none;
}
.scope-list { display: grid; gap: .58rem; }
.result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.result-grid div:last-child {
  grid-column: 1 / -1;
}
.scope-list div {
  padding-top: .58rem;
  border-top: 1px solid var(--dark-panel-divider);
}
.scope-list span {
  display: block;
  margin-bottom: .18rem;
  color: var(--dark-panel-muted);
  font-family: var(--font-mono);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.scope-list strong {
  color: var(--surface);
  font-size: .93rem;
  line-height: 1.32;
}
.result-action {
  width: 100%;
  border-color: var(--dark-panel-divider);
  color: var(--surface);
  background: oklch(96% 0.018 230 / .12);
}

.contact-section {
  width: min(1220px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(380px, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  border: 1px solid var(--accent-border-soft);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 90% 0%, var(--accent-final-haze), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow-soft);
}
.contact-copy {
  position: sticky;
  top: 6.5rem;
}
.contact-copy p:not(.section-label) {
  max-width: 58ch;
  color: var(--muted);
}
.contact-copy .button { margin-top: .65rem; }
.contact-form {
  display: grid;
  gap: 1rem;
  min-width: 0;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="success"] { color: var(--primary); }
.message-preview-label {
  margin-top: .25rem;
}
.message-preview {
  min-height: 168px;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 2rem 1rem 4rem;
  text-align: center;
  color: var(--muted);
}
.site-footer p { margin-bottom: .35rem; }
.muted { color: var(--muted); }

@keyframes lineFlow {
  to { stroke-dashoffset: -160; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; }
  nav { display: none; }
  .hero,
  .section-intro,
  .operator-heading,
  .operator-shell,
  .process-steps,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .contact-copy { position: static; }
  .hero-system { min-height: 500px; }
}

@media (max-width: 720px) {
  body.has-mobile-savings { padding-bottom: 5.25rem; }
  .nav-cta { display: none; }
  .hero {
    padding-top: 2.6rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  h1 {
    max-width: 7.4ch;
    font-size: clamp(3.45rem, 16.5vw, 4.65rem);
    line-height: .88;
    letter-spacing: -0.06em;
  }
  .lead {
    max-width: 29ch;
    gap: .45rem;
    font-size: 1.08rem;
    line-height: 1.42;
  }
  .assurance-row { gap: .55rem 1rem; }
  .hero-system { min-height: auto; }
  .system-toolbar {
    gap: .55rem;
    padding: .9rem 1rem;
    font-size: .82rem;
  }
  .system-toolbar strong {
    font-size: .82rem;
  }
  .workflow-map {
    height: auto;
    display: grid;
    gap: .55rem;
    padding: 1rem;
  }
  .workflow-map::before {
    position: static;
    transform: none;
    justify-self: start;
    margin-bottom: .1rem;
  }
  .node {
    position: static;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100%;
    transform: none;
    display: grid;
    grid-template-columns: 2.15rem 1fr;
    gap: .15rem .65rem;
    align-items: start;
    border-radius: 18px;
    padding: .78rem .85rem;
  }
  .node span {
    grid-row: 1 / span 2;
    margin: .08rem 0 0;
  }
  .node small {
    margin-top: 0;
    line-height: 1.35;
  }
  .console-card {
    width: 100%;
    margin: 0;
    transform: none;
    border-radius: 20px;
  }
  .map-lines { display: none; }
  .form-quick-row,
  .form-notes-row,
  .result-grid,
  .contact-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .operator-section {
    width: min(100%, calc(100% - .75rem));
    padding-inline: 0;
  }
  .operator-heading {
    gap: .9rem;
    margin-bottom: 1rem;
  }
  .operator-shell {
    gap: .75rem;
    border-radius: 26px;
  }
  .form-console-head {
    padding-bottom: .34rem;
  }
  .form-console-head em {
    display: none;
  }
  .scanner-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .scanner-scale label {
    min-width: 0;
    gap: .35rem;
    font-size: .92rem;
  }
  .scanner-scale select {
    min-height: 48px;
    padding-inline: .72rem;
    font-size: .9rem;
  }
  .form-quick-row .custom-business-field,
  .result-grid div:last-child {
    grid-column: auto;
  }
  .operator-shell { padding: .75rem; }
  .operator-form {
    gap: .58rem;
    padding: .72rem;
  }
  .form-notes-row textarea {
    min-height: 82px;
  }
  .form-notes-row textarea[name="systems"] {
    min-height: 58px;
  }
  .process-section {
    width: 100%;
    overflow: hidden;
    padding-inline: 1rem;
  }
  .process-section::after {
    right: -9rem;
    bottom: 4.5rem;
    width: 18rem;
    height: 18rem;
  }
  .process-section .section-intro {
    width: min(100%, 32rem);
    margin-inline: auto;
  }
  .process-steps {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(17.5rem, 84vw);
    grid-template-columns: none;
    gap: .85rem;
    margin-inline: -1rem;
    padding: .25rem 1rem 1.15rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, black 1rem, black calc(100% - 2.5rem), transparent 100%);
  }
  .process-steps::-webkit-scrollbar { display: none; }
  .process-steps li {
    min-height: 255px;
    scroll-snap-align: start;
    box-shadow: 0 18px 42px oklch(24% 0.05 230 / .08);
  }
  .process-steps li:hover {
    transform: none;
  }
  .process-controls {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
    width: min(100%, 32rem);
    margin: .2rem auto 0;
  }
  .process-controls button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .65rem .9rem;
    color: var(--primary-2);
    background: var(--surface);
    font-weight: 800;
    box-shadow: 0 12px 28px oklch(24% 0.05 230 / .08);
    transition: transform .18s var(--ease-out-expo), border-color .18s ease, opacity .18s ease;
  }
  .process-controls button:hover {
    transform: translateY(-1px);
    border-color: var(--accent-field-hover);
  }
  .process-controls button:disabled {
    cursor: not-allowed;
    opacity: .46;
    transform: none;
  }
  .process-controls span {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
  }
  .recommendation-card {
    position: static;
    gap: 1rem;
    border-radius: 24px;
    padding: 1.1rem;
  }
  .recommendation-top {
    grid-template-columns: 1fr;
  }
  .recommendation-top strong {
    font-size: clamp(2.75rem, 15vw, 4.1rem);
  }
  .score-chip {
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    text-align: left;
  }
  .score-chip span {
    margin: 0;
  }
  .score-chip strong {
    font-size: 2.35rem;
  }
  .result-summary {
    grid-template-columns: 1fr;
    gap: .45rem;
  }
  .scope-list { gap: .65rem; }
  .scope-list div { padding-top: .65rem; }
  .result-action { margin-top: .1rem; }
  .mobile-savings-bar {
    position: fixed;
    left: .75rem;
    right: .75rem;
    bottom: max(.75rem, env(safe-area-inset-bottom));
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    padding: .72rem .78rem .72rem 1rem;
    color: var(--surface);
    background: linear-gradient(135deg, var(--primary-2), var(--dark-gradient-end));
    box-shadow: 0 20px 48px oklch(20% 0.05 235 / .28), var(--shadow-glow);
    transform: translateY(calc(100% + 1.25rem));
    opacity: 0;
    pointer-events: none;
    transition: transform .28s var(--ease-out-expo), opacity .22s ease;
  }
  .mobile-savings-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-savings-bar span {
    display: block;
    color: var(--dark-panel-muted);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .mobile-savings-bar strong {
    display: block;
    color: var(--surface);
    font-size: 1rem;
    line-height: 1.1;
  }
  .mobile-savings-bar button {
    min-height: 40px;
    border: 1px solid var(--dark-panel-divider);
    border-radius: 999px;
    padding: .55rem .8rem;
    color: var(--primary-2);
    background: var(--surface);
    font-weight: 800;
  }
}

@media (max-width: 350px) {
  .scanner-scale {
    grid-template-columns: 1fr;
  }
}
