/* =========================================================
   Tri-County Artificial Grass | Version 2 stylesheet
   Layout modeled on turfdistributors.com, in Tri-County brand colors
   ========================================================= */
:root {
  --ink: #121416;
  --char: #2F3439;
  --gray: #5C6268;
  --line: #E3E5E2;
  --alt: #F2F1EF;
  --white: #FFFFFF;
  --brand: #075734;        /* Turf Green */
  --brand-dk: #05432A;
  --accent: #579738;       /* Blade Green: accent on light */
  --lime: #9BCB3B;         /* Signal Lime: accent on dark */
  --font: "Montserrat", Arial, sans-serif;
  --wrap: 1180px;
  --r: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.7; color: var(--ink); background: var(--white); font-weight: 500; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4, h5 { font-family: var(--font); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 12px; }
.hl { color: var(--accent); }
.dark .hl, .hero .hl { color: var(--lime); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--lime); }
.muted { color: var(--gray); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .03em; padding: 14px 28px; border-radius: var(--r); border: 2px solid var(--brand); background: var(--brand); color: #fff; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--brand-dk); border-color: var(--brand-dk); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--char); border-color: var(--char); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.dark .btn-outline, .hero .btn-outline { color: #fff; border-color: #fff; }
.dark .btn-outline:hover, .hero .btn-outline:hover { background: #fff; color: var(--ink); }
.btn-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.text-link { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.dark .text-link { color: var(--lime); }

/* ---------- Top bar & header ---------- */
.topbar { background: #000; color: #fff; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: space-between; padding-block: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .contact { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > .item { position: relative; }
.nav > .item > a, .nav > .item > button { display: flex; align-items: center; gap: 6px; font: 600 14px var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; padding: 29px 13px; cursor: pointer; }
.nav > .item > a:hover, .nav > .item > button:hover, .nav > .item.current > a, .nav > .item.current > button { color: var(--accent); }
.chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 14px 34px rgba(0,0,0,.14); padding: 14px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 50; }
.dropdown a { display: block; padding: 9px 26px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; }
.dropdown a:hover { color: var(--accent); background: var(--alt); }
.dropdown .label { display: block; padding: 10px 26px 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.mega { display: grid; grid-template-columns: repeat(3, 220px); padding: 16px 8px; }
.mega .col + .col { border-left: 1px solid var(--line); }
.nav > .item:hover > .dropdown, .nav > .item:focus-within > .dropdown, .nav > .item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav .cta { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--r); padding: 8px 14px; font: 700 14px var(--font); cursor: pointer; }
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; box-shadow: 0 14px 30px rgba(0,0,0,.14); max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > .item > a, .nav > .item > button { width: 100%; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 4px 0 10px 12px; display: none; min-width: 0; }
  .nav > .item.open > .dropdown { display: block; }
  .nav > .item:hover > .dropdown { display: none; }
  .nav > .item.open:hover > .dropdown { display: block; }
  .mega { grid-template-columns: 1fr; padding: 0; }
  .mega .col + .col { border-left: 0; }
  .dropdown a { padding: 9px 12px; }
  .dropdown .label { padding: 10px 12px 2px; }
  .nav .cta { margin: 16px 0 0; }
  .brand img { height: 42px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0c0e0f; color: #fff; }
.hero video, .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,10,11,.92) 0%, rgba(8,10,11,.78) 42%, rgba(8,10,11,.35) 72%, rgba(8,10,11,.2) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.home-hero { min-height: 640px; display: flex; align-items: center; }
.home-hero .wrap { width: 100%; padding-block: 90px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.home-hero h1 { color: #fff; text-transform: uppercase; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.08; margin-bottom: 26px; }
.home-hero h1 .hl { display: block; }
.hero-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 8px; }
.hero-list li { font-weight: 700; font-size: 17px; }
.hero-list li::before { content: "//"; color: var(--lime); font-weight: 800; margin-right: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-stat { text-align: right; }
.hero-stat strong { display: block; font-size: 40px; font-weight: 800; color: var(--lime); line-height: 1; }
.hero-stat span { font-weight: 600; font-size: 14px; }
@media (max-width: 800px) {
  .home-hero { min-height: 0; }
  .home-hero .wrap { grid-template-columns: 1fr; padding-block: 64px 56px; }
  .hero-stat { text-align: left; }
  .hero::before { background: linear-gradient(rgba(8,10,11,.78), rgba(8,10,11,.88)); }
}
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
.stats-strip { background: #000; color: #fff; }
.stats-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 30px; }
.stats-strip h4 { color: #fff; margin: 0 0 4px; font-size: 16px; }
.stats-strip p { margin: 0; font-size: 13px; color: #C9CDD1; line-height: 1.5; }
@media (max-width: 800px) { .stats-strip .wrap { grid-template-columns: 1fr 1fr; } }

/* Page hero (dark band like TD category pages) */
.page-hero { background: linear-gradient(110deg, #0f1112 0%, #1c1f21 55%, #3a3f43 100%); color: #fff; }
.page-hero::before { display: none; }
.page-hero .wrap { padding-block: 64px 58px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .lead { max-width: 760px; color: #D6DAD8; font-size: 16px; }
.page-hero .sub { color: var(--lime); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.page-hero .cat-logo { height: 58px; width: auto; margin-bottom: 18px; }
.page-hero.has-img { min-height: 380px; display: flex; align-items: center; }
.page-hero.has-img::before { display: block; }
.page-hero.has-img .wrap { width: 100%; }
.crumbs { font-size: 13px; font-weight: 600; margin-bottom: 18px; color: #C9CDD1; }
.crumbs a { color: var(--lime); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 8px; color: #8C9298; }
.light .crumbs { color: var(--gray); }
.light .crumbs a { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.alt { background: var(--alt); }
.dark { background: var(--ink); color: #E8EAE7; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.brandband { background: var(--brand); color: #fff; }
.brandband h2, .brandband h3 { color: #fff; }
.brandband .eyebrow { color: var(--lime); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split .media img { border-radius: var(--r); width: 100%; }
.split.bleed { gap: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.head-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.head-row p { margin: 0; color: var(--gray); }
.dark .head-row p { color: #C9CDD1; }
@media (max-width: 800px) { .head-row { grid-template-columns: 1fr; gap: 12px; } }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.dark .checks li::before, .brandband .checks li::before { border-color: var(--lime); }
.note { font-size: 13px; color: var(--gray); }

/* ---------- Category cards (home) ---------- */
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cat-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--accent); }
.cat-card .shot { background: radial-gradient(circle at 50% 60%, #fff 0%, #f1f0ee 100%); height: 190px; display: grid; place-items: center; padding: 14px; }
.cat-card .shot img { max-height: 160px; width: auto; object-fit: contain; }
.cat-card .body { padding: 20px 22px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.cat-card .logo { height: 30px; width: auto; }
.cat-card h4 { margin: 4px 0 0; color: var(--accent); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.cat-card p { margin: 0; font-size: 14px; color: var(--gray); }
.cat-card .text-link { margin-top: 8px; }

/* Compare table */
details.compare { margin-top: 40px; border-top: 2px solid var(--ink); }
details.compare > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; font-size: 16px; }
details.compare > summary::-webkit-details-marker { display: none; }
details.compare > summary::after { content: "+"; font-size: 24px; color: var(--accent); }
details.compare[open] > summary::after { content: "\2212"; }
.table-wrap { overflow-x: auto; }
.ctable { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.ctable th, .ctable td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ctable thead th { background: var(--ink); color: #fff; font-weight: 700; }
.ctable tbody th { font-weight: 700; width: 22%; }

/* Tech accordion (dark) */
.tech-acc { border: 1px solid #2F3439; border-radius: 6px; overflow: hidden; }
.tech-acc details { border-bottom: 1px solid #2F3439; }
.tech-acc details:last-child { border-bottom: 0; }
.tech-acc summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.tech-acc summary::-webkit-details-marker { display: none; }
.tech-acc summary::after { content: "+"; color: var(--lime); font-size: 22px; }
.tech-acc details[open] summary::after { content: "\2212"; }
.tech-acc details[open] { background: #1B1E21; }
.tech-acc .content { padding: 0 22px 20px; color: #C9CDD1; font-size: 14px; }
.tech-acc .content p { margin-bottom: 10px; }

/* Feature bullet rows */
.feat-list { display: grid; gap: 18px; margin: 26px 0 30px; }
.feat-list .f { display: flex; gap: 14px; align-items: center; font-weight: 700; }
.feat-list .f::before { content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23121416' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Number stats */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.numbers div { border-left: 3px solid var(--accent); padding-left: 16px; }
.numbers strong { display: block; font-size: 38px; font-weight: 800; line-height: 1; }
.numbers span { font-size: 13px; font-weight: 600; color: var(--gray); }
.dark .numbers span { color: #C9CDD1; }
@media (max-width: 600px) { .numbers { grid-template-columns: 1fr; } }

/* Tool cards */
.tool-card { background: #fff; color: var(--ink); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.tool-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.18); transform: translateY(-3px); }
.tool-card .who { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tool-card h3 { margin: 0; }
.tool-card h3::before { content: "// "; color: var(--accent); }
.tool-card p { margin: 0; font-size: 14px; color: var(--gray); }

/* CTA band + pre-footer */
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band p { color: #E0F0D8; margin: 0; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.prefoot { border-top: 1px solid var(--line); }
.prefoot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; }
.prefoot h4 { margin: 0 0 2px; }
.prefoot p { margin: 0; color: var(--gray); font-size: 14px; }

/* ---------- Product listing cards (category pages) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.pcard { background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.06); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: 0 16px 40px rgba(0,0,0,.14); transform: translateY(-3px); }
.pcard .shot { background: radial-gradient(circle at 50% 55%, #fff 0%, #eeece9 100%); height: 180px; display: grid; place-items: center; padding: 16px; position: relative; }
.pcard .shot img { max-height: 150px; width: auto; object-fit: contain; }
.pcard .badge { position: absolute; top: 10px; left: 10px; }
.pcard .body { padding: 18px 20px 20px; text-align: center; }
.pcard .cat { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.pcard h3 { margin: 2px 0 12px; font-size: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.pcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; text-align: center; }
.pcard dt { font-size: 12px; font-weight: 700; }
.pcard dd { margin: 0; font-size: 12px; color: var(--gray); }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; }
.b-stock { background: var(--lime); color: var(--ink); }
.b-so { background: #E3E5E2; color: var(--char); }
.b-usa { background: var(--ink); color: #fff; }

/* ---------- Product detail ---------- */
.pd-hero { background: linear-gradient(180deg, #efe8df 0%, #f6f3ef 70%, #fff 100%); text-align: center; overflow: hidden; }
.pd-hero .wrap { padding-block: 40px 20px; }
.pd-hero .cat-logo { height: 38px; width: auto; margin: 10px auto 0; }
.pd-hero h1 { font-size: clamp(44px, 7vw, 84px); margin: 2px 0 0; color: var(--ink); letter-spacing: -.01em; }
.pd-hero .shot { max-width: 820px; margin: -10px auto 0; }
.pd-hero .shot img { width: 100%; max-height: 380px; object-fit: contain; }
.pd-hero .badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pd-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .pd-intro { grid-template-columns: 1fr; gap: 30px; } }
.gallery .main { background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.08); overflow: hidden; }
.gallery .main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery .thumbs button { border: 2px solid var(--line); border-radius: 4px; padding: 0; background: #fff; cursor: pointer; width: 76px; height: 76px; overflow: hidden; }
.gallery .thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs button.active, .gallery .thumbs button:hover { border-color: var(--accent); }
.pd-intro .desc { font-size: 15px; }
.pd-intro .status { font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 18px 0; }
.pd-intro .status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gray); }
.pd-intro .status.ok { color: var(--brand); }
.pd-intro .status.ok::before { background: var(--accent); }
.pd-intro .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-intro .actions .btn { flex: 1 1 200px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.rev .media { order: 2; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 26px; } .feature.rev .media { order: 0; } }
.feature .media { background: radial-gradient(circle, #fff 0%, #f1f0ee 100%); border-radius: 8px; padding: 20px; display: grid; place-items: center; }
.feature .media img { max-height: 360px; width: auto; object-fit: contain; }
.feature .cat-name { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.blade-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.blade-info .bi { display: flex; align-items: center; gap: 12px; background: var(--alt); border-radius: 6px; padding: 12px 14px; }
.blade-info .bi img { width: 44px; height: 44px; object-fit: contain; }
.blade-info h4 { margin: 0; font-size: 14px; }
.blade-info p { margin: 0; font-size: 13px; color: var(--gray); }
.blade-info .swatch img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.spec-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.spec-icons .si { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 14px; text-align: center; }
.spec-icons .si img { width: 40px; height: 40px; object-fit: contain; margin: 0 auto 10px; }
.spec-icons .si strong { display: block; font-size: 13px; }
.spec-icons .si span { font-size: 14px; color: var(--gray); font-weight: 600; }
.lab { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 14px; }
.lab th, .lab td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.lab th { color: var(--gray); font-weight: 600; width: 50%; }
.lab td { font-weight: 700; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: 500 15px var(--font); padding: 12px 14px; border: 1px solid #C5C9C4; border-radius: 3px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--lime); outline-offset: 0; border-color: var(--brand); }
.form .hp { position: absolute; left: -5000px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.form-card h3 { margin-top: 0; }

/* ---------- Resource pages ---------- */
.guide-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.step-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step-card .body { padding: 16px 18px 18px; }
.step-card h4 { margin: 0 0 6px; }
.step-card p { margin: 0; font-size: 14px; color: var(--gray); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--char); }
.prose { max-width: 820px; }
.prose h2 { margin-top: 40px; font-size: 26px; }
.prose h3 { margin-top: 26px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.wlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.wrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 18px; }
.wrow strong { display: block; }
.wrow span { font-size: 13px; color: var(--gray); font-weight: 600; }
.wrow a { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.wall-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px 6px 0 0; }

/* ---------- Tools ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc .out { background: var(--ink); color: #fff; border-radius: 6px; padding: 26px; }
.calc .out h3 { color: #fff; margin-top: 0; }
.calc .out dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 0; }
.calc .out dt { color: #C9CDD1; font-weight: 600; }
.calc .out dd { margin: 0; font-weight: 800; color: var(--lime); text-align: right; font-variant-numeric: tabular-nums; }
.finder-opts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.finder-opts button { font: 700 14px var(--font); padding: 12px 18px; border: 2px solid var(--line); background: #fff; border-radius: 30px; cursor: pointer; }
.finder-opts button.active, .finder-opts button:hover { border-color: var(--accent); color: var(--brand); }

/* ---------- Footer ---------- */
.footer { background: #000; color: #C9CDD1; font-size: 14px; }
.footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 30px; padding-block: 60px 40px; }
@media (max-width: 960px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .top { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #C9CDD1; text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer .logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer .legal { border-top: 1px solid #2F3439; padding-block: 22px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.pcard .badge-wrap { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 1; }
@media (max-width: 700px) { .topbar .wrap > span { display: none; } }
