/* Fortitude Partners — site stylesheet */

:root {
  /* 2026-09-02: dark ground, bright boxes — deep navy page background with
     cards/surfaces kept a full step lighter so they pop. */
  --bg: #0C1830;
  --surface: #1E3660;
  --surface-2: #264372;
  --border: #3A578E;
  --accent: #0EA5E9;
  --accent-strong: #4CC5FA;
  --green: #14C68F;
  --text: #ECF1F9;
  --muted: #B3C5E0;
  --heading: #FFFFFF;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(8, 18, 40, 0.4);
  /* Card fills: richer, more saturated blues with a diagonal falloff + a
     1px glass highlight along the top edge (inset shadow where applied). */
  --card-grad: linear-gradient(160deg, #33589A 0%, #1E3763 50%, #152847 100%);
  --card-grad-alt: linear-gradient(160deg, #3C66AB 0%, #24416F 60%, #1D3760 100%);
  --card-inset: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }

p { margin: 0; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.container--narrow { width: min(820px, 92%); margin: 0 auto; }

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

.btn {
  display: inline-block;
  padding: 0.78rem 1.5rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--accent);
  color: #04121F;
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.08rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 20, 40, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.logo {
  font-size: 1.18rem;
  font-weight: 800;
  /* No negative tracking here — at 800 weight it shaved letter edges */
  letter-spacing: 0;
  line-height: 1.3;
  padding: 2px 0;
  color: var(--heading);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.logo:hover { text-decoration: none; }
.logo .logo-word { white-space: nowrap; }
.logo .logo-mark {
  width: 30px; height: 30px; flex: none;
}
.logo span.accent { color: var(--accent); }
/* The quiet "it" in Fortitude — accent color only, no caps, no weight change */
.logo .logo-it { color: var(--accent-strong); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Top-level list only (> combinator) — .dropdown is also a ul inside the nav
   and must keep its own display rules (this once made every menu stick open). */
.site-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.dropdown { list-style: none; }

.site-nav li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-link:hover { color: var(--accent-strong); text-decoration: none; }
.nav-link .caret { width: 12px; height: 12px; transition: transform 0.15s ease; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 215px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  flex-direction: column;
  gap: 0.1rem;
}
.dropdown a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 7px;
  color: var(--text);
  font-size: 0.95rem;
}
.dropdown a:hover { background: var(--surface-2); color: var(--accent-strong); text-decoration: none; }
.dropdown a small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

.has-dropdown.open > .dropdown { display: flex; }
.has-dropdown.open > .nav-link .caret { transform: rotate(180deg); }

@media (min-width: 961px) {
  /* Hover-open on desktop. No :focus-within here — the click toggle handles
     keyboard/tap, and focus-within would hold a clicked menu open. */
  .has-dropdown:hover > .dropdown { display: flex; }
  .has-dropdown:hover > .nav-link .caret { transform: rotate(180deg); }
}

.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.55rem 1.1rem; font-size: 0.95rem; }

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

.hero {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  /* Heavier hero wash (2026-09-02): strong sky glow off the top-right, a green
     counter-glow, and a lighter navy ceiling fading into the page ground. */
  background:
    radial-gradient(ellipse 65% 55% at 78% -12%, rgba(14, 165, 233, 0.4), transparent 62%),
    radial-gradient(ellipse 45% 42% at 8% 108%, rgba(16, 185, 129, 0.17), transparent 58%),
    radial-gradient(ellipse 42% 36% at 28% 18%, rgba(56, 189, 248, 0.1), transparent 60%),
    linear-gradient(180deg, #13264C 0%, var(--bg) 60%);
}
/* Subtle tech grid, faded out radially so it reads as texture, not wallpaper */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 72% 10%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 85% at 72% 10%, #000 25%, transparent 72%);
}
/* Accent beam along the top edge */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, rgba(56, 189, 248, 0.75) 35%, rgba(16, 185, 129, 0.5) 65%, transparent 95%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-visual svg { width: 100%; height: auto; }
/* Gentle drift on the illustration layers so the hero feels alive */
.hero-visual .float-a { animation: hv-float 7s ease-in-out infinite; }
.hero-visual .float-b { animation: hv-float 8.5s ease-in-out 0.8s infinite; }
.hero-visual .float-c { animation: hv-float 6s ease-in-out 0.4s infinite; }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-visual .float-a, .hero-visual .float-b, .hero-visual .float-c { animation: none; } }

.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1.1rem;
}
.hero .kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero h1 { max-width: 780px; }

.hero .lede {
  margin-top: 1.35rem;
  max-width: 640px;
  font-size: 1.16rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.9rem; }

/* ---------- Sections ---------- */

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  /* Texture, not tint: a barely-there dot matrix over the dark ground */
  background-image: radial-gradient(rgba(76, 197, 250, 0.05) 1px, transparent 1.5px);
  background-size: 28px 28px;
}
.section--alt {
  /* Banded sections: faint blueprint grid over the flat surface */
  background:
    linear-gradient(rgba(76, 197, 250, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(76, 197, 250, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Faint circuit-trace symbol tucked into a section corner (decorative) */
.section-deco { position: absolute; right: -50px; bottom: -40px; width: min(380px, 45vw); opacity: 0.13; pointer-events: none; }
.section-deco--left { right: auto; left: -50px; transform: scaleX(-1); }
.section > .container { position: relative; z-index: 1; }

.section-head { max-width: 700px; margin-bottom: 2.6rem; }
.section-head .kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.55rem;
}
.section-head p { margin-top: 0.8rem; color: var(--muted); font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids & cards ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--card-inset);
}
.section--alt .card { background: var(--card-grad-alt); }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-link { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: 0.95rem; }

.card-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-strong);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon--green { background: rgba(16, 185, 129, 0.12); color: var(--green); }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  text-align: center;
}
.stat .stat-value {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.stat .stat-value em { font-style: normal; color: var(--accent-strong); }
.stat .stat-label { margin-top: 0.4rem; color: var(--muted); font-size: 0.93rem; }

/* ---------- Feature / checklist lists ---------- */

.checklist { list-style: none; display: grid; gap: 0.75rem; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2310B981" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/10px no-repeat;
}
.checklist li strong { color: var(--heading); }
.checklist li span.detail { color: var(--muted); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  counter-increment: step;
  box-shadow: var(--card-inset);
}
.section--alt .step { background: var(--card-grad-alt); }
.step::before {
  content: "0" counter(step);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.12);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Case study strip ---------- */

.case {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-inset);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.case .case-tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
}
.case .case-metric { font-size: 1.5rem; font-weight: 800; color: var(--heading); letter-spacing: -0.015em; }
.case p { color: var(--muted); font-size: 0.97rem; }

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

.cta-band {
  background:
    radial-gradient(ellipse 70% 90% at 50% -30%, rgba(56, 189, 248, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(16, 185, 129, 0.08)), var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(56, 189, 248, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 10%, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 640px; margin: 0 auto 0.9rem; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 1.7rem; }

/* ---------- Two-column detail rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.split h2 { margin-bottom: 0.9rem; }
.split p { color: var(--muted); margin-bottom: 1rem; }
.split .checklist { margin-top: 1.2rem; }

/* ---------- Pricing ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }

.tier {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-inset);
}
.tier--popular {
  border-color: var(--accent);
  box-shadow: var(--card-inset), 0 0 0 1px var(--accent), var(--shadow);
}
.tier .tier-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #04121F;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h3 { font-size: 1.35rem; }
.tier .tier-for { color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; }
.tier .tier-price { margin: 1.2rem 0 0.2rem; font-size: 2.3rem; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.tier .tier-price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.tier .tier-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.3rem; }
.tier .checklist { font-size: 0.95rem; gap: 0.6rem; margin-bottom: 1.6rem; }
.tier .btn { margin-top: auto; text-align: center; }

/* ---------- FAQ accordion ---------- */

.faq { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-inset);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--heading);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 1.05rem 1.3rem;
  cursor: pointer;
}
.faq-q .faq-icon { flex: none; width: 18px; height: 18px; color: var(--accent-strong); transition: transform 0.2s ease; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.faq-item.open .faq-a { display: block; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--card-inset);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}
.form-field label .optional { color: var(--muted); font-weight: 400; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.72rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.form-status { margin-top: 1.1rem; display: none; padding: 0.9rem 1.1rem; border-radius: 8px; font-size: 0.97rem; }
.form-status.success { display: block; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.45); color: #6EE7B7; }
.form-status.error { display: block; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.4); color: #FCA5A5; }

.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Breadcrumb-ish page headers ---------- */

.page-hero {
  padding: clamp(3.2rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.6rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 62% at 82% -15%, rgba(14, 165, 233, 0.3), transparent 62%),
    radial-gradient(ellipse 40% 45% at 6% 110%, rgba(16, 185, 129, 0.12), transparent 55%),
    linear-gradient(180deg, #12244A 0%, var(--bg) 70%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 65% 80% at 75% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 65% 80% at 75% 0%, #000 20%, transparent 70%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .lede { margin-top: 1.1rem; max-width: 680px; font-size: 1.13rem; color: var(--muted); }

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

.site-footer {
  border-top: 1px solid var(--border);
  background: radial-gradient(rgba(76, 197, 250, 0.04) 1px, transparent 1.5px) 0 0 / 28px 28px, var(--surface);
  padding: 3.2rem 0 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.footer-brand p { color: var(--muted); font-size: 0.93rem; margin-top: 0.8rem; max-width: 300px; }
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--text); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-strong); }

.footer-meta {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Utility ---------- */

/* ---------- Motion: scroll reveals, hero entrance, hover physics ---------- */

/* Elements get .reveal from site.js (so no-JS visitors see everything);
   IntersectionObserver adds .in with a per-sibling stagger delay. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 0.68, 0.35, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero h1, .hero .lede, .hero-actions, .hero-note { animation: rise 0.7s cubic-bezier(0.16, 0.68, 0.35, 1) both; }
  .hero h1 { animation-delay: 0.08s; }
  .hero .lede { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  .hero-note { animation-delay: 0.32s; }
  .hero-visual { animation: rise 0.9s 0.2s cubic-bezier(0.16, 0.68, 0.35, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Cards lift toward the cursor with an accent ring */
.card, .step, .tier, .case, .faq-item {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .step:hover, .case:hover {
  transform: translateY(-5px);
  border-color: rgba(76, 197, 250, 0.5);
  box-shadow: var(--card-inset), 0 16px 44px rgba(4, 12, 28, 0.45), 0 0 0 1px rgba(76, 197, 250, 0.16);
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--card-inset), 0 16px 44px rgba(4, 12, 28, 0.5); }
.tier--popular:hover { box-shadow: var(--card-inset), 0 0 0 1px var(--accent), 0 16px 44px rgba(4, 12, 28, 0.55); }
.card-icon { transition: transform 0.25s ease, background 0.25s ease; }
.card:hover .card-icon { transform: scale(1.1) rotate(-4deg); background: rgba(14, 165, 233, 0.22); }
.card:hover .card-icon--green { background: rgba(16, 185, 129, 0.22); }

/* Primary buttons glow on hover */
.btn-primary:hover { box-shadow: 0 10px 28px rgba(14, 165, 233, 0.4); }

/* Card links: arrow slides out */
.card-link { transition: letter-spacing 0.2s ease; }
.card-link:hover { letter-spacing: 0.02em; text-decoration: none; }

/* Header condenses + gains shadow once the page scrolls */
.site-header { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.scrolled { box-shadow: 0 10px 34px rgba(4, 10, 24, 0.55); background: rgba(10, 20, 40, 0.96); }

/* ---------- Utility ---------- */

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.accent-text { color: var(--accent-strong); }
.green-text { color: var(--green); }

.prose h2 { margin: 2.4rem 0 0.9rem; }
.prose h3 { margin: 1.8rem 0 0.6rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.3rem; color: var(--muted); }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--heading); }

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .site-nav.open { display: block; }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 4%;
  }
  .has-dropdown.open > .dropdown { display: block; }
  .site-nav > ul > li { border-bottom: 1px solid var(--border); }
  .site-nav > ul > li:last-child { border-bottom: none; }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.95rem 0.4rem; font-size: 1.02rem; }

  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.6rem 0.9rem;
    min-width: 0;
  }
  .nav-cta { margin: 0.9rem 0; }
  .nav-cta .btn { display: block; text-align: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-2, .grid-3, .split, .tiers, .steps, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tier--popular { order: -1; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
