/* ==========================================================================
   Autonowork — styles.css
   Clean, modern, responsive B2B site. No frameworks, no external fonts.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-900: #0b2038;
  --navy-800: #0e2a47;
  --navy-700: #17395c;
  --navy-600: #24507c;
  --brand: #1b6ef3;
  --teal-600: #1b6ef3;
  --teal-500: #3d85f6;
  --teal-400: #6ba2f9;
  --teal-50: #eaf1fe;
  --ink: #16202e;
  --slate-600: #4b5b6e;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 32, 56, 0.06), 0 1px 3px rgba(11, 32, 56, 0.08);
  --shadow-md: 0 4px 12px rgba(11, 32, 56, 0.08), 0 12px 28px rgba(11, 32, 56, 0.10);
  --shadow-lg: 0 10px 30px rgba(11, 32, 56, 0.14);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Noto Sans", sans-serif;
  --header-h: 74px;
  --container: 1120px;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 750;
}

h1 { font-size: clamp(2.35rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--teal-600); }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--teal-400); color: var(--navy-900); }
/* ---------- 3. Layout & buttons ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: var(--navy-900);
  color: var(--slate-300);
}
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.25rem, 5vw, 3.25rem);
  text-align: center;
}
.section-head--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.section-lede {
  font-size: 1.125rem;
  color: var(--slate-600);
}
.section--navy .section-lede { color: var(--slate-300); }

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--navy-700);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--slate-300);
}
.btn--outline:hover {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: var(--slate-100);
}

.btn--teal {
  background: var(--teal-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--teal:hover { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-md); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.925rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------- Cards, lists, notes ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-600);
}

.card-title { margin-bottom: 0.5rem; }
.card-text { color: var(--slate-600); font-size: 0.975rem; }
/* ---------- Lists & notes ---------- */
.list-check {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.list-check li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--slate-600);
  font-size: 0.975rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05em;
  height: 1.05em;
  background: var(--teal-500);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5 L8 14.5 L16 6' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5 L8 14.5 L16 6' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.section--navy .list-check li { color: var(--slate-300); }

.note {
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--teal-500);
  background: var(--teal-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy-800);
  font-size: 0.975rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 4. Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-logo {
  height: clamp(50px, 8vw, 62px);
  width: auto;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.brand-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
  letter-spacing: 0.01em;
}
.brand:hover .brand-name { color: var(--navy-700); }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
  list-style: none;
}
.nav-list a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--slate-600);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-list a:hover { color: var(--navy-900); }
.nav-list a:hover::after { transform: scaleX(1); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.25rem, 7vw, 5.5rem);
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(45, 212, 191, 0.14), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(23, 57, 92, 0.10), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--slate-200);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--slate-600);
  max-width: 38rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.9rem 0 1.6rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  list-style: none;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.925rem;
  font-weight: 550;
  color: var(--navy-700);
}
.trust-item svg { color: var(--teal-600); flex-shrink: 0; }

/* Hero visual: workflow card */
.flow-card {
  background: var(--bg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.35rem 1.5rem 1.5rem;
}
.flow-card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.95rem;
  margin-bottom: 1.05rem;
  border-bottom: 1px solid var(--slate-200);
}
.flow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-300);
}
.flow-dot:first-child { background: #f87171; }
.flow-dot:nth-child(2) { background: #fbbf24; }
.flow-dot:nth-child(3) { background: #34d399; }
.flow-title {
  margin-left: 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.flow-badge {
  margin-left: auto;
  padding: 0.28rem 0.7rem;
  background: var(--teal-50);
  color: var(--teal-600);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.flow-list {
  list-style: none;
  counter-reset: flow;
  display: grid;
  gap: 0.55rem;
}
.flow-item {
  counter-increment: flow;
  position: relative;
  padding: 0.65rem 0.85rem 0.65rem 2.65rem;
  background: var(--bg-soft);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 550;
  color: var(--navy-800);
}
.flow-item::before {
  content: counter(flow);
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}
.flow-foot {
  margin: 1.05rem 0 0;
  font-size: 0.85rem;
  color: var(--slate-500);
  text-align: center;
}
/* ---------- 6. Problem section ---------- */
.pain-card { padding: 1.65rem; }
.pain-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.95rem;
  border-radius: 10px;
  background: var(--slate-100);
  color: var(--navy-700);
}

.problem-close {
  max-width: 780px;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 1.125rem;
  color: var(--navy-800);
  font-weight: 550;
}

/* ---------- Services ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}
.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.price-tag {
  flex-shrink: 0;
  padding: 0.32rem 0.8rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.service-meta {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--teal-600);
}
.service-card .list-check { margin-top: 1.15rem; }
.service-note {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ---------- Industries ---------- */
.industry-card {
  padding: 1.85rem;
  border-top: 4px solid var(--teal-500);
}
.industry-card h3 { margin-bottom: 0.35rem; }
.industry-tag {
  display: inline-block;
  margin-bottom: 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-600);
}
.industry-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.industry-list li {
  padding: 0.3rem 0.75rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 0.825rem;
  color: var(--slate-600);
}

/* ---------- Process ---------- */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 1.65rem 1.35rem;
  background: var(--bg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.95rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: 50%;
  font-weight: 750;
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.925rem; color: var(--slate-600); margin: 0; }
.step-duration {
  display: inline-block;
  margin-top: 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-600);
}
/* ---------- Why Autonowork ---------- */
.why-card { padding: 1.85rem; }
.why-card h3 { margin-bottom: 0.5rem; }
.why-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  background: var(--teal-50);
  color: var(--teal-600);
  border-radius: 10px;
  font-weight: 750;
}
.dont-do {
  margin-top: 2.5rem;
  padding: 1.85rem 2rem;
  background: var(--navy-900);
  color: var(--slate-300);
  border-radius: var(--radius);
}
.dont-do h3 { color: #fff; margin-bottom: 0.75rem; }
.dont-do ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}
.dont-do li {
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.875rem;
}

/* ---------- Use cases ---------- */
.use-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2.15rem;
}
.use-case + .use-case { margin-top: 1.5rem; }
.example-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem;
  background: var(--teal-50);
  color: var(--teal-600);
  border: 1px solid rgba(15, 148, 136, 0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.use-case h3 { margin-bottom: 0.65rem; }
.use-case p { color: var(--slate-600); }
.outcome {
  padding: 1.35rem 1.5rem;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 148, 136, 0.18);
}
.outcome-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.outcome p { margin: 0; color: var(--navy-800); font-weight: 550; }
.use-case .list-check { margin-top: 1.15rem; }
/* ---------- Contact & lead form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-info .section-head {
  margin: 0 0 1.75rem;
  text-align: left;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 0.95rem;
  margin: 1.5rem 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 550;
  color: var(--navy-800);
}
.contact-list svg { color: var(--teal-600); flex-shrink: 0; }

.form-card {
  background: var(--bg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.35rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.form-group { margin-bottom: 1.15rem; }
.form-group label,
.fieldset-legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--navy-900);
}
.optional {
  font-weight: 500;
  color: var(--slate-500);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #dc2626;
}
.field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.825rem;
  color: #b91c1c;
}
.field-error.is-visible { display: block; }

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  border: 0;
  padding: 0;
  margin: 0 0 1.15rem;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-weight: 550;
  color: var(--slate-600);
  cursor: pointer;
}
.radio-row input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--teal-600);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.825rem;
  color: var(--slate-500);
}
.form-success {
  display: none;
  padding: 1.25rem 1.4rem;
  background: var(--teal-50);
  border: 1px solid rgba(15, 148, 136, 0.3);
  border-radius: var(--radius-sm);
  color: var(--navy-800);
}
.form-success.is-visible { display: block; }
/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 650;
  color: var(--navy-900);
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--teal-600);
  border-bottom: 2.5px solid var(--teal-600);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-question::after { transform: rotate(-135deg); }
.faq-question:hover { color: var(--teal-600); }
.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--slate-600);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-400);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: var(--teal-400); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand-name { color: #fff; font-size: 1.35rem; }
.footer-brand p {
  margin-top: 0.75rem;
  max-width: 30ch;
  color: var(--slate-400);
}
.footer-title {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
}
.footer-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--slate-500);
}
.footer-bottom a { color: var(--slate-400); font-size: 0.85rem; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem 1.25rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--slate-100);
  }
  .nav-list a::after { display: none; }
  .nav-cta { width: 100%; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .use-case { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 1.15rem; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .flow-badge { display: none; }
}

/* ---------- Accessibility & motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header, .nav-toggle, .hero-cta, .form-card { display: none !important; }
  body { color: #000; }
}
/* ---------- Smooth anchor offset for the sticky header ---------- */
html { scroll-padding-top: calc(var(--header-h) + 12px); }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }









