/* ============================================================
   Automated Solutions AI — stylesheet
   Direction: "Lit circuitry on deep navy" — derived from the
   brand logo. Base #000D2B navy, #0070E3 primary blue,
   #00D5FF cyan edge-light, pure white wordmark type.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* --- surface: navy scale built off the logo background --- */
  --navy-900: #00081C;   /* deepest — footer, wells */
  --navy-800: #000D2B;   /* BASE — exact logo background */
  --navy-700: #03132F;   /* alternating sections */
  --navy-600: #051838;   /* panels, cards */
  --navy-500: #082047;   /* elevated / hover */

  --bg:      var(--navy-800);
  --bg-alt:  var(--navy-700);
  --panel:   var(--navy-600);
  --panel-2: var(--navy-500);

  /* --- brand blue: zero-red azure, straight from the mark --- */
  --blue:      #0070E3;  /* strokes, fills, buttons */
  --blue-hi:   #2E90FF;  /* link text + hover (AA on navy) */

  /* --- cyan edge-light: the highlight tier, used sparingly --- */
  --cyan:      #00D5FF;
  --cyan-glow: rgba(0, 213, 255, .35);

  /* --- line work: blue-tinted, never neutral grey --- */
  --line:   rgba(0, 112, 227, .20);
  --line-2: rgba(0, 112, 227, .34);
  --grid:   rgba(0, 112, 227, .085);

  /* --- type --- */
  --text:  #FFFFFF;      /* matches the wordmark exactly */
  --muted: #8FA6C8;      /* 7.7:1 on base */
  --dim:   #7189B3;      /* 5.4:1 on base */

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* the wordmark's condensation, as a reusable value */
  --cond: 78%;

  --radius:    3px;
  --radius-lg: 5px;
  --wrap: 1180px;
  --pad:  24px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-variation-settings: "wdth" 100;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Headings inherit the wordmark's treatment: condensed, caps, heavy. */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  font-stretch: var(--cond);
  font-variation-settings: "wdth" 78;
  text-transform: uppercase;
  letter-spacing: .012em;
  line-height: 1.08;
}

a { color: var(--blue-hi); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--cyan); }

::selection { background: rgba(0, 112, 227, .45); color: #fff; }

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

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--blue); color: #fff; font-weight: 600;
  padding: 10px 16px; border-radius: var(--radius);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- 3. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 860px; }

.section { position: relative; padding: 104px 0; }
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 700px; margin-bottom: 56px; }
.section__title { font-size: clamp(1.85rem, 3.6vw, 2.85rem); margin-top: 16px; }
.section__sub {
  color: var(--muted);
  margin-top: 18px;
  font-size: 1.0625rem;
  max-width: 62ch;
}

/* ---------- 4. Monospace kicker ---------- */
.kicker {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* circuit-trace lead-in: line terminating in a node, per the mark */
.kicker::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--blue);
  box-shadow: 24px 0 0 0 var(--cyan), 25px 0 0 0 var(--cyan);
}
.kicker__idx { color: var(--cyan); margin-left: 4px; }

.grad {
  background: linear-gradient(96deg, #FFFFFF 0%, #7FC4FF 52%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;                                   /* 4.7:1 — matches the wordmark */
  box-shadow: 0 0 22px -6px rgba(0, 112, 227, .75);
}
.btn--primary:hover {
  background: #0A82FF;
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 26px -4px var(--cyan-glow);
}

.btn--ghost { color: var(--text); background: rgba(0, 112, 227, .06); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--sm { padding: 9px 16px; font-size: .8125rem; }
.btn--block { width: 100%; }

/* ---------- 6. Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 13, 43, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(0, 13, 43, .95); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* --- brand lockup: mark left, condensed caps wordmark right --- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand:hover .mk-node { fill: var(--cyan); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.mk-line { fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mk-trace { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.mk-node { fill: var(--blue); transition: fill .2s ease; }
.mk-ring { fill: none; stroke: var(--cyan); stroke-width: 1.4; }

.brand__text {
  font-weight: 700;
  font-stretch: var(--cond);
  font-variation-settings: "wdth" 78;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .015em;
  line-height: 1;
}
.brand__accent { color: var(--blue-hi); }  /* the logo sets "AI" in blue, not cyan */

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  text-transform: uppercase;
  letter-spacing: .09em;
  position: relative;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn).is-active { color: var(--text); }
.nav__links a:not(.btn).is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}
.nav__links .btn { color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav__toggle span { display: block; height: 1.5px; width: 100%; background: var(--text); transition: transform .22s ease, opacity .22s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 18%, #000 32%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 18%, #000 32%, transparent 78%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -300px; left: 50%;
  width: 1050px; height: 660px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 112, 227, .30), rgba(0, 213, 255, .05) 45%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero__title { font-size: clamp(2.5rem, 5.8vw, 4.15rem); letter-spacing: .005em; margin-top: 22px; }
.hero__sub { color: var(--muted); font-size: 1.0625rem; margin-top: 24px; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 38px;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--dim);
}
/* node markers, echoing the mark's trace terminals */
.hero__ticks li { display: flex; align-items: center; gap: 9px; }
.hero__ticks li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan-glow);
  flex: none;
}

/* ---------- 8. Panel (technical frame) ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -40px #000, inset 0 1px 0 rgba(0, 213, 255, .07);
}
/* corner ticks in the cyan highlight tier */
.panel::before, .panel::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--cyan);
  opacity: .7;
}
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.panel__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--dim);
  text-transform: uppercase;
}
.panel__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 213, 255, .16);
  flex: none;
}
.panel__label { color: var(--muted); }
.panel__status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 213, 255, .5); }
  50%      { opacity: .5; box-shadow: 0 0 0 5px rgba(0, 213, 255, 0); }
}

.panel--visual .graph { width: 100%; height: 340px; }

.panel__foot {
  display: flex;
  gap: 22px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: var(--dim);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.panel__foot b { color: var(--cyan); font-weight: 500; }

/* ---------- 9. Stats strip ---------- */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: rgba(0, 112, 227, .05);
  overflow: hidden;
}
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  font-stretch: var(--cond);
  font-variation-settings: "wdth" 78;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--text);
}
.stat span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 10. Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 30px 26px 32px;
  background: linear-gradient(180deg, rgba(0, 112, 227, .07), rgba(0, 112, 227, .015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
/* edge-light on hover — the logo's cyan rim, applied to a surface */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover {
  border-color: rgba(0, 213, 255, .42);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(0, 112, 227, .14), rgba(0, 112, 227, .02));
}
.card:hover::before { opacity: 1; }

.card__num {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.card__title { font-size: 1.35rem; }
.card__body { color: var(--muted); margin-top: 13px; font-size: .9375rem; }

.card__list {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
}
/* trace + terminal node, straight out of the mark's vocabulary */
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 10px; height: 1px;
  background: var(--blue);
}
.card__list li::after {
  content: "";
  position: absolute;
  left: 11px; top: calc(.62em - 1.5px);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- 11. Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { position: relative; padding: 34px 26px 8px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
/* junction node where the traces meet */
.step::before {
  content: "";
  position: absolute;
  top: -4px; left: -4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}
.step:first-child::before { left: 0; }
.step__idx { font-family: var(--mono); font-size: .75rem; letter-spacing: .18em; color: var(--cyan); }
.step h3 { font-size: 1.1875rem; margin-top: 13px; }
.step p { color: var(--muted); font-size: .9375rem; margin-top: 11px; }

/* ---------- 12. Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0 34px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 10px; width: max-content; animation: scroll 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.chip {
  flex: none;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 112, 227, .05);
  font-family: var(--mono);
  font-size: .8125rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 13. Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature { background: var(--bg); padding: 30px 28px; transition: background .25s ease; }
.feature:hover { background: var(--panel); }
.feature h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 12px; }
.feature__tag {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .14em;
  color: var(--cyan);
  border: 1px solid rgba(0, 213, 255, .38);
  background: rgba(0, 213, 255, .09);
  border-radius: 2px;
  padding: 3px 7px;
  flex: none;
  text-transform: none;
}
.feature p { color: var(--muted); font-size: .9375rem; margin-top: 12px; }

/* ---------- 14. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-weight: 600;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  font-size: 1.0625rem;
  color: var(--text);
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--cyan); }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--cyan);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item[open] summary { color: var(--cyan); }
.faq__body { padding: 0 40px 24px 0; }
.faq__body p { color: var(--muted); font-size: .9375rem; }

/* ---------- 15. Contact ---------- */
.section--cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 100% at 15% 0%, rgba(0, 112, 227, .20), transparent 68%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 20% 30%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 20% 30%, #000, transparent 72%);
  pointer-events: none;
}
.contact { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__meta {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 12px;
}
.contact__meta li { display: flex; gap: 14px; align-items: baseline; font-size: .9375rem; color: var(--muted); flex-wrap: wrap; }
.contact__meta span {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  min-width: 80px;
}

/* ---------- 16. Form ---------- */
.panel--form { position: sticky; top: 96px; }
.form { padding: 26px 24px 28px; display: grid; gap: 18px; }

.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.field .opt { color: rgba(143, 166, 200, .35); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 8, 28, .55);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  font: 400 .9375rem/1.5 var(--sans);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2300D5FF' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field select option { background: var(--panel); color: var(--text); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 112, 227, .10);
  box-shadow: 0 0 0 3px rgba(0, 213, 255, .16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }

.field.has-error input,
.field.has-error textarea { border-color: #FF6B7A; }
.field__err { font-family: var(--mono); font-size: .6875rem; color: #FF6B7A; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { font-family: var(--mono); font-size: .75rem; line-height: 1.6; color: var(--muted); }
.form__status.is-ok  { color: var(--cyan); }
.form__status.is-err { color: #FF6B7A; }
.form__fine { font-size: .8125rem; color: var(--dim); }

#submit-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- 17. Footer ---------- */
.footer { background: var(--navy-900); border-top: 1px solid var(--line); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer__brand p { color: var(--muted); font-size: .9375rem; margin-top: 16px; max-width: 42ch; }
.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer__nav h4 {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: var(--dim);
  font-weight: 400;
  font-stretch: 100%;
  font-variation-settings: "wdth" 100;
  margin-bottom: 14px;
}
.footer__nav a { display: block; color: var(--muted); font-size: .9375rem; padding: 5px 0; }
.footer__nav a:hover { color: var(--cyan); }

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--dim);
}
.footer__mono { font-family: var(--mono); letter-spacing: .08em; color: var(--dim); }

/* ---------- 18. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 19. Brand icons in the tool marquee ---------- */
.chip { display: inline-flex; align-items: center; gap: 9px; }
.chip__icon {
  width: 15px; height: 15px;
  fill: currentColor;
  color: var(--blue-hi);
  opacity: .9;
  flex: none;
  transition: color .2s ease;
}
.chip:hover .chip__icon { color: var(--cyan); }

/* ---------- 20. AI receptionist / phone ---------- */
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .04em;
}
.nav__phone svg { width: 14px; height: 14px; fill: currentColor; color: var(--cyan); flex: none; }
.nav__phone:hover { color: var(--text); }

/* hero strip — a live demo you can dial, not a claim */
.livecall {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 12px 18px 12px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(0, 112, 227, .07);
  color: var(--text);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.livecall:hover {
  border-color: var(--cyan);
  background: rgba(0, 213, 255, .09);
  color: var(--text);
  transform: translateY(-1px);
}
.livecall__ring {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 213, 255, .45);
  display: grid;
  place-items: center;
  flex: none;
}
.livecall__ring i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: pulse 2s ease-in-out infinite; }
.livecall__text { display: grid; gap: 3px; }
.livecall__label {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
}
.livecall__num {
  font-weight: 700;
  font-stretch: var(--cond);
  font-variation-settings: "wdth" 78;
  font-size: 1.15rem;
  letter-spacing: .02em;
  line-height: 1.1;
}
.livecall__go {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

/* ---------- 21. Live demo section ---------- */
.live { background: var(--bg-alt); border-block: 1px solid var(--line); overflow: hidden; }
.live__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.live__points { display: grid; gap: 11px; margin-top: 30px; }
.live__points li { position: relative; padding-left: 22px; color: var(--muted); font-size: .9375rem; }
.live__points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 1px; background: var(--blue);
}
.live__points li::after {
  content: ""; position: absolute; left: 11px; top: calc(.62em - 1.5px);
  width: 4px; height: 4px; border-radius: 50%; background: var(--cyan);
}
.live__fine {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

.callcard { padding: 36px 26px 28px; text-align: center; }
.callcard__label {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.callcard__num {
  display: block;
  margin: 14px 0 26px;
  font-size: clamp(1.6rem, 3.6vw, 2.15rem);
  font-weight: 700;
  font-stretch: var(--cond);
  font-variation-settings: "wdth" 78;
  letter-spacing: .015em;
  color: var(--text);
  text-shadow: 0 0 34px rgba(0, 213, 255, .4);
}
.callcard__num:hover { color: var(--cyan); }
.callcard__fine { margin-top: 16px; font-size: .8125rem; color: var(--dim); }
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }

/* ---------- 22. Form: new project vs. client support ---------- */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.segmented label {
  padding: 11px 8px;
  text-align: center;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  background: rgba(0, 8, 28, .45);
  transition: background .18s ease, color .18s ease;
}
.segmented label:last-of-type { border-left: 1px solid var(--line-2); }
.segmented label:hover { color: var(--text); }
.segmented input:checked + label { background: var(--blue); color: #fff; }
.segmented input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: -2px; }

.form__hint { font-size: .8125rem; line-height: 1.55; color: var(--muted); margin-top: -6px; }

/* mode-specific fields */
.form [data-mode="support"] { display: none; }
.form.is-support [data-mode="new"] { display: none; }
.form.is-support [data-mode="support"] { display: grid; }

.contact__meta em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .live__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 64px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .panel--form { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* the nav gets cramped before the mobile menu kicks in */
@media (max-width: 1080px) and (min-width: 761px) {
  .nav__phone { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .nav__phone { justify-content: flex-start; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 8, 28, .98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-block: 1px solid var(--line);
    padding: 8px 24px 22px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn).is-active::after { display: none; }
  .nav__links .btn { margin-top: 16px; border-bottom: 1px solid var(--blue); }

  .features { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .panel--visual .graph { height: 260px; }
  .hero__ticks { gap: 8px 18px; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .step::before { left: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .hero__actions .btn { width: 100%; }
  .livecall { width: 100%; }
  .livecall__go { display: none; }
  .footer__nav { grid-template-columns: 1fr; }
}

/* ---------- 24. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

@media print {
  .nav, .hero__visual, .marquee, .panel--form, .cta__grid, .hero__grid, .hero__glow { display: none !important; }
  .livecall, .callcard__num { border: 0; color: #000 !important; text-shadow: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding: 20px 0; }
  a { color: #000; }
}
