/* vendorsnap.app content pages (generated by site-src/build.mjs). The home
   page keeps its own inline styles; these share its fonts and warm palette,
   with text links in a darker orange so they pass WCAG AA on white. */
:root {
  --bg: #ffffff; --tint: #fff7f3; --card: #ffffff; --line: #ecece8; --soft-line: #f2f0ec;
  --text: #16130f; --muted: #5f5a55; --faint: #8a847e;
  --brand: #ff6b35; --brand-strong: #d2451a; --brand-text: #b43a12; --ink: #1a1a1a;
  --good: #15803d; --good-bg: #dcfce7; --warn: #a16207; --warn-bg: #fef3c7;
  --radius: 14px; --maxw: 1080px;
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; letter-spacing: -0.01em; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(210, 69, 26, 0.5); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--soft-line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 19px; }
.logo img { border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: 8px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--tint); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.login { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand-strong); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer; }
.btn:hover { background: #b53a15; color: #fff; }
.btn-lg { font-size: 17px; padding: 14px 24px; border-radius: 12px; }
.btn-ghost { background: #fff; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--tint); color: var(--text); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--tint); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: flex; flex-direction: column; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(20, 16, 12, 0.12); }
.menu nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--tint); }
@media (max-width: 860px) {
  .nav { display: none; }
  .login { display: none; }
  .menu { display: block; }
  .top-row { gap: 10px; }
  .top-cta .btn { padding: 8px 12px; }
}
@media (max-width: 380px) {
  .logo span { display: none; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 48px 0 28px; }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 10px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; max-width: 860px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 760px; margin-top: 16px; }
.lede p + p { margin-top: 10px; }

/* Content */
.content { padding: 12px 20px 56px; }
.block { padding: 28px 0; border-bottom: 1px solid var(--soft-line); }
.block:last-child { border-bottom: 0; }
.content h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; }
.content h3 { font-size: 20px; font-weight: 700; margin: 22px 0 8px; }
.content p { max-width: 760px; margin-bottom: 14px; }
.list, .steps { max-width: 760px; margin: 8px 0 16px 22px; }
.list li, .steps li { margin-bottom: 8px; padding-left: 4px; }
.steps li::marker { font-weight: 800; color: var(--brand-text); }
.callout { background: var(--tint); border: 1px solid #fbe0d4; border-radius: var(--radius); padding: 16px 18px; max-width: 760px; margin: 16px 0; }
.callout p:last-child { margin-bottom: 0; }
.note { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
caption { text-align: left; padding: 12px 14px 0; font-weight: 700; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--soft-line); vertical-align: top; }
thead th { background: #faf9f7; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
tbody th { font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--faint); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 14px 0; }
.card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--text); background: var(--card); }
.card:hover { border-color: #f4c7b4; box-shadow: 0 6px 18px rgba(20, 16, 12, 0.06); color: var(--text); }
.card strong { font-family: var(--display); font-size: 17px; }
.card span { color: var(--muted); font-size: 15px; }
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand-text); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--muted); }

/* Calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin: 18px 0; align-items: start; }
@media (max-width: 760px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc > * { min-width: 0; }
@media (min-width: 761px) { .calc .result { position: sticky; top: 84px; } }
.calc form, .calc .result { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.calc label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin: 10px 0 4px; }
.calc label:first-child { margin-top: 0; }
.calc input[type="number"], .calc select { width: 100%; font: inherit; font-size: 17px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.calc input:focus, .calc select:focus { border-color: var(--brand-strong); outline: none; }
.calc .check { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--text); }
.result h2 { font-size: 18px !important; margin-bottom: 8px !important; }
.result .big { font-family: var(--display); font-size: 36px; font-weight: 800; }
.result .big.loss { color: #b91c1c; }
.result dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 12px; font-size: 15px; }
.result dt { color: var(--muted); }
.result dd { text-align: right; font-variant-numeric: tabular-nums; }
.result .total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 6px; }
.sources { font-size: 13px; color: var(--faint); margin-top: 12px; }
.rank { width: 100%; min-width: 0; }
.rank td:nth-child(n+2), .rank th:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.rank tr.best th { color: var(--good); }

/* CTA band + footer */
.cta-band { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta-band p { color: #d6d3cf; max-width: 640px; margin-top: 10px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px !important; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #4b4742; }
.foot { background: #faf9f7; border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.foot h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--brand-text); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; color: var(--faint); font-size: 14px; }
.foot-legal a { color: var(--muted); }

/* Glossary */
.glossary { max-width: 820px; }
.glossary dt { font-family: var(--display); font-weight: 800; font-size: 19px; margin-top: 22px; scroll-margin-top: 80px; }
.glossary dd { color: var(--muted); margin-top: 4px; }
