/* ==========================================================================
   Deploy Systems site styles
   ========================================================================== */

:root {
  --ink: #09090B;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #60A5FA;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --border: #E7E7EA;
  --text: #3F3F46;
  --muted: #71717A;
  --muted-dark: #9A9AA3;
  --muted-darker: #B4B4BC;
  --muted-dim: #5F5F68;

  --font-head: 'Onest', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 100px;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-head);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; }

h1, h2, h3 { font-family: var(--font-head); }

p { font-family: var(--font-body); }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-pad { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* --------------------------------------------------------------- typography */

.eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
}

.eyebrow-blue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-light);
}
.eyebrow-blue img { height: 15px; width: auto; display: block; }

.eyebrow-light { color: var(--muted-dark); }

.section-title {
  margin: 16px 0 0;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.045em;
  max-width: 20ch;
  text-wrap: balance;
}

.section-lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.65;
  color: var(--text);
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }

.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--blue); color: var(--white); }

.btn-ghost { border-color: rgba(255,255,255,.22); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.btn-sm { font-size: 15px; padding: 11px 20px; }
.btn-lg { font-size: 17px; padding: 16px 30px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* ------------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.header-inner {
  min-height: var(--header-h);
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; display: block; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}
.nav-desktop > a:not(.btn) {
  color: #D4D4D8;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .18s ease;
}
.nav-desktop > a:not(.btn):hover,
.nav-desktop > a[aria-current="true"] { color: var(--white); }

/* mobile nav */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle:hover { border-color: rgba(255,255,255,.4); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 24px;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.09);
  /* Seven items overflow a phone held in landscape, so let the panel scroll. */
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-mobile > a:not(.btn) {
  color: #D4D4D8;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-mobile > a:not(.btn):hover,
.nav-mobile > a[aria-current="true"] { color: var(--white); }

.nav-mobile-cta { margin-top: 18px; padding-top: 15px; padding-bottom: 15px; }

/* --------------------------------------------------------------------- hero */

.hero {
  background-color: var(--ink);
  background-image: url('assets/bg-hero-dark.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-inner {
  padding-top: clamp(64px, 10vw, 130px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.045em;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-sub {
  margin: 24px 0 0;
  max-width: 58ch;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--muted-darker);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  margin: clamp(44px, 7vw, 76px) 0 0;
  padding: 34px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 34ch;
}
.stat-title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); }
.stat-desc { font-family: var(--font-body); font-size: 15px; color: var(--muted-dark); }

/* ----------------------------------------------------------------- services */

.services {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(250,250,250,.62), rgba(250,250,250,.62)),
    url('assets/bg-grid-light-tile.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 64px 64px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 52px);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 32px);
  box-shadow: 0 2px 6px -2px rgba(9,9,11,.08);
}
.card h3 {
  margin: 22px 0 0;
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.card p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
}
.card-icon img { height: 20px; width: auto; display: block; }

.card-dark {
  background: var(--ink);
  border-color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.card-dark h3 { margin: 0; color: var(--white); }
.card-dark p { color: var(--muted-darker); }
.card-dark .btn { align-self: flex-start; }

/* ------------------------------------------------------------------ process */

.process {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(40px, 6vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 32px 28px;
  border-top: 3px solid var(--blue-100);
}
.step-active { border-top-color: var(--blue); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }

.step-num {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-dark);
}
.step h3 {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.step p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

/* ---------------------------------------------------------------- expertise */

.expertise { background: var(--white); border-top: 1px solid var(--border); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 64px);
  margin-top: clamp(36px, 5vw, 52px);
}

.expertise-item {
  padding-top: 24px;
  border-top: 2px solid var(--blue-100);
}
.expertise-item h3 {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.expertise-item p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

/* ------------------------------------------------------------------ numbers */

.numbers {
  background-color: var(--ink);
  background-image: url('assets/bg-hero-dark.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.numbers-inner {
  padding-top: clamp(48px, 6vw, 68px);
  padding-bottom: clamp(48px, 6vw, 68px);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.numbers-grid li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.number {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--white);
}
.number-label {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-dark);
  max-width: 26ch;
}

/* -------------------------------------------------------------------- shift */

.shift { background: var(--bg); border-top: 1px solid var(--border); }

.shift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 52px);
}

.shift-card {
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 34px);
}
.shift-card h3 {
  margin: 10px 0 0;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.shift-tag {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shift-before {
  background: var(--white);
  border: 1px solid var(--border);
}
.shift-before .shift-tag { color: var(--muted); }

.shift-after {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
}
.shift-after .shift-tag { color: var(--blue-light); }

.shift-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.shift-list li { display: flex; gap: 14px; align-items: flex-start; }

.shift-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.shift-icon svg { width: 20px; height: 20px; display: block; }

.shift-before .shift-icon { background: #F1F1F3; color: var(--muted); }
.shift-after .shift-icon { background: rgba(37,99,235,.18); color: var(--blue-light); }

.shift-list h4 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.shift-list p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.shift-after .shift-list p { color: var(--muted-darker); }

/* ---------------------------------------------------------------- industries */

.industries { background: var(--bg); border-top: 1px solid var(--border); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 52px);
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 34px);
  box-shadow: 0 2px 6px -2px rgba(9,9,11,.08);
}
.industry-card h3 {
  margin: 14px 0 0;
  font-size: clamp(19px, 2.3vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.industry-tag {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------------------------------------------------------------------- faq */

.faq { background: var(--white); border-top: 1px solid var(--border); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.faq-intro .section-title { max-width: 16ch; }

.faq-list { display: flex; flex-direction: column; }

.faq-list details {
  border-top: 1px solid var(--border);
}
.faq-list details:last-child { border-bottom: 1px solid var(--border); }

.faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }

/* Chevron, drawn in CSS so the markup stays clean */
.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .22s ease, border-color .18s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--blue);
}

.faq-answer { padding: 0 0 24px; max-width: 62ch; }
.faq-answer p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------- why */

.why { background: var(--white); border-top: 1px solid var(--border); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.why .section-title { max-width: 18ch; }
.why .btn-ink { margin-top: 28px; }

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reason-list li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
}
.reason-list h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.reason-list p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

/* -------------------------------------------------------------------- about */

.about { background: var(--ink); color: var(--white); }
.about .section-title { max-width: 22ch; }

.about-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 36px;
}
.about-cols p {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.7;
  color: var(--muted-darker);
}

/* ------------------------------------------------------------------ contact */

.contact {
  background-color: var(--blue);
  background-image: url('assets/bg-cta-blue.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.contact-copy .section-title { margin-top: 0; max-width: 16ch; }
.contact-copy p {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

.form-card {
  background: var(--white);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 36px);
  color: var(--ink);
  box-shadow: 0 22px 44px -26px rgba(9,9,11,.45);
}

.form-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.form-note {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.form-alt { margin-top: 16px; }
.form-alt a { color: var(--blue); font-weight: 500; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.field {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.field-half { grid-column: span 1; }

.field label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  /* 16px keeps iOS Safari from zooming the viewport on focus */
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  appearance: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.contact-form textarea { resize: vertical; min-height: 92px; }

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2371717A' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 36px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid { border-color: #DC2626; }

.form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 14px 28px;
}
.form-submit[disabled] { opacity: .6; cursor: progress; }

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  padding: 12px 14px;
  border-radius: 10px;
}
.form-status[data-state="success"] { background: var(--blue-50); color: #1E40AF; border: 1px solid var(--blue-100); }
.form-status[data-state="error"] { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ------------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-inner {
  padding-top: clamp(36px, 6vw, 52px);
  padding-bottom: clamp(36px, 6vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 28px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer-logo { height: 46px; width: auto; display: block; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
}
.footer-nav a { color: var(--muted-dark); transition: color .18s ease; }
.footer-nav a:hover { color: var(--white); }

.footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--muted-dim);
}

/* =========================================================== responsive ==== */

/* Tablet: process and stats collapse to two columns */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 28px 24px; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { padding-right: 0; }
  .step:nth-child(n+3) { margin-top: 4px; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile nav takes over */
@media (max-width: 860px) {
  :root { --header-h: 76px; }

  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile[data-open] { display: flex; }

  .brand img { height: 36px; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }

  .footer-inner { justify-content: flex-start; }
  .footer-logo { height: 40px; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(odd),
  .step:nth-child(even) {
    padding: 24px 0;
    margin-top: 0;
  }

  .hero-stats { gap: 22px; }
  .hero-stats li { max-width: none; }

  .number-label { max-width: none; }
  .faq-list summary { font-size: 16px; padding: 20px 0; }
}

/* Phones: single-column form, full-width tap targets */
@media (max-width: 620px) {
  .contact-form { grid-template-columns: 1fr; }
  .field-half { grid-column: 1 / -1; }

  .form-submit { justify-self: stretch; width: 100%; }

  .btn-row { gap: 12px; }
  .btn-row .btn { flex: 1 1 100%; }

  .card-dark .btn { align-self: stretch; }

  .numbers-grid { grid-template-columns: 1fr; gap: 26px; }
  .number { font-size: 38px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 380px) {
  .brand img { height: 32px; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* ---------------------------------------------------------- user prefs ---- */

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

@media print {
  .site-header, .nav-mobile, .btn-row, .contact { display: none; }
  body { background: #fff; }
}
