/* Systems Factory — mobile first */

:root {
  --black: #1C1F24;
  --ink: #0B0C0E;      /* full-screen sections */
  --rule-dark: #1F2329; /* thin dividers on dark */
  --white: #FFFFFF;
  --gray: #F5F6F8;
  --border: #E3E5E9;
  --muted: #555B63;
  --blue: #2E62D9;
  --blue-dark: #7FA8FF;
  --header-bar-h: 64px;
  --header-h: 64px; /* updated by JS when the /c banner is shown */
  --radius: 6px;
  --gutter: 20px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.section-black :focus-visible,
.stage :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.section-dots :focus-visible,
.to-top:focus-visible {
  outline-color: var(--blue-dark);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--gray); }
.btn-dark {
  background: rgba(28, 31, 36, 0.8);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.btn-dark:hover { background: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #33373E; }
.btn-black:disabled { opacity: .6; cursor: progress; }
.btn-block { display: flex; width: 100%; }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 14px; }

.btn-pair {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--white);
  transition: background-color .25s;
}
.site-header.is-solid,
.site-header.has-banner {
  background: var(--black);
  box-shadow: 0 1px 0 var(--rule-dark);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-bar-h);
  padding: 0 12px 0 var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}
.seal { width: 40px; height: 40px; flex: none; }
.gear {
  transform-box: view-box;
  transform-origin: 110px 110px;
  animation: gear-spin 24s linear infinite;
}
@keyframes gear-spin { to { transform: rotate(360deg); } }

.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.nav-desktop, .btn-header { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
}
.menu-icon { display: grid; gap: 5px; width: 22px; }
.menu-icon span { display: block; height: 2px; background: currentColor; border-radius: 1px; }

/* /c business card banner */
.card-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 6px 8px 6px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 1440px;
  margin: 0 auto;
}
.card-banner[hidden] { display: none; }
.card-banner-text { margin-right: auto; font-size: 14px; font-weight: 600; }

/* ---------- Mobile menu (dialog) ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0;
  padding: 0 var(--gutter) 32px;
  border: 0;
  background: var(--black);
  color: var(--white);
  overflow-y: auto;
}
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu::backdrop { background: var(--black); }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-bar-h);
  margin-right: -8px;
}
.menu-close { width: 48px; height: 48px; }
.mobile-menu-links {
  display: grid;
  margin: 24px 0 32px;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  font-size: 26px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Section dots ---------- */

.section-dots { display: none; }

/* ---------- Full-screen black sections ---------- */

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.stage-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: calc(var(--header-h) + 13vh) var(--gutter) 92px;
  text-align: center;
}
.stage-copy { max-width: 760px; }
.stage h1,
.stage h2 {
  font-size: clamp(32px, 8.5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 500;
  color: #D5D8DD;
}

/* Hero: the seal, large and faint, behind the headline */
/* Headline + buttons as one block, centered on screen; the seal is centered on the block */
.stage-hero .stage-inner {
  justify-content: center;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 32px;
}
/* Closing: a regular-height band, headline + buttons at the top.
   Top padding + How's bottom padding = the gap above How it works (80 / 112). */
.stage-compact { min-height: 0; }
.stage-compact .stage-inner {
  justify-content: flex-start;
  padding-top: 52px;    /* + #how 28px = 80px */
  padding-bottom: 80px; /* + #contact 80px = 160px, the standard break */
}
.hero-group,
.stage-group {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}
.hero-group { gap: 40px; }
.hero-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: clamp(320px, 92vw, 600px);
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  pointer-events: none;
}

/* Zero risk + closing: no decoration, more room */
.stage-plain .stage-inner {
  padding-top: calc(var(--header-h) + 17vh);
  padding-bottom: 112px;
  gap: 64px;
}
.stage-plain .lead { margin-top: 20px; }
.stage-hero .lead { margin-top: 20px; font-size: 16px; color: #C9CDD3; }
.stage-bottom { display: grid; gap: 40px; width: 100%; }
.stage-plain .stage-bottom { gap: 56px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 12px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}
.stats li { display: grid; gap: 2px; }
.stats strong { font-size: 24px; font-weight: 600; line-height: 1.2; }
.stats span { font-size: 13px; font-weight: 500; }

/* ---------- Plain sections ---------- */

.section { padding: 80px 0; }
.section h2 {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-black { background: var(--black); color: var(--white); }
#deals { border-top: 1px solid var(--rule-dark); }
/* Zero risk -> Deals is dark on dark, so the two paddings read as one band.
   Trim both sides so this break looks like the others. */
#zero-risk .stage-inner { padding-bottom: 92px; } /* keeps buttons clear of back-to-top */
#deals { padding-top: 40px; }
/* How it works -> closing: about half the old gap */
#services { padding-bottom: 40px; }
#how { padding-top: 40px; padding-bottom: 28px; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray); }
.section-sub { margin-top: 10px; color: var(--muted); font-size: 16px; }

.eyebrow {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

/* Deals */
.deals-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.deal-ends {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.deal-note { margin-top: 20px; color: #A9AFB7; font-size: 14px; }
.deal-grid { display: grid; gap: 16px; margin-top: 36px; }
.deal-card {
  padding: 28px 24px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.deal-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-dark);
}
.deal-card h3 { margin-top: 12px; font-size: 21px; font-weight: 600; line-height: 1.3; }
.deal-card p:last-child { margin-top: 10px; color: #C9CDD3; font-size: 15px; }

/* Services */
.services-layout { margin-top: 28px; }

.type-tabs-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  margin: 0 calc(var(--gutter) * -1);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.type-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 8px var(--gutter);
}
.type-tabs::-webkit-scrollbar { display: none; }
.type-tab {
  flex: none;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-margin: 0 var(--gutter);
}
.type-tab:hover { border-color: var(--muted); }
.type-tab[aria-selected="true"] {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  font-weight: 600;
}

.service-panel { padding-top: 8px; outline: none; scroll-margin-top: calc(var(--header-h) + 64px); }
.services-status { padding: 24px 0; color: var(--muted); }
.panel-heading {
  padding: 20px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr auto 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.service-row:hover { background: var(--gray); }
@media (max-width: 639px) {
  /* leave the right edge free for the fixed back-to-top button */
  .service-row { grid-template-columns: 1fr auto; padding-right: 52px; position: relative; }
  .sr-chev { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
}
.sr-name { font-size: 16px; font-weight: 600; line-height: 1.35; }
.sr-price { display: grid; justify-items: end; text-align: right; line-height: 1.3; }
.sr-from { font-size: 15px; font-weight: 600; white-space: nowrap; }
.sr-monthly { font-size: 13px; color: var(--muted); white-space: nowrap; }
.sr-chev { color: var(--muted); }

.footnote {
  margin-top: 28px;
  max-width: 760px;
  font-size: 14px;
  color: var(--muted);
}

/* Service details dialog */
.service-dialog {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--black);
}
.service-dialog::backdrop { background: rgba(14, 16, 19, 0.6); }
.sd-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}
.btn-back {
  align-self: flex-start;
  min-height: 48px;
  margin-left: -12px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.btn-back:hover { background: var(--gray); }
.sd-type {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sd-name { margin-top: 8px; font-size: 28px; font-weight: 600; line-height: 1.2; }
.sd-price { margin-top: 16px; font-size: 20px; font-weight: 600; }
.sd-monthly { font-size: 16px; font-weight: 500; color: var(--muted); }
.sd-time {
  display: inline-block;
  align-self: flex-start;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gray);
  font-size: 14px;
  font-weight: 500;
}
.sd-detail { margin-top: 20px; font-size: 17px; line-height: 1.6; }
#sd-ask { margin-top: auto; }
.sd-detail { margin-bottom: 32px; }

/* How it works */
/* How it works: step-through (rail + one card) */
.stepper { display: grid; gap: 20px; margin-top: 28px; }
.step-rail-wrap { position: relative; }
.step-rail {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.rail-track {
  position: absolute;
  left: 22px; right: 22px; top: 21px;
  height: 2px;
  background: var(--border);
}
.rail-fill {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform .3s ease;
}
.rail-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--gray);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.rail-step:hover { border-color: var(--muted); color: var(--black); }
.rail-step.is-done { border-color: var(--blue); }
.rail-step[aria-current="step"] {
  border-color: var(--blue);
  background: var(--white);
  color: var(--blue);
}

.step-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  touch-action: pan-y; /* horizontal swipes change steps, vertical still scrolls */
}
.step-panel + .step-panel { margin-top: 28px; } /* no-JS fallback: plain list */
.step-big {
  display: block;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.step-panel h3 { margin-top: 14px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.step-panel p { margin-top: 8px; max-width: 34em; color: var(--muted); font-size: 17px; }

/* With JS: all panels share one grid cell; only the active one shows */
.stepper.is-ready .step-card { display: grid; }
.stepper.is-ready .step-panel {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.stepper.is-ready .step-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s ease, transform .3s ease, visibility 0s;
}
.stepper:not(.is-ready) .step-rail-wrap,
.stepper:not(.is-ready) .step-controls { display: none; }

.step-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "count count" "prev next";
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.step-prev { grid-area: prev; padding-left: 18px; padding-right: 18px; white-space: nowrap; }
@media (max-width: 359px) { .step-controls .step-cta { white-space: normal; } }
.step-next, .step-cta { grid-area: next; padding-left: 16px; padding-right: 16px; white-space: nowrap; }
.step-cta[hidden], .step-next[hidden] { display: none; }
.step-count {
  grid-area: count;
  justify-self: end;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.btn-outline {
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 0 0 1px #BFC4CB;
}
.btn-outline:hover { background: var(--white); }
.btn:disabled { opacity: .4; cursor: default; }
.btn-outline:disabled:hover { background: transparent; }

/* Contact */
.contact-layout { display: grid; gap: 32px; }
.contact-direct { display: grid; gap: 8px; margin-top: 20px; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
  word-break: break-word;
}
.contact-link svg { flex: none; color: var(--blue); }
.contact-link:hover { color: var(--blue); }

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px var(--gutter);
  margin: 0 calc(var(--gutter) * -1);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.req, .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #BFC4CB;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 16px; /* prevents iOS zoom */
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23555B63' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field.has-error input { border-color: #B42318; }
.field-error { font-size: 13px; color: #B42318; font-weight: 500; }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.btn-submit { width: 100%; }
.form-status { font-size: 15px; font-weight: 500; outline: none; }
.form-status:empty { display: none; }
.form-status.is-success { color: #1E6B3A; }
.form-status.is-error { color: #B42318; }
.form-status a { font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 calc(88px + env(safe-area-inset-bottom));
}
.footer-inner { display: grid; gap: 20px; justify-items: start; }
.footer-seal { width: 72px; height: 72px; }
.footer-name { font-size: 18px; font-weight: 600; }
.footer-tag { margin-top: 2px; color: #C9CDD3; font-size: 15px; }
.footer-contact { display: grid; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--blue-dark); }
.footer-copy { color: #A9AFB7; font-size: 14px; }

/* Back to top */
.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #33373E; }

/* ---------- Tablet ---------- */

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .btn-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 580px;
  }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .deal-grid { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-form {
    margin: 0;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
  }
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px 32px;
  }
  .footer-copy { grid-column: 1 / -1; }
  .footer-contact { justify-items: end; }

  /* Service details become a right-side drawer */
  .service-dialog {
    width: 480px;
    margin-left: auto;
    margin-right: 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  }
  .sd-inner { padding: 20px 36px 36px; }
}

/* ---------- Desktop ---------- */

@media (min-width: 960px) {
  .header-bar { padding: 0 32px; gap: 28px; }
  .menu-toggle { display: none; }
  .nav-desktop {
    display: flex;
    gap: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-bar { position: relative; }
  .nav-desktop a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .nav-desktop a:hover { background: rgba(255, 255, 255, 0.12); }
  .btn-header {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
    background: var(--white);
    color: var(--black);
  }
  .btn-header:hover { background: var(--gray); }

  .card-banner { padding: 6px 32px; }

  .container { max-width: min(1160px, calc(100vw - 144px)); padding: 0; }
  .stage-inner { padding-left: 80px; padding-right: 80px; }
  .stage-copy { max-width: 980px; }
  .section { padding: 112px 0; }
  .stage-inner { padding-bottom: 72px; padding-top: calc(var(--header-h) + 12vh); }
  .stage-plain .stage-inner { padding-top: calc(var(--header-h) + 16vh); padding-bottom: 104px; gap: 72px; }
  #zero-risk .stage-inner { padding-bottom: 72px; }
  #deals { padding-top: 88px; }
  #services { padding-bottom: 56px; }
  #how { padding-top: 56px; padding-bottom: 32px; }
  .hero-seal { width: min(480px, 54vh); }
  .lead { font-size: 19px; }
  .stage-hero .lead { font-size: 20px; }
  .stage-compact .stage-inner { padding-top: 80px; padding-bottom: 112px; } /* + #how 32 = 112; + #contact 112 = 224 */
  .stats strong { font-size: 30px; }
  .stats span { font-size: 14px; }

  /* Stepper: vertical rail on the left, card on the right */
  .stepper {
    grid-template-columns: 44px minmax(0, 1fr);
    max-width: 920px;
    gap: 48px;
    align-items: start;
    margin-top: 36px;
  }
  .step-rail { flex-direction: column; justify-content: flex-start; gap: 36px; }
  .rail-track { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .rail-fill { transform: scaleY(var(--p, 0)); transform-origin: center top; }
  .step-card { padding: 44px 52px; min-height: 260px; }
  .step-big { font-size: 64px; }
  .step-panel h3 { margin-top: 18px; font-size: 30px; }
  .step-panel p { margin-top: 10px; max-width: 40em; font-size: 19px; }
  .step-controls {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }
  .step-count { order: 3; margin-left: auto; }
  .step-prev, .step-next, .step-cta { padding-left: 24px; padding-right: 24px; }

  /* Services: vertical tabs pinned on the left */
  .services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
  }
  .type-tabs-wrap {
    top: calc(var(--header-h) + 24px);
    margin: 0;
    border: 0;
    background: transparent;
  }
  .type-tabs {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding: 0;
  }
  .type-tab {
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    text-align: left;
    padding: 10px 14px;
  }
  .type-tab:hover { background: var(--gray); }
  .type-tab[aria-selected="true"]:hover { background: var(--black); }
  .service-panel { padding-top: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
  .panel-heading { padding-top: 0; }
  .service-row { padding: 16px 12px; }

  .contact-layout { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }

  /* Section dots */
  .section-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: grid;
    gap: 0;
    padding: 6px 0;
    border-radius: 999px;
    background: rgba(28, 31, 36, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  .section-dots a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
  }
  .section-dots a::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: transform .2s, background-color .2s;
  }
  .section-dots a:hover::before { background: var(--white); }
  .section-dots a[aria-current="true"]::before { background: var(--white); transform: scale(1.4); }
  .dot-label {
    position: absolute;
    right: 48px;
    padding: 6px 10px;
    border-radius: var(--radius);
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(4px);
    transition: opacity .15s, transform .15s;
  }
  .section-dots a:hover .dot-label,
  .section-dots a:focus-visible .dot-label { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gear { animation: none; }
  *, *::before, *::after { transition: none !important; }
  .stepper.is-ready .step-panel { transform: none !important; transition: opacity .3s ease, visibility 0s linear .3s !important; }
  .stepper.is-ready .step-panel.is-active { transition: opacity .3s ease, visibility 0s !important; }
}
