/* Machinery Dealer Index — lightweight design system. Zero JS, zero frameworks.
   Industrial-registry aesthetic: authoritative, dense, credible. Not a SaaS landing page. */
:root {
  --steel: #101820;        /* near-black steel — header/footer, deepened for authority */
  --steel-2: #2c3945;       /* secondary ink on steel */
  --ink: #1a2229;
  --ink-soft: #3a4753;
  --muted: #5c6b7a;
  --line: #dde2e8;
  --line-soft: #e9ecf0;
  --bg: #f6f7f9;
  --card: #ffffff;
  --accent: #a15c0f;        /* industrial amber, darkened for AA contrast on white */
  --accent-soft: #fbf1e2;
  --accent-ink: #7a4f11;
  --verify: #146c43;        /* verified green, deepened */
  --verify-soft: #e9f5ee;
  --verify-line: #bfe3ce;
  --serif: Georgia, "Times New Roman", Times, serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1080px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(16,24,32,.05), 0 3px 10px rgba(16,24,32,.05);
  --shadow-md: 0 2px 4px rgba(16,24,32,.06), 0 8px 24px rgba(16,24,32,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-family: var(--serif); font-size: 2.1rem; line-height: 1.2; margin: .2em 0 .4em; letter-spacing: -.01em; font-weight: 700; }
h2 { font-family: var(--serif); font-size: 1.5rem; margin: 2.4rem 0 .9rem; font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin-bottom: .5rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.site-header { background: var(--steel); color: #fff; border-bottom: 3px solid var(--accent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; flex-wrap: wrap; }
.logo { color: #fff; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { background: var(--accent); color: #fff; border-radius: 4px; padding: 4px 8px; font-size: .78rem; letter-spacing: .06em; font-weight: 700; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: #b8c4cf; font-size: .92rem; font-weight: 500; }
.site-header nav a:hover { color: #fff; }

/* hero */
.hero { padding: 3rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 2.6rem; max-width: 20ch; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 64ch; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 1.8rem 0 .8rem; padding: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.stat-row div { background: var(--card); padding: 18px 18px; }
.stat-row dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.stat-row dd { margin: 6px 0 0; font-size: 1.9rem; font-weight: 700; color: var(--steel); font-variant-numeric: tabular-nums; }
.verified-note { color: var(--verify); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.verified-note::before { content: "\2713"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background: var(--verify); color: #fff; border-radius: 50%; font-size: .68rem; }

/* card grid (categories) */
.card-grid { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.card a { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); transition: border-color .1s, box-shadow .1s; }
.card a:hover { border-color: var(--accent); box-shadow: var(--shadow-md); text-decoration: none; }
.card .count { font-size: .82rem; color: var(--muted); font-weight: 400; }

/* pills (states) */
.pill-row { list-style: none; padding: 0; margin: 1rem 0 2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row a { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .9rem; color: var(--steel-2); font-weight: 500; }
.pill-row a:hover { border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }

/* dealer lists — styled as a data register, not a blog list */
.dealer-list { list-style: none; padding: 0; margin: 1.2rem 0 2rem; counter-reset: rank; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.dealer-list.ranked li { counter-increment: rank; }
.dealer-list li { padding: 14px 18px 14px 52px; position: relative; border-bottom: 1px solid var(--line-soft); }
.dealer-list li:last-child { border-bottom: none; }
.dealer-list li:nth-child(even) { background: #fbfbfc; }
.dealer-list.ranked li::before { content: counter(rank); position: absolute; left: 16px; top: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; font-size: .95rem; }
.dealer-name { font-weight: 700; font-size: 1.05rem; }
.dealer-meta { display: block; color: var(--muted); font-size: .9rem; margin-top: 3px; }
.dealer-meta strong { color: var(--verify); }
.badge-inline { background: var(--verify-soft); color: var(--verify); border: 1px solid var(--verify-line); border-radius: 4px; padding: 1px 7px; font-size: .76rem; font-weight: 700; }
.rank-note { font-size: .88rem; }

/* dealer profile */
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 .4rem; }
.breadcrumb a { color: var(--muted); }
.dealer-profile header { margin-bottom: 1rem; }
.badges { margin: .5rem 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 5px 11px; font-size: .82rem; font-weight: 600; }
.badge-assoc { background: var(--verify-soft); color: var(--verify); border: 1px solid var(--verify-line); }
.badge-assoc::before { content: "\2713"; font-weight: 700; }
.hero-field { display: flex; flex-direction: column; gap: 3px; background: var(--steel); color: #fff; border-radius: var(--radius-lg); padding: 18px 22px; margin: 1.2rem 0 1.6rem; max-width: 440px; border-left: 4px solid var(--accent); }
.hero-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: #9fb0bf; font-weight: 600; }
.hero-value { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 1.2rem 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--steel-2); font-size: .92rem; }
.facts dd { margin: 0; }
.tag { display: inline-block; background: var(--line-soft); border-radius: 4px; padding: 3px 9px; font-size: .85rem; margin: 0 2px 4px 0; }
.provenance { font-size: .82rem; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.provenance a { font-family: var(--mono); font-size: .78rem; }

/* claim CTA — the money module. Made deliberately more prominent than any other block. */
.claim-cta {
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  border: 1px solid #ecd4a8; border-radius: var(--radius-lg);
  padding: 22px 24px; margin: 1.8rem 0; box-shadow: var(--shadow-md);
}
.claim-cta .eyebrow { color: var(--accent-ink); }
.claim-cta p { margin: .3rem 0; }
.claim-cta .claim-lede { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.claim-cta .btn { margin-top: 10px; }

/* buttons + forms */
.btn { display: inline-block; background: var(--accent); color: #fff; border-radius: 6px; padding: 10px 20px; font-weight: 700; font-size: .96rem; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.btn:hover { background: var(--accent-ink); text-decoration: none; }
.btn-secondary { display: inline-block; background: transparent; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 6px; padding: 9px 19px; font-weight: 600; font-size: .95rem; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.claim-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; max-width: 460px; margin: 1.4rem 0; box-shadow: var(--shadow-md); }
.claim-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.claim-form input[type=email], .claim-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; font-size: 1rem; margin-bottom: 14px; font-family: inherit; box-sizing: border-box; }
.claim-form input[type=email]:focus, .claim-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.claim-form button { width: 100%; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 14px; font-size: 1.02rem; font-weight: 700; cursor: pointer; }
.claim-form button:hover { background: var(--accent-ink); }
.claim-form .form-subnote { font-size: .82rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.value-list { padding-left: 0; list-style: none; margin: 1.2rem 0; }
.value-list li { margin-bottom: 14px; padding-left: 30px; position: relative; }
.value-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; background: var(--verify-soft); color: var(--verify); border: 1px solid var(--verify-line); border-radius: 50%; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.honest-note { font-style: italic; }

/* objection-handler / FAQ blocks (claim + pricing) */
.objection-block { margin: 1.6rem 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
.objection-block h3 { font-size: 1.05rem; }
.faq-block details, .hub-faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 8px; background: var(--card); }
.faq-block summary, .hub-faq summary { font-weight: 600; cursor: pointer; }
.faq-block p, .hub-faq p { margin: .6rem 0 .1rem; color: var(--ink-soft); }

/* pricing */
.price-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; margin: 1.4rem 0 1.8rem; box-shadow: var(--shadow-md); border-top: 4px solid var(--accent); }
.price-panel h2 { margin-top: 0; font-size: 2rem; }
.price-lock { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); border: 1px solid #ecd4a8; border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; margin-bottom: .6rem; }

/* prose (static pages) */
.prose { max-width: 68ch; margin: 1rem auto 3rem; }
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 6px; }

/* footer */
.site-footer { background: var(--steel); color: #b8c4cf; margin-top: 3.5rem; padding: 2.4rem 0 1.4rem; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer strong { color: #fff; font-family: var(--serif); font-size: 1.05rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.site-footer a { color: #b8c4cf; }
.site-footer a:hover { color: #fff; }
.fineprint { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid #2a353f; font-size: .8rem; color: #7e8f9e; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.95rem; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; gap: 4px 0; }
  .facts dt { margin-top: 10px; }
  .price-panel { padding: 20px; }
}
