/* ============================================================
   Truck123 prototype - shared stylesheet
   Light, editorial, B2B. No external dependencies.
   ============================================================ */

:root {
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #8a94a6;
  --line: #e4e7ec;
  --line-2: #eef0f4;
  --paper: #f7f8fa;
  --white: #ffffff;
  --navy: #0d1b2e;
  --navy-2: #16263d;
  --accent: #1d4ed8;
  --accent-2: #2f6bff;
  --amber: #f79009;
  --amber-soft: #fff6e6;
  --green: #067647;
  --green-soft: #ecfdf3;
  --red: #d92d20;
  --red-soft: #fef3f2;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 16.5px;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 17px; height: 17px; }

.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.active { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); text-decoration: none; }
.btn-amber { background: var(--amber); color: #23180a; }
.btn-amber:hover { background: #e0820a; text-decoration: none; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cfd6e0; text-decoration: none; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }

/* ---------- hero ---------- */

.hero {
  background: radial-gradient(120% 140% at 85% 0%, #1c3350 0%, var(--navy) 55%, #0a1524 100%);
  color: #fff;
  padding: 62px 0 74px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 90% at 50% 0%, #000 20%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9fb4d0;
  border: 1px solid rgba(255,255,255,.18);
  padding: 4px 10px;
  border-radius: 99px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin: 18px 0 14px;
  max-width: 660px;
  font-weight: 700;
}
.hero p {
  color: #c3cfdf;
  font-size: 17px;
  max-width: 600px;
  margin: 0 0 26px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stats div span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stats div small {
  color: #93a5bd;
  font-size: 12.5px;
}

/* ---------- sections ---------- */

section { padding: 56px 0; }
section.tight { padding: 40px 0; }

.section-head { margin-bottom: 26px; }
.section-head h2 {
  font-size: 24px;
  letter-spacing: -.02em;
  margin: 0 0 6px;
  font-weight: 700;
}
.section-head p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.tool-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.tool-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: #d3dae5;
  text-decoration: none;
}
.tool-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef3ff;
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.tool-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.tool-card p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.tool-card .meta {
  margin-top: auto;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  gap: 10px;
  align-items: center;
}
.tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--line-2);
  color: var(--ink-2);
}
.tag.hot { background: var(--amber-soft); color: #b54708; }
.tag.new { background: #eef3ff; color: #1d4ed8; }

/* ---------- calculator layout ---------- */

.calc-shell { padding: 34px 0 60px; }

.crumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink-2); }

.page-title h1 {
  font-size: 32px;
  letter-spacing: -.025em;
  margin: 0 0 8px;
  line-height: 1.25;
}
.page-title p {
  color: var(--ink-2);
  margin: 0 0 6px;
  max-width: 680px;
  font-size: 15px;
}

.calc {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
  margin-top: 28px;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-body { padding: 22px 22px 24px; }
.panel-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head h2 {
  font-size: 14px;
  margin: 0;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}

.field-group { margin-bottom: 22px; }
.field-group:last-child { margin-bottom: 0; }
.field-group > .group-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}

.field {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 14px;
  align-items: center;
  padding: 7px 0;
}
.field label {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.field label .hint {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 1px;
}
.inp-wrap { position: relative; }
.inp-wrap .unit {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--ink-3);
  pointer-events: none;
}
input[type="number"], input[type="text"], select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
  font-family: inherit;
}
.inp-wrap.has-unit input { padding-right: 44px; }
input:focus, select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .14);
}
input[type="range"] { width: 100%; accent-color: var(--accent); }

/* ---------- results ---------- */

.result-hero {
  background: var(--navy);
  color: #fff;
  padding: 24px 22px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.result-hero .label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9fb4d0;
  font-weight: 600;
}
.result-hero .value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.result-hero .value small {
  font-size: 16px;
  font-weight: 500;
  color: #9fb4d0;
  letter-spacing: 0;
}
.result-hero .sub {
  margin-top: 10px;
  font-size: 13px;
  color: #b6c4d6;
}

.breakdown { padding: 6px 22px 18px; }
.bd-row { padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.bd-row:last-child { border-bottom: none; }
.bd-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
}
.bd-top .k { color: var(--ink-2); }
.bd-top .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar {
  height: 6px;
  background: var(--line-2);
  border-radius: 4px;
  margin-top: 7px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width .25s ease;
}

.note-box {
  margin: 0 22px 20px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  background: var(--amber-soft);
  color: #7a3f06;
  border: 1px solid #fbe2b3;
}
.note-box.ok { background: var(--green-soft); color: #05603a; border-color: #bbf7d0; }
.note-box.bad { background: var(--red-soft); color: #912018; border-color: #fecdca; }

/* ---------- prose ---------- */

.prose { max-width: 720px; }
.prose h2 {
  font-size: 21px;
  letter-spacing: -.015em;
  margin: 40px 0 10px;
}
.prose h3 { font-size: 16px; margin: 26px 0 8px; }
.prose p { color: var(--ink-2); margin: 10px 0; }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }

/* ---------- lead capture ---------- */

.lead-band {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  margin: 40px 0 0;
}
.lead-band h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.01em; }
.lead-band p { margin: 0; color: var(--ink-2); font-size: 13.5px; max-width: 560px; }

.related { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 30px; }
.related h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 16px; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-list a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.related-list a:hover { border-color: #cfd6e0; text-decoration: none; }
.related-list a span { color: var(--ink-3); font-weight: 400; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 36px 0 44px;
  margin-top: 60px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.footer-grid h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { color: var(--ink-2); }
.footer-bottom {
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
}

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .calc { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-list { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 33px; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .nav { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 24px; }
  .field { grid-template-columns: 1fr 110px; }
  .lead-band { grid-template-columns: 1fr; }
  .result-hero .value { font-size: 33px; }
}

/* ============================================================
   Site layer - navigation, ads, guides, article layout
   ============================================================ */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.nav a { position: relative; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -21px;
  height: 2px;
  background: var(--amber);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.7px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .16s ease, opacity .16s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.7px) rotate(-45deg); }

/* ---------- ads ---------- */

.ad-slot {
  margin: 30px 0;
  text-align: center;
}
.ad-slot .ad-label {
  display: block;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aab2c0;
  margin-bottom: 6px;
}
.ad-slot .ad-box {
  display: grid;
  place-items: center;
  border: 1px dashed #dfe3ea;
  border-radius: 10px;
  background:
    repeating-linear-gradient(45deg, #fbfcfd 0 8px, #f7f9fb 8px 16px);
  color: #b3bbc8;
  font-size: 12px;
}
.ad-slot .ad-box::after { content: "Ad space"; }
.ad-box.is-live {
  border: none;
  background: none;
  min-height: 0;
}
.ad-box.is-live::after { content: ""; }

/* ---------- lists ---------- */

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
ol.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 0 38px;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
ol.steps li:last-child { margin-bottom: 0; }
ol.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li {
  position: relative;
  padding-left: 20px;
  margin: 7px 0;
  font-size: 14px;
  color: var(--ink-2);
}
ul.plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #c3ccda;
}

/* ---------- guide cards ---------- */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  box-shadow: var(--shadow);
  display: block;
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.guide-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: #d3dae5;
  text-decoration: none;
}
.gk {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b54708;
  background: var(--amber-soft);
  padding: 3px 8px;
  border-radius: 99px;
  margin-bottom: 10px;
}
.guide-card h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0 0 7px;
  color: var(--ink);
}
.guide-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- row list ---------- */

.row-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
}
.row-link:last-child { border-bottom: none; }
.row-link:hover { background: #fafbfc; text-decoration: none; }
.row-link h3 { margin: 0 0 3px; font-size: 15.5px; letter-spacing: -.01em; }
.row-link p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.row-link .arr { color: var(--ink-3); font-size: 16px; flex: 0 0 auto; }

/* ---------- article ---------- */

.article { max-width: 760px; }
.article-head { margin-bottom: 8px; }
.article-head h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.028em;
  margin: 10px 0 12px;
}
.article-head .lede {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.byline {
  font-size: 12.5px;
  color: var(--ink-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.article-body.prose { max-width: 760px; }
.article-body h2 {
  font-size: 23px;
  margin: 42px 0 12px;
  padding-top: 4px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 16.5px; margin: 26px 0 6px; }
.article-body p { font-size: 15.5px; line-height: 1.72; color: var(--ink-2); }
.article-body li { font-size: 15px; line-height: 1.68; margin: 8px 0; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body a { text-decoration: underline; text-decoration-color: #c3d0f5; text-underline-offset: 2px; }
.article-body a:hover { text-decoration-color: var(--accent); }
.article-body table { font-size: 14px; }
.article-body td { color: var(--ink-2); }
.article-body strong { color: var(--ink); }

.formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  background: #f4f6fa;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  overflow-x: auto;
}
p.small, .small { font-size: 13px !important; color: var(--ink-3) !important; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: #f2f4f8;
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--ink);
}

.faq { border-top: 1px solid var(--line-2); margin-top: 6px; }
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.faq-item h3 { margin: 0 0 5px; font-size: 15.5px; }
.faq-item p { margin: 0; font-size: 15px; }

/* ---------- responsive: site layer ---------- */

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .site-header .container { height: 56px; gap: 10px; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px -18px rgba(16, 24, 40, .3);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 0;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 12px 24px; font-size: 15px; width: 100%; }
  .nav a.active::after { display: none; }
  .article-head h1 { font-size: 27px; }
  .article-head .lede { font-size: 16px; }
}

@media (max-width: 620px) {
  .guide-grid { grid-template-columns: 1fr; }
  .row-link { padding: 15px 16px; gap: 12px; }
  .row-link h3 { font-size: 14.5px; }
  .article-body h2 { font-size: 20px; }
  .article-body p, .article-body li { font-size: 15px; }
  .ad-slot .ad-box { min-height: 100px !important; }
}

/* ============================================================
   State directory layer
   ============================================================ */

.section-more { margin: 18px 0 0; font-size: 14px; font-weight: 600; }
.section-more a::after { content: ""; }

.state-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.state-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.state-chip:hover {
  border-color: #c9d3e2;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  text-decoration: none;
}
.state-chip strong { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.state-chip small { font-size: 11px; color: var(--ink-3); font-weight: 700; letter-spacing: .05em; }

@media (max-width: 920px) {
  .state-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .state-grid { grid-template-columns: repeat(2, 1fr); }
}
