/* VendRoute: Route Sheet. Paper pages, slate ink, vend yellow as the one accent,
   signal green for profit and sold-out red for low stock. Motifs: a clipboard
   with a route sheet on it, a dashed route line, and tabular numerals wherever a
   number appears. Archivo for display, Archivo Narrow for labels, Inter Tight for
   body, Space Grotesk for numbers. Light only, on purpose. */
:root {
  --bg: #F4F5F7;
  --bg-2: #E9EBEF;
  --bg-3: #DDE1E7;
  --panel: #FFFFFF;
  --ink: #1F2933;
  --ink-2: #3E4C59;
  --muted: #616E7C;
  --line: #D9DEE5;
  --line-2: #C2CAD4;
  --slate-2: #323F4B;
  --slate-3: #52606D;
  --yellow: #F5B700;
  --yellow-deep: #8A6500;
  --yellow-soft: #FFF3C7;
  --green: #22A06B;
  --green-deep: #167A50;
  --green-soft: #DCF3E8;
  --red: #D64545;
  --red-deep: #A83232;
  --red-soft: #FBE4E4;
  --route: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px);
  --shadow-sm: 0 1px 2px rgba(31, 41, 51, .06), 0 2px 8px -2px rgba(31, 41, 51, .08);
  --shadow: 0 1px 2px rgba(31, 41, 51, .05), 0 14px 34px -14px rgba(31, 41, 51, .28);
  --shadow-lg: 0 2px 4px rgba(31, 41, 51, .05), 0 30px 60px -26px rgba(31, 41, 51, .38);
  --radius: 14px;
  --radius-sm: 8px;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --label: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;
  --body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --num: 'Space Grotesk', 'Inter Tight', system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--ink); text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 3px; font-weight: 600; }
a:hover { text-decoration-color: var(--ink); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.num, .stat b, .kpi b, td.n, .sheet td.n { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* ---------- labels (the house motif: a narrow uppercase tag) ---------- */
.tag, .kicker, .kicker-pill, .eyebrow, .cta-kicker, .callout-label, .tool-badge, .foot-h, .byline, .sheet-head, .vr-label { font-family: var(--label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag { display: inline-block; font-size: .72rem; color: var(--ink-2); background: var(--bg-2); border-radius: 4px; padding: 3px 8px; margin: 0 0 8px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(16px, 4vw, 40px); background: rgba(244, 245, 247, .9); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.brand b { font-weight: 800; color: var(--ink); background: var(--yellow); border-radius: 4px; padding: 0 5px; margin-left: 1px; }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 6px; }
.site-nav a:hover { background: var(--bg-2); color: var(--ink); }
.site-nav a.nav-cta { background: var(--ink); color: #fff; margin-left: 8px; padding: 8px 16px; }
.site-nav a.nav-cta:hover { background: var(--slate-2); color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 920px) {
  .nav-toggle { display: grid; gap: 4px; width: 44px; height: 40px; place-content: center; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; }
  .nav-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink); text-decoration: none; padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; background: var(--panel); line-height: 1.2; box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--ink); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn:disabled { cursor: default; transform: none; opacity: .6; }
.btn-lg { font-size: 1.05rem; padding: 14px 24px; border-radius: 10px; }
.btn-sm { font-size: .88rem; padding: 7px 12px; border-radius: 6px; }
.btn-ink, .btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover, .btn-primary:hover { background: var(--slate-2); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { background: #FFC61A; color: var(--ink); }
.btn-paper { background: var(--panel); }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); box-shadow: none; }

/* ---------- layout ---------- */
main { overflow-x: clip; }
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 40px); }
.section-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.section-sub { margin-top: clamp(36px, 5vw, 56px); }
.kicker, .kicker-pill, .eyebrow { font-size: .74rem; color: var(--yellow-deep); margin: 0 0 10px; }
.kicker::before { content: ''; display: inline-block; width: 22px; height: 3px; margin-right: 10px; vertical-align: 3px; background: var(--route); }
.kicker a { color: var(--yellow-deep); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.kicker-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px 5px 8px; box-shadow: var(--shadow-sm); color: var(--ink-2); }
.kicker-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -.025em; }
.lede { font-size: 1.13rem; color: var(--ink-2); }
.title { font-size: clamp(2.05rem, 5vw, 3.2rem); letter-spacing: -.03em; }
.band { max-width: none; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.band-in { max-width: var(--wrap); margin: 0 auto; }
.plainlist { list-style: none; padding: 0; }
.plainlist li { margin: .35em 0; }

/* ---------- hero ---------- */
.hero-wrap { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-wrap::before { content: ''; position: absolute; left: -40px; right: -40px; top: 58%; height: 3px; background: var(--route); opacity: .14; transform: rotate(-4deg); pointer-events: none; }
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 80px) clamp(16px, 4vw, 40px); display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr .95fr; } }
.hero-h { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 10px 0 18px; }
.hero-h em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); padding: 0 .06em; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.hero-note { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; }
.hero-note span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
.hero-tools { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tools a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px 6px 6px; }
.hero-tools a:hover { border-color: var(--ink); }
.hero-tools i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 .72rem var(--num); color: var(--ink); font-style: normal; }
.hero-art { position: relative; }
@media (max-width: 899px) { .hero-art { max-width: 520px; margin: 0 auto; width: 100%; } }

/* the route sheet on a clipboard (hero art) */
.sheet { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 30px 22px 20px; transform: rotate(-1.2deg); }
.sheet::before { content: ''; position: absolute; left: 50%; top: -14px; width: 96px; height: 26px; margin-left: -48px; background: var(--ink); border-radius: 8px 8px 4px 4px; box-shadow: inset 0 -5px 0 var(--slate-3); }
.sheet::after { content: ''; position: absolute; left: 50%; top: -6px; width: 34px; height: 8px; margin-left: -17px; background: var(--yellow); border-radius: 3px; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .72rem; color: var(--muted); border-bottom: 2px solid var(--ink); padding: 0 0 8px; margin: 0 0 6px; }
.sheet-head b { color: var(--ink); font-size: .9rem; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sheet th { text-align: left; font: 700 .68rem/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 6px 6px; border-bottom: 1px solid var(--line); }
.sheet td { padding: 9px 6px; border-bottom: 1px dashed var(--line-2); vertical-align: middle; }
.sheet tr:last-child td { border-bottom: none; }
.sheet td.n, .sheet th.n { text-align: right; font-family: var(--num); font-weight: 600; }
.sheet .pin { display: inline-block; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--yellow); margin-right: 8px; vertical-align: -1px; border: 1.5px solid var(--ink); }
.sheet .ok { color: var(--green-deep); }
.sheet .low { color: var(--red-deep); }
.sheet .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.sheet .dot.ok { background: var(--green); }
.sheet .dot.low { background: var(--red); }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0 0; padding-top: 12px; border-top: 2px solid var(--ink); font-family: var(--num); font-weight: 700; }
.sheet-foot small { font: 700 .68rem/1 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.sheet-foot .total { font-size: 1.5rem; color: var(--green-deep); }
.sheet-note { font-size: .78rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* ---------- tools ---------- */
.tool-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
.tool-card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.tool-card img, .tool-card .tool-art { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.tool-card .tool-art { display: grid; place-items: center; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.tool-card .tool-art svg { width: 56%; height: auto; max-height: 78%; }
.tool-card h3 { font-size: 1.35rem; margin: 18px 22px 6px; }
.tool-card p { margin: 0 22px 18px; color: var(--ink-2); font-size: 1rem; }
.tool-badge { position: absolute; top: 14px; left: 14px; font-size: .68rem; padding: 5px 9px; border-radius: 4px; background: var(--ink); color: #fff; }
.tool-yellow .tool-badge { background: var(--yellow); color: var(--ink); }
.tool-green .tool-badge { background: var(--green); }
.tool-go { margin: auto 22px 20px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.tool-go::after { content: '\2192'; transition: transform .16s ease; }
.tool-card:hover .tool-go::after { transform: translateX(4px); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px 22px; }
.step .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 700 1.05rem var(--num); margin-bottom: 14px; border: 2px solid var(--ink); }
.step h3 { font-size: 1.2rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 760px) { .step:not(:last-child)::after { content: ''; position: absolute; top: 40px; right: -18px; width: 18px; height: 3px; background: var(--route); } }
.steps-art { margin: 0 auto 28px; max-width: 900px; }
.steps-art img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- guide cards ---------- */
.guide-grid { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.guide-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .16s ease; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card > div { padding: 14px 18px 18px; }
.guide-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.25; }
.guide-card h3 a, .guide-card h3 .link-pending { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ''; position: absolute; inset: 0; }
.guide-card h3 a:hover { color: var(--yellow-deep); }
.link-pending { color: inherit; font-weight: 600; }
.empty-guides { text-align: center; color: var(--ink-2); max-width: 720px; margin: 0 auto 20px; }

/* ---------- honesty, faq ---------- */
.honest-wrap { padding-top: 0; }
.honesty { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.honesty .honesty-art { width: 64px; height: 64px; }
.honesty .h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.honesty p { color: var(--ink-2); }
.honesty p:last-child { margin-bottom: 0; }
.honesty ul { padding-left: 1.2em; color: var(--ink-2); }
@media (max-width: 560px) { .honesty { grid-template-columns: 1fr; } }
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 18px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; position: relative; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font: 500 1.1rem/1 var(--num); color: var(--ink); }
.faq-item[open] summary::after { content: '\2212'; background: var(--yellow-soft); color: var(--yellow-deep); }
.faq-a { padding: 0 18px 8px; color: var(--ink-2); }

/* ---------- CTA / waitlist ---------- */
.cta { width: calc(100% - 32px); max-width: 1000px; margin: clamp(30px, 5vw, 64px) auto; padding: clamp(22px, 4vw, 38px); display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 34px); align-items: center; border-radius: 18px; position: relative; overflow: hidden; background: var(--ink); color: #E4E9EF; box-shadow: var(--shadow-lg); }
.cta::before { content: ''; position: absolute; left: -20px; right: -20px; top: 50%; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 8px, transparent 8px 14px); transform: rotate(-6deg); pointer-events: none; }
.cta > * { position: relative; }
.cta-art { width: 150px; height: 150px; }
.cta-art svg, .cta-art img { width: 150px; height: 150px; border-radius: 16px; display: block; }
.cta-kicker { font-size: .72rem; color: var(--yellow); margin: 0; }
.cta-h { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 10px; color: #fff; }
.cta-sub { color: #B9C3CE; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.waitlist input[type=email] { flex: 1 1 240px; min-width: 0; font: inherit; font-weight: 500; padding: 13px 16px; border: 1px solid #52606D; border-radius: 8px; background: #2B3640; color: #fff; }
.waitlist input[type=email]::placeholder { color: #8C98A4; }
.waitlist input[type=email]:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 183, 0, .25); }
.cta .btn-ink { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.cta .btn-ink:hover { background: #FFC61A; color: var(--ink); }
.waitlist-msg { flex-basis: 100%; margin: 4px 0 0; font-weight: 700; min-height: 1.4em; }
.waitlist-msg.ok { color: #7EDDB0; }
.waitlist-msg.err { color: #FFB1A8; }
.cta-fine { font-size: .88rem; color: #9AA5B1; margin: 6px 0 0; }
.cta-fine a { color: #fff; text-decoration-color: var(--yellow); }
@media (max-width: 640px) { .cta { grid-template-columns: 1fr; } .cta-art, .cta-art svg, .cta-art img { width: 92px; height: 92px; border-radius: 12px; } .waitlist .btn { width: 100%; } }

/* ---------- prose (posts and pages) ---------- */
.prose { max-width: 820px; }
.prose > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose .title { margin-top: 6px; }
.byline { font-size: .74rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; letter-spacing: .06em; }
.byline-dot { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--yellow); border: 1.5px solid var(--ink); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); letter-spacing: -.025em; margin: 1.9em auto .55em; }
.prose h2::before { content: ''; display: block; width: 36px; height: 3px; margin-bottom: 14px; background: var(--route); }
.prose h3 { font-size: 1.25rem; margin: 1.5em auto .45em; }
.prose p, .prose li { font-size: 1.08rem; color: #2B3640; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--yellow-deep); font-weight: 700; font-family: var(--num); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose hr { border: none; border-top: 1px solid var(--line-2); margin: 2em auto; }
.prose img { border-radius: 12px; }
.prose code { font-family: var(--num); background: var(--bg-2); border-radius: 4px; padding: 1px 6px; font-size: .9em; }
.prose blockquote { margin: 1.4em auto; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-2); color: var(--ink-2); }
.story-fig { margin: 32px auto; max-width: 820px !important; }
.story-fig img { border-radius: 12px; box-shadow: var(--shadow); background: var(--panel); }
.story-fig figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.45; }
.page-hero, .post-hero { margin: 18px auto 28px; max-width: 820px !important; }
.page-hero img, .post-hero img { border-radius: 12px; box-shadow: var(--shadow); }
.takeaways { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 26px 26px 12px; margin: 28px auto 34px; }
.takeaways::before { content: ''; position: absolute; left: 50%; top: -9px; width: 72px; height: 18px; margin-left: -36px; background: var(--ink); border-radius: 6px 6px 3px 3px; }
.takeaways h2 { margin: 2px 0 10px !important; font-size: .74rem !important; font-family: var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-deep); font-weight: 700; }
.takeaways h2::before { display: none !important; }
.takeaways ul { list-style: none; padding-left: 0; }
.takeaways li { position: relative; padding-left: 30px; margin: .5em 0; }
.takeaways li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 3px; background: var(--panel); }
.takeaways li::after { content: ''; position: absolute; left: 5px; top: .5em; width: 5px; height: 9px; border: solid var(--green-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.callout { position: relative; border-radius: 10px; padding: 18px 20px 6px 20px; margin: 26px auto; border: 1px solid var(--line); border-left-width: 6px; background: var(--panel); }
.callout p { margin-bottom: .8em; }
.callout-label { font-size: .7rem; margin: 0 0 6px; }
.callout-quick { border-left-color: var(--yellow); background: var(--yellow-soft); }
.callout-quick .callout-label { color: var(--yellow-deep); }
.callout-quick p:not(.callout-label) { font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.callout-tip { border-left-color: var(--green); background: var(--green-soft); }
.callout-tip .callout-label { color: var(--green-deep); }
.callout-warn { border-left-color: var(--red); background: var(--red-soft); }
.callout-warn .callout-label { color: var(--red-deep); }
.callout-fact { border-left-color: var(--slate-3); background: var(--bg-2); }
.callout-fact .callout-label { color: var(--slate-3); }
.callout-try { border-left-color: var(--ink); background: var(--panel); box-shadow: var(--shadow-sm); }
.callout-try .callout-label { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1.6em auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); -webkit-overflow-scrolling: touch; }
.prose table, .vr-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .vr-table th { text-align: left; font-family: var(--label); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--bg-2); padding: 10px 14px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.prose td, .vr-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #2B3640; }
.prose tr:last-child td, .vr-table tr:last-child td { border-bottom: none; }
.prose td:not(:first-child) { font-variant-numeric: tabular-nums; }
.disclaimer { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line-2); }
.sources a { font-weight: 500; word-break: break-all; text-decoration-color: var(--line-2); }
.sources a:hover { text-decoration-color: var(--ink); }

/* ---------- blog index ---------- */
.blog-index .section-head { text-align: left; margin-left: 0; max-width: 820px; }
.post-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 16px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.2rem; margin: 0 0 8px; line-height: 1.25; }
.post-card p { color: var(--ink-2); font-size: .95rem; margin: 0 0 12px; flex: 1; }
.post-card time { font-family: var(--num); font-size: .78rem; color: var(--muted); }
.blog-empty { text-align: center; padding: 40px 0; }
.blog-empty svg { width: 96px; height: 96px; margin: 0 auto 10px; }

/* ---------- tool pages ---------- */
.tool-page { padding-bottom: 0; }
.tool-head { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.tool-copy { padding-top: 0; }
.tool-mount { max-width: 1000px; margin: 0 auto; }
.vr-tool { background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.vr-tool-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; background: var(--ink); color: #fff; }
.vr-tool-head b { font-family: var(--label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
.vr-tool-head span { font-family: var(--num); font-size: .78rem; color: #B9C3CE; }
.vr-body { padding: clamp(16px, 3vw, 28px); display: grid; gap: 22px; }
@media (min-width: 900px) { .vr-body.two { grid-template-columns: 1fr 1fr; align-items: start; } }
.vr-form { display: grid; gap: 14px; }
.vr-fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 6px; margin: 0; background: var(--bg); }
.vr-fieldset legend { font-family: var(--label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; color: var(--yellow-deep); padding: 0 6px; }
.vr-grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .vr-grid { grid-template-columns: 1fr 1fr; } }
.vr-field { display: grid; gap: 4px; margin-bottom: 8px; }
.vr-field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.vr-field .hint { font-size: .78rem; color: var(--muted); }
.vr-in { display: flex; align-items: center; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.vr-in:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 183, 0, .3); }
.vr-in span { padding: 0 10px; color: var(--muted); font-family: var(--num); font-size: .9rem; background: var(--bg-2); align-self: stretch; display: grid; place-items: center; border-right: 1px solid var(--line); }
.vr-in span.suf { border-right: none; border-left: 1px solid var(--line); }
.vr-in input, .vr-in select { flex: 1; min-width: 0; font: 600 1rem var(--num); color: var(--ink); padding: 10px 12px; border: none; background: transparent; }
.vr-in input:focus, .vr-in select:focus { outline: none; }
.vr-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vr-results { display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.kpi small { display: block; font-family: var(--label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; color: var(--muted); margin-bottom: 4px; }
.kpi b { display: block; font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.kpi.good { border-color: var(--green); background: var(--green-soft); }
.kpi.good b { color: var(--green-deep); }
.kpi.bad { border-color: var(--red); background: var(--red-soft); }
.kpi.bad b { color: var(--red-deep); }
.kpi.hero-kpi { grid-column: 1 / -1; }
.kpi.hero-kpi b { font-size: 2.2rem; }
.vr-table-wrap { border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; background: var(--panel); }
.vr-table td.n, .vr-table th.n { text-align: right; font-family: var(--num); white-space: nowrap; }
.vr-table tr.total td { font-weight: 700; border-top: 2px solid var(--ink); background: var(--bg); }
.vr-table .neg { color: var(--red-deep); }
.vr-table .pos { color: var(--green-deep); }
.vr-note { font-size: .88rem; color: var(--ink-2); background: var(--bg); border: 1px dashed var(--line-2); border-radius: 8px; padding: 12px 14px; margin: 0; }
.vr-note b { color: var(--ink); }
.vr-sens { border-left: 6px solid var(--yellow); background: var(--yellow-soft); border-radius: 8px; padding: 12px 16px; }
.vr-sens p { margin: 0; }
.vr-sens b.n { font-family: var(--num); }
.vr-assume { font-size: .85rem; color: var(--ink-2); }
.vr-assume ul { padding-left: 1.2em; margin: .4em 0 0; }
.vr-assume li { margin: .2em 0; }
.vr-empty { text-align: center; color: var(--muted); padding: 30px 10px; border: 1px dashed var(--line-2); border-radius: 10px; }
.vr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.vr-list li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .95rem; }
.vr-list li b { display: block; }
.vr-list li small { color: var(--muted); font-size: .8rem; }
.vr-list .pill { font-family: var(--num); font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.vr-list .pill.due { background: var(--red-soft); color: var(--red-deep); }
.vr-list .pill.ok { background: var(--green-soft); color: var(--green-deep); }
.vr-list button { font: 600 .82rem var(--body); color: var(--muted); background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 9px; cursor: pointer; }
.vr-list button:hover { color: var(--red-deep); border-color: var(--red); }
.vr-sheet { background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.vr-sheet .day { border-top: 2px solid var(--ink); }
.vr-sheet .day:first-child { border-top: none; }
.vr-sheet .day h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; padding: 10px 14px; background: var(--bg-2); font-size: 1rem; }
.vr-sheet .day h3 span { font-family: var(--num); font-size: .8rem; color: var(--muted); font-weight: 600; }
.vr-sheet table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.vr-sheet th { text-align: left; font: 700 .68rem/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 14px 6px; border-bottom: 1px solid var(--line); }
.vr-sheet td { padding: 9px 14px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.vr-sheet tr:last-child td { border-bottom: none; }
.vr-sheet td.chk { width: 34px; }
.vr-sheet td.chk i { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 3px; }
.vr-sheet td.n { text-align: right; font-family: var(--num); white-space: nowrap; }
.vr-sheet .overdue { color: var(--red-deep); font-weight: 700; }
.vr-sheet .empty-day { color: var(--muted); font-style: italic; }

/* ---------- stats and 404 ---------- */
.stats { max-width: var(--wrap); margin: -26px auto 0; padding: 0 clamp(16px, 4vw, 40px); display: grid; gap: 14px; position: relative; z-index: 2; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { display: block; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.6rem; color: var(--ink); }
.stat p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.four04 { text-align: center; }
.four04-art { max-width: 320px; margin: 0 auto 20px; }
.four04 .plainlist { display: inline-block; text-align: left; }

/* ---------- footer ---------- */
.site-foot { margin-top: clamp(30px, 5vw, 60px); border-top: 3px solid var(--ink); background: var(--panel); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 40px) 20px; display: grid; gap: 28px; }
@media (min-width: 820px) { .foot-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.foot-brand p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.foot-brand strong { font-family: var(--display); font-size: 1.1rem; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); }
.foot-h { font-size: .7rem; color: var(--muted); margin: 0 0 6px; }
.foot-safety { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.foot-safety p { margin: 0; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: 8px; font-size: .9rem; color: var(--ink-2); }
.foot-legal { max-width: var(--wrap); margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px) 34px; font-size: .8rem; color: var(--muted); }

/* ---------- print (the route sheet is made to be printed) ---------- */
@media print {
  .site-head, .site-foot, .cta, .vr-form, .vr-actions, .tool-copy, .hero-actions, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .vr-tool, .vr-sheet { box-shadow: none; border-color: #000; }
  .vr-sheet .day { break-inside: avoid; }
  .vr-sheet .day h3 { background: none; border-bottom: 1px solid #000; }
  a { text-decoration: none; color: #000; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
