:root {
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ink: #16202a;
  --muted: #65717d;
  --cream: #f6f1e8;
  --paper: #fffdf9;
  --white: #ffffff;
  --navy: #172a3a;
  --navy-2: #203b4f;
  --teal: #2f6d67;
  --teal-dark: #245852;
  --gold: #b58b4a;
  --line: #d9d3c7;
  --soft-line: #e7e1d7;
  --shadow: 0 22px 60px rgba(22, 32, 42, .12);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 211, 199, .72);
}
.nav-wrap { min-height: 96px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.brand-logo-frame {
  position: relative;
  display: block;
  width: 205px;
  height: 92px;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-logo-frame img {
  position: absolute;
  left: 0;
  top: -43px;
  width: 205px;
  height: auto;
  max-width: none;
}
.brand-logo { align-self: stretch; display: flex; align-items: center; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 23px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: #47535e; }
.site-nav a:hover { color: var(--teal); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: 0 9px 20px rgba(47, 109, 103, .16);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 10px 17px; font-size: 13px; }
.button-outline { background: transparent; color: var(--teal-dark); box-shadow: none; }
.button-outline:hover { color: var(--white); }
.button-light { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: none; }
.button-light:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.text-link { font-weight: 700; text-underline-offset: 4px; }
.button-row { display: flex; gap: 19px; align-items: center; flex-wrap: wrap; margin-top: 30px; }

.eyebrow { margin: 0 0 13px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--teal); }
.section-dark .eyebrow { color: #b9ddd7; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); max-width: 760px; margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.65rem); margin-bottom: 22px; }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
.large-copy { font-size: 1.35rem; font-weight: 600; }
.strong-line { font-weight: 700; color: var(--ink); }

.hero { padding-top: 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 72px; align-items: center; }
.hero-lead { max-width: 700px; font-size: clamp(1.25rem, 2vw, 1.55rem); color: #44515d; }
.microcopy { margin: 15px 0 0; font-size: 13px; color: var(--muted); }
.trust-strip { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-strip li { padding: 8px 12px; border: 1px solid var(--soft-line); border-radius: 999px; font-size: 12px; font-weight: 600; color: #56626d; background: #fff; }
.hero-panel {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.hero-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -55px;
  right: -45px;
  border-radius: 50%;
  background: rgba(181, 139, 74, .16);
}
.panel-kicker { position: relative; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: #b9ddd7; font-weight: 700; }
.hero-panel h2 { position: relative; font-size: 2.25rem; margin-bottom: 25px; }
.ledger-list { position: relative; display: grid; gap: 14px; }
.ledger-list > div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 14px; }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); font-size: 13px; font-weight: 700; }
.panel-note { position: relative; margin: 23px 0 0; font-size: 13px; color: #c8d1d8; }

.problem .button { margin-top: 12px; }
.problem p:not(.eyebrow):not(.large-copy) { color: #4c5862; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.fit-card { padding: 30px; border: 1px solid var(--soft-line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 36px rgba(22,32,42,.06); }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.plain-list li { position: relative; padding: 15px 8px 15px 34px; border-bottom: 1px solid var(--soft-line); font-weight: 600; }
.plain-list li:last-child { border-bottom: none; }
.plain-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--teal); font-weight: 700; }
.fit-note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.fit-note { padding: 24px 26px; border-radius: var(--radius-sm); border: 1px solid var(--soft-line); }
.good-fit { background: #edf6f4; border-color: #cfe4df; }
.not-fit { background: #faf6ef; }
.card-label { margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; color: var(--teal-dark); }
.fit-note p:last-child { margin-bottom: 0; }

.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }
.light-heading > p:last-child { color: #ced7dd; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { padding: 30px; border-radius: var(--radius-sm); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); }
.benefit-number { display: block; margin-bottom: 40px; color: #93c6be; font-weight: 700; letter-spacing: .12em; }
.benefit-card h3 { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 700; }
.benefit-card p { margin-bottom: 0; color: #cbd5db; }

.pricing-card { max-width: 900px; border: 1px solid var(--soft-line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(22,32,42,.08); }
.pricing-row { display: grid; grid-template-columns: 1fr 220px; align-items: center; min-height: 74px; padding: 0 28px; border-bottom: 1px solid var(--soft-line); }
.pricing-row:last-child { border-bottom: 0; }
.pricing-row strong { font-size: 1.2rem; text-align: right; }
.pricing-head { min-height: 54px; background: var(--navy); color: #dce5e9; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.pricing-head span:last-child { text-align: right; }
.pricing-foot { max-width: 880px; margin-top: 27px; }
.pricing-foot p { color: #59656f; }
.pricing-foot .button { margin-top: 8px; }

.steps { counter-reset: steps; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { position: relative; padding: 24px; min-height: 250px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--soft-line); }
.step-no { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.steps h3 { font-size: 1.05rem; margin-bottom: 10px; }
.steps p { margin-bottom: 0; font-size: 14px; color: var(--muted); }
.centered-cta { margin-top: 34px; }

.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.founder-photo-wrap { position: sticky; top: 112px; width: 100%; max-width: 440px; background: transparent; border: 0; border-radius: 0; }
.founder-photo-wrap picture { display: block; width: 100%; margin: 0; padding: 0; background: transparent; border: 0; }
.founder-photo { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; object-position: initial; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.photo-caption { margin-top: 14px; font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; }
.photo-caption span { font-family: var(--font-sans); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.about-copy > p:not(.eyebrow) { color: #4d5964; }
.role-box { margin-top: 30px; padding: 28px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--soft-line); }
.role-box h3 { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 700; }
.role-box p:last-child { margin-bottom: 0; }

.trust-section { padding-top: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-grid article { padding: 25px; border: 1px solid var(--soft-line); border-radius: var(--radius-sm); background: #fff; }
.trust-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 23px; border-radius: 50%; background: #e3f1ee; color: var(--teal-dark); font-weight: 700; }
.trust-grid h3 { font-size: 1rem; }
.trust-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.faq-container { max-width: 940px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 23px 50px 23px 0; font-family: var(--font-sans); font-size: 1.05rem; line-height: 1.45; font-weight: 600; letter-spacing: -.005em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 10px; top: 17px; font-size: 27px; font-weight: 400; color: var(--teal); }
details[open] summary::after { content: "−"; }
details p { max-width: 820px; padding: 0 50px 23px 0; margin: 0; color: #59656f; }

/* Typography refinement: cleaner hierarchy and easier reading */
h3 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; }
strong { font-weight: 700; }
summary:hover { color: var(--teal-dark); }
summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: 4px; }

.final-cta { padding: 76px 0; }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.final-cta h2 { margin-bottom: 13px; }
.final-cta p:not(.eyebrow) { max-width: 710px; color: #d0d8dd; margin-bottom: 0; }

.site-footer { background: #101c26; color: #d2d9de; border-top: 1px solid rgba(255,255,255,.08); }
.footer-wrap { min-height: 126px; display: flex; align-items: center; gap: 24px; }
.footer-logo-frame {
  width: 190px;
  height: 86px;
  border-radius: 0;
  background: transparent;
}
.footer-logo-frame img { top: -40px; width: 190px; }
.footer-wrap p { margin: 0 0 0 auto; font-size: 13px; }
.footer-wrap > a { font-size: 13px; color: #d2d9de; text-underline-offset: 4px; }



.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: #d2d9de;
  font-size: 13px;
  text-underline-offset: 4px;
}
.footer-links a:hover { color: #fff; }

.legal-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.legal-nav > a:not(.button) { font-size: 14px; font-weight: 600; color: #47535e; text-decoration: none; }
.legal-page { padding: 82px 0 100px; }
.legal-container { max-width: 860px; }
.legal-container > h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-bottom: 12px; }
.legal-container > h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 48px 0 16px; }
.legal-container > h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-container p, .legal-container li { color: #4d5964; }
.legal-container a { color: var(--teal-dark); text-underline-offset: 3px; }
.legal-effective { margin-bottom: 34px; color: var(--muted) !important; }

@media (max-width: 1040px) {
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .nav-wrap { min-height: 84px; position: relative; }
  .nav-toggle { display: inline-flex; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 9px 14px; font-weight: 600; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 88px; padding: 12px; border: 1px solid var(--soft-line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 11px 10px; }
  .hero { padding-top: 58px; }
  .hero-grid, .split-grid, .about-grid, .final-cta-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 590px; }
  .fit-note-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-number { margin-bottom: 20px; }
  .about-grid { gap: 42px; }
  .founder-photo-wrap { position: static; max-width: 440px; justify-self: start; }
  .final-cta-inner { gap: 24px; }
  .final-cta .button { justify-self: start; }
  .footer-wrap { padding: 30px 0; flex-wrap: wrap; }
  .footer-links { width: 100%; order: 2; }
  .footer-wrap p { margin-left: 0; width: 100%; order: 3; }
  .footer-wrap > a { order: 4; }
  .legal-nav { gap: 10px; }
}

@media (max-width: 560px) {
  .brand-logo-frame { width: 170px; height: 76px; }
  .brand-logo-frame img { top: -36px; width: 170px; }
  .footer-logo-frame { width: 180px; height: 81px; }
  .footer-logo-frame img { top: -38px; width: 180px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 58px 0; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .hero-panel, .fit-card, .role-box { padding: 24px; }
  .pricing-row { grid-template-columns: 1fr auto; gap: 16px; padding: 0 18px; }
  .pricing-row strong { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .step-no { margin-bottom: 24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .button-row { align-items: flex-start; flex-direction: column; }
  .button-row .button { width: 100%; }
  .trust-strip { display: grid; }
  .legal-nav .button { display: none; }
  .legal-page { padding-top: 58px; }
}

/* Referral partner landing page */
.partner-page .partner-hero h1 { font-size: clamp(3rem, 5.4vw, 5rem); }
.partner-page .partner-steps { grid-template-columns: repeat(4, 1fr); }
.partner-page .partner-steps li { min-height: 275px; }
.partner-page .partner-light-copy { color: #d0d8dd; }
.partner-page .partner-dark-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
}
.partner-page .partner-list-light li { color: #eef3f5; border-color: rgba(255,255,255,.13); }
.partner-page .partner-list-light li::before { color: #93c6be; }
.partner-page .partner-fit-notes { margin-top: 38px; }
.partner-page .partner-fit-good { background: rgba(47,109,103,.18); border-color: rgba(147,198,190,.35); color: #eef3f5; }
.partner-page .partner-fit-no { background: rgba(181,139,74,.12); border-color: rgba(181,139,74,.3); color: #eef3f5; }
.partner-page .partner-fit-notes .card-label { color: #b9ddd7; }
.partner-page .partner-fit-notes p:last-child { color: #d0d8dd; }

@media (max-width: 1040px) {
  .partner-page .partner-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .partner-page .partner-steps { grid-template-columns: 1fr; }
  .partner-page .partner-steps li { min-height: 0; }
}
