@import url('/platform/tokens.css');
:root {
  --green: #08733f;
  --green-2: #0d8a4d;
  --navy: #071b33;
  --orange: #ff6a00;
  --orange-dark: #d95108;
  --ink: #071b33;
  --muted: #5d6875;
  --line: #dce2df;
  --mist: #f5f7f6;
  --white: #fff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
button, input { font: inherit; }
a { color: inherit; }
.site-header { height: 76px; max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; background: var(--white); }
.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: 180px; height: 52px; object-fit: contain; object-position: left center; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; color: white; background: var(--green); font-size: 19px; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-right: auto; }
.primary-nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--green-2); }
.header-actions { display: flex; gap: 9px; }
.button { min-height: 44px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-weight: 750; cursor: pointer; }
.button svg { width: 18px; height: 18px; }
.button-ghost { border-color: var(--line); background: var(--white); }
.button-dark { color: var(--white); background: var(--green); }
.button-dark:hover { background: var(--green-2); }
.button-accent { color: var(--white); background: var(--green); }
.button-accent:hover { background: var(--green-2); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: white; }

.hero { position: relative; min-height: 610px; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(5, 23, 36, .88) 0%, rgba(5, 23, 36, .73) 40%, rgba(5, 23, 36, .19) 72%, rgba(5, 23, 36, .05) 100%); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 72px 0 88px; }
.eyebrow { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 12px; line-height: 1.3; font-weight: 850; letter-spacing: 1.2px; }
.eyebrow svg { width: 17px; }
.eyebrow.dark { color: var(--green-2); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 18px; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; letter-spacing: 0; }
.hero-copy { max-width: 620px; margin-bottom: 28px; font-size: 20px; line-height: 1.55; }
.quote-form { max-width: 930px; padding: 16px; display: grid; grid-template-columns: minmax(300px, 1.7fr) minmax(180px, .7fr) auto; gap: 12px; align-items: end; color: var(--ink); background: rgba(255,255,255,.97); border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.field { position: relative; display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.input-wrap { height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #bbc5c0; border-radius: 6px; background: white; }
.input-wrap:focus-within { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(15,101,69,.14); }
.input-wrap svg { width: 19px; color: var(--green-2); }
.input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); }
.form-submit { height: 50px; }
.field-error { position: absolute; top: calc(100% + 4px); color: #a32316; background: white; }
.field.has-error .input-wrap { border-color: #c53324; }
.hero-proof { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; font-weight: 700; }
.hero-proof span { display: flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 18px; color: #72d3a2; }

.section { max-width: var(--max); margin: 0 auto; padding: 86px 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
h2 { margin-bottom: 14px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: 0; }
h3 { margin-bottom: 7px; font-size: 19px; }
.text-link { padding: 8px 0; display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--green-2); font-weight: 750; cursor: pointer; }
.text-link svg { width: 17px; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-item { min-height: 150px; padding: 22px; display: grid; align-content: center; justify-items: start; gap: 7px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.category-item:hover, .category-item:focus-visible { background: var(--mist); box-shadow: inset 0 0 0 2px var(--green-2); }
.category-item svg { width: 28px; height: 28px; margin-bottom: 8px; color: var(--orange); stroke-width: 1.8; }
.category-item span { font-size: 17px; font-weight: 800; }
.category-item small { color: var(--muted); font-size: 13px; }

.process-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.process-intro > p:last-child { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { padding: 25px 0; display: grid; grid-template-columns: 46px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.process-list li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--orange); font-weight: 850; }
.process-list p { margin: 0; color: var(--muted); line-height: 1.5; }
.question-preview { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.question-preview details { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.question-preview summary { min-height: 70px; padding: 16px; display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: 10px; cursor: pointer; font-weight: 750; list-style: none; }
.question-preview summary::-webkit-details-marker { display: none; }
.question-preview summary > svg:first-child { color: var(--orange); }
.question-preview summary > svg:last-child { width: 17px; transition: transform .2s ease; }
.question-preview details[open] summary > svg:last-child { transform: rotate(180deg); }
.question-preview details p { margin: 0; padding: 0 16px 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.trust-band { padding: 88px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr .8fr; gap: 100px; color: white; background: var(--green); }
.trust-copy > p:not(.eyebrow) { max-width: 620px; color: #cde1d7; font-size: 17px; line-height: 1.65; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check-list svg { width: 19px; color: #8ce0b5; }
.trust-stats { display: grid; border-top: 1px solid rgba(255,255,255,.25); }
.trust-stats div { padding: 23px 0; display: grid; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.25); }
.trust-stats strong { color: #ffb177; font-size: 25px; }
.trust-stats span { color: #dcebe4; }

.provider-band { max-width: var(--max); margin: 0 auto; padding: 78px 24px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.provider-band > div { max-width: 760px; }
.provider-band p:last-child { color: var(--muted); font-size: 17px; line-height: 1.6; }
.provider-band .button { flex: 0 0 auto; }

.site-footer { padding: 64px max(24px, calc((100vw - var(--max)) / 2)) 24px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 52px; color: #d9e7e1; background: var(--navy); }
.brand.inverse { color: white; }
.footer-brand > p { margin: 17px 0 0; }
.footer-logo-link { display: inline-block; width: 190px; padding: 7px; border-radius: 6px; background: white; }
.footer-logo { display: block; width: 100%; height: auto; }
.footer-note { max-width: 330px; color: #9fb3aa; font-size: 13px; line-height: 1.55; }
.footer-links { display: grid; align-content: start; gap: 11px; }
.footer-links h2 { margin: 0 0 7px; color: white; font-size: 15px; }
.footer-links a { color: #c7d7d0; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); color: #91a59d; font-size: 13px; }

@media (max-width: 1050px) {
  .primary-nav { display: none; }
  .site-header { gap: 14px; }
  .header-actions { margin-left: auto; }
  .header-actions .button-dark { display: none; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .question-preview { grid-template-columns: repeat(2, 1fr); }
  .trust-band { gap: 50px; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 16px; }
  .brand-logo { width: 116px; height: 48px; }
  .brand-mark { width: 31px; height: 31px; }
  .menu-toggle { display: grid; place-items: center; order: 3; }
  .primary-nav { position: absolute; z-index: 20; top: 66px; left: 0; right: 0; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: white; border-top: 1px solid var(--line); box-shadow: 0 16px 28px rgba(7,27,45,.14); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
  .header-actions .button-ghost, .header-actions .button-dark { display: none; }
  .header-actions .button-accent { min-height: 40px; padding: 0 12px; }
  .hero { min-height: 720px; align-items: end; }
  .hero-image { object-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,23,36,.96) 0%, rgba(5,23,36,.84) 56%, rgba(5,23,36,.2) 100%); }
  .hero-content { width: calc(100% - 32px); padding: 180px 0 34px; }
  h1 { font-size: 42px; }
  .hero-copy { font-size: 17px; }
  .quote-form { grid-template-columns: 1fr; padding: 14px; }
  .form-submit { margin-top: 4px; }
  .hero-proof { gap: 11px 18px; font-size: 12px; }
  .section { padding: 62px 16px; }
  .section-heading { align-items: start; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-item { min-height: 136px; padding: 17px; }
  .process-section { grid-template-columns: 1fr; gap: 30px; }
  .question-preview { grid-template-columns: 1fr; }
  .trust-band { padding: 64px 20px; grid-template-columns: 1fr; gap: 40px; }
  .provider-band { padding: 64px 20px; align-items: stretch; flex-direction: column; gap: 22px; }
  .site-footer { padding: 52px 20px 22px; grid-template-columns: 1fr 1fr; gap: 38px 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .header-actions .button-accent { font-size: 13px; }
  .hero { min-height: 760px; }
  h1 { font-size: 38px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-item span { font-size: 15px; }
  .section-heading { display: block; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand, .footer-bottom { grid-column: 1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
