/* Emerald Park OZ — four colors only: Navy · Light blue · Green · Gold
   Navy      = type, chrome, dark bands, borders (authority)
   Light blue = page + panel fills (air, never competes with accent)
   Green     = brand “Emerald” thread — links, labels, positive signal
   Gold      = capital / primary action — one button style + rare highlights */

:root {
  /* Navy */
  --navy-950: #051321;
  --navy-900: #0c213f;
  --navy-800: #143056;
  --text-strong: #152a43;
  --text-muted: #3d5670;
  --text-soft: #5c7088;

  /* Light blue (same hue family as navy — not cyan) */
  --blue-50: #edf2f8;
  --blue-100: #dee7f2;
  --blue-200: #c7d4e4;

  /* Green — single accent family */
  --green-700: #134a3c;
  --green-600: #1a6b55;
  --green-500: #238068;
  --green-muted: rgba(26, 107, 85, 0.12);

  /* Gold — CTA + investor highlight only */
  --gold-600: #ae8c28;
  --gold-500: #c9a53a;
  --gold-400: #d4b54b;
  /* Primary CTA: darker gold so white label passes on dark + light contexts */
  --gold-cta: #a67c28;
  --gold-cta-hover: #8f6a22;

  /* Shared control + stat “card” radius (reference: ~16px squircle) */
  --radius-button: 16px;

  /* Semantic map (keep legacy names so components stay stable) */
  --color-navy: var(--navy-900);
  --color-navy-deep: var(--navy-950);
  --color-bg: var(--blue-50);
  --color-surface: #ffffff;
  --color-ink: var(--text-strong);
  --color-ink-muted: var(--text-muted);
  --color-ink-soft: var(--text-soft);
  --color-border: rgba(12, 33, 63, 0.11);
  --color-emerald: var(--navy-900);
  --color-emerald-mid: var(--green-600);
  --color-emerald-light: var(--green-muted);
  --color-accent: var(--gold-500);
  --color-accent-soft: rgba(201, 165, 58, 0.14);
  --color-gold: var(--gold-500);
  --color-gold-hover: var(--gold-600);
  --link-on-dark: #b6cce6;
  --link-on-dark-hover: #dbe7f4;

  --font-sans: "DM Sans", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --space-xs: clamp(0.5rem, 1.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 2vw, 1rem);
  --space-md: clamp(1.25rem, 3vw, 1.75rem);
  --space-lg: clamp(2rem, 5vw, 3rem);
  --space-xl: clamp(2.75rem, 7vw, 4.5rem);
  --space-2xl: clamp(3.5rem, 10vw, 6rem);
  --space-section: clamp(3rem, 8vw, 5.5rem);
  --max-text: 38rem;
  --max-content: 72rem;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 33, 63, 0.06);
  --shadow-md: 0 8px 30px rgba(11, 33, 63, 0.09);
  --header-h: 5.75rem;
  --radius-stat: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  padding-top: var(--header-h);
}

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

a {
  color: var(--green-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--green-700);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.35rem, 1.55rem + 2.85vw, 3.6rem);
  margin: 0 0 var(--space-md);
}

h2 {
  font-size: clamp(1.9rem, 1.45rem + 1.65vw, 2.75rem);
  margin: 0 0 var(--space-sm);
}

h3 {
  font-size: clamp(1.28rem, 1.08rem + 0.65vw, 1.55rem);
  margin: 0 0 var(--space-xs);
}

h4 {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.22rem);
  margin: 0 0 var(--space-xs);
}

p {
  margin: 0 0 var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--color-ink-muted);
  max-width: var(--max-text);
}

.muted {
  color: var(--color-ink-soft);
  font-size: 0.9375rem;
}

/* Site header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--color-surface) 94%, var(--blue-50));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 2px solid var(--navy-900);
  border-bottom: 1px solid var(--color-border);
}

/* Home + inner pages: solid navy bar → white on scroll (logo swaps light/dark) */
.page-home .site-header,
body:not(.page-home) .site-header {
  background: var(--navy-900);
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .site-header.site-header--scrolled,
body:not(.page-home) .site-header.site-header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 6px 24px rgba(11, 33, 63, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-home .nav-desktop a,
body:not(.page-home) .nav-desktop a {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .nav-desktop a:hover,
.page-home .nav-desktop a[aria-current="page"],
body:not(.page-home) .nav-desktop a:hover,
body:not(.page-home) .nav-desktop a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.page-home .site-header--scrolled .nav-desktop a,
body:not(.page-home) .site-header--scrolled .nav-desktop a {
  color: var(--color-ink-muted);
}

.page-home .site-header--scrolled .nav-desktop a:hover,
.page-home .site-header--scrolled .nav-desktop a[aria-current="page"],
body:not(.page-home) .site-header--scrolled .nav-desktop a:hover,
body:not(.page-home) .site-header--scrolled .nav-desktop a[aria-current="page"] {
  color: var(--navy-900);
  background: var(--blue-100);
}

.page-home .nav-toggle,
body:not(.page-home) .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.page-home .site-header--scrolled .nav-toggle,
body:not(.page-home) .site-header--scrolled .nav-toggle {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--navy-900);
}

.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(280px, 62vw);
}

@media (min-width: 480px) {
  .logo__img {
    height: 54px;
    max-width: min(320px, 55vw);
  }
}

@media (min-width: 960px) {
  .logo__img {
    height: 60px;
    max-width: min(380px, 38vw);
  }
}

/* Home + inner pages: two logo assets — light mark on navy bar, color mark on white bar */
.page-home .logo--dual .logo__img--dark,
body:not(.page-home) .logo--dual .logo__img--dark {
  display: none;
}

.page-home .site-header--scrolled .logo--dual .logo__img--light,
body:not(.page-home) .site-header--scrolled .logo--dual .logo__img--light {
  display: none;
}

.page-home .site-header--scrolled .logo--dual .logo__img--dark,
body:not(.page-home) .site-header--scrolled .logo--dual .logo__img--dark {
  display: block;
}

.logo:hover .logo__img,
.logo:focus-visible .logo__img {
  opacity: 0.92;
}

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.25rem, 1.5vw, 1.5rem);
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    flex-shrink: 0;
  }
}

.nav-desktop a {
  text-decoration: none;
  color: var(--color-ink-muted);
  font-size: clamp(0.8125rem, 0.74rem + 0.28vw, 0.9rem);
  font-weight: 500;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--navy-900);
  background: var(--blue-100);
}

.header-ctas {
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

@media (min-width: 960px) {
  .header-ctas {
    display: flex;
    flex-shrink: 0;
  }

  .header-ctas .btn {
    padding: 0.68rem 1.05rem;
    font-size: clamp(0.8rem, 0.74rem + 0.22vw, 0.9rem);
  }
}

/* Desktop nav + CTA compete for width ~960–1240px — one line: nowrap links + compact logo/gaps */
@media (min-width: 960px) and (max-width: 1240px) {
  .site-header__inner {
    gap: clamp(0.2rem, 0.9vw, 0.65rem);
    padding-left: clamp(0.75rem, 3vw, 1.35rem);
    padding-right: clamp(0.75rem, 3vw, 1.35rem);
  }

  .nav-desktop {
    gap: 0.12rem;
  }

  .nav-desktop a {
    padding: 0.28rem 0.22rem;
    font-size: 0.78rem;
  }

  .logo__img {
    height: 46px;
    max-width: min(175px, 19vw);
  }

  .header-ctas .btn {
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-navy);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-bg);
  z-index: 99;
  padding: var(--space-lg) clamp(1rem, 4vw, 2rem);
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: var(--space-sm) 0;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav__ctas {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

body.nav-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.35s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

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

.btn:focus-visible,
.nav-desktop a:focus-visible,
.mobile-nav a:focus-visible,
.logo:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--gold-cta);
  color: #fff;
  box-shadow: 0 2px 10px rgba(5, 19, 33, 0.18);
}

.btn--primary:hover {
  background: var(--gold-cta-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(5, 19, 33, 0.22);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-navy);
  border: 1px solid rgba(11, 33, 63, 0.35);
}

.btn--secondary:hover {
  background: var(--blue-50);
  color: var(--navy-900);
  border-color: var(--navy-800);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-lg);
}

.hero-note {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}

/* Layout */
.wrap {
  max-width: var(--max-content);
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.section {
  padding: var(--space-section) 0;
}

.section--tight-top {
  padding-top: var(--space-lg);
}

.section--surface {
  background: var(--color-surface);
}

.section--emerald {
  background: linear-gradient(165deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.section--emerald h2,
.section--emerald h3 {
  color: #fff;
}

.section--emerald .lead,
.section--emerald p {
  color: rgba(255, 255, 255, 0.88);
}

.section--emerald a:not(.btn) {
  color: var(--link-on-dark);
}

.section--emerald a:not(.btn):hover {
  color: var(--link-on-dark-hover);
}

.section--emerald .btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.section--emerald .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Home “Four steps” band — gold accents only; background = default .section--emerald navy */
.section--invest-flow .invest-steps__item {
  border-bottom-color: rgba(230, 195, 90, 0.35);
}

@media (min-width: 768px) {
  .section--invest-flow .invest-steps__item:nth-child(odd) {
    border-right-color: rgba(230, 195, 90, 0.3);
  }
}

.section--invest-flow .glance-spec__idx {
  color: var(--gold-400);
}

/* Invest band — denser vertical rhythm than default sections */
.section--invest-flow.section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section--invest-flow .section-header {
  margin-bottom: var(--space-md);
}

/* Home “Four reasons” — softer backdrop, separates from flat white */
.section--reasons {
  position: relative;
  background:
    radial-gradient(ellipse 90% 55% at 92% 8%, rgba(26, 107, 85, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 45% at 4% 92%, rgba(12, 33, 63, 0.05), transparent 50%),
    linear-gradient(180deg, var(--blue-50) 0%, var(--color-surface) 38%, var(--color-surface) 100%);
}

.section--reasons .section-header {
  margin-bottom: var(--space-xl);
}

.section-header {
  margin-bottom: var(--space-lg);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  text-wrap: balance;
}

/* Explicit opt-in — same as default .section-header (kept if you need to mark intent in HTML) */
.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Centered editorial band — headlines + body + CTAs align (matches section-header) */
.section--reading-centered .lead,
.section--reading-centered .lead.max-65 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}

.section--reading-centered .btn-row {
  justify-content: center;
}

.section--emerald.section--reading-centered .lead {
  color: rgba(255, 255, 255, 0.88);
}

/* Inner hero — optional centered column */
.hero--page--center {
  text-align: center;
}

.hero--page--center .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero--page--center .btn-row {
  justify-content: center;
}

/* Investment — Oz benefit cards (distinct from home “reason” cards; centered) */
.tax-benefit-stack {
  display: grid;
  gap: var(--space-xl);
  max-width: 48rem;
  margin: 0 auto;
  padding: 0;
}

.tax-benefit-card {
  position: relative;
  margin: 0;
  padding: var(--space-xl) var(--space-lg) calc(var(--space-xl) + 2px);
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(201, 165, 58, 0.07), transparent 62%),
    linear-gradient(165deg, #fff 0%, var(--blue-50) 115%);
  border: 1px solid rgba(12, 33, 63, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 20px 46px rgba(11, 33, 63, 0.08);
  overflow: hidden;
}

.tax-benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600) 0%, var(--gold-500) 48%, var(--green-600) 100%);
  opacity: 0.95;
}

.tax-benefit-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--navy-900) 50%, var(--gold-500) 100%);
}

.tax-benefit-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--gold-500) 45%, var(--green-600) 100%);
}

.tax-benefit-card__layer {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-sm);
}

.tax-benefit-card h3 {
  margin: 0 auto var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 1.05rem + 0.55vw, 1.55rem);
  font-weight: 700;
  color: var(--navy-900);
  text-wrap: balance;
  max-width: min(36ch, 100%);
}

.tax-benefit-card__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink-muted);
  max-width: 52ch;
  margin: 0 auto;
  text-wrap: pretty;
}

.tax-benefit-card__kicker {
  margin: var(--space-md) auto 0;
  max-width: 48ch;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-700);
  line-height: 1.45;
}

.tax-benefit-card__kicker strong {
  color: var(--green-700);
  font-weight: 600;
}

/* Team & Partners — deliberate cards + centered rhythm */
.page-team .section--reading-centered .team-block {
  max-width: 52rem;
  margin: 0 auto;
}

.page-team .partner-card {
  max-width: 44rem;
  margin: 0 auto var(--space-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--blue-50) 130%);
  border: 1px solid rgba(12, 33, 63, 0.09);
  box-shadow: 0 14px 36px rgba(11, 33, 63, 0.07);
}

.page-team .partner-card:last-of-type {
  margin-bottom: 0;
}

.page-team .partner-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: var(--space-xs);
}

.page-team .partner-card h3 {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.35rem);
}

.page-team .partner-card p {
  margin: 0;
  color: var(--color-ink-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.page-team .operator-spotlight {
  max-width: 44rem;
  margin: 0 auto var(--space-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(26, 107, 85, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(237, 242, 248, 0.9) 0%, var(--color-surface) 60%);
  border: 1px solid rgba(26, 107, 85, 0.2);
  box-shadow: 0 16px 40px rgba(11, 33, 63, 0.07);
}

.page-team .operator-spotlight h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  color: var(--navy-900);
}

.page-team .operator-spotlight .lead {
  margin-bottom: 0;
  color: var(--color-ink-muted);
}

.page-team .team-callout {
  max-width: 44rem;
  margin: var(--space-xl) auto 0;
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--color-ink-muted);
  border-top: 1px solid rgba(12, 33, 63, 0.1);
}

.page-team .team-block .btn-row {
  justify-content: center;
}

.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: var(--space-xs);
}

.section--emerald .eyebrow {
  color: var(--color-accent);
}

/* Hero */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

/* Inner pages — same dark navy band as home hero */
.hero--page {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0 clamp(2.25rem, 5vw, 3.75rem);
  background:
    radial-gradient(900px 500px at 15% 18%, rgba(180, 205, 235, 0.14), rgba(180, 205, 235, 0) 55%),
    radial-gradient(700px 420px at 80% 40%, rgba(26, 107, 85, 0.12), rgba(26, 107, 85, 0) 55%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}

.hero--page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 70% 55%, rgba(201, 165, 58, 0.1), rgba(201, 165, 58, 0) 60%),
    radial-gradient(900px 520px at 100% 35%, rgba(180, 205, 235, 0.1), rgba(180, 205, 235, 0) 60%);
  pointer-events: none;
}

.hero--page .wrap {
  position: relative;
  z-index: 1;
}

.hero--page .eyebrow {
  color: var(--gold-400);
}

.hero--page h1 {
  color: #fff;
}

.hero--page .lead {
  color: rgba(255, 255, 255, 0.72);
}

.hero--page .btn-row {
  margin-top: var(--space-md);
}

.hero--page .btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero--page .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero--home {
  position: relative;
  padding: clamp(3.25rem, 7vw, 5.25rem) 0 clamp(2.75rem, 6vw, 4.25rem);
  background:
    radial-gradient(900px 500px at 15% 18%, rgba(180, 205, 235, 0.14), rgba(180, 205, 235, 0) 55%),
    radial-gradient(700px 420px at 80% 40%, rgba(26, 107, 85, 0.12), rgba(26, 107, 85, 0) 55%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  overflow: hidden;
}

.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 70% 55%, rgba(201, 165, 58, 0.10), rgba(201, 165, 58, 0) 60%),
    radial-gradient(900px 520px at 100% 35%, rgba(180, 205, 235, 0.10), rgba(180, 205, 235, 0) 60%);
  pointer-events: none;
}

.hero--home .wrap {
  position: relative;
  z-index: 1;
}

/* Hero headline — first line dominant, following lines stepped smaller */
.hero-title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-title__line {
  display: block;
}

.hero-title__line--lead {
  font-size: clamp(3.15rem, 2.15rem + 4.75vw, 5.15rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
}

.hero-title__line--sub {
  font-size: clamp(1.52rem, 1.12rem + 1.65vw, 2.38rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-top: 0.32em;
  opacity: 0.96;
}

.hero--home .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 42rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero--home .btn-row {
  margin-top: var(--space-md);
}

.hero--home .btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero--home .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: var(--max-content);
}

@media (min-width: 960px) {
  .hero--home .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
  }

  /* Place stats under buttons and stretch across the full hero width */
  .page-home .hero--home .stats-row {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
    padding-top: var(--space-md);
    justify-self: stretch;
    align-self: start;
  }

  .page-home .hero--home .hero__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .hero--home .hero__visual--art {
    grid-column: 2;
    grid-row: 1;
  }
}

.hero__visual {
  background: linear-gradient(155deg, var(--blue-50) 0%, var(--blue-100) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__visual-badge {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: var(--color-emerald);
  line-height: 1.2;
}

.hero__visual-sub {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

/* Home hero — oak + California art (PNG with alpha; do not use isolation here — it blocks blend/backdrop). */
.hero--home .hero__visual--art {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  display: block;
  align-self: center;
  justify-self: center;
}

@media (min-width: 960px) {
  .hero--home .hero__visual--art {
    justify-self: end;
  }
}

.hero--home .hero__visual--art img {
  width: 100%;
  max-width: min(22rem, 100%);
  height: auto;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  user-select: none;
}

@media (min-width: 640px) {
  .hero--home .hero__visual--art img {
    max-width: min(28rem, 100%);
  }
}

@media (min-width: 960px) {
  .hero--home .hero__visual--art img {
    max-width: 100%;
    margin-inline: 0 -4%;
  }
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Dark hero: stat “cards” (raised navy tiles + light border) */
.hero--home .stats-row {
  border-top: none;
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  gap: clamp(0.5rem, 1.5vw, 0.85rem);
}

.hero--home .stat {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(182, 204, 230, 0.24);
  border-radius: var(--radius-stat);
  padding: 0.55rem 0.45rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem;
  min-height: 0;
}

.hero--home .stat__value {
  color: #fff;
  font-weight: 600;
  line-height: 1.1;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem);
  letter-spacing: -0.02em;
}

.hero--home .stat__label {
  color: rgba(182, 204, 230, 0.88);
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1.25;
  max-width: 13ch;
  margin-top: 0;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-wrap: balance;
}

.hero--home .stat__hint {
  color: rgba(182, 204, 230, 0.62);
  font-weight: 400;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.68rem;
  line-height: 1.2;
  max-width: 14ch;
}

@media (max-width: 639px) {
  .hero--home .stat {
    align-items: flex-start;
    text-align: left;
    padding: 0.55rem 0.65rem 0.6rem;
  }

  .hero--home .stat__label {
    justify-content: flex-start;
    text-align: left;
  }
}

/* Light sections: same box shape, light surfaces */
.stats-row--cards {
  border-top: none;
  padding-top: var(--space-md);
  gap: clamp(0.65rem, 2vw, 1rem);
}

/* Pull stat band up under a section heading (no extra top margin) */
.stats-row--tight {
  margin-top: 0;
}

.stats-row--cards .stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-stat);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.75rem, 2vw, 1.25rem);
  }
}

.stat {
  text-align: left;
}

.stat__value {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  color: var(--navy-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-top: 0.35rem;
}

.stat__hint {
  font-size: 0.75rem;
  color: var(--color-ink-soft);
  margin-top: 0.2rem;
}

.stats-row--cards .stat__value {
  font-weight: 600;
}

.stats-row--cards .stat__label {
  color: var(--text-muted);
  font-weight: 400;
}

.stats-row--cards .stat__hint {
  color: var(--text-soft);
  font-weight: 400;
}

.section--emerald .stat__value {
  color: var(--gold-400);
}

.section--emerald .stat__label {
  color: rgba(255, 255, 255, 0.95);
}

.section--emerald .stat__hint {
  color: rgba(255, 255, 255, 0.65);
}

/* Numbered cards (reasons / steps) */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reason-card {
  --reason-accent: var(--green-600);
  position: relative;
  background: linear-gradient(165deg, #fff 0%, var(--blue-50) 120%);
  border: 1px solid rgba(12, 33, 63, 0.09);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  padding-top: calc(var(--space-lg) + 4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 32px rgba(11, 33, 63, 0.07);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reason-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--green-600) 0%,
    var(--gold-500) 48%,
    var(--green-500) 100%
  );
  transform-origin: 0 50%;
  transform: scaleX(0.92);
  opacity: 0.95;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.reason-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 85% 15%, rgba(26, 107, 85, 0.09), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(201, 165, 58, 0.06), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translate(4%, 4%) scale(0.96);
  pointer-events: none;
  z-index: 0;
}

.reason-card:hover,
.reason-card:focus-within {
  transform: translateY(-8px);
  background: linear-gradient(
    155deg,
    var(--navy-800) 0%,
    var(--navy-900) 38%,
    var(--green-700) 72%,
    var(--green-600) 100%
  );
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 22px 48px rgba(5, 19, 33, 0.35),
    0 0 0 1px rgba(35, 128, 104, 0.5);
}

.reason-card:hover::before,
.reason-card:focus-within::before {
  transform: scaleX(1);
  height: 5px;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-400) 50%, var(--green-500) 100%);
  opacity: 1;
}

.reason-card:hover::after,
.reason-card:focus-within::after {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  background: radial-gradient(circle at 82% 12%, rgba(212, 181, 75, 0.22), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.08), transparent 48%);
}

.reason-card > * {
  position: relative;
  z-index: 2;
}

.reason-card__num {
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green-700);
  transition: color 0.45s ease;
}

.reason-card h3 .reason-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.55rem;
  margin-bottom: 0.65rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(26, 107, 85, 0.11), rgba(201, 165, 58, 0.08));
  border: 1px solid rgba(26, 107, 85, 0.22);
  box-shadow: 0 1px 2px rgba(11, 33, 63, 0.04);
  transition: color 0.45s ease, background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.reason-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.38rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--navy-900);
  transition: color 0.45s ease;
}

.reason-card p:not(.reason-card__arrow) {
  color: var(--color-ink-muted);
  line-height: 1.62;
  transition: color 0.45s ease;
}

.reason-card__arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green-600);
  margin-top: 0;
  padding-top: 0;
  transition: color 0.4s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.reason-card:hover .reason-card__num,
.reason-card:focus-within .reason-card__num {
  color: var(--gold-400);
}

.reason-card:hover h3 .reason-card__num,
.reason-card:focus-within h3 .reason-card__num {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.reason-card:hover h3,
.reason-card:focus-within h3 {
  color: #fff;
}

.reason-card:hover p:not(.reason-card__arrow),
.reason-card:focus-within p:not(.reason-card__arrow) {
  color: rgba(255, 255, 255, 0.9);
}

.reason-card:hover .reason-card__arrow,
.reason-card:focus-within .reason-card__arrow {
  color: var(--gold-400);
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .reason-card,
  .reason-card::before,
  .reason-card::after,
  .reason-card__arrow {
    transition: none;
  }

  .reason-card:hover,
  .reason-card:focus-within {
    transform: none;
  }

  .reason-card:hover .reason-card__arrow,
  .reason-card:focus-within .reason-card__arrow {
    transform: none;
  }
}

/* “Investment at a glance” — open datasheet (no cards; row-level hover only) */
.section--glance {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--blue-50) 100%);
}

.section--glance .section-header {
  max-width: 48rem;
}

.glance-spec {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(12, 33, 63, 0.12);
  border-bottom: 1px solid rgba(12, 33, 63, 0.12);
}

@media (min-width: 900px) {
  .glance-spec {
    grid-template-columns: repeat(3, 1fr);
  }
}

.glance-spec__column {
  position: relative;
  padding: var(--space-lg) clamp(1rem, 3vw, 2rem);
  isolation: isolate;
}

@media (max-width: 899px) {
  .glance-spec__column {
    border-bottom: 1px solid rgba(12, 33, 63, 0.08);
  }

  .glance-spec__column:last-child {
    border-bottom: none;
  }
}

@media (min-width: 900px) {
  .glance-spec__column:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(26, 107, 85, 0.35) 22%,
        rgba(201, 165, 58, 0.45) 50%,
        rgba(12, 33, 63, 0.22) 78%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 0;
  }
}

/* Oversized watermark — texture, not a box */
.glance-spec__column--sources::after {
  content: "01";
}

.glance-spec__column--returns::after {
  content: "02";
}

.glance-spec__column--tax::after {
  content: "03";
}

.glance-spec__column::after {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4.25rem, 14vw, 7.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--navy-900);
  opacity: 0.045;
  position: absolute;
  right: 0.15rem;
  top: 0.15rem;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.glance-spec__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
}

.glance-spec__column--sources .glance-spec__head {
  border-bottom: 2px solid var(--green-600);
}

.glance-spec__column--returns .glance-spec__head {
  border-bottom: 2px solid var(--gold-500);
}

.glance-spec__column--tax .glance-spec__head {
  border-bottom: 2px solid var(--navy-800);
}

.glance-spec__idx {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.glance-spec__label {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.2;
}

.glance-spec__rows {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.glance-spec__rows li {
  margin: 0;
  padding: 0.62rem 0 0.62rem 0.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
  border-bottom: 1px solid rgba(12, 33, 63, 0.075);
  border-left: 3px solid transparent;
  transition:
    padding-left 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    border-left-color 0.28s ease;
}

.glance-spec__rows li:last-child {
  border-bottom: none;
}

.glance-spec__rows li:hover {
  color: var(--navy-900);
  padding-left: 0.65rem;
  border-left-color: var(--gold-500);
}

@media (prefers-reduced-motion: reduce) {
  .glance-spec__rows li {
    transition: none;
  }

  .glance-spec__rows li:hover {
    padding-left: 0.2rem;
    border-left-color: transparent;
    color: var(--color-ink-muted);
  }
}

/* Investment structure table */
.structure-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 900px) {
  .structure-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.structure-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .structure-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.structure-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.structure-col h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-emerald-mid);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.structure-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.structure-col li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
}

.structure-col li:last-child {
  border-bottom: none;
}

/* Steps list */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 40rem;
}

.steps-list li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-ink-muted);
}

.steps-list li:first-child {
  padding-top: 0;
}

.steps-list strong {
  color: var(--color-ink);
}

.deadline-bar {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--blue-50);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

/* Home: “Four steps” + milestones — dark section, no light “card” bar */
.section--invest-flow .invest-steps {
  list-style: none;
  margin: 0 auto var(--space-sm);
  padding: 0;
  max-width: 56rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .section--invest-flow .invest-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1rem, 2.5vw, 1.65rem);
    row-gap: 0;
  }
}

.invest-steps__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.invest-steps__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0 0 0.35rem;
}

.invest-steps__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.invest-steps__item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .invest-steps__item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .invest-steps__item:nth-child(odd) {
    padding-right: clamp(0.35rem, 1.5vw, 1rem);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .invest-steps__item:nth-child(even) {
    padding-left: clamp(0.35rem, 1.5vw, 1rem);
  }
}

.invest-steps__copy {
  margin: 0;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.86);
}

.invest-milestones {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding: var(--space-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .invest-milestones {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    text-align: center;
    padding: var(--space-md) 0;
  }
}

.invest-milestones__item {
  position: relative;
  padding: 0.35rem 0;
}

@media (min-width: 640px) {
  .invest-milestones__item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(201, 165, 58, 0.55) 30%,
      rgba(201, 165, 58, 0.55) 70%,
      transparent
    );
  }
}

.invest-milestones__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.28rem;
}

.invest-milestones__value {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.section--invest-flow .invest-ctas {
  margin-top: var(--space-md);
  justify-content: center;
}

/* Compare columns */
.compare-wrap {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .compare-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

.compare-box {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
}

.compare-box--muted {
  background: var(--blue-100);
}

.compare-box--accent {
  background: var(--blue-50);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--green-600);
}

.compare-box h3 {
  margin-bottom: var(--space-md);
}

.compare-box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-ink-muted);
}

.compare-box li {
  margin-bottom: 0.5rem;
}

/* Data table */
.table-wrap {
  overflow-x: auto;
  margin-top: var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th {
  background: var(--blue-100);
  font-weight: 500;
  color: var(--navy-900);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table .star {
  color: var(--gold-500);
  font-weight: 500;
}

/* Modular comparison table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.spec-table th,
.spec-table td {
  padding: 0.65rem var(--space-sm);
  border: 1px solid var(--color-border);
  text-align: left;
}

.spec-table thead th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 500;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--blue-50);
}

@media (max-width: 559px) {
  .spec-table {
    font-size: 0.78rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.5rem 0.4rem;
  }
}

/* Pillars */
.pillars {
  counter-reset: pillar;
  display: grid;
  gap: var(--space-lg);
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: start;
}

.pillar::before {
  counter-increment: pillar;
  content: counter(pillar);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar h3 {
  margin-bottom: var(--space-xs);
}

/* Team */
.team-block {
  margin-bottom: var(--space-xl);
}

.team-block:last-child {
  margin-bottom: 0;
}

.person {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.person:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.person h3 {
  font-size: 1.2rem;
}

.person .role {
  font-size: 0.9rem;
  color: var(--color-emerald-mid);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--space-xl) clamp(1rem, 4vw, 2rem);
}

.cta-band .btn-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--link-on-dark);
}

.site-footer a:hover {
  color: var(--link-on-dark-hover);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: minmax(17rem, 1.5fr) 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
  }
}

.site-footer h3 {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer li a {
  text-decoration: none;
}

.site-footer li a:hover {
  text-decoration: underline;
  color: var(--link-on-dark-hover);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.footer-logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.footer-logo:hover,
.footer-logo:focus-visible {
  opacity: 0.92;
}

.footer-logo:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 4px;
}

.footer-logo__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: min(340px, 88vw);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.footer-social--after-cta {
  justify-content: flex-start;
  margin-top: var(--space-md);
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  color: var(--gold-400);
  background: rgba(212, 181, 75, 0.1);
  border: 1px solid rgba(212, 181, 75, 0.35);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.footer-social__link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-brand {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.footer-tag {
  max-width: 28rem;
  line-height: 1.55;
}

.footer-legal {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-legal p {
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}

.footer-meta {
  margin-top: var(--space-md);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Util */
.text-center {
  text-align: center;
}

.max-65 {
  max-width: 65ch;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mt-0 {
  margin-top: 0;
}

/* -------- Motion: scroll reveal, hero entrance, accents -------- */
@keyframes rise-fade {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal-stagger].is-revealed > * {
  opacity: 1;
  transform: none;
  will-change: auto;
}

[data-reveal-stagger].is-revealed > *:nth-child(1) {
  transition-delay: 0.05s;
}

[data-reveal-stagger].is-revealed > *:nth-child(2) {
  transition-delay: 0.11s;
}

[data-reveal-stagger].is-revealed > *:nth-child(3) {
  transition-delay: 0.17s;
}

[data-reveal-stagger].is-revealed > *:nth-child(4) {
  transition-delay: 0.23s;
}

[data-reveal-stagger].is-revealed > *:nth-child(5) {
  transition-delay: 0.29s;
}

[data-reveal-stagger].is-revealed > *:nth-child(6) {
  transition-delay: 0.35s;
}

[data-reveal-stagger].is-revealed > *:nth-child(7) {
  transition-delay: 0.41s;
}

[data-reveal-stagger].is-revealed > *:nth-child(8) {
  transition-delay: 0.47s;
}

[data-reveal-stagger].is-revealed > *:nth-child(9) {
  transition-delay: 0.53s;
}

[data-reveal-stagger].is-revealed > *:nth-child(10) {
  transition-delay: 0.59s;
}

[data-reveal-stagger].is-revealed > *:nth-child(11) {
  transition-delay: 0.65s;
}

[data-reveal-stagger].is-revealed > *:nth-child(12) {
  transition-delay: 0.71s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero--home .hero__copy > * {
    animation: rise-fade 0.88s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .page-home .hero--home .hero__copy .hero-pill {
    animation-delay: 0.06s;
  }

  .page-home .hero--home .hero__copy .hero-title {
    animation-delay: 0.13s;
  }

  .page-home .hero--home .hero__copy .lead {
    animation-delay: 0.21s;
  }

  .page-home .hero--home .hero__copy .btn-row {
    animation-delay: 0.29s;
  }

  .page-home .hero--home .hero__visual--art {
    animation: rise-fade 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.24s backwards;
  }

  main .hero--page .wrap > * {
    animation: rise-fade 0.78s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  main .hero--page .wrap > *:nth-child(1) {
    animation-delay: 0.05s;
  }

  main .hero--page .wrap > *:nth-child(2) {
    animation-delay: 0.12s;
  }

  main .hero--page .wrap > *:nth-child(3) {
    animation-delay: 0.19s;
  }

  main .hero--page .wrap > *:nth-child(4) {
    animation-delay: 0.26s;
  }

  main .hero--page .wrap > *:nth-child(5) {
    animation-delay: 0.33s;
  }
}

/* Inner page panels — subtle hover lift (pairs with scroll stagger) */
@media (prefers-reduced-motion: no-preference) {
  .structure-col {
    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease,
      border-color 0.35s ease;
  }

  .structure-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 33, 63, 0.09);
    border-color: rgba(26, 107, 85, 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover,
  .btn--secondary:hover {
    transform: none;
  }

  .btn--primary:hover {
    box-shadow: 0 2px 10px rgba(5, 19, 33, 0.18);
  }

  main .hero--page .wrap > *,
  .page-home .hero--home .hero__copy > *,
  .page-home .hero--home .hero__visual--art {
    animation: none;
  }

  .structure-col:hover {
    transform: none;
  }
}
