/* ============================================================
   Agile Eight — styles
   Palette: ink navy, warm paper, single red accent
   Type: Sora (headings) / Inter (body) / Instrument Serif (accents)
   ============================================================ */

:root {
  --ink: #10182b;
  --ink-soft: #46506a;
  --ink-faint: #8a92a8;
  --paper: #faf9f7;
  --white: #ffffff;
  --red: #e23b43;
  --red-deep: #c92830;
  --red-soft: #fdeeee;
  --navy: #131c33;
  --navy-deep: #0c1324;
  --line: #e7e5e0;
  --line-soft: #efedea;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 43, 0.05), 0 4px 12px rgba(16, 24, 43, 0.05);
  --shadow-md: 0 2px 4px rgba(16, 24, 43, 0.05), 0 12px 32px rgba(16, 24, 43, 0.10);
  --shadow-lg: 0 4px 8px rgba(16, 24, 43, 0.06), 0 24px 60px rgba(16, 24, 43, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.08rem; font-weight: 600; }

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--red);
}

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.section { padding: 104px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .lead { margin-top: 16px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(226, 59, 67, 0.28);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(226, 59, 67, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy-deep);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-wide { width: 100%; justify-content: center; margin-top: 20px; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark em {
  font-style: normal;
  color: var(--red);
}

.brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink-faint);
}

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover { color: var(--ink); background: rgba(16, 24, 43, 0.05); }
.nav-link.active { color: var(--ink); background: rgba(16, 24, 43, 0.06); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  background: rgba(250, 249, 247, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a {
  padding: 13px 4px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-cta { color: var(--red); font-weight: 600; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 44% at 82% 20%, rgba(226, 59, 67, 0.09), transparent 70%),
    radial-gradient(46% 42% at 12% 78%, rgba(19, 28, 51, 0.07), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 59, 67, 0.18);
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(226, 59, 67, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(226, 59, 67, 0.07); }
}

.subhead {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.social-proof {
  margin-top: 30px;
  font-size: 0.88rem;
  color: var(--ink-faint);
  max-width: 46ch;
}

/* Journey card */

.hero-visual { position: relative; }

.journey-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.journey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.journey-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.journey-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #14803c;
  background: #e9f7ee;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.journey-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.4s var(--ease);
}

.js-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.js-body { display: flex; flex-direction: column; min-width: 0; }
.js-label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.js-desc { font-size: 0.8rem; color: var(--ink-faint); }

.js-check {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line-soft);
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.4s var(--ease), background-color 0.4s ease;
}

.journey-step.is-active {
  border-color: rgba(226, 59, 67, 0.35);
  background: #fff;
  transform: translateX(4px);
}
.journey-step.is-active .js-icon {
  background: var(--red-soft);
  border-color: rgba(226, 59, 67, 0.3);
  color: var(--red);
}
.journey-step.is-done .js-check {
  opacity: 1;
  transform: scale(1);
  background: #22a04c;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip svg { color: var(--red); }
.chip-1 { top: -18px; right: 10px; }
.chip-2 { bottom: -16px; left: -10px; animation-delay: -2.5s; }
.chip-2 svg { color: #22a04c; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Problems ---------- */

.problems {
  background: var(--navy-deep);
  color: #fff;
}

.problems .kicker { color: #ff8f94; }
.problems h2 { color: #fff; }
.problems h2 em { color: #ff8f94; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.problem-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(226, 59, 67, 0.16);
  color: #ff8f94;
  margin-bottom: 18px;
}

.problem-card h3 { color: #fff; margin-bottom: 8px; }
.problem-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); }

/* ---------- Solution ---------- */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.solution-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease), border-color 0.3s ease;
}

.solution-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.solution-num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--line);
  line-height: 1;
  transition: color 0.3s ease;
}
.solution-item:hover .solution-num { color: rgba(226, 59, 67, 0.35); }

.solution-item h3 { margin-bottom: 8px; max-width: 22ch; }
.solution-item p { font-size: 0.93rem; color: var(--ink-soft); }

.outcomes {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}

.outcomes-lead {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.outcome-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-left: auto;
}

.outcome-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.93rem;
}

.outcome-list svg { color: var(--red); flex-shrink: 0; }

/* ---------- Features ---------- */

.features { background: #fff; border-block: 1px solid var(--line-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease), background-color 0.3s ease;
}

.card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  position: relative;
  counter-reset: step;
}

.step { position: relative; }

.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 64px;
  right: -32px;
  border-top: 2px dashed var(--line);
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); max-width: 34ch; }

/* ---------- Testimonials ---------- */

.testimonials { background: #fff; border-top: 1px solid var(--line-soft); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease), background-color 0.3s ease;
}

.quote-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.quote-stars {
  color: var(--red);
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.quote-card blockquote p {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--ink);
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.9rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
}

.quote-card strong { display: block; font-weight: 600; }
.quote-role { font-size: 0.8rem; color: var(--ink-faint); }

.trust-line {
  margin-top: 40px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(226, 59, 67, 0.18), transparent 70%),
    radial-gradient(40% 50% at 85% 100%, rgba(226, 59, 67, 0.10), transparent 70%);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 620px;
}

.cta-inner h2 { color: #fff; }
.cta-inner h2 em { color: #ff8f94; }

.cta-inner p {
  margin: 16px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-intro .lead { margin-top: 16px; }

.aside-list {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.97rem;
}

.tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  flex-shrink: 0;
}

.phone-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 16px 22px 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.phone-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226, 59, 67, 0.35);
}

.phone-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  flex-shrink: 0;
}

.phone-body { display: flex; flex-direction: column; }

.phone-label {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.phone-number {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.response-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.cf-turnstile {
  margin-top: 20px;
  min-height: 65px;
}

#lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

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

.form-row-full { grid-column: 1 / -1; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.req { color: var(--red); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder, textarea::placeholder { color: var(--ink-faint); }

input:focus, textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 59, 67, 0.10);
}

textarea { resize: vertical; min-height: 100px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.checkbox-row input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.checkbox-row label { font-size: 0.88rem; color: var(--ink-soft); }

.error {
  font-size: 0.8rem;
  color: var(--red-deep);
  min-height: 0;
  margin-top: 5px;
  display: none;
}
.error.show { display: block; }

input.invalid, textarea.invalid { border-color: var(--red-deep); }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

.form-success {
  display: none;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: #e9f7ee;
  color: #14803c;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 44px;
}

.footer-brand .brand-mark { color: #fff; font-size: 1.5rem; }
.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav { display: flex; gap: 26px; }

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Reveal animations ---------- */

/* Content is visible by default; only hidden for animation when JS is running,
   so a failed script never leaves the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .eyebrow-dot { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 150px 0 90px; }
  .hero-visual { max-width: 460px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { gap: 36px; }
  .step:not(:last-child)::after { right: -24px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .outcomes { flex-direction: column; align-items: flex-start; }
  .outcome-list { margin-left: 0; flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .chip-2 { left: 0; }
}
