/* IoT Engine — palette carried over from the existing site */
:root {
  --ink: #1f1f1f;
  --ink-deep: #141414;
  --ink-raised: #262626;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --teal: #45d0bd;
  --cyan: #a2f5ff;
  --cyan-bright: #7cebff;
  --blue: #44b6e9;
  --blue-deep: #2c84c8;
  --purple: #8258c8;
  --purple-light: #b380ff;
  --pink: #ea84c2;

  --text: #ffffff;
  --text-soft: #cbcbcb;
  --text-mute: #9b9b9b;

  --font-head: 'Sora', Arial, Helvetica, sans-serif;
  --font-body: 'Manrope', Arial, Helvetica, sans-serif;

  --wrap: 1160px;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--teal); }
.accent-cyan { color: var(--cyan); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.lede { color: var(--text-soft); font-size: 18px; max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: linear-gradient(100deg, var(--teal), var(--cyan-bright));
  color: var(--ink-deep);
  box-shadow: 0 8px 30px rgba(69, 208, 189, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(69, 208, 189, 0.42); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(31, 31, 31, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.brand span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--text-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 118px 0 104px; overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 800px;
  background:
    radial-gradient(circle at 30% 40%, rgba(69, 208, 189, 0.22), transparent 55%),
    radial-gradient(circle at 70% 45%, rgba(130, 88, 200, 0.20), transparent 55%),
    radial-gradient(circle at 50% 60%, rgba(68, 182, 233, 0.14), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); max-width: 16ch; margin: 0 auto 26px; }
.hero .lede { margin: 0 auto 36px; font-size: 19px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--text-mute); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.03);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* ---------- flow diagram ---------- */
.flow { position: relative; z-index: 2; margin-top: 74px; }
.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.05fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.flow-col { display: grid; gap: 10px; }
.flow-node {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.flow-node b { font-family: var(--font-head); font-weight: 600; color: var(--text); font-size: 14.5px; }
.flow-node .tag { font-size: 11px; color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase; }

.flow-core {
  border: 1px solid rgba(69, 208, 189, 0.4);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(69, 208, 189, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 50px rgba(69, 208, 189, 0.14);
}
.flow-core h3 { font-size: 21px; margin-bottom: 8px; }
.flow-core p { font-size: 13.5px; color: var(--text-mute); line-height: 1.5; }
.flow-core .core-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 16px; }
.flow-core .core-chips span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}
.flow-arrow { color: var(--teal); font-size: 20px; text-align: center; opacity: 0.75; }
.flow-cap { text-align: center; font-size: 13px; color: var(--text-mute); margin-top: 20px; }

/* ---------- sections ---------- */
section { position: relative; }
section[id] { scroll-margin-top: 74px; }
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.divider { border-top: 1px solid var(--line); }

.band { background: var(--ink-deep); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-soft); line-height: 1.6; }

.icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(69, 208, 189, 0.12);
  border: 1px solid rgba(69, 208, 189, 0.28);
  color: var(--teal);
}
.icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.v-cyan { background: rgba(162, 245, 255, 0.1); border-color: rgba(162, 245, 255, 0.28); color: var(--cyan); }
.icon.v-blue { background: rgba(68, 182, 233, 0.1); border-color: rgba(68, 182, 233, 0.3); color: var(--blue); }
.icon.v-purple { background: rgba(130, 88, 200, 0.14); border-color: rgba(179, 128, 255, 0.3); color: var(--purple-light); }
.icon.v-pink { background: rgba(234, 132, 194, 0.12); border-color: rgba(234, 132, 194, 0.3); color: var(--pink); }

/* ---------- problem list ---------- */
.pain { display: flex; gap: 16px; align-items: flex-start; }
.pain .x {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(234, 132, 194, 0.14);
  border: 1px solid rgba(234, 132, 194, 0.3);
  color: var(--pink);
  font-size: 14px;
  margin-top: 3px;
}
.pain h3 { font-size: 17px; margin-bottom: 5px; }
.pain p { font-size: 15px; color: var(--text-soft); }

/* ---------- hardware ---------- */
.hw-grid { grid-template-columns: repeat(4, 1fr); }
.hw {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hw:hover { border-color: rgba(69, 208, 189, 0.45); transform: translateY(-3px); }
.hw-name { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.hw-kind { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.hw p { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }
.hw-more {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  color: var(--text-mute);
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.hw-more b { color: var(--text); font-weight: 600; }

.form-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }

/* ---------- api ---------- */
.api-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.code {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-deep);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.code-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.code-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.code-bar .t { margin-left: 10px; font-size: 12px; color: var(--text-mute); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-soft);
}
.code .k { color: var(--cyan); }
.code .s { color: var(--teal); }
.code .n { color: var(--purple-light); }
.code .c { color: #6f6f6f; }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-soft); }
.check .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(69, 208, 189, 0.14);
  border: 1px solid rgba(69, 208, 189, 0.35);
  color: var(--teal);
  display: grid; place-items: center; font-size: 12px; margin-top: 2px;
}

/* ---------- steps ---------- */
.steps { counter-reset: step; grid-template-columns: repeat(4, 1fr); }
.step {
  border-top: 2px solid var(--line-strong);
  padding-top: 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }

/* ---------- industries ---------- */
.ind {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ind:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.ind h3 { font-size: 17px; margin-bottom: 8px; }
.ind p { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }

/* ---------- offices ---------- */
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.office {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.office:hover { border-color: rgba(69, 208, 189, 0.45); transform: translateY(-3px); }
.office .role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.office .city { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.office .country { font-size: 14px; color: var(--text-mute); margin-bottom: 14px; }
.office .addr { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; margin-bottom: 12px; }
.office .mail { font-size: 14.5px; color: var(--teal); }
.office .mail:hover { text-decoration: underline; }

.footer-offices { display: grid; gap: 12px; }
.footer-office { font-size: 14.5px; color: var(--text-mute); line-height: 1.5; }
.footer-office b { display: block; color: var(--text); font-weight: 600; font-size: 14px; }

@media (max-width: 980px) {
  .offices-grid { grid-template-columns: 1fr; }
}

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; padding: 100px 0; text-align: center; }
.cta-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(69, 208, 189, 0.18), transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(130, 88, 200, 0.14), transparent 55%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta .lede { margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-deep); padding: 62px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p { font-size: 14.5px; color: var(--text-mute); line-height: 1.65; }
.footer h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--text-mute); transition: color 0.15s ease; }
.footer ul a:hover { color: var(--teal); }
.footer .brand { margin-bottom: 14px; display: inline-block; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-mute);
}

/* ---------- quote page ---------- */
.quote-hero { position: relative; overflow: hidden; padding: 76px 0 44px; text-align: center; }
.quote-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 18ch; margin: 0 auto 18px; }
.quote-hero .lede { margin: 0 auto; }

.quote-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.fieldset { border: 0; padding: 0; margin: 0 0 34px; }
.fieldset:last-of-type { margin-bottom: 24px; }
.fieldset legend {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0;
  margin-bottom: 6px;
}
.fieldset .hint { font-size: 13.5px; color: var(--text-mute); margin-bottom: 20px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field-row.one { grid-template-columns: 1fr; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; color: var(--text-soft); font-weight: 500; }
.field label .req { color: var(--pink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b9b9b' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.field select option { background: var(--ink-deep); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(69, 208, 189, 0.16);
}
.field input:invalid:not(:placeholder-shown),
.field.err input, .field.err select, .field.err textarea { border-color: var(--pink); }
.field .msg { font-size: 12.5px; color: var(--pink); min-height: 0; display: none; }
.field.err .msg { display: block; }

/* hardware picker */
.hw-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hw-pick {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.18);
}
.hw-pick:hover { border-color: rgba(69, 208, 189, 0.5); }
.hw-pick input { position: absolute; opacity: 0; pointer-events: none; }
.hw-pick .box {
  flex: none;
  width: 19px; height: 19px;
  border-radius: 5px;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hw-pick .box::after { content: "✓"; font-size: 11px; color: var(--ink-deep); opacity: 0; font-weight: 700; }
.hw-pick input:checked ~ .box { background: var(--teal); border-color: var(--teal); }
.hw-pick input:checked ~ .box::after { opacity: 1; }
.hw-pick:has(input:checked) { border-color: var(--teal); background: rgba(69, 208, 189, 0.08); }
.hw-pick input:focus-visible ~ .box { box-shadow: 0 0 0 3px rgba(69, 208, 189, 0.3); }
.hw-pick .lbl { display: grid; gap: 1px; }
.hw-pick .lbl b { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.hw-pick .lbl span { font-size: 11.5px; color: var(--text-mute); letter-spacing: 0.05em; text-transform: uppercase; }

.form-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 6px; }
.form-note { font-size: 13px; color: var(--text-mute); max-width: 34ch; line-height: 1.5; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  border: 1px solid rgba(69, 208, 189, 0.4);
  background: rgba(69, 208, 189, 0.1);
  color: var(--text);
}
.form-status.show { display: block; }
.form-status.bad { border-color: rgba(234, 132, 194, 0.45); background: rgba(234, 132, 194, 0.1); }

/* aside */
.aside { display: grid; gap: 16px; position: sticky; top: 96px; }
.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.aside-card h3 { font-size: 17px; margin-bottom: 14px; }
.aside-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }
.aside-list { display: grid; gap: 12px; }
.aside-step { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-soft); }
.aside-step .n {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(69, 208, 189, 0.14);
  border: 1px solid rgba(69, 208, 189, 0.35);
  color: var(--teal);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; font-family: var(--font-head);
  margin-top: 1px;
}
.aside-contact { display: grid; gap: 8px; font-size: 14.5px; color: var(--text-soft); }
.aside-contact a { color: var(--teal); }

@media (max-width: 980px) {
  .quote-layout { grid-template-columns: 1fr; gap: 28px; }
  .aside { position: static; }
}
@media (max-width: 640px) {
  .field-row, .hw-picker { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .hw-grid, .steps, .footer-grid, .api-layout, .flow-grid { grid-template-columns: 1fr; }
  .api-layout { gap: 34px; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: grid;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--line);
    padding: 22px 24px;
    gap: 18px;
  }
  /* 44px min touch target */
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
  /* Keep the primary CTA reachable on mobile — just make it compact. */
  .nav-cta .btn { padding: 10px 16px; font-size: 13.5px; }
  .section { padding: 70px 0; }
}
@media (max-width: 640px) {
  .grid-2, .form-factors { grid-template-columns: 1fr; }
  .hero { padding: 78px 0 70px; }
  /* 16px minimum stops iOS Safari zooming the page when a field is focused. */
  .field input, .field select, .field textarea { font-size: 16px; }
  .quote-hero { padding: 56px 0 32px; }
  .form-submit { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-submit .btn { justify-content: center; }
  .form-note { max-width: none; }
}
