/* Free Car Foundation — light theme. Design system: Trust & Authority, Lexend / Source Sans 3. */
:root {
  --primary: #0F5C5C;
  --primary-dark: #0B4444;
  --primary-soft: #DCEFEA;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --bg: #FFFBF5;
  --bg-alt: #F5EEE3;
  --fg: #1F2A2E;
  --heading: #10262B;
  --muted: #4B5563;
  --border: #E6DCCB;
  --card: #FFFFFF;
  --warn-bg: #FFF7ED;
  --warn-border: #FDBA74;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 47, 58, .06), 0 6px 20px rgba(15, 47, 58, .06);
  --max: 1180px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--heading); line-height: 1.15; letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
svg { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.4em; border-radius: 999px; font: 700 1rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-cta { background: var(--accent); color: #fff; }
.btn-cta:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,251,245,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font: 600 1.25rem var(--font-head); }
.brand b { color: var(--accent); font-weight: 700; }
.logo-mark { width: 44px; height: 44px; object-fit: contain; background: #FFFBF5; border-radius: 10px; padding: 3px; }
.logo-full { height: 52px; width: auto; display: block; }
@media (max-width: 480px) { .logo-full { height: 42px; } }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; white-space: nowrap; padding: 10px 9px; border-radius: 8px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--primary); background: var(--bg-alt); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 22px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-btn { display: flex; }
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 10px; font-size: 1.05rem; }
  .nav-cta { margin-top: 8px; }
}
.nav-cta { white-space: nowrap;
}

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px auto 0; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #94A3B8; }
.crumbs a { color: var(--muted); }

/* Hero */
.page-hero { padding: 28px 0 40px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.updated { display: flex; align-items: center; gap: 8px; color: var(--primary-dark); font-weight: 600; font-size: .95rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-img img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; height: auto; }
/* Wide (3:1) banner images: text on top, full-width banner below */
.hero-wide .hero-grid { grid-template-columns: 1fr; gap: 28px; }
.hero-wide .hero-grid > div:first-child { max-width: 820px; }
.hero-wide .hero-img img { border-radius: 24px; }
.nf img { margin-bottom: 8px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Sections (home) */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; margin-top: 24px; font-weight: 600; }
.trust { background: var(--heading); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust-grid div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.trust-grid svg { grid-row: span 2; width: 34px; height: 34px; color: var(--primary-soft); }
.trust-grid b { font: 600 1.35rem var(--font-head); }
.trust-grid span { color: var(--primary-soft); font-size: .95rem; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }

.finder { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); max-width: 720px; }
.finder label { width: 100%; font-weight: 700; color: var(--heading); }
.finder select { flex: 1 1 260px; min-height: 48px; padding: 0 14px; border: 2px solid var(--border); border-radius: 10px; font: inherit; background: #fff; color: var(--fg); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature h3 { margin-top: 12px; }
.feature p { color: var(--muted); margin: 0; }
.f-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary-dark); }
.f-icon svg { width: 26px; height: 26px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split-rev { grid-template-columns: 1.1fr 1fr; }
.split img { border-radius: 20px; box-shadow: var(--shadow); }
.split h2 { margin-top: 0; }
@media (max-width: 860px) { .split, .split-rev { grid-template-columns: 1fr; gap: 24px; } .split-rev picture { order: -1; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.pill-list a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); text-decoration: none; font-weight: 600; }
.pill-list a:hover { background: var(--primary-soft); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,47,58,.1); }
.card h3 { margin-top: 0; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: .3em 0 0; color: var(--muted); }
.card .meta { font-size: .9rem; color: var(--primary-dark); font-weight: 600; }

/* Content pages */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 20px; padding-bottom: 56px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { overflow-wrap: anywhere; }
.prose { max-width: 760px; }
.prose > h2:first-child { margin-top: 1em; }
.prose .cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.small { font-size: .92rem; color: var(--muted); }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin: .55em 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%230E7490' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin: .9em 0; min-height: 32px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.05em; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 .95rem/32px var(--font-body); text-align: center; }
.note { border-radius: 12px; padding: 16px 18px; margin: 1.5em 0; border: 1px solid var(--border); background: var(--bg-alt); }
.note-warn { background: var(--warn-bg); border-color: var(--warn-border); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.facts div { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.facts span { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.facts b { display: block; margin-top: 4px; font-weight: 600; line-height: 1.4; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--bg-alt); color: var(--heading); font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 2.5em; }
.faq details { border: 1px solid var(--border); border-radius: 12px; margin: 10px 0; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font: 700 1.05rem var(--font-body); color: var(--heading); position: relative; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 16px; color: var(--fg); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 961px) { .sidebar { position: sticky; top: 90px; align-self: start; } }
.side-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: #fff; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.05rem; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 10px; columns: 2; }
.side-card li { padding: 3px 0; }
.side-card > a { font-weight: 700; }
.side-card.side-alert { background: var(--warn-bg); border-color: var(--warn-border); }
.side-alert svg { color: var(--accent); }

/* Related */
.related { background: var(--bg-alt); padding: 48px 0; border-top: 1px solid var(--border); }
.related h2 { margin-top: 0; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rel-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--fg); transition: border-color .2s, transform .2s; min-height: 44px; }
.rel-card:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--fg); }
.rel-card b { display: block; color: var(--heading); }
.rel-card small { display: block; color: var(--muted); }
.rel-card > svg { margin-left: auto; color: var(--primary); }
.rel-icon { display: inline-flex; width: 40px; height: 40px; flex: none; border-radius: 10px; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary-dark); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.testimonial-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,47,58,.1); }
.testimonial-quote { position: relative; color: var(--fg); font-size: 1rem; line-height: 1.65; margin: 0 0 18px; flex: 1; }
.testimonial-quote::before { content: "\201C"; position: absolute; top: -12px; left: -6px; font-family: var(--font-head); font-size: 3rem; color: var(--primary-soft); line-height: 1; pointer-events: none; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem; flex: none; }
.testimonial-name { font-weight: 700; color: var(--heading); line-height: 1.3; }
.testimonial-location { display: block; font-size: .88rem; color: var(--muted); font-weight: 400; }
@media (max-width: 980px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--primary-dark); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: var(--primary-soft); margin: 0; max-width: 60ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: #10262B; color: #CBD5E1; padding: 56px 0 28px; font-size: .97rem; }
.site-footer a { color: #E2E8F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-top { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; }
@media (max-width: 1180px) { .f-top { grid-template-columns: repeat(3, 1fr); } .f-about { grid-column: 1 / -1; } }
@media (max-width: 640px) { .f-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-top { grid-template-columns: 1fr 1fr; } }
.brand-light { color: #fff; }
.brand-light b { color: #FDBA74; }
.f-about p { max-width: 42ch; }
.f-about address { font-style: normal; }
.f-about address p { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.f-about address svg { color: #67E8F9; margin-top: 3px; }
.f-title { font-size: 1rem; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.f-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid #1E4652; font-size: .9rem; color: #94A3B8; }
.f-copy { font-size: .9rem; color: #94A3B8; margin: 0; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer .f-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.site-footer .f-legal li { margin: 0; }
.updated a { color: inherit; }

/* Dropdown menu */
.site-nav > ul > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; border-radius: 8px; border: 0; background: none; color: var(--fg); font: 600 .98rem var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; min-height: 44px; }
.nav-link svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-active, .sub-btn[aria-expanded="true"] { color: var(--primary); background: var(--bg-alt); }
.sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.site-nav .sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 250px; flex-direction: column; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 38, 43, .14); }
.site-nav .wide .sub { min-width: 480px; display: none; grid-template-columns: 1fr 1fr; }
.site-nav .sub a { padding: 9px 12px; font-weight: 500; font-size: .96rem; white-space: nowrap; }
.site-nav .sub.align-right { left: auto; right: 0; }
.site-nav .sub.open { display: flex; }
.site-nav .wide .sub.open { display: grid; }
@media (min-width: 1101px) {
  .has-sub:hover > .sub { display: flex; }
  .has-sub.wide:hover > .sub { display: grid; }
  .has-sub:hover > .sub-btn svg { transform: rotate(180deg); }
}
@media (max-width: 1100px) {
  .site-nav { max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: 1.05rem; }
  .site-nav .sub::before { display: none; }
  .site-nav .sub, .site-nav .wide .sub { position: static; min-width: 0; box-shadow: none; border: 0; border-left: 3px solid var(--primary-soft); border-radius: 0; margin: 0 0 8px 10px; padding: 0 0 0 8px; grid-template-columns: 1fr; }
}
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 16px; margin: 1em 0; }
.state-grid a { padding: 4px 0; }

/* Apply CTA box */
.apply-box { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin: 1.6em 0; padding: 22px 24px; border-radius: 18px; background: var(--primary); color: #fff; }
.apply-box h3 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.apply-box p { margin: 0; color: var(--primary-soft); max-width: 52ch; }
.apply-box-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.apply-box-btns a { display: inline-flex; align-items: center; min-height: 46px; padding: .6em 1.2em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid #fff; color: #fff; }
.apply-box-btns a:first-child { background: var(--accent); border-color: var(--accent); }
.apply-box-btns a:hover { filter: brightness(1.08); color: #fff; }
.side-card.side-apply { background: var(--primary); border-color: var(--primary); color: #fff; }
.side-apply h2 { color: #fff; }
.side-apply p { color: var(--primary-soft); margin: 0 0 12px; }
.side-apply .btn { width: 100%; }

/* Steps strip */
.apply-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1em 0 1.5em; }
.apply-steps div { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.apply-steps b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-head); }
.apply-steps span { font-weight: 600; line-height: 1.3; }
@media (max-width: 760px) { .apply-steps { grid-template-columns: 1fr 1fr; } }

/* Forms */
.app-form { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: clamp(18px, 4vw, 32px); box-shadow: var(--shadow); margin: 1.5em 0; }
.form-step { font-size: 1.25rem; margin: 1.4em 0 .6em; padding-top: 1em; border-top: 1px solid var(--border); }
.form-step:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--heading); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--border); border-radius: 10px; font: inherit; color: var(--fg); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.field .invalid, .field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B91C1C; }
.help { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--border); border-radius: 10px; font-weight: 600; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--primary); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.check.invalid { color: #B91C1C; }
.form-error { color: #B91C1C; font-weight: 700; }
.btn-lg { min-height: 54px; padding: .8em 2em; font-size: 1.1rem; margin-top: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 404 */
.nf { padding: 80px 20px; }

/* Reveal (respects reduced motion) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .35s ease-out, transform .35s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Charity-style touches */
.page-hero { background: radial-gradient(1200px 400px at 85% 0%, #F9E3CF 0%, transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.home-hero { padding: 48px 0 64px; }
.hero-img img { border-radius: 28px 28px 28px 120px; }
.split img { border-radius: 24px 120px 24px 24px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--accent); }
.card, .feature, .side-card, .rel-card, .finder { background: #FFFFFF; }
.cta-band { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 52c-10-7-16-12-16-19a8 8 0 0116-2 8 8 0 0116 2c0 7-6 12-16 19z' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E"); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
/* Portrait photo in a split section: keep full height, don't let it dominate */
.split .img-portrait { width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 24px; }
@media (max-width: 860px) { .split .img-portrait { max-width: 360px; } }
