/* bidcars.trade — main stylesheet */
:root {
  --bg: #fff;
  --surface: #f6f7f9;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --ok: #15803d;
  --warn: #b45309;
  --danger: #b91c1c;
  --copart: #1e5bc6;
  --iaai: #c8102e;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 4px 12px rgba(17, 24, 39, .08);
  --max: 1240px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0 0 12px; }
button, input, select { font: inherit; color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons & form controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: #cbd0d8; }
.btn-block { width: 100%; }
input[type=search], input[type=text], input[type=email], input[type=number], input:not([type]), select {
  width: 100%; height: 40px; padding: 0 12px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm); outline: none;
}
select { appearance: none; padding-right: 32px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7280' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; }
select:disabled { background-color: var(--surface); color: var(--muted); cursor: default; }
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; }
.brand-tld { color: var(--muted); font-weight: 500; }
.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search input { height: 40px; padding-right: 44px; background: var(--surface); border-color: transparent; }
.header-search input:focus { background: #fff; }
.header-search button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.header-nav { display: flex; gap: 24px; margin-left: auto; }
.header-nav a { color: var(--text); font-weight: 500; }
.header-nav a[aria-current] { color: var(--brand); }
.menu-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--border); padding: 12px var(--gutter) 16px; display: grid; gap: 4px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav form { margin-bottom: 8px; }
.mobile-nav a { padding: 10px 0; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
@media (max-width: 899px) {
  .header-search, .header-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
}

/* home */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0 48px; }
.hero h1 { font-size: 32px; letter-spacing: -.02em; max-width: 720px; }
.hero-sub { color: var(--muted); font-size: 17px; margin: 12px 0 24px; max-width: 620px; }
.hero-search { display: flex; gap: 8px; max-width: 680px; }
.hero-search input { height: 52px; font-size: 16px; padding: 0 16px; border-color: #d1d5db; }
.hero-search .btn { height: 52px; padding: 0 28px; }
.hero-search--small { max-width: 520px; margin-top: 16px; }
.hero-search--small input, .hero-search--small .btn { height: 44px; }
.hero-links { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 599px) {
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 26px; }
  .hero-search { flex-direction: column; }
}
.section { padding: 40px 0; }
.section + .section:not(.section--muted) { padding-top: 8px; }
.section--muted { background: var(--surface); border-top: 1px solid var(--border); margin-top: 32px; padding: 48px 0; }
.section-inner { margin-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head a { font-weight: 500; font-size: 14px; }
.make-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 24px; }
.make-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.make-list a span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.make-list a:hover { color: var(--brand); text-decoration: none; }
.info { display: grid; gap: 32px; }
.info h2 { margin-bottom: 12px; }
.info p { color: #374151; max-width: 60ch; }
@media (min-width: 900px) { .info { grid-template-columns: 1fr 1fr; gap: 64px; } }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 8px 0 0; color: #374151; }

/* card grid */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow); text-decoration: none; }
.card:hover .card-title { color: var(--brand); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: var(--surface); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-count { position: absolute; right: 8px; bottom: 8px; background: rgba(17, 24, 39, .72); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.card-photo .badge { position: absolute; left: 8px; top: 8px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.card-meta { font-size: 13px; color: var(--muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; }
.card-price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-date { font-weight: 600; }
.card-note { font-size: 12px; color: var(--muted); }
.card-note.ok { color: var(--ok); font-weight: 500; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #fff; padding: 2px 6px; border-radius: 4px; line-height: 1.5; vertical-align: middle; }
.badge--copart { background: var(--copart); }
.badge--iaai { background: var(--iaai); }
.badge--other { background: var(--muted); }

/* search page */
.page-search { padding-top: 16px; padding-bottom: 56px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs a { color: var(--muted); }
.page-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.search-layout { display: grid; gap: 32px; }
.search-layout { grid-template-columns: minmax(0, 1fr); }
.results { min-width: 0; }
@media (min-width: 900px) { .search-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.filters { display: grid; gap: 14px; }

.filters-head { display: flex; align-items: center; gap: 12px; }
.filters-clear { margin-left: auto; }
.filters-head h2 { font-size: 16px; }
.filters-head a { font-size: 13px; }
.filters-close { display: none; }
.field { display: grid; gap: 6px; margin: 0; }
.field > span { font-size: 13px; font-weight: 600; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.filters-apply, .filters-open { display: none; }
@media (max-width: 899px) {
  .filters { position: fixed; inset: 0; z-index: 50; background: #fff; padding: 16px var(--gutter) 88px; overflow-y: auto; display: none; align-content: start; }
  .filters.is-open { display: grid; }
  .filters-close { display: block; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
  .filters-apply { display: flex; position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; width: auto; }
  .filters-open { display: inline-flex; }
}
.results-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; min-height: 40px; }
.sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; }
.sort span { color: var(--muted); white-space: nowrap; }
.sort select { width: auto; min-width: 180px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; color: var(--text); background: var(--surface); }
.chip span { color: var(--muted); font-size: 15px; line-height: 1; }
.chip:hover { border-color: #cbd0d8; text-decoration: none; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 32px 0 8px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--radius-sm); color: var(--text); }
.pagination a { border: 1px solid var(--border); }
.pagination a:hover { border-color: #cbd0d8; text-decoration: none; }
.pagination a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty { border: 1px dashed var(--border); border-radius: var(--radius); padding: 48px 24px; text-align: center; }
.empty h2 { margin-bottom: 8px; }
.seo-note { margin-top: 40px; color: var(--muted); font-size: 14px; max-width: 75ch; }

/* car page */
.page-car { padding-top: 16px; padding-bottom: 64px; }
.car-head { margin-bottom: 16px; }
.car-head h1 { font-size: 26px; }
.car-trim { font-weight: 400; color: var(--muted); }
.car-ids { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.car-ids b { color: var(--text); font-weight: 600; }
.car-layout { display: grid; gap: 32px; }
.car-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "side" "details"; }
.car-gallery { grid-area: gallery; min-width: 0; }
.car-side { grid-area: side; min-width: 0; }
.car-details { grid-area: details; min-width: 0; }
@media (min-width: 900px) {
  .car-layout { grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); grid-template-areas: "gallery side" "details side"; align-items: start; column-gap: 32px; row-gap: 0; }
  .car-side { position: sticky; top: 80px; }
}
.gallery { position: relative; }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; background: #111; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(17, 24, 39, .72); color: #fff; font-size: 13px; padding: 2px 10px; border-radius: 4px; }
.gallery-arrow { position: absolute; top: calc(50% - 64px); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 8px 0 4px; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { flex: 0 0 96px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--surface); aspect-ratio: 4 / 3; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--surface); border-radius: var(--radius); color: var(--muted); }
.block { margin-top: 32px; }
.block h2 { margin-bottom: 12px; }
.specs { margin: 0; display: grid; column-gap: 32px; }
@media (min-width: 700px) { .specs { grid-template-columns: 1fr 1fr; } }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.stats-row { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
@media (min-width: 600px) { .stats-row { grid-template-columns: repeat(3, 1fr); } }
.stats-row div { background: #fff; padding: 14px 16px; display: grid; gap: 2px; }
.stats-row span { font-size: 13px; color: var(--muted); }
.stats-row b { font-size: 18px; font-variant-numeric: tabular-nums; }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.summary-label { font-size: 13px; color: var(--muted); margin: 0 0 2px; }
.summary-price { font-size: 32px; font-weight: 700; margin: 0 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.summary-date { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.summary-list { margin: 20px 0; border-top: 1px solid var(--border); }
.summary-list div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.copy { margin-left: 6px; border: 1px solid var(--border); background: #fff; border-radius: 4px; font-size: 12px; padding: 1px 8px; cursor: pointer; color: var(--muted); }
.copy:hover { color: var(--text); }
.side-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 16px; font-size: 36px; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 30px; cursor: pointer; padding-bottom: 4px; }
.lightbox-arrow--prev { left: 16px; }
.lightbox-arrow--next { right: 16px; }
.lightbox-count { position: absolute; bottom: 16px; color: #d1d5db; font-size: 14px; }
@media (max-width: 599px) {
  .page-car .gallery { margin: 0 calc(var(--gutter) * -1); }
  .gallery-main { border-radius: 0; }
  .gallery-thumbs { padding-left: var(--gutter); padding-right: var(--gutter); }
  .gallery-arrow { display: none; }
  .car-head h1 { font-size: 22px; }
}

/* text pages & forms */
.page-text { padding-top: 40px; padding-bottom: 64px; max-width: 760px; }
.page-text h1 { margin-bottom: 16px; }
.page-text p { color: #374151; }
.form { display: grid; gap: 16px; max-width: 460px; margin-top: 24px; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin: 0; }
.notice--ok { background: #f0fdf4; color: var(--ok); border: 1px solid #bbf7d0; }
.notice--error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.lookup h1 { font-size: 22px; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 20px 0; }
.lookup.is-done .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 0; padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid > div:first-child { grid-column: auto; } }
.footer-grid p { color: var(--muted); margin-top: 12px; max-width: 40ch; }
.footer-grid h3 { font-size: 14px; margin-bottom: 8px; }
.footer-grid a:not(.brand) { display: block; color: #374151; padding: 3px 0; }
.brand--footer { font-size: 16px; }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }


/* review fixes */
.header-row { gap: 32px; }
.brand-tld { color: var(--muted); font-weight: 500; }
.page-summary { margin: -12px 0 20px; color: var(--muted); font-size: 14px; }
.summary-sub { color: var(--muted); font-size: 14px; margin: 0; }
.summary-insight { margin: 12px 0 0; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; }
.summary-vin { display: flex; align-items: center; gap: 8px; margin: 20px 0 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; }
.summary-vin span { color: var(--muted); }
.summary-vin .copy { margin-left: auto; }
.page-narrow { max-width: 560px; }
.page-narrow .form { max-width: none; }
.form-help { font-size: 14px; margin: 0; }
.notice { background: var(--surface); border: 1px solid var(--border); }
.section--muted { padding: 48px 0; }
@media (max-width: 599px) {
  .grid--home > :nth-child(n+5) { display: none; }
  .make-list { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .make-list li:nth-child(n+13) { display: none; }
  .car-side .summary { padding: 20px; }
}
@media (max-width: 899px) {
  .filters { padding-bottom: 96px; }
  .filters-apply { left: var(--gutter); right: var(--gutter); }
  .results-bar .sort { margin-left: auto; }
  .sort select { min-width: 0; }
  .sort span { display: none; }
}

/* landing / hub / guide pages */
.page-landing { padding-top: 16px; padding-bottom: 64px; }
.page-landing h1 { font-size: 28px; letter-spacing: -.01em; }
.lead { max-width: 75ch; margin-top: 12px; color: #374151; font-size: 16px; }
.lead p { margin: 0 0 8px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 24px 0 8px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: #fff; padding: 14px 16px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.page-landing .block { margin-top: 40px; }
.table-wrap { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.data th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data td { padding: 10px; border-bottom: 1px solid var(--border); }
.data tr:hover td { background: var(--surface); }
.data .r { text-align: right; }
@media (max-width: 599px) { .hide-sm { display: none; } .data td, .data th { padding: 8px 6px; } }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.link-list li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.link-list span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.link-list--wide { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.two-col { display: grid; gap: 0 48px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.page-article { max-width: 760px; }
.prose { font-size: 16px; line-height: 1.7; color: #1f2937; margin-top: 24px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.prose th { color: var(--muted); font-weight: 600; }
.guide-list { list-style: none; padding: 0; margin: 24px 0 0; }
.guide-list li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.guide-list a { font-size: 18px; font-weight: 600; }
.guide-list p { margin: 4px 0 0; color: var(--muted); }
.more-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.more-links a { padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); }
.more-links a:hover { border-color: #cbd0d8; text-decoration: none; }
