/* ============================================================
   PHILENTRUST LLC — style.css
   Type scale, spacing, and all component styles
   ============================================================ */

:root {
  /* Type scale (fluid) */
  --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);

  /* 4px spacing 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;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.container-wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

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

.section--navy {
  background: var(--navy);
  color: var(--color-text-inverse);
}

[data-theme='dark'] .section--navy {
  background: var(--navy-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

[data-theme='dark'] .eyebrow {
  color: var(--green-soft);
}

.section--navy .eyebrow {
  color: var(--gold-soft);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
}

.section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
  max-width: 20ch;
}

.section--navy .section-title {
  color: var(--color-text-inverse);
}

.section-lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.65;
}

.section--navy .section-lead {
  color: rgba(250, 249, 246, 0.78);
}

.section-head {
  max-width: 60ch;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: top var(--transition-interactive);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ============================================================
   Header / Nav
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive),
    background var(--transition-interactive);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.header__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo__wordmark span {
  color: var(--green);
}

[data-theme='dark'] .logo__wordmark span {
  color: var(--green-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav__link {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav__link.is-active {
  color: var(--navy);
  font-weight: 600;
}

[data-theme='dark'] .nav__link.is-active {
  color: var(--navy-soft);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile menu toggle */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.nav__toggle:hover {
  background: var(--color-surface-offset);
}

.nav__toggle-icon {
  width: 18px;
  height: 14px;
  position: relative;
}

.nav__toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-interactive);
}

.nav__toggle-icon span:nth-child(1) { top: 0; }
.nav__toggle-icon span:nth-child(2) { top: 6px; }
.nav__toggle-icon span:nth-child(3) { top: 12px; }

[aria-expanded='true'] .nav__toggle-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
[aria-expanded='true'] .nav__toggle-icon span:nth-child(2) {
  opacity: 0;
}
[aria-expanded='true'] .nav__toggle-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile nav drawer */
.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-20) var(--space-5) var(--space-6);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
  overflow-y: auto;
}

.nav__drawer.is-open {
  transform: translateX(0);
}

.nav__drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav__drawer-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
}

.nav__drawer-link:hover {
  background: var(--color-surface-offset);
}

.nav__drawer-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
}

.nav__drawer-close:hover {
  background: var(--color-surface-offset);
}

.nav__scrim {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 34, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-interactive), visibility var(--transition-interactive);
  z-index: 55;
}

.nav__scrim.is-open {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1.5px solid transparent;
  line-height: 1.2;
  min-height: 44px;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}

[data-theme='dark'] .btn--primary {
  background: var(--navy);
  color: var(--color-bg);
}

.btn--gold {
  background: var(--gold);
  color: #1f2a37;
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.3);
}

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

.btn--ghost:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-muted);
}

/* Hero & CTA-band ghost button — high-contrast white pill on dark navy background */
.hero .btn--ghost,
.cta-band .btn--ghost {
  color: #1F3A5F;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.94);
}

.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #1F3A5F;
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
}

.btn .arrow {
  transition: transform var(--transition-interactive);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--color-text-inverse);
}

[data-theme='dark'] .hero {
  background: var(--navy-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

[data-theme='dark'] .hero__bg img {
  opacity: 0.32;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(18, 27, 40, 0.92) 0%, rgba(31, 58, 95, 0.7) 45%, rgba(31, 58, 95, 0.25) 100%);
}

[data-theme='dark'] .hero__overlay {
  background:
    linear-gradient(105deg, rgba(10, 16, 24, 0.95) 0%, rgba(22, 41, 63, 0.75) 45%, rgba(22, 41, 63, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-20) var(--space-5);
  width: 100%;
}

.hero__inner {
  max-width: 38rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-5);
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--gold-soft);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
  color: #fff;
}

.hero__title em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--space-8);
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1 1 9rem;
  min-width: 9rem;
}

.hero__trust-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}

.hero__trust-num--county {
  font-size: var(--text-lg);
  white-space: nowrap;
}

.hero__trust-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.brand-inline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ============================================================
   Service cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (max-width: 520px) {
  .hero__trust {
    flex-direction: column;
    gap: var(--space-4);
  }
  .hero__trust-item {
    min-width: 0;
  }
}

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--service-accent, var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-interactive);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--service-accent, var(--navy));
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--service-accent, var(--navy)) 12%, transparent);
  color: var(--service-accent, var(--navy));
  margin-bottom: var(--space-5);
}

.service-card__num {
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-faint);
  opacity: 0.5;
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__list li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  line-height: 1.5;
}

.service-card__list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--service-accent, var(--navy));
  margin-top: 0.45em;
  flex-shrink: 0;
}

/* Accent variations */
.service-card[data-accent='navy']   { --service-accent: var(--navy); }
.service-card[data-accent='green']  { --service-accent: var(--green); }
.service-card[data-accent='gold']   { --service-accent: var(--gold); }
.service-card[data-accent='green2'] { --service-accent: var(--green-soft); }

/* ============================================================
   Why Philentrust — differentiators
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

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

.why-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.why-item__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--green) 14%, transparent);
  color: var(--green);
  margin-bottom: var(--space-2);
}

[data-theme='dark'] .why-item__icon {
  color: var(--green-soft);
}

.why-item__title {
  font-size: var(--text-lg);
  font-weight: 700;
}

.why-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   Split / editorial layout (About)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.split--reverse .split__media {
  order: 2;
}

@media (min-width: 880px) {
  .split--reverse .split__media {
    order: 0;
  }
}

.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media--trust {
  aspect-ratio: auto;
  background: var(--navy);
  display: flex;
}

[data-theme='dark'] .split__media--trust {
  background: var(--navy-deep);
}

.trust-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  color: #fff;
}

.trust-panel__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.trust-panel__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.trust-panel__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.trust-panel__badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.trust-panel__badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-panel__badge svg {
  color: var(--gold-soft);
  flex-shrink: 0;
}

.trust-panel__note {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-4);
  margin-top: var(--space-2);
}

.split__body p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.split__body p strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Founder card */
.founder {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.founder__avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--navy), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
}

.founder__info .founder__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.founder__info .founder__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Mission quote */
.mission {
  position: relative;
  padding: var(--space-8) var(--space-6);
  border-left: 3px solid var(--gold);
  background: var(--color-surface-offset);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-top: var(--space-6);
}

.mission p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
}

.mission cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

/* ============================================================
   Process steps (SOP)
   ============================================================ */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  counter-reset: step;
}

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

@media (min-width: 1100px) {
  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  counter-increment: step;
}

.process-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

[data-theme='dark'] .process-step__num {
  background: var(--navy);
  color: var(--color-bg);
}

.process-step__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.process-step__list {
  list-style: none;
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.process-step__list li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-2);
  line-height: 1.5;
}

.process-step__list li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   Compliance readiness checklist
   ============================================================ */
.compliance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 46rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
}

.checklist__item:hover {
  border-color: var(--green);
  transform: translateX(4px);
}

.checklist__check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--green) 15%, transparent);
  color: var(--green);
  margin-top: 2px;
}

[data-theme='dark'] .checklist__check {
  color: var(--green-soft);
}

.checklist__body strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.checklist__body span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.honest-note {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: color-mix(in oklab, var(--gold) 8%, var(--color-surface-offset));
  border: 1px solid color-mix(in oklab, var(--gold) 25%, var(--color-border));
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.honest-note strong {
  color: var(--color-text);
}

/* Compliance visual card */
.compliance-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.compliance-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.compliance-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.compliance-card__stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-divider);
}

.compliance-card__stat:first-of-type {
  border-top: none;
}

.compliance-card__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

[data-theme='dark'] .compliance-card__stat-num {
  color: var(--navy-soft);
}

.compliance-card__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ============================================================
   Community section
   ============================================================ */
.community {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 880px) {
  .community {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.community__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.community__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.community__point {
  display: flex;
  gap: var(--space-4);
}

.community__point-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--gold) 14%, transparent);
  color: var(--gold);
}

.community__point h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.community__point p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--navy) 10%, transparent);
  color: var(--navy);
}

[data-theme='dark'] .contact-detail__icon {
  color: var(--navy-soft);
}

.contact-detail__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-detail__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

.contact-detail__value a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--navy) 30%, transparent);
}

[data-theme='dark'] .contact-detail__value a {
  color: var(--navy-soft);
}

.contact-detail__value a:hover {
  border-bottom-color: var(--navy);
}

/* Form */
.form {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.form__group {
  margin-bottom: var(--space-5);
}

.form__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form__label .req {
  color: var(--gold);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-height: 44px;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--navy) 15%, transparent);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c6470' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 560px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.form__success.is-visible {
  display: block;
}

.form__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--green) 15%, transparent);
  color: var(--green);
}

.form__success h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.form__success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.5;
  margin-top: var(--space-4);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

[data-theme='dark'] .cta-band {
  background: var(--navy-deep);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  max-width: 48rem;
  margin-inline: auto;
}

.cta-band__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.cta-band__sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Decorative arch pattern */
.cta-band__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 50% 100%, rgba(184, 134, 11, 0.4) 0%, transparent 60%);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
}

[data-theme='dark'] .footer {
  background: #0d141d;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer__main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-12);
  }
}

.footer__brand .logo {
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 32ch;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.footer__social-link svg {
  color: var(--gold-soft);
  flex-shrink: 0;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
}

.footer__disclosures {
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__disclosures p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  max-width: 80ch;
}

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

.footer__disclosures strong {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.footer__disclosures a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.footer__disclosures a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: #fff;
}

/* ============================================================
   Scroll reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay='1'] { transition-delay: 80ms; }
.reveal[data-delay='2'] { transition-delay: 160ms; }
.reveal[data-delay='3'] { transition-delay: 240ms; }
.reveal[data-delay='4'] { transition-delay: 320ms; }

/* ============================================================
   In-page disclaimer box (for compliance section)
   ============================================================ */
.disclaimer-box {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: color-mix(in oklab, var(--gold) 7%, var(--color-surface-offset));
  border: 1px solid color-mix(in oklab, var(--gold) 22%, var(--color-border));
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-top: var(--space-6);
}

.disclaimer-box svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.disclaimer-box strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-8 { margin-top: var(--space-8); }
