/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --bg:           oklch(0.99 0.003 248);
  --surface:      oklch(0.97 0.004 248);
  --surface-2:    oklch(0.94 0.006 248);
  --navy:         oklch(0.24 0.085 245);
  --navy-dark:    oklch(0.16 0.065 245);
  --navy-mid:     oklch(0.32 0.075 245);
  --gold:         oklch(0.71 0.130 76);
  --gold-light:   oklch(0.81 0.105 76);
  --gold-dark:    oklch(0.60 0.115 76);
  --ink:          oklch(0.18 0.030 245);
  --ink-muted:    oklch(0.42 0.038 245);
  --ink-faint:    oklch(0.60 0.025 245);
  --border:       oklch(0.91 0.010 248);
  --border-mid:   oklch(0.84 0.016 248);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:  72px;
  --wrap:   1200px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.4, 0, 0.2, 1);

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-pill: 9999px;

  --shadow-btn: 0 4px 14px oklch(0.16 0.065 245 / 0.18);
  --shadow-card: 0 2px 12px oklch(0.16 0.065 245 / 0.08);
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ============================================================
   LAYOUT
============================================================ */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

.t-hero    { font-size: clamp(2.625rem, 6vw, 5.25rem); letter-spacing: -0.025em; }
.t-section { font-size: clamp(1.875rem, 4vw, 3rem);    letter-spacing: -0.02em; }
.t-sub     { font-size: clamp(1.25rem, 2.5vw, 1.875rem); letter-spacing: -0.018em; }
.t-card    { font-size: clamp(1.125rem, 2vw, 1.375rem);  letter-spacing: -0.015em; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75em 1.75em;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    background  0.2s var(--ease-out),
    color       0.2s var(--ease-out),
    box-shadow  0.2s var(--ease-out),
    transform   0.15s var(--ease-out);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-btn); }

.btn-ghost-white {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.42);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.72);
}

.btn-ghost-navy {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost-navy:hover {
  background: var(--navy); color: white;
  box-shadow: var(--shadow-btn);
}

.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-mid); box-shadow: var(--shadow-btn); }

.btn-lg { padding: 0.9em 2.25em; font-size: 0.9375rem; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.nav.is-solid {
  background: white;
  box-shadow: 0 1px 0 var(--border);
}

.nav.nav--light {
  background: white;
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  background: white;
  border-radius: 6px;
  padding: 4px 10px;
  transition: box-shadow 0.2s;
}
.nav__brand:hover { box-shadow: 0 2px 12px oklch(0.24 0.085 245 / 0.15); }

.nav__logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.625rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav.is-solid .nav__link,
.nav.nav--light .nav__link { color: var(--ink-muted); }

.nav__link:hover { color: white; }
.nav.is-solid .nav__link:hover,
.nav.nav--light .nav__link:hover { color: var(--navy); }

.nav__link.is-active { color: white; }
.nav.is-solid .nav__link.is-active,
.nav.nav--light .nav__link.is-active { color: var(--navy-dark); font-weight: 600; }

.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: var(--r-pill);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  flex-shrink: 0;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s;
}
.nav__phone:hover { color: var(--gold-light); }

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: var(--r-pill);
  background: white;
  transition: background 0.3s;
}
.nav.is-solid .nav__menu-btn span,
.nav.nav--light .nav__menu-btn span { background: var(--ink); }

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: white;
  z-index: 199;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
  overflow-y: auto;
}

.nav__mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav__mobile-link:hover { color: var(--navy); }
.nav__mobile-link.is-active { color: var(--navy-dark); font-weight: 600; }

.nav__mobile-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: var(--navy-dark);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(0.36 0.06 245 / 0.28) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.36 0.06 245 / 0.28) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 60%, black 30%, transparent 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 10%, oklch(0.71 0.13 76 / 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 90%, oklch(0.32 0.07 245 / 0.5) 0%, transparent 65%);
}

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

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: oklch(0.58 0.04 248);
}

.page-hero__breadcrumb a {
  color: oklch(0.58 0.04 248);
  transition: color 0.2s;
}
.page-hero__breadcrumb a:hover { color: var(--gold-light); }

.page-hero__breadcrumb span { color: oklch(0.48 0.04 248); }

.page-hero__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.page-hero__label-rule {
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.page-hero__label-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero__title {
  color: white;
  margin-bottom: 1rem;
}

.page-hero__desc {
  font-size: 1.0625rem;
  color: oklch(0.76 0.025 248);
  max-width: 58ch;
  line-height: 1.72;
  text-wrap: pretty;
}

/* ============================================================
   SECTION SPACING
============================================================ */
.section { padding: 5.5rem 0; }
.section--dark { background: var(--navy-dark); }
.section--navy { background: var(--navy); }
.section--surface { background: var(--surface); }
.section--surface-2 { background: var(--surface-2); }

.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-title { margin-bottom: 1rem; }

.section-lead {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 60ch;
  text-wrap: pretty;
}

.section-lead--center {
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  background: var(--navy-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(0.34 0.065 245 / 0.22) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.34 0.065 245 / 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 10%, transparent 100%);
}

.cta-band__content { position: relative; z-index: 1; }

.cta-band__title {
  color: white;
  margin-bottom: 1rem;
}

.cta-band__body {
  font-size: 1.0625rem;
  color: oklch(0.74 0.028 248);
  max-width: 50ch;
  margin: 0 auto 2.25rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   CREDENTIALS BAR
============================================================ */
.creds {
  background: var(--navy);
  padding: 2.5rem 0;
}

.creds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.creds__item {
  text-align: center;
  padding: 1rem 1.25rem;
  position: relative;
}

.creds__item + .creds__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: oklch(0.40 0.06 245);
}

.creds__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.creds__label {
  font-size: 0.8125rem;
  color: oklch(0.72 0.03 248);
}

/* ============================================================
   PROSE (privacy / terms / long-form)
============================================================ */
.prose {
  max-width: 72ch;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.78;
}

.prose h2 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--navy-dark);
  margin: 2.5rem 0 0.875rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.prose h2:first-child { margin-top: 0; border-top: none; }

.prose h3 {
  font-size: 1.125rem;
  color: var(--navy-dark);
  margin: 1.75rem 0 0.5rem;
}

.prose p { margin-bottom: 1rem; color: var(--ink-muted); }

.prose ul, .prose ol {
  margin: 0.75rem 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li { color: var(--ink-muted); }

.prose strong { color: var(--ink); font-weight: 600; }

.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-dark); }

.prose .note {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.prose-last-updated {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-bottom: 2.5rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: oklch(0.12 0.048 245);
  padding: 4rem 0 2rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid oklch(0.20 0.058 245);
}

.footer__logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  background: white;
  border-radius: 8px;
  padding: 8px 12px;
  object-fit: contain;
}

.footer__desc {
  font-size: 0.8125rem;
  color: oklch(0.52 0.04 248);
  line-height: 1.72;
  max-width: 30ch;
  text-wrap: pretty;
  margin-bottom: 1.25rem;
}

.footer__phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

.footer__col-head {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: oklch(0.50 0.04 248);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.8125rem;
  color: oklch(0.62 0.038 248);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--gold-light); }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.75rem;
  color: oklch(0.42 0.038 248);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: 0.75rem;
  color: oklch(0.42 0.038 248);
  transition: color 0.2s;
}

.footer__legal-link:hover { color: oklch(0.62 0.038 248); }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.has-js [data-reveal].visible {
  opacity: 1;
  transform: none;
}

.has-js [data-reveal="fade"] { transform: none; }

.has-js .stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.has-js .stagger.visible > *:nth-child(1) { transition-delay:   0ms; }
.has-js .stagger.visible > *:nth-child(2) { transition-delay:  80ms; }
.has-js .stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.has-js .stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.has-js .stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.has-js .stagger.visible > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .has-js [data-reveal],
  .has-js .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .nav__links { gap: 1.125rem; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav__links, .nav__phone { display: none; }
  .nav__menu-btn { display: flex; }
  .creds__grid { grid-template-columns: 1fr 1fr; }
  .creds__item:nth-child(3)::before { display: none; }
  .footer__main { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 3.5rem 0; }
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) 0 2.5rem; }
}

@media (max-width: 540px) {
  .creds__grid { grid-template-columns: 1fr; }
  .creds__item + .creds__item::before { display: none; }
  .cta-band__actions { flex-direction: column; align-items: center; }
}
