/* style.css — Direct Path Real Estate design system + components */

/* ============ FONTS ============ */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800&f[]=satoshi@400,500,700&display=swap');

/* ============ DESIGN TOKENS ============ */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 1rem + 5.5vw, 5.5rem);

  /* Spacing (4px system) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1220px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Georgia', serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

/* ============ LIGHT MODE (default) ============ */
:root,
[data-theme='light'] {
  --color-bg: #fbf9f4;
  --color-surface: #ffffff;
  --color-surface-2: #fdfbf7;
  --color-surface-offset: #f2ede2;
  --color-surface-offset-2: #e9e1cd;
  --color-surface-dynamic: #ded2b4;
  --color-divider: #e5dcc7;
  --color-border: #d8ccae;

  --color-text: #14233d;
  --color-text-muted: #556074;
  --color-text-faint: #9aa3b4;
  --color-text-inverse: #fbf9f4;

  /* Navy — headings, dark surfaces, header/footer */
  --color-navy: #14233d;
  --color-navy-deep: #0a1729;
  --color-navy-soft: #24354f;

  /* Primary accent — warm gold (CTAs, links, highlights) */
  --color-primary: #a9803f;
  --color-primary-hover: #8a6931;
  --color-primary-active: #6f5527;
  --color-primary-highlight: #ecdfc0;

  --color-warning: #964219;
  --color-warning-highlight: #ddcfc6;
  --color-error: #a12c40;
  --color-error-hover: #7d1e30;
  --color-error-highlight: #e6d2d5;
  --color-success: #3c6e2e;
  --color-success-highlight: #d7e2cd;

  --shadow-sm: 0 1px 2px oklch(0.2 0.03 250 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.2 0.03 250 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.03 250 / 0.16);
}

/* ============ DARK MODE ============ */
[data-theme='dark'] {
  --color-bg: #0a1220;
  --color-surface: #101b2c;
  --color-surface-2: #142235;
  --color-surface-offset: #182842;
  --color-surface-offset-2: #1e3050;
  --color-surface-dynamic: #274063;
  --color-divider: #22334f;
  --color-border: #2b3f5e;

  --color-text: #e8ebf0;
  --color-text-muted: #9fb0c4;
  --color-text-faint: #67788f;
  --color-text-inverse: #0a1220;

  --color-navy: #0a1220;
  --color-navy-deep: #060c16;
  --color-navy-soft: #14223a;

  --color-primary: #d9ae63;
  --color-primary-hover: #e8c280;
  --color-primary-active: #f2d6a0;
  --color-primary-highlight: #3a3120;

  --color-warning: #c98a5e;
  --color-warning-highlight: #4a382c;
  --color-error: #d97a8c;
  --color-error-hover: #e296a4;
  --color-error-highlight: #452b32;
  --color-success: #8bbf72;
  --color-success-highlight: #2c3a24;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a1220;
    --color-surface: #101b2c;
    --color-surface-2: #142235;
    --color-surface-offset: #182842;
    --color-surface-offset-2: #1e3050;
    --color-surface-dynamic: #274063;
    --color-divider: #22334f;
    --color-border: #2b3f5e;
    --color-text: #e8ebf0;
    --color-text-muted: #9fb0c4;
    --color-text-faint: #67788f;
    --color-text-inverse: #0a1220;
    --color-navy: #0a1220;
    --color-navy-deep: #060c16;
    --color-navy-soft: #14223a;
    --color-primary: #d9ae63;
    --color-primary-hover: #e8c280;
    --color-primary-active: #f2d6a0;
    --color-primary-highlight: #3a3120;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
  }
}

/* ============ TYPE ============ */
body {
  font-family: var(--font-body);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}
[data-theme='dark'] h1,
[data-theme='dark'] h2,
[data-theme='dark'] h3,
[data-theme='dark'] h4 {
  color: var(--color-text);
}
.text-adaptive {
  color: var(--color-navy);
}
[data-theme='dark'] .text-adaptive {
  color: var(--color-text);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) h1,
  :root:not([data-theme]) h2,
  :root:not([data-theme]) h3,
  :root:not([data-theme]) h4 {
    color: var(--color-text);
  }
}
p {
  color: var(--color-text-muted);
}
a {
  color: var(--color-primary);
  text-decoration: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

/* ============ LAYOUT HELPERS ============ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-default);
}
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.section--navy {
  background: var(--color-navy);
  color: var(--color-text-inverse);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--color-text-inverse);
}
.section--navy p {
  color: color-mix(in oklab, var(--color-text-inverse) 72%, transparent);
}
.section--offset {
  background: var(--color-surface-offset);
}
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-12);
}
.section-head h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-3);
}
.section-head p {
  margin-top: var(--space-4);
  font-size: var(--text-base);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-navy-deep);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid color-mix(in oklab, currentColor 35%, transparent);
  color: inherit;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-navy {
  background: var(--color-navy);
  color: var(--color-text-inverse);
}
.btn-navy:hover {
  background: var(--color-navy-soft);
}
.btn--block {
  width: 100%;
}
.btn--lg {
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-base);
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.brand img {
  height: 42px;
  width: auto;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  line-height: 1.1;
  color: var(--color-navy);
}
[data-theme='dark'] .brand-word {
  color: var(--color-text);
}
.brand-word span {
  color: var(--color-primary);
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}
.nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--color-primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--color-surface-offset);
}
.phone-link {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}
[data-theme='dark'] .phone-link {
  color: var(--color-text);
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .phone-link {
    display: flex;
  }
}
.menu-toggle {
  display: inline-flex;
  color: var(--color-text);
}
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}
.header-actions .btn.btn-primary {
  display: none;
}
@media (min-width: 1024px) {
  .header-actions .btn.btn-primary {
    display: inline-flex;
  }
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) 0 var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: var(--space-3) var(--space-2);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  border-radius: var(--radius-md);
}
.mobile-nav a:hover {
  background: var(--color-surface-offset);
}
@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--color-navy-deep);
  color: var(--color-text-inverse);
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero--compact {
  min-height: 52vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--color-navy-deep) 78%, transparent) 0%,
    color-mix(in oklab, var(--color-navy-deep) 92%, transparent) 55%,
    var(--color-navy-deep) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  max-width: 760px;
}
.hero-content .eyebrow {
  color: var(--color-primary);
}
.hero-content h1 {
  font-size: var(--text-hero);
  color: #fff;
  margin-top: var(--space-4);
}
.hero-content h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.hero-content p {
  font-size: var(--text-lg);
  color: color-mix(in oklab, white 78%, transparent);
  margin-top: var(--space-6);
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-12);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in oklab, white 60%, transparent);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-trust svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Page hero (non-home pages) */
.page-hero {
  background: var(--color-navy-deep);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
}
.page-hero h1 {
  color: #fff;
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
}
.page-hero p {
  color: color-mix(in oklab, white 75%, transparent);
  margin-top: var(--space-4);
  max-width: 60ch;
  font-size: var(--text-base);
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}
.trust-bar .grid {
  gap: var(--space-6);
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.trust-item .num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-navy);
  font-weight: 800;
}
[data-theme='dark'] .trust-item .num {
  color: var(--color-text);
}
.trust-item .label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============ CARDS ============ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.card p {
  font-size: var(--text-sm);
}

.situation-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.situation-card .card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
}
.situation-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.situation-card p {
  font-size: var(--text-sm);
  margin: 0;
}

/* ============ STEPS ============ */
.steps {
  display: grid;
  gap: var(--space-8);
  counter-reset: step;
}
@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  position: relative;
  padding-top: var(--space-4);
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary-highlight);
  -webkit-text-stroke: 1.5px var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.step h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
}

/* ============ PATH DIVIDER (brand motif) ============ */
.path-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-block: var(--space-8);
  color: var(--color-primary);
}
.path-divider::before,
.path-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border));
}
.path-divider::after {
  background: linear-gradient(90deg, var(--color-border), transparent);
}

/* ============ COMPARISON TABLE ============ */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.compare th,
.compare td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
}
.compare thead th {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  background: var(--color-navy);
  color: #fff;
}
.compare thead th:first-child {
  background: var(--color-navy);
}
.compare tbody tr:last-child td {
  border-bottom: none;
}
.compare td.yes {
  color: var(--color-success);
  font-weight: 700;
}
.compare td.no {
  color: var(--color-text-muted);
}
.compare th.highlight,
.compare td.highlight {
  background: var(--color-primary-highlight);
}

/* ============ FAQ ACCORDION ============ */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-navy);
}
[data-theme='dark'] .faq-q {
  color: var(--color-text);
}
.faq-q svg {
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
  color: var(--color-primary);
}
.faq-item.is-open .faq-q svg {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-a p {
  padding-bottom: var(--space-6);
  font-size: var(--text-sm);
  max-width: 68ch;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--color-navy-deep), var(--color-navy-soft));
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.cta-banner h2 {
  color: #fff;
  font-size: var(--text-xl);
  max-width: 32ch;
}
.cta-banner p {
  color: color-mix(in oklab, white 75%, transparent);
  margin-top: var(--space-2);
}

/* ============ FORMS ============ */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-md);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field-row {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
fieldset {
  border: none;
}
legend {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  padding: 0;
}
[data-theme='dark'] legend {
  color: var(--color-text);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-navy-deep);
  color: color-mix(in oklab, white 70%, transparent);
  padding-block: var(--space-16) var(--space-8);
}
.footer a {
  color: color-mix(in oklab, white 78%, transparent);
}
.footer a:hover {
  color: var(--color-primary);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-brand-lockup img {
  height: 40px;
  width: auto;
}
.footer-brand-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  line-height: 1.1;
  color: #fff;
}
.footer-brand-word span {
  color: var(--color-primary);
}
.footer-brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, white 55%, transparent);
  font-weight: 500;
  margin-top: 2px;
}
.footer-brand p {
  color: color-mix(in oklab, white 60%, transparent);
  font-size: var(--text-sm);
  max-width: 32ch;
}
.footer h4 {
  color: #fff;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid color-mix(in oklab, white 15%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: color-mix(in oklab, white 50%, transparent);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  font-size: var(--text-xs);
}
.footer-legal a {
  color: color-mix(in oklab, white 55%, transparent);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, white 25%, transparent);
}
.footer-legal a:hover {
  color: var(--color-primary);
}

/* ============ SMS / FORM CONSENT ============ */
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface-offset);
}
.consent-field input[type='checkbox'] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}
.consent-field label {
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
  font-weight: 400;
}
.consent-field a {
  color: var(--color-navy);
  text-decoration: underline;
}
[data-theme='dark'] .consent-field a {
  color: var(--color-primary);
}

/* ============ LEGAL CONTENT ============ */
.legal-content {
  max-width: var(--content-default);
  margin-inline: auto;
}
.legal-content h2 {
  font-size: var(--text-lg);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-size: var(--text-base);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.legal-content ul {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.legal-content li {
  list-style: disc;
}
.legal-content strong {
  color: var(--color-text);
}
.legal-content a {
  color: var(--color-navy);
  text-decoration: underline;
}
[data-theme='dark'] .legal-content a {
  color: var(--color-primary);
}
.legal-updated {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}

/* ============ UTILITIES ============ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-navy-deep);
  padding: var(--space-2) var(--space-4);
  z-index: 100;
  border-radius: var(--radius-md);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.rounded-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.text-center {
  text-align: center;
}
.mt-8 {
  margin-top: var(--space-8);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
