/* Blue Ring: The Listings Engine
   Design system: warm neutral base, one blue accent, gold pop,
   heavy headings, rounded floating cards, gentle motion. */

:root {
  --bg: #fafaf8;
  --bg-alt: #f1f2ed;
  --card: #ffffff;
  --ink: #161e2d;
  --ink-2: #3d4551;
  --ink-3: #6b7280;
  --ink-4: #8b8f98;
  --accent: #107eff;
  --accent-dark: #0b66cf;
  --accent-soft: #eaf3ff;
  --pop: #ffb700;
  --pop-soft: #fff4d6;
  --line: #e4e4de;
  --navy: #161e2d;
  --font-head: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-pill: 100px;
  --shadow-1: 0 1px 2px rgba(22, 30, 45, 0.04), 0 2px 8px rgba(22, 30, 45, 0.04);
  --shadow-2: 0 2px 4px rgba(22, 30, 45, 0.05), 0 10px 28px rgba(22, 30, 45, 0.07);
  --shadow-3: 0 4px 10px rgba(22, 30, 45, 0.06), 0 18px 44px rgba(22, 30, 45, 0.1);
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --container: 1200px;
  --gutter: 48px;
  --section-y: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-weight: 900; font-size: clamp(38px, 5.2vw, 60px); }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-weight: 800; font-size: 20px; line-height: 1.3; }

p { color: var(--ink-2); }

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding: var(--section-y) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head p.sub { margin-top: 16px; font-size: 17px; color: var(--ink-3); }

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(160deg, #161e2d 0%, #107eff 55%, #ffffff 100%); background-clip: padding-box; border: none; padding: 15px 29px; color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: var(--shadow-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-4); background: var(--card); }
.btn-pop { background: var(--pop); color: var(--ink); box-shadow: var(--shadow-1); }
.btn-pop:hover { box-shadow: var(--shadow-2); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: var(--shadow-1); }
.btn-dark:hover { background: #232d40; box-shadow: var(--shadow-2); }
.btn .arrow { width: 15px; height: 15px; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: 10px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-drop-item { display: block; padding: 12px 14px; border-radius: var(--r-md); transition: background 0.2s var(--ease); }
.nav-drop-item:hover { background: var(--bg-alt); }
/* Both spans need to be block, or the description runs on from the label. */
.nav-drop-item .label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.nav-drop-item .desc { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.nav-cta { display: inline-flex; padding: 10px 19px; font-size: 14px; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 28px var(--gutter) 40px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-sub { padding: 10px 0 10px 16px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line); }
.mobile-sub a { font-size: 15px; color: var(--ink-2); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ===== Hero ===== */
.hero { padding: 113px 0 56px; text-align: center; }
/* The tier pages open with an eyebrow above the h1, which sits too close to the
   nav at the homepage's tighter padding. */
.hero:has(.eyebrow) { padding-top: 152px; }
.hero .eyebrow { margin-bottom: 20px; }
.highlight {
  background-image: linear-gradient(rgba(255, 183, 0, 0.4), rgba(255, 183, 0, 0.4));
  background-size: 100% 58%;
  background-position: 0 82%;
  background-repeat: no-repeat;
}
.hero-sub {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 18px;
  color: var(--ink-2);
}
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-4); }

/* ===== VSL ===== */
.vsl { padding: 24px 0 var(--section-y); }
.vsl-frame {
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background: var(--navy);
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-weight: 600;
  overflow: hidden;
}
.vsl-frame > wistia-player { width: 100%; height: 100%; display: block; }
.vsl-frame .play-dot {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.25s var(--ease);
}
.vsl-frame:hover .play-dot { transform: scale(1.06); }
.vsl-frame .play-dot svg { width: 26px; height: 26px; margin-left: 3px; }

/* ===== Carousel ===== */
.carousel { overflow: hidden; }
.carousel-track-wrap { margin-top: 8px; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 60s linear infinite;
  /* 44px clears the card shadow's 24px reach so overflow:hidden doesn't cut it into a hard line */
  padding: 44px 0;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.reel-card {
  width: 230px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}
.reel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.reel-card video { width: 100%; height: 100%; object-fit: cover; }

/* ===== Who ===== */
.who { background: var(--bg-alt); }
.who-copy { max-width: 740px; margin: 0 auto; text-align: center; }
.who-copy p { margin-top: 20px; font-size: 17px; }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.chip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  box-shadow: var(--shadow-1);
}

/* ===== System ===== */
.system-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 56px;
  position: relative;
}
.system-step { text-align: center; padding: 0 6px; position: relative; }
.system-flow::before {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #b3d6ff 50%, var(--accent) 100%);
}
.system-dot {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
}
.system-dot svg { width: 22px; height: 22px; }
.system-step.is-first .system-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.system-step.is-last .system-dot { background: var(--pop); border-color: var(--pop); color: var(--ink); }
.system-step h3 { font-size: 15.5px; }
.system-step p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }

/* ===== Pathways ===== */
.pathways { background: var(--bg-alt); }
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pathway-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  display: flex;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pathway-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.pathway-media { width: 40%; flex-shrink: 0; position: relative; overflow: hidden; }
/* Absolute so the image can't push the box taller than its aspect-ratio;
   otherwise a 16:9 file forces a 16:9 box whatever the CSS asks for. */
.pathway-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pathway-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
}
.pathway-card p { font-size: 14.5px; margin-top: 10px; color: var(--ink-3); flex-grow: 1; }
.pathway-link {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pathway-link .arrow { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.pathway-card:hover .pathway-link .arrow { transform: translateX(3px); }

/* Solo Agents and Principals are the core offers, so they get the top row at
   full width with the image stacked above. Buyers Agents and Property
   Developers sit underneath at reduced weight. */
.pathway-card.is-lead { flex-direction: column; }
.pathway-card.is-lead .pathway-media { width: 100%; aspect-ratio: 21 / 9; }
/* Stacking the card makes the body a main-axis item, so it needs to grow
   before the p inside it can push the link to the bottom edge. */
.pathway-card.is-lead .pathway-body { padding: 24px 26px 26px; flex-grow: 1; }
.pathway-card.is-lead h3 { font-size: 22px; }
.pathway-card.is-lead p { font-size: 15px; margin-top: 10px; }
.pathway-card.is-lead .pathway-link { margin-top: 16px; font-size: 14px; }

.pathway-card.is-sub { margin-top: 16px; box-shadow: var(--shadow-1); }
.pathway-card.is-sub .pathway-media { width: 34%; }
.pathway-card.is-sub .pathway-body { padding: 20px 22px; }
.pathway-card.is-sub h3 { font-size: 17px; }
.pathway-card.is-sub p { font-size: 13.5px; }
.pathway-card.is-sub .pathway-link { font-size: 13px; }

/* ===== Case studies ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-4);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 22px 22px 24px; }
.case-body h3 { font-size: 18px; }
.case-body .case-sub { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.case-stats { display: flex; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.case-stat .num em { color: var(--accent); font-style: normal; }
.case-stat .cap { font-size: 12px; color: var(--ink-4); }
.case-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  box-shadow: var(--shadow-1);
}

/* ===== Wall (testimonials) ===== */
.wall { background: var(--bg-alt); }
.wall-grid {
  columns: 3;
  column-gap: 20px;
}
.wall-card {
  break-inside: avoid;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 24px;
  margin-bottom: 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wall-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.wall-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wall-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.wall-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wall-name { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.wall-role { font-size: 12.5px; color: var(--ink-4); }
.wall-stars { color: var(--pop); display: flex; align-items: center; gap: 2px; margin-bottom: 12px; }
.wall-stars svg { width: 15px; height: 15px; }
.wall-card blockquote { font-size: 14.5px; color: var(--ink-2); }
.wall-source { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--ink-4); }
.wall-source img { width: 14px; height: 14px; }

/* ===== Resources ===== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.resource-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.resource-icon svg { width: 22px; height: 22px; }
.resource-card h3 { font-size: 17px; }
.resource-card p { font-size: 14px; color: var(--ink-3); margin-top: 8px; flex-grow: 1; }
.resource-link {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== Final CTA ===== */
.final-cta { padding-bottom: 110px; }
.final-cta-panel {
  background: var(--navy);
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  box-shadow: var(--shadow-3);
}
.final-cta-panel .eyebrow { color: var(--pop); }
.final-cta-panel h2 { color: #fff; }
.final-cta-panel p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 18px auto 0; }
.final-cta-panel .btn { margin-top: 32px; }
.final-cta-panel .fine { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, 0.5); }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 64px 0 36px; }
.footer a { transition: color 0.2s var(--ease); }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 14px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials svg { width: 18px; height: 18px; }

/* ===== Product pages ===== */
.stat-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat .num { font-family: var(--font-head); font-weight: 900; font-size: 38px; }
.stat .num em { color: var(--accent); font-style: normal; }
.stat .cap { font-size: 14px; color: var(--ink-3); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 30px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.benefit-card .step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}
.benefit-card p { font-size: 14.5px; color: var(--ink-3); margin-top: 10px; }

.walk-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.walk-step:last-child { border-bottom: none; }
.walk-step:nth-child(even) .walk-media { order: -1; }
.walk-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.walk-copy h3 { font-size: 24px; }
.walk-copy > p { margin-top: 12px; font-size: 15.5px; }
.walk-list { list-style: none; margin-top: 18px; }
.walk-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 9px;
}
/* The dot is 22px across (14px core + 4px border each side). Centre it on the
   first line rather than nudging it by eye, or it sits low against the text. */
.walk-list li::before {
  content: "";
  position: absolute;
  left: 0; top: calc((14.5px * 1.7 - 22px) / 2);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 4px solid var(--accent-soft);
  box-shadow: inset 0 0 0 3px var(--accent);
}
.walk-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-4);
}
.walk-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Flow diagram (solo page) */
.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.flow-node {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.flow-node h3 { font-size: 15.5px; }
.flow-node p { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.flow-node::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
  z-index: 2;
}
.flow-node:last-child::after { display: none; }

/* Included table */
.included-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.included-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.included-row:last-child { border-bottom: none; }
.included-row .what { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.included-row .detail { font-size: 14.5px; color: var(--ink-2); }
.not-included {
  margin-top: 28px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
}
.not-included h3 { font-size: 16px; margin-bottom: 10px; }
.not-included li { font-size: 14.5px; color: var(--ink-3); margin-left: 18px; margin-bottom: 5px; }

/* Pricing */
.pricing { background: var(--bg); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-3); }
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pop);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  border-radius: var(--r-pill);
  padding: 4px 14px;
  white-space: nowrap;
}
.price-card .tier { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink-3); }
.price-figure { font-family: var(--font-head); font-weight: 900; font-size: 38px; margin-top: 12px; letter-spacing: -0.02em; }
.price-figure span { font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.price-then { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.price-list { list-style: none; margin: 22px 0; flex-grow: 1; }
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-card .btn { justify-content: center; }
/* Requirements: the six stipulations the guarantee is conditional on.
   Sits in a card because it used to hang off the bottom of the price grid,
   and on its own it read as an unstyled list floating in whitespace. */
.requirements { background: var(--bg-alt); }
.stipulations {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 34px 38px 28px;
}
/* Column-major: 1-2-3 down the left, 4-5-6 down the right. */
.stipulations ol {
  list-style: none;
  counter-reset: stip;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 18px 34px;
}
.stipulations li {
  counter-increment: stip;
  position: relative;
  padding-left: 40px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.stipulations li::before {
  content: counter(stip);
  position: absolute;
  left: 0; top: calc((14.5px * 1.6 - 24px) / 2);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stipulations .fine {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-4);
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Portal */
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.portal-shot {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-4);
}

/* ===== ROI calculator ===== */
.calc-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  max-width: 1020px;
  margin: 0 auto;
}
.calc-field { margin-bottom: 30px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.calc-field output { font-family: var(--font-head); font-weight: 800; color: var(--accent); white-space: nowrap; }
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--line) var(--fill, 0%));
  outline: none;
  cursor: pointer;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-1);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-1);
}
.calc-note { font-size: 13px; color: var(--ink-4); line-height: 1.6; margin-top: 8px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.calc-tile {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.calc-tile .num { font-family: var(--font-head); font-weight: 800; font-size: 27px; letter-spacing: -0.02em; }
.calc-tile .cap { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.calc-tile.calc-roi { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); }
.calc-roi .num { color: var(--pop); font-size: 34px; }
.calc-roi .cap { color: rgba(255, 255, 255, 0.75); font-size: 13.5px; }

/* Single-card pricing (solo page) */
.price-grid.single { grid-template-columns: minmax(0, 460px); justify-content: center; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-align: left;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 26px 22px; font-size: 15px; color: var(--ink-2); }

/* ===== Booking pop-up ===== */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.booking-modal.open { display: flex; }
.booking-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 30, 45, 0.6);
}
.booking-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.booking-dialog iframe {
  width: 100%;
  height: 80vh;
  border: none;
}
.booking-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-1);
}
.booking-close:hover { color: var(--ink); }

/* ===== Legal pages ===== */
.legal-hero { padding: 170px 0 32px; text-align: center; }
.legal-hero .updated { font-size: 14px; color: var(--ink-4); margin-top: 12px; }
.legal-body { padding-top: 0; }
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.legal h2:first-of-type { margin-top: 8px; }
.legal p { margin-bottom: 14px; font-size: 15.5px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { font-size: 15.5px; color: var(--ink-2); margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: underline; }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 0.08s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { animation: none; }
  .btn, .pathway-card, .case-card, .wall-card, .resource-card, .benefit-card, .price-card, .reel-card { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .pathway-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .benefit-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .wall-grid { columns: 2; }
  .system-flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .system-flow::before { display: none; }
  .flow-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .flow-node:nth-child(2n)::after { display: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --section-y: 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .hero { padding-top: 87px; }
  .pathway-grid, .case-grid, .benefit-grid, .price-grid, .resource-grid { grid-template-columns: 1fr; }
  .pathway-card { flex-direction: column; }
  .pathway-media, .pathway-card.is-sub .pathway-media { width: 100%; aspect-ratio: 16 / 9; }
  .pathway-card.is-sub { margin-top: 0; }
  .stipulations { padding: 26px 22px 22px; }
  .stipulations ol { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .wall-grid { columns: 1; }
  .system-flow { grid-template-columns: repeat(2, 1fr); }
  .walk-step { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .walk-step:nth-child(even) .walk-media { order: 0; }
  .flow-row { grid-template-columns: 1fr; }
  .flow-node::after { display: none; }
  .portal-grid { grid-template-columns: 1fr; }
  .calc-panel { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
  .included-row { grid-template-columns: 1fr; gap: 6px; }
  .final-cta-panel { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { gap: 32px; }
}
