/* ============================================================
   Premium Expert System — main.css (brand direction K, adapted from the MVS kit)
   Shared design system: tokens, components, layout
   ============================================================ */

/* ---- Design tokens ---------------------------------------- */
:root {
  --black: #000000;
  --grey: #e1e1e1;
  --violet: #6b2bff;
  --white: #ffffff;

  /* derived shades */
  --ink: #0a0a0a;
  --grey-soft: #f4f2fa;   /* lavender-white (direction K) */
  --grey-line: #e1dcec;
  --muted: #6b6b6b;
  --violet-dark: #5320d6;
  --accent-rgb: 107, 43, 255;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1140px;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--violet); text-decoration: none; }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

h1 + p, h2 + p, h1 + .lead, h2 + .lead { margin-top: 1rem; }

p { margin-bottom: 1rem; }

.accent { color: var(--violet); }
.lead { font-size: 1.18rem; color: #2a2a2a; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.9rem;
  display: block;
}

/* ---- Layout ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--grey { background: var(--grey-soft); }
.section--tight { padding: clamp(40px, 6vw, 70px) 0; }

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

.center { text-align: center; }
.measure { max-width: 720px; margin-inline: auto; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  padding: 1.15rem 2.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform 0.18s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.32);
}
.btn--primary:hover { background: var(--violet-dark); }

.btn--light {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 10, 10, 0.25);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg { padding: 1.35rem 3rem; font-size: 1.12rem; }
.btn--block { display: flex; width: 100%; }

/* ---- Header / nav ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  white-space: nowrap;
}
.brand .dot,
.brand .sys { color: var(--violet); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--violet); }
.nav-links a.btn--primary,
.nav-links a.btn--primary:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--black);
}

/* ---- Hero ------------------------------------------------- */
.hero {
  background: var(--grey-soft);
  color: var(--ink);
  padding: clamp(16px, 4vh, 80px) 0;
  /* fill the first screen so the "Built for" strip sits right on the fold:
     viewport - sticky header (74px) - strip (60px) */
  min-height: calc(100vh - 135px);
  min-height: calc(100svh - 135px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14), transparent 68%);
  top: -180px;
  right: -160px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--ink); max-width: 16ch; margin-bottom: 1.4rem; }
.hero p { color: #555; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---- Hero layout + photo --------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.2rem;
  align-items: center;
}
.hero-grid h1 { max-width: 15ch; }
.hero-copy .lead { max-width: 46ch; }

/* Signature: Leon's photo with a hard violet offset shadow */
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1a1a1a, #050505);
  box-shadow: 14px 14px 0 var(--violet);
  overflow: hidden;
  color: #ddd;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* on short laptop screens, cap the photo so the hero + strip fit the first screen */
@media (min-width: 881px) {
  .hero-photo { max-height: calc(100vh - 134px - 9vh); }
  .hero h1 { font-size: clamp(2.6rem, min(7vw, 8.5vh), 5rem); }
}
.hero-photo .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.45;
}
.hero-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.82rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85);
}
.hero-photo figcaption strong { display: block; color: #fff; font-size: 0.95rem; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-grid h1, .hero-copy .lead { max-width: 100%; }
  .hero-photo { max-width: 360px; margin-right: 14px; }
}

/* ---- Hero B — full-bleed skyline photo -------------------- */
.hero-b {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
  color: var(--white);
  padding: 80px 0;
}
.hero-b-bg {
  position: absolute;
  top: 0; bottom: 0; right: 0; left: 34%;
  background: url(../assets/leon-suit.jpg) 50% 25% / cover no-repeat;
}
.hero-b-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.6) 18%, rgba(10, 10, 10, 0) 42%);
}
.hero-b .container { position: relative; z-index: 2; }
.hero-b-copy { max-width: 560px; }
.hero-b h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero-b .lead { color: rgba(255, 255, 255, 0.78); }
.hero-b .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.hero-b .btn--ghost:hover { border-color: var(--white); }
/* notifications: one tidy stack, bottom-right, clear of the face */
.hero-b-stage {
  position: absolute;
  right: 28px; bottom: 76px;
  z-index: 3;
  width: 300px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-b .hero-b-stage .pay { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; }
.hero-b-tag {
  position: absolute; right: 24px; bottom: 22px; z-index: 2;
  font-size: 0.82rem; line-height: 1.45; text-align: right;
  color: rgba(255, 255, 255, 0.8);
}
.hero-b-tag strong { display: block; color: var(--white); }

@media (max-width: 1100px) {
  .hero-b-stage { display: none; }
}
@media (max-width: 880px) {
  .hero-b { min-height: 0; align-items: flex-end; padding: 370px 0 56px; }
  .hero-b-bg { left: 0; bottom: auto; height: 440px; background-position: 50% 20%; }
  .hero-b-bg::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 55%, #0a0a0a 100%);
  }
  .hero-b-tag { top: 16px; bottom: auto; right: 16px; font-size: 0.72rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
}

/* ---- Hero payment notifications --------------------------- */
.hero-stage { position: relative; }
.pay {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 300px;
  padding: 11px 14px 12px 11px;
  background: rgba(246, 246, 248, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  backdrop-filter: blur(22px) saturate(1.8);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(20, 10, 50, 0.22), inset 0 0 0 0.5px rgba(255, 255, 255, 0.6);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', var(--font-body), sans-serif;
  color: #000;
  opacity: 0;
  animation: pay-in 12s var(--ease) infinite;
}
.pay-ico {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: #635bff;
  display: flex; align-items: center; justify-content: center;
}
.pay-body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pay-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1px; }
.pay-app { font-size: 0.78rem; font-weight: 600; color: #000; }
.pay-time { font-size: 0.72rem; color: rgba(60, 60, 67, 0.6); }
.pay-title { font-size: 0.86rem; font-weight: 600; }
.pay-text { font-size: 0.86rem; color: #1c1c1e; }

/* a single notification hanging off the card's bottom-left corner,
   well clear of the face; the caption is lifted above it */
.pay-stack {
  position: absolute;
  z-index: 3;
  left: -44px;
  bottom: -34px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-stack .pay { position: relative; width: 100%; }
.pay-stack .pay.p1 { animation-delay: 0.6s; }
.pay-stack .pay.p2 { animation-delay: 1.8s; }

@keyframes pay-in {
  0%   { opacity: 0; transform: translateY(14px) scale(0.9); }
  4%   { opacity: 1; transform: translateY(0) scale(1.04); }
  7%   { transform: scale(1); }
  74%  { opacity: 1; transform: scale(1); }
  80%  { opacity: 0; transform: translateY(-8px) scale(0.97); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pay { animation: none; opacity: 1; }
}
@media (max-width: 1100px) {
  .pay-stack { left: -24px; }
}
@media (max-width: 880px) {
  .hero-stage { width: 100%; max-width: 360px; margin: 0 auto; }
  .hero-stage .hero-photo { margin-right: 14px; }
  .pay { width: 270px; padding: 10px 12px 10px 10px; border-radius: 18px; }
  .pay-ico { width: 34px; height: 34px; }
  .pay-title, .pay-text { font-size: 0.8rem; }
  .pay-stack { left: -10px; bottom: -30px; width: 270px; }
}

/* ---- Job-title strip (who it's for) ----------------------- */
.titles {
  background: var(--black);
  color: var(--white);
  height: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.titles-label {
  flex: none;
  position: relative;
  z-index: 1;
  background: var(--violet);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 1.4rem;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.titles-track {
  display: flex;
  width: max-content;
  animation: titles-scroll 100s linear infinite;
}
.titles-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: none;
}
.titles-list li {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0 0 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.titles-list li::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
}
@keyframes titles-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .titles-track { animation: none; }
}
@media (max-width: 560px) {
  .titles-label { padding: 0 1rem; font-size: 0.7rem; }
  .titles-list li { font-size: 1.1rem; }
}

/* ---- Number / stat strip ---------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-line);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--white);
  padding: 1.8rem 1.2rem;
  text-align: center;
}
.section--dark .stat { background: var(--ink); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--violet);
  line-height: 1;
}
.stat .label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.section--dark .stat .label { color: rgba(255, 255, 255, 0.6); }

/* ---- Proof — case studies (black blocks) ----------------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.case {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.8rem;
  display: flex; flex-direction: column;
}
.case .who { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; color: #fff; }
.case .role { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin: 0.3rem 0 1.4rem; }
.case .move { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.case .from { font-family: var(--font-display); font-size: 1.6rem; color: rgba(255, 255, 255, 0.4); text-decoration: line-through; }
.case .arrow { color: rgba(255, 255, 255, 0.4); }
.case .to { font-family: var(--font-display); font-size: 2.3rem; color: var(--violet); line-height: 1; }
.case p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; margin: 0; }

.payments {
  margin-top: 2.6rem;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 2.4rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
}

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

/* ---- Calendar contrast (before / after) ------------------- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.4rem; }
.contrast > div { border-radius: 14px; padding: 1.8rem; }
.contrast .before { background: var(--white); border: 1px solid var(--grey-line); }
.contrast .after { background: var(--black); color: var(--white); }
.contrast h3 { margin-bottom: 0.8rem; }
.contrast .after h3 { color: var(--white); }
.contrast .after h3 span { color: var(--violet); }
.contrast ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.contrast .before li { color: var(--muted); }
.contrast .after li { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 700px) { .contrast { grid-template-columns: 1fr; } }

/* ---- Card grids ------------------------------------------- */
.grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.6rem;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--violet);
  line-height: 1;
}
.card h3 { margin: 0.6rem 0 0.5rem; }
.card p { color: var(--muted); margin: 0; }

/* ---- Guarantee badge -------------------------------------- */
.guarantee {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  background: var(--violet);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.6rem 2.8rem;
}
.guarantee .seal {
  font-family: var(--font-display);
  font-size: 1.55rem;
  flex: none;
  width: 132px;
  height: 132px;
  border: 4px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.05;
}
.guarantee-text { flex: 1; }
.guarantee h3 { color: var(--white); margin-bottom: 0.55rem; }
.guarantee p { color: rgba(255, 255, 255, 0.85); margin: 0; }

/* ---- Video wrapper (16:9) --------------------------------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #161616, #000);
  text-align: center;
  padding: 1.5rem;
}
.video-placeholder .play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder .play::before {
  content: '';
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.video-placeholder small { letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- Forms ------------------------------------------------ */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-weight: 600;
  font-size: 0.9rem;
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1rem;
  border: 1.5px solid var(--grey-line);
  border-radius: 8px;
  background: var(--white);
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  display: none;
}
.form-status.is-error {
  display: block;
  background: #fdeaea;
  color: #b3261e;
}
.form-status.is-success {
  display: block;
  background: #e7f3ea;
  color: #1c7a33;
}
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---- Two-column block ------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* ---- Check list ------------------------------------------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.8rem; }
.checklist li {
  position: relative;
  padding-left: 2.1rem;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--violet);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- CTA band --------------------------------------------- */
.cta-band {
  background: var(--violet);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .btn--light { border-color: var(--white); }

/* ---- Footer ----------------------------------------------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  font-size: 0.95rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand .brand { color: var(--white); }
.footer-brand p { max-width: 320px; margin-top: 0.6rem; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-cols h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 0.9rem;
}
.footer-cols ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer-cols a { color: rgba(255, 255, 255, 0.7); }
.footer-cols a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Funnel layout (no nav, focused) ---------------------- */
.funnel-body { background: var(--grey-soft); }
.funnel-bar {
  text-align: center;
  padding: 0.95rem 1.4rem;
}
.funnel-bar .brand { color: var(--black); }
.funnel-main { padding: 0 0 70px; }
.funnel-main .container { padding-inline: clamp(8px, 3vw, 24px); }
.funnel-card {
  background: var(--white);
  border-radius: 14px;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(0.8rem, 2.6vw, 2rem);
  box-shadow: 0 18px 50px rgba(30, 10, 80, 0.10);
}
.funnel-narrow { max-width: 620px; }

/* VSL — keep the headline, video and CTA above the fold */
.funnel-card h1 { font-size: clamp(2rem, 3.5vw, 2.85rem); }
.funnel-card .steps { margin-bottom: 0.8rem; }
.video-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.steps span {
  width: 46px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}
.steps span.is-active { background: var(--violet); }
.steps span.is-done { background: rgba(255, 255, 255, 0.55); }

/* ---- Who We Help page ------------------------------------ */
.niche-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: end; }
.niche-head p { color: var(--muted); margin: 0; }
.experts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.expert {
  background: var(--grey-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.expert:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--violet); }
.expert h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.expert p { color: var(--muted); font-size: 0.92rem; margin: 0 0 1rem; }
.tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li {
  font-size: 0.75rem; font-weight: 600;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--grey-line);
  border-radius: 999px; padding: 0.2rem 0.6rem;
}
@media (max-width: 1040px) { .experts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) {
  .niche-head { grid-template-columns: 1fr; gap: 0.6rem; }
  .experts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .experts { grid-template-columns: 1fr; } }

/* ---- Legal pages ------------------------------------------ */
.legal { max-width: 800px; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 2.2rem 0 0.8rem; }
.legal p,
.legal li { color: #333; }
.legal ul { padding-left: 1.3rem; }
.page-head {
  background: var(--grey-soft);
  color: var(--ink);
  padding: clamp(56px, 8vw, 90px) 0;
}
.page-head h1 { color: var(--ink); }
.page-head p { color: #555; margin: 0; }

/* ---- Utilities -------------------------------------------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 880px) {
  .grid--3,
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--grey-line);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-top: 1px solid var(--grey-line); }
  .nav-links a { display: block; padding: 1rem 24px; }
  .nav-links .btn { margin: 1rem 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--3,
  .grid--4,
  .grid--2 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; text-align: center; }
  .hero-actions .btn { width: 100%; }
  .footer-top { flex-direction: column; }
}
