:root {
  --hero-dark: #0f1117;
  --hero-dark-elevated: #161922;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-alt: #e8edf5;
  --text: #1e293b;
  --heading: #0f1117;
  --muted: #475569;
  --border: #d4dce8;
  --accent-amber: #f5a623;
  --accent-amber-hover: #ffb833;
  --accent-on-dark: #fbbf24;
  --footer-text: rgba(255, 255, 255, 0.72);
  /* Inner-page cards (same family as homepage hero, no white surfaces) */
  --card-dark: #1a1d27;
  --card-dark-alt: #22262f;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-amber);
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

a:hover {
  color: #d97706;
}

.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.section {
  padding: 5.5rem 0;
}

/* Avoid doubling vertical padding when hero + section share a class */
section.hero.section {
  padding-top: 5.25rem;
  padding-bottom: 5.25rem;
}

.section.page-intro {
  padding-top: 4.5rem;
  padding-bottom: 3.75rem;
}

.section-muted {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Header — light, crisp */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 0.2rem 0;
}

.site-nav a[aria-current="page"] {
  color: var(--heading);
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--heading);
}

.site-nav a.button,
.site-nav a.button.button-sm {
  color: var(--hero-dark);
  font-weight: 700;
}

.site-nav a.button:hover,
.site-nav a.button.button-sm:hover {
  color: var(--hero-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  border-radius: 0.65rem;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 0;
  color: var(--heading);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin-bottom: 1.1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.2rem;
  max-width: 52ch;
  font-weight: 500;
  color: var(--text);
}

/* ——— Hero (index): dark band only ——— */
.hero {
  background: var(--hero-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero .hero-panel h1 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero .hero-panel > p:not(.eyebrow):not(.trust-line):not(.hero-note) {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
}

.trust-line {
  margin-top: 1.35rem;
  margin-bottom: 0;
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  word-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.75;
}

.trust-line::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-amber);
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Solid amber CTAs on dark hero */
.hero .button {
  border: none;
  background: var(--accent-amber);
  color: var(--hero-dark);
  padding: 0.85rem 1.35rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hero .button:hover {
  background: var(--accent-amber-hover);
  color: var(--hero-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
}

.hero .button-secondary {
  background: #ffffff;
  color: var(--hero-dark);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero .button-secondary:hover {
  background: #f8fafc;
  color: var(--hero-dark);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 1.35rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
}

.hero-note a {
  color: var(--accent-on-dark);
  font-weight: 600;
}

.hero-note a:hover {
  color: #fde68a;
}

/* Proof strip — light pills below hero content (still in hero dark area) */
.process-row {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.process-step {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  color: var(--heading);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Header nav CTA — amber solid */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: none;
  background: var(--accent-amber);
  color: var(--hero-dark);
  padding: 0.72rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
}

.button:hover {
  background: var(--accent-amber-hover);
  color: var(--hero-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--surface);
  color: var(--heading);
  border: 2px solid var(--border);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--surface-alt);
  border-color: #c5cedc;
  color: var(--heading);
}

.button-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
}

/* Inner pages: dark page intro band (visual hierarchy, matches hero) */
.page-intro {
  margin-bottom: 0;
  background: var(--hero-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-intro h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  margin-bottom: 0.65rem;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 42ch;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 2px 12px rgba(15, 17, 23, 0.06);
}

.card h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
}

.clean-list {
  margin: 0;
  padding-left: 1.25rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.note {
  margin-top: 1.35rem;
  color: var(--heading);
  font-weight: 600;
  font-size: 1.02rem;
}

.faq-list {
  display: grid;
  gap: 1.25rem;
}

.legal p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

/* Footer — dark, minimal */
.site-footer {
  border-top: none;
  margin-top: 0;
  padding: 2.75rem 0 2.25rem;
  background: var(--hero-dark);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.site-footer p:not(.footer-brand):not(.copyright) {
  color: var(--footer-text);
  margin-bottom: 0.25rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
}

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

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-on-dark);
}

.copyright {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.45);
}

.copyright {
  margin-bottom: 0;
}

/* ----- Inner pages — full dark theme (match homepage hero: --hero-dark, white text, amber) ----- */
body.is-subpage {
  background-color: var(--hero-dark);
  color: rgba(255, 255, 255, 0.82);
}

/* Main content shell — same glass panel language as .hero-panel */
.is-subpage main > section.section:not(.page-intro) > .container {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  padding: clamp(1.65rem, 4vw, 2.45rem);
}

.is-subpage .page-intro h1 {
  font-size: clamp(2.4rem, 4.9vw, 3.5rem);
  font-weight: 800;
}

.is-subpage main > section.section:not(.page-intro) h2,
.is-subpage main > section.section:not(.page-intro) h3 {
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.035em;
}

.is-subpage main > section.section:not(.page-intro) h2 {
  font-size: clamp(1.32rem, 2.75vw, 1.68rem);
}

.is-subpage main > section.section:not(.page-intro) p {
  color: rgba(255, 255, 255, 0.74);
}

.is-subpage main > section.section:not(.page-intro) a:hover {
  color: var(--accent-on-dark);
}

.is-subpage .card h2 {
  font-weight: 800;
  color: #ffffff;
}

.is-subpage .note {
  color: rgba(255, 255, 255, 0.88);
}

.is-subpage .clean-list li {
  color: rgba(255, 255, 255, 0.74);
}

/* FAQ — alternating dark cards (no white) */
.is-subpage .faq-list {
  gap: 1rem;
}

.is-subpage .faq-list > article.card:nth-child(odd) {
  background-color: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.is-subpage .faq-list > article.card:nth-child(even) {
  background-color: var(--card-dark-alt);
  border-color: rgba(255, 255, 255, 0.1);
}

.is-subpage .faq-list > article.card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.is-subpage .faq-list > article.card p {
  color: rgba(255, 255, 255, 0.72);
}

/* How It Works — numbered steps as dark cards + amber spine */
.is-subpage .steps > li.card {
  background: var(--card-dark);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--accent-amber);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  padding: 1.5rem 1.65rem;
}

.is-subpage .steps > li.card h2 {
  font-size: clamp(1.28rem, 2.6vw, 1.55rem);
  color: #ffffff;
}

.is-subpage .steps > li.card p {
  color: rgba(255, 255, 255, 0.72);
}

/* About / Contact / Legal — single dark card */
.is-subpage main > section.section:not(.page-intro) > .container > article.card {
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent-amber);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.is-subpage main > section.section:not(.page-intro) > .container > article.card p {
  color: rgba(255, 255, 255, 0.74);
}

.is-subpage main > section.section:not(.page-intro) > .container > article.card h2 {
  color: #ffffff;
}

.is-subpage main > section.section:not(.page-intro) > .container > article.card a {
  color: var(--accent-on-dark);
}

@media (max-width: 900px) {
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  section.hero.section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section.page-intro {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 4.6rem;
    right: 1.25rem;
    left: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
    box-shadow: 0 16px 40px rgba(15, 17, 23, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a.button {
    justify-content: center;
  }
}
