/* EVgpo site styles. One file, no framework. */

/* ---------- Fonts (Nexa, the same family as the old site, self-hosted) ---------- */
@font-face { font-family: "Nexa"; src: url("../assets/fonts/nexa-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../assets/fonts/nexa-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../assets/fonts/nexa-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --green: #25532E;
  --green-dark: #1A3D21;
  --green-line: #3E6C47;
  --orange: #FF9502;
  --orange-hover: #F08A00;
  --yellow: #FFCA0B;
  --cream: #F6F3E9;
  --light-yellow: #FFF4D6;
  --ink: #1C2420;
  --ink-2: #4A5650;
  --eyebrow: #B35F00;
  --border: #E6E2D6;
  --border-strong: #C9C3B3;
  --on-green: #E3EBE4;
  --on-green-2: #C9D6CB;
  --white: #fff;
  --head: "Nexa", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Nexa", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --pad: 24px;
  --section: 96px;
  --radius: 8px;
  --radius-btn: 6px;
  --shadow-1: 0 1px 2px rgba(28, 36, 32, .05), 0 8px 24px rgba(28, 36, 32, .06);
  --shadow-2: 0 2px 4px rgba(28, 36, 32, .05), 0 16px 40px rgba(28, 36, 32, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-weight: 900; font-size: clamp(36px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.015em; }
h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.on-green :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
::selection { background: var(--yellow); color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top .15s;
}
.skip:focus { top: 12px; color: var(--white); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: var(--section) 0; }
.section.tight { padding: 56px 0; }
.cream { background: var(--cream); }
.on-green { background: var(--green); color: var(--white); }
.on-green h1, .on-green h2, .on-green h3 { color: var(--white); }
.stack { display: flex; flex-direction: column; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.on-green .lede { color: var(--on-green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius-btn);
  font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #1A1A1A; box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { background: var(--orange-hover); color: #1A1A1A; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .16); }
.btn-ghost { color: var(--white); border-color: #7FA087; font-family: var(--body); font-weight: 600; }
.btn-ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.arrow { transition: transform .2s var(--ease); display: inline-block; }
a:hover > .arrow, .card-link:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--border); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(28, 36, 32, .07); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 10px 20px; color: #1A1A1A; }
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  font: 600 15px var(--body); color: var(--ink); background: none;
  border: 1px solid var(--border-strong); border-radius: 8px; cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
.page-quote .nav .btn { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 8px var(--pad) 20px; box-shadow: 0 16px 30px rgba(28, 36, 32, .10);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 52px; font-size: 17px; }
  .page-quote .nav .btn { display: inline-flex; }
}

/* ---------- Hero: copy left, photo runs to the right edge ---------- */
.hero { overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; padding: 88px 0 80px; }
.hero-copy h1 { font-size: clamp(36px, 4.6vw, 54px); }
.hero-copy .lede { max-width: 540px; }
.hero-sub { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.35; color: var(--white); max-width: 540px; }
.hero-note { font-size: 15px; color: var(--on-green-2); }
.hero-media { position: relative; margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - var(--pad)); min-height: 440px; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 20% 6%; }
.press-band { background: var(--green-dark); }
.press { padding-top: 24px; padding-bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.press-logos { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 48px; --s: 1; }
.press-logos img { height: calc(var(--h) * var(--s)); }
.press p { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-green-2); }
.press img { width: auto; opacity: .9; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 52px 0 44px; }
  .hero-media { margin: 0 calc(var(--pad) * -1); min-height: 0; aspect-ratio: 3 / 2; }
  .hero-media img { object-position: center 12%; }
  .press { gap: 14px; }
  .press-logos { gap: 30px; --s: .85; }
}

/* ---------- Brand marquee ---------- */
.brands h2 { font-weight: 700; font-size: 20px; letter-spacing: 0; }
.marquee {
  margin: 28px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { flex: none; height: 56px; margin-right: 64px; display: flex; align-items: center; }
.marquee img { height: 36px; width: auto; }
.brands .note { font-size: 15px; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.cream .card { border-color: transparent; }
.card-links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; font-weight: 600; }
.card-link { color: var(--green); text-decoration: none; white-space: nowrap; }
.card-link:hover { text-decoration: underline; }

.step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white);
  font-family: var(--head); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex: none;
}

/* ---------- Homepage sections: plain ruled lists, not card grids ---------- */
.sec-title { margin-bottom: 28px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split-head { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 112px; }
.split-head p { color: var(--ink-2); max-width: 420px; }
.split-head a { font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split-head { position: static; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 4px 0; padding: 28px 0; border-bottom: 1px solid var(--border-strong); }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1; color: var(--green); }
.steps h3 { font-size: 21px; }
.steps p { grid-column: 2; color: var(--ink-2); max-width: 560px; }

.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 190px 1fr; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--border-strong); }
.facts dt { font-family: var(--head); font-weight: 700; font-size: 17px; }
.facts dd { margin: 0; color: #2F3A34; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; } }

.idx { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.idx li { border-bottom: 1px solid var(--border-strong); }
.idx a { display: grid; grid-template-columns: 5fr 7fr 24px; gap: 8px 24px; align-items: baseline; padding: 20px 0; text-decoration: none; color: var(--ink); transition: background-color .15s, padding .2s var(--ease); }
.idx a:hover { background: var(--cream); padding-left: 14px; padding-right: 14px; }
.cream .idx a:hover { background: var(--white); }
.idx-name { font-family: var(--head); font-weight: 700; font-size: 20px; }
.idx a:hover .idx-name { color: var(--green); }
.idx-desc { color: var(--ink-2); font-size: 16px; }
.idx .arrow { color: var(--green); font-weight: 600; }
@media (max-width: 760px) { .idx a { grid-template-columns: 1fr 24px; } .idx-desc { grid-column: 1; font-size: 15px; } .idx .arrow { grid-row: 1; grid-column: 2; } }

.ledger { border: 0; border-top: 2px solid var(--ink); border-radius: 0; }
.ledger table { border-collapse: collapse; width: 100%; min-width: 560px; }
.ledger th, .ledger td { text-align: left; padding: 18px 24px 18px 0; border-bottom: 1px solid var(--border-strong); vertical-align: top; }
.ledger thead th { font: 600 13px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding-top: 12px; padding-bottom: 12px; }
.ledger tbody th { font-family: var(--head); font-weight: 700; font-size: 18px; width: 30%; }
.ledger td { color: #2F3A34; }
.ledger td:nth-child(2) { white-space: nowrap; }

/* ---------- Bands ---------- */
.rebate { background: var(--light-yellow); padding: 48px 0; }
.rebate .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.rebate h2 { font-weight: 700; font-size: 24px; letter-spacing: 0; }
.rebate p { font-size: 16px; color: var(--ink-2); max-width: 680px; margin-top: 8px; }

.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 620px; }
.cta .lede { margin: 14px 0 28px; }
.cta-contact { color: var(--on-green-2); font-size: 15px; line-height: 1.9; }
.cta-contact a { color: var(--white); font-weight: 600; font-size: 17px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 72px 0 76px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 50px); max-width: 860px; }
.page-hero .lede { max-width: 720px; }
.crumbs { font-size: 14px; color: var(--on-green-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--on-green-2); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Long-form content ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose { max-width: 720px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(25px, 3vw, 31px); margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: #2F3A34; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--green); font-weight: 600; }
.prose strong { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose thead th { background: var(--cream); font-family: var(--head); font-weight: 700; font-size: 14px; }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: 0; }
.prose tbody th { font-weight: 600; white-space: nowrap; }

.aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--cream); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aside-card h2 { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.aside-card p { font-size: 15px; color: var(--ink-2); }
.aside-card.green { background: var(--green); }
.aside-card.green h2 { color: var(--white); }
.aside-card.green p { color: var(--on-green); }
.aside-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.aside-list a { text-decoration: none; font-weight: 600; }
.aside-list a:hover { text-decoration: underline; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: #39443E; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
@media (max-width: 980px) { .article { grid-template-columns: 1fr; gap: 48px; } .aside { position: static; } }

/* FAQ */
.faq { border-top: 1px solid var(--border); margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--green); }
.faq .answer { padding: 0 40px 22px 0; color: #2F3A34; }
.faq .answer > * + * { margin-top: 12px; }

/* ---------- Quote page ---------- */
.quote-main { background: var(--cream); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; padding-top: 72px; padding-bottom: 96px; }
.quote-intro { display: flex; flex-direction: column; gap: 32px; }
.quote-intro h1 { font-size: clamp(34px, 4.4vw, 48px); color: var(--green); }
.quote-intro h2 { font-size: 19px; font-weight: 700; letter-spacing: 0; }
.quote-intro .card { border: 0; }
.next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: #39443E; }
.next .step-num { width: 32px; height: 32px; font-size: 14px; }
.next span:last-child { padding-top: 4px; }
.contact-line { border-top: 1px solid #DCD6C4; padding-top: 24px; font-size: 15px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.contact-line a { font-weight: 600; }

.form { background: var(--white); border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-1); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: #5C6862; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--white);
  padding: 12px 14px; min-height: 48px; width: 100%;
  border: 1px solid var(--border-strong); border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231C2420' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9F9886; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(37, 83, 46, .18); }
.field input[type="file"] { padding: 10px; font-size: 15px; }
.field input[type="file"]::file-selector-button {
  font: 600 14px var(--body); color: var(--green); background: var(--cream); border: 1px solid var(--border);
  border-radius: 6px; padding: 7px 12px; margin-right: 12px; cursor: pointer;
}
.field .hint { font-weight: 400; font-size: 13px; color: #5C6862; }
.field .err { font-weight: 500; font-size: 13px; color: #A32A1B; display: none; }
.field.invalid input, .field.invalid select { border-color: #A32A1B; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px;
  border: 1px solid var(--border-strong); border-radius: 8px; font-weight: 500; font-size: 15px;
  transition: background-color .15s, border-color .15s, color .15s;
}
.seg input:hover + span { border-color: #9F9886; }
.seg input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; min-height: 54px; }
.form .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.fine { font-size: 13px; color: #5C6862; text-align: center; }
.form-error { display: none; background: #FCEDEA; color: #7A1F14; border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.form-error.show { display: block; }
.form-done { display: none; flex-direction: column; gap: 14px; align-items: flex-start; padding: 12px 0; }
.form-done h2 { font-size: 26px; color: var(--green); }
.form-done svg { width: 44px; height: 44px; }
.form.sent > :not(.form-done) { display: none; }
.form.sent .form-done { display: flex; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; gap: 40px; } }
@media (max-width: 560px) { .form { padding: 24px 20px; } .row { grid-template-columns: 1fr; } .seg { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: var(--on-green-2); font-size: 14px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid img { height: 36px; width: auto; margin-bottom: 14px; }
.foot-grid h2 { font: 600 14px var(--body); color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-green-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer a.accent { color: var(--yellow); font-weight: 600; }
.foot-base { border-top: 1px solid #335C3B; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Phone spacing ---------- */
@media (max-width: 700px) {
  :root { --section: 64px; }
  body { font-size: 16.5px; }
  .card { padding: 24px; }
  .btn-row .btn { width: 100%; }
  .page-hero { padding: 48px 0 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta, .rebate, .aside { display: none; }
}
.cf-turnstile:empty { display: none; }
@media (max-width: 700px) {
  .ledger { overflow: visible; }
  .ledger table { min-width: 0; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ledger tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--border-strong); }
  .ledger th, .ledger td { display: block; padding: 0; border: 0; width: auto; }
  .ledger td:nth-child(2) { font-size: 14px; color: var(--ink-2); margin: 2px 0 8px; }
}

/* ---------- Blog ---------- */
.narrow { max-width: 808px; }
.post-head { padding: 56px 0 28px; }
.post-head h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 18px; }
.post-meta { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.crumbs.dark, .crumbs.dark a { color: var(--ink-2); }
.crumbs.dark a:hover { color: var(--green); }
.post-image { width: 100%; height: auto; border-radius: 6px; margin-bottom: 40px; }
.post-body { max-width: none; padding-bottom: 56px; }
.post-body img { border-radius: 6px; margin: 28px 0; }
.post-body h4 { font-size: 18px; margin-top: 28px; }
.post-body a { overflow-wrap: anywhere; }
.post-cta { border-top: 2px solid var(--ink); padding: 32px 0 88px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.post-cta h2 { font-size: 24px; }
.post-cta p { color: var(--ink-2); margin-bottom: 8px; }
.blog-idx a { grid-template-columns: 170px 1fr 24px; }
.blog-idx time { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .blog-idx a { grid-template-columns: 1fr 24px; } .blog-idx time { grid-column: 1; } .blog-idx .idx-name { grid-column: 1; font-size: 18px; } }

@media (max-width: 560px) { .press-logos { gap: clamp(12px, 4vw, 20px); --s: .6; } }
@media (max-width: 360px) { .press-logos { --s: .5; } }
