/* =========================================================
   HOME TEAM — Landing Page
   Warm/Aspirational palette (Set A)
   Cream · warm wood · gold accent · deep espresso ink
   ========================================================= */

: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.5rem);
  --text-hero:  clamp(2.5rem, 1.2rem + 5vw, 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;

  /* Warm/aspirational palette — Set A */
  --color-bg:            #FBF7EF;   /* warm cream */
  --color-surface:       #FFFDF7;   /* paper */
  --color-surface-2:     #F5EEE0;   /* soft honey */
  --color-surface-offset:#EFE6D3;   /* warm sand */
  --color-border:        #E4D9C1;
  --color-divider:       #EBE3D0;

  --color-text:          #2A1F0F;   /* deep espresso */
  --color-text-muted:    #6E5F45;
  --color-text-faint:    #A89676;
  --color-text-inverse:  #FFFDF7;

  --color-primary:       #A97426;   /* warm gold — CTA */
  --color-primary-hover: #8D5F1E;
  --color-primary-active:#6F4A17;
  --color-primary-soft:  #F0DFB5;

  --color-ink:           #2A1F0F;   /* dark headings/nav bg */
  --color-ink-hover:     #3F3018;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(42, 31, 15, 0.06);
  --shadow-md: 0 6px 20px rgba(42, 31, 15, 0.09);
  --shadow-lg: 0 20px 50px rgba(42, 31, 15, 0.13);
  --shadow-xl: 0 30px 80px rgba(42, 31, 15, 0.18);

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --font-body: "General Sans", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --content-wide: 1200px;
  --content-default: 1080px;
}

/* Base reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}
img, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--color-text);
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }
p  { text-wrap: pretty; }
a  { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 42ch;
}

/* Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 2px 8px rgba(169, 116, 38, 0.28);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(169, 116, 38, 0.38);
}
.btn-primary:active { transform: translateY(0); background: var(--color-primary-active); }
.btn-full { width: 100%; }
.btn-lg   { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* Nav ----------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav-phone:hover { color: var(--color-primary); }

@media (max-width: 640px) {
  .nav-phone span { display: none; }
  .nav-inner { height: 64px; gap: var(--space-3); }
  /* The full program name is too long for one line here — let it wrap to two
     at a smaller size rather than overflow the fixed-height bar. */
  .logo { font-size: var(--text-sm); line-height: 1.15; min-width: 0; }
  .logo svg { flex-shrink: 0; }
  .nav-right { flex-shrink: 0; }
}

/* HERO ---------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-16) 0 var(--space-24);
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(251, 247, 239, 0.55) 0%,
    rgba(251, 247, 239, 0.70) 30%,
    rgba(251, 247, 239, 0.90) 55%,
    rgba(251, 247, 239, 0.98) 100%
  );
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  min-height: 620px;
}
.hero-content h1 {
  margin: var(--space-3) 0 var(--space-6);
  color: var(--color-ink);
}
.hero-content h1 br { display: block; }
.hero-content .lede strong {
  color: var(--color-ink);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 68%, var(--color-primary-soft) 68%);
  padding: 0 0.15em;
}
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}
.hero-badges svg { width: 14px; height: 14px; color: var(--color-primary); flex-shrink: 0; }

/* FORM CARD ---------------------------------------------- */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  position: relative;
  scroll-margin-top: 100px;
}
.form-header {
  margin-bottom: var(--space-6);
}
.form-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.form-header h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--color-ink);
}
.form-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.apply-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.apply-form[hidden],
.form-success[hidden] { display: none; }
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.field > span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input,
.field select {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 46px;
}
.field input:hover,
.field select:hover {
  border-color: var(--color-text-faint);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(169, 116, 38, 0.14);
}
.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E5F45' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}
.field input.invalid,
.field select.invalid {
  border-color: #B4361B;
  background: #FCF3F1;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  padding: var(--space-3);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}
.consent strong { color: var(--color-text); }
.consent.invalid {
  border: 1px solid #B4361B;
  background: #FCF3F1;
}
/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  font-size: var(--text-sm);
  color: #8E2A15;
  background: #FCF3F1;
  border: 1px solid #E8C4BB;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}
.form-error[hidden] { display: none; }
.form-legal {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

.form-success {
  padding: var(--space-8) var(--space-4);
  text-align: center;
}
.form-success svg {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: var(--space-3);
  border-radius: var(--radius-full);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}
.form-success p { color: var(--color-text-muted); max-width: 36ch; margin: 0 auto; }

/* Hero responsive ---------------------------------------- */
@media (max-width: 960px) {
  .hero { padding: var(--space-6) 0 var(--space-12); }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: var(--space-8);
  }
  .hero-image {
    position: relative;
    height: 260px;
    margin: 0 calc(var(--space-6) * -1) var(--space-4);
    border-radius: 0;
    inset: auto;
  }
  .hero-scrim {
    background: linear-gradient(
      to bottom,
      rgba(251, 247, 239, 0) 0%,
      rgba(251, 247, 239, 0) 55%,
      rgba(251, 247, 239, 0.85) 90%,
      rgba(251, 247, 239, 1) 100%
    );
  }
  .hero-image img { object-position: center 30%; }
  .hero-content { padding-top: 0; }
  .hero-content h1 { font-size: clamp(2.25rem, 8vw, 3rem); }
  .form-card { padding: var(--space-6); }
}
@media (max-width: 480px) {
  .row-2 { grid-template-columns: 1fr; }
  .hero-badges { gap: var(--space-2); }
  .form-card { padding: var(--space-5); }
}

/* THE DEAL ------------------------------------------------ */
.deal {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elev) 100%);
  padding: var(--space-12) 0;
  border-top: 1px solid rgba(42, 31, 15, 0.06);
  border-bottom: 1px solid rgba(42, 31, 15, 0.06);
}
.deal-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.deal-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.deal-copy {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.45;
  color: var(--color-ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.deal-copy strong { font-weight: 600; color: var(--color-primary); }
@media (max-width: 640px) {
  .deal { padding: var(--space-10) 0; }
  .deal-copy { font-size: 1.2rem; line-height: 1.5; }
}

/* TRUST BAR ---------------------------------------------- */
.trust-bar {
  background: var(--color-ink);
  color: var(--color-text-inverse);
  padding: var(--space-8) 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1 1 auto;
  min-width: 140px;
}
.trust-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #F2D897;   /* soft gold on dark */
  letter-spacing: -0.01em;
}
.trust-label {
  font-size: var(--text-xs);
  color: rgba(255, 253, 247, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 253, 247, 0.15);
}
@media (max-width: 780px) {
  .trust-divider { display: none; }
  .trust-inner { gap: var(--space-6); }
  .trust-item { flex-basis: calc(50% - var(--space-3)); min-width: unset; }
}

/* Section head ------------------------------------------- */
.section-head {
  max-width: 40ch;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.section-head h2 { color: var(--color-ink); }
.section-head .section-sub {
  margin-top: var(--space-3);
  color: var(--color-ink-70, #6b5c46);
  font-size: 1.05rem;
  line-height: 1.5;
}
.math-sub-line {
  display: inline-block;
  font-weight: 500;
  font-size: 0.85em;
  opacity: 0.75;
  margin-top: 2px;
}
.lede-list p {
  margin: 0 0 var(--space-3) 0;
}
.lede-list p:last-child {
  margin-bottom: 0;
}
.lede-list strong:first-child {
  color: var(--color-brand, currentColor);
  letter-spacing: 0.01em;
  font-weight: 800;
}

/* HOW IT WORKS ------------------------------------------- */
.how { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.how-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.how-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.how-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.how-card h3 { margin-bottom: var(--space-3); color: var(--color-ink); }
.how-card p  { color: var(--color-text-muted); margin-bottom: var(--space-4); font-size: var(--text-base); }
.how-time {
  font-size: var(--text-xs) !important;
  color: var(--color-text-faint) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 0 !important;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}

/* MATH ---------------------------------------------------- */
.math {
  background: var(--color-surface-2);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}
.math-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.math-left h2 { color: var(--color-ink); margin-bottom: var(--space-6); }
.disclosure {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 40ch;
}
.math-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}
.math-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
}
.math-row:last-of-type { border-bottom: none; }
.math-row span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.math-row strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-ink);
  text-align: right;
}
.math-row-hero {
  background: var(--color-surface-offset);
  margin: var(--space-2) calc(var(--space-6) * -1) var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-bottom: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.math-hero-number {
  font-family: var(--font-display);
  font-size: var(--text-xl) !important;
  font-weight: 600;
  color: var(--color-primary) !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.math-sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
}
@media (max-width: 780px) {
  .math-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* WHO IS THIS FOR ----------------------------------------- */
.who { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}
.who-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.who-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 4px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: 2px;
}
.who-item p { color: var(--color-text); font-size: var(--text-base); margin: 0; }

/* FOUNDER ------------------------------------------------- */
.founder {
  background: var(--color-surface-2);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}
.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-16);
  align-items: center;
}
.founder-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.founder-mark-seal {
  width: 220px;
  height: 220px;
  color: var(--color-primary);
  background: radial-gradient(circle at 30% 30%, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  box-shadow: var(--shadow-md), inset 0 0 40px rgba(169, 116, 38, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-mark-seal svg { width: 100%; height: 100%; }
.founder-mark-caption {
  color: var(--color-text);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.founder-mark-caption span {
  display: block;
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.founder-copy h2 { color: var(--color-ink); margin: var(--space-3) 0 var(--space-6); }
.founder-copy p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  max-width: 56ch;
}
.founder-copy em {
  font-style: italic;
  color: var(--color-ink);
  font-weight: 500;
}
.founder-sign {
  font-family: var(--font-display) !important;
  font-style: italic;
  color: var(--color-ink) !important;
  font-size: var(--text-base) !important;
  margin-top: var(--space-6) !important;
}
@media (max-width: 780px) {
  .founder-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .founder-mark { max-width: 200px; margin: 0 auto; }
}

/* FAQ ----------------------------------------------------- */
.faq { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  transition: border var(--transition), box-shadow var(--transition);
}
.faq-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--color-primary); background: var(--color-surface-2); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--color-ink);
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: var(--text-xl);
  color: var(--color-primary);
  font-weight: 400;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* FINAL CTA ----------------------------------------------- */
.final-cta {
  background: var(--color-ink);
  color: var(--color-text-inverse);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  text-align: center;
}
.final-cta-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.final-cta h2 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}
.final-cta p {
  color: rgba(255, 253, 247, 0.75);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .btn-primary {
  background: #F2D897;
  color: var(--color-ink);
  box-shadow: 0 10px 30px rgba(242, 216, 151, 0.28);
}
.final-cta .btn-primary:hover {
  background: #FFE7B5;
  box-shadow: 0 14px 40px rgba(242, 216, 151, 0.4);
}
.final-legal {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: rgba(255, 253, 247, 0.6);
}
.final-legal a { color: #F2D897; font-weight: 600; }
.final-legal a:hover { color: #FFE7B5; }

/* FOOTER -------------------------------------------------- */
.footer {
  background: #1B140A;
  color: rgba(255, 253, 247, 0.7);
  padding: var(--space-12) 0;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.footer-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-10);
  align-items: start;
}
.footer .logo { color: #F2D897; }
.footer-brand p {
  margin-top: var(--space-2);
  color: rgba(255, 253, 247, 0.45);
  font-size: var(--text-xs);
}
.footer-legal p { margin-bottom: var(--space-3); }
.footer-legal strong { color: #F2D897; }
.footer-legal a { color: #F2D897; text-decoration: underline; text-decoration-color: rgba(242, 216, 151, 0.4); text-underline-offset: 3px; }
.footer-legal a:hover { text-decoration-color: currentColor; }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Route back to the parent brand. CEP is its own deployment, so visitors who
   land here from an ad have no other way to reach insurancemasters.biz. */
.nav-im-link {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}
.nav-im-link:hover { color: var(--color-primary); }

.footer-im-link {
  margin-top: var(--space-2);
}
.footer-im-link a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The nav bar is already tight at this width; the phone number and Apply Now
   button matter more here than the cross-link, which stays in the footer. */
@media (max-width: 860px) {
  .nav-im-link { display: none; }
}
