/* Fishing license site: one stylesheet, no frameworks. */
:root {
  --ink: #10263a;          /* navy */
  --ink-2: #3f586b;
  --muted: #5a6f80;
  --paper: #f6f8fa;
  --card: #ffffff;
  --line: #d9e3ea;
  --line-2: #e3e9ed;
  --link: #175a86;
  --buoy: #b84607;         /* blaze orange (text-safe) */
  --blaze: #e8590c;        /* blaze orange for large fills */
  --buoy-soft: #fdeadf;
  --shoal: #e8eef2;
  --fresh: #2c6b4c;
  --fresh-soft: #e1f0e7;
  --salt: #175a86;
  --salt-soft: #ddebf5;
  --amber: #8a5a00;
  --amber-soft: #fbefd2;
  --d1: #e2eff5; --d2: #a8cfe2; --d3: #4f8db8; --d4: #174f78;
  --radius: 14px;
  --r-s: 10px;
  --band: #e6eff5;
  --blue-tint: #e3eef7;
  --blue-text: #1d5f8f;
  --blaze-tint: #fdecdf;
  --blaze-text: #b84607;
  --green-tint: #e1f0e7;
  --serif: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, system-ui, sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.6 var(--sans); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
}
a { color: var(--link); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--buoy); }
h1, h2, h3, .h3 { font-family: var(--serif); line-height: 1.05; font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0 0 12px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 0 0 0.5em; }
h3, .h3 { font-size: 1.28rem; margin: 1.4em 0 0.5em; }
p { margin: 0 0 0.8em; }
small, .small { font-size: 0.86rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 2px; }

/* Top notice and header */
.notice { background: #0a1a28; color: #dfe9ea; font-size: 0.86rem; padding: 7px 0; }
.notice a { color: #fff; }
.notice strong { color: #fff; }
.top { background: var(--ink); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font: 700 1.5rem/1 var(--serif); }
.nav { display: flex; gap: 2px 16px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: #dbe8f1; text-decoration: none; padding: 6px 0; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: underline; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 5; }
.skip:focus { left: 8px; top: 8px; }
.crumbs { font-size: 0.85rem; color: var(--muted); padding-top: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--ink-2); }

main { padding-bottom: 48px; }
section { margin: 0 0 40px; scroll-margin-top: 16px; }
.page-head { padding: 18px 0 10px; }
.eyebrow { font-size: 0.85rem; font-weight: 700; color: var(--buoy); margin: 0; }
.meta { color: var(--ink-2); font-size: 0.92rem; }
.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 46rem; }
.big { font-size: 1.15rem; }
.gaps { background: var(--amber-soft); border: 1px solid #ecd49a; border-radius: var(--radius); padding: 12px 16px; margin: 12px 0 0; font-size: 0.93rem; color: #4d3500; max-width: 52rem; }
.gaps p { margin: 0 0 6px; }
.gaps ul { margin: 0; padding-left: 18px; }
.gaps li { margin-bottom: 4px; }
.gaps a { color: #6b4500; font-weight: 600; }
section.gaps { margin-bottom: 20px; }
.gap { background: var(--amber-soft); border-left: 5px solid #c98a00; border-radius: 6px; padding: 9px 13px; margin: 0 0 12px; font-size: 0.92rem; color: #4d3500; }
.gap-inline { display: block; color: var(--amber); font-weight: 600; font-size: 0.84rem; }
.tag.gapt { background: var(--amber-soft); color: var(--amber); text-decoration: none; font-weight: 700; }
.calc-gap { font-size: 0.84rem; color: #ffd28a; margin: 0 0 8px; }
.caveat { display: block; margin-top: 6px; font-size: 0.9rem; background: var(--amber-soft); color: #5c3d00; padding: 6px 10px; border-radius: 6px; }

/* Section headers with check dates */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 0; }
section > h2 { margin-bottom: 14px; }
.checked { font-size: 0.95rem; font-weight: 700; color: var(--fresh); white-space: nowrap; background: var(--fresh-soft); border-radius: 999px; padding: 2px 12px; }
.checked::before { content: "✓ "; }
.h-note { font: 500 0.9rem var(--sans); color: var(--muted); margin-left: 6px; vertical-align: middle; }

/* Quick answer: license card and price tiles */
.answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: 0 0 40px; align-items: start; }
.answer h2 { border: 0; padding: 0; }
.lic { background: var(--card); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.lic-strip { background: var(--blaze); color: #fff; display: flex; justify-content: space-between; gap: 10px; padding: 7px 18px; font: 700 1.2rem/1.2 var(--serif); }
.lic-in { padding: 16px 20px 14px; }
.lic-in h2 { font-size: 1.75rem; margin: 0 0 4px; }
.lic-in .big { margin-bottom: 4px; }
.lic-no { font-weight: 700; margin: 12px 0 4px; }
.lic-stub { border-top: 2px dashed #b7c3cc; padding: 10px 20px 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 0.88rem; color: var(--ink-2); }
.answer-c .h-sub { font-size: 1.75rem; margin: 2px 0 10px; }
.tile-h { font-weight: 700; color: var(--ink-2); margin: 12px 0 6px; font-size: 0.95rem; }
.answer-c .tile-h:first-of-type { margin-top: 0; }
.tiles3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiles3 li { background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 12px; }
.tiles3 small { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.tiles3 b { font: 700 2.3rem/1.05 var(--serif); }
.tiles3 li.hot { background: var(--ink); color: #fff; }
.tiles3 li.hot small { color: #cfe0ec; }
.answer-c .small { margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 6px; }
.ticks li { position: relative; padding-left: 20px; margin: 4px 0; font-size: 0.95rem; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ink-2); }
table.mini { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.mini th, .mini td { padding: 6px 4px; text-align: right; border-bottom: 1px solid var(--line); }
.mini th:first-child { text-align: left; }
.mini thead th { font-size: 0.85rem; color: var(--ink-2); font-weight: 600; }
.mini td { font-size: 1.08rem; font-weight: 700; }
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
  padding: 10px 16px; border-radius: 8px; margin-top: 4px;
}
.btn { background: var(--buoy); border-radius: 999px; padding: 12px 20px; }
.btn:hover { background: var(--ink); color: #fff; }
.btn { font-weight: 700; }

/* Two-column layout with contents list */
.layout { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 36px; }
.toc { position: sticky; top: 14px; align-self: start; font-size: 0.9rem; }
.toc summary { font-weight: 700; cursor: pointer; margin-bottom: 6px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 4px 0 4px 12px; color: var(--ink-2); text-decoration: none; }
.toc li a:hover { color: var(--buoy); }

/* Tags and sources */
.tag { display: inline-block; font-size: 0.85rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; vertical-align: 1px; margin-right: 3px; white-space: nowrap; }
.tag.freshwater { background: var(--fresh-soft); color: var(--fresh); }
.tag.saltwater { background: var(--salt-soft); color: var(--salt); }
.tag.age { background: var(--buoy-soft); color: #9a3412; }
.tag.sec { background: var(--amber-soft); color: var(--amber); }
.src { font-size: 0.85rem; white-space: nowrap; }
.src a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--muted); }
.src a:hover { color: var(--buoy); }
.src a::before { content: "↗ "; }
.src a.more { margin-left: 6px; }
.src a.more::before { content: "+"; }
.src a.sec { color: var(--amber); border-color: var(--amber); white-space: normal; }

/* Tables (stack into cards on phones) */
table.stack { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.95rem; margin-bottom: 18px; }
.stack th, .stack td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.stack thead th { background: var(--shoal); font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.stack .num { text-align: right; }
.stack .price { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.stack tr.group th { background: #eef4f7; font: 700 0.85rem var(--sans); color: var(--ink-2); }
.stack tr.special td { color: var(--ink-2); }
.stack .notes p { margin: 0 0 4px; font-size: 0.88rem; }
.stack tbody th { font-weight: 600; }
.limits tr.sp-more td, .limits tr.sp-more th { border-top: 0; }
.limits .cont { display: none; }
.limits tr.sp-note td { font-size: 0.84rem; color: var(--ink-2); background: #f6fafb; border-bottom: 1px solid var(--line); }
.limits tr.volatile td { background: var(--amber-soft); }
.compare td.num { font-weight: 700; }

/* Cards and lists */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 12px; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.card h3, .card .h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin-bottom: 6px; font-size: 0.93rem; }
.card-h { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.card-h .price { font-weight: 700; font-size: 1.1rem; text-align: right; white-space: nowrap; }
.card-h .price small { font-weight: 400; }
.card.req { border-color: var(--buoy); box-shadow: inset 4px 0 0 var(--buoy); }
.req-line { font-weight: 700; color: #9a3412; font-size: 0.88rem; }
.rows { list-style: none; padding: 0; margin: 0 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.rows li { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.rows li:last-child { border-bottom: 0; }
.rows p { margin: 0 0 3px; }
.facts { display: grid; grid-template-columns: 12rem 1fr; gap: 8px 18px; margin: 0 0 12px; }
.facts dt { font-weight: 700; font-size: 0.92rem; }
.facts dd { margin: 0; }
.dates { list-style: none; padding: 0; margin: 0 0 12px; }
.dates li { padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--fresh); border-radius: 8px; margin-bottom: 8px; }
.dates .d { font-weight: 700; margin-right: 6px; }
.pending { color: var(--amber); font-weight: 600; }
.warn { background: var(--amber-soft); border-left: 5px solid #c98a00; padding: 10px 14px; border-radius: 6px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 12px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { display: inline; font-size: 1.05rem; margin: 0; }
.qa summary::after { content: "+"; float: right; font-weight: 700; color: var(--buoy); }
.qa[open] summary::after { content: "–"; }
.srclist { font-size: 0.85rem; columns: 2; padding-left: 18px; }
.srclist li { break-inside: avoid; margin-bottom: 4px; overflow-wrap: anywhere; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calc-in { padding: 18px; display: grid; gap: 14px; align-content: start; }
.calc-out { padding: 20px 22px; background: var(--ink); color: #e8eff0; min-height: 100%; }
.calc-out a { color: #fff; }
.field { display: grid; gap: 5px; margin: 0; }
.field > span, .seg legend { font-weight: 700; font-size: 0.88rem; }
.calc select, .calc input[type=number] { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { margin-bottom: 5px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 0.93rem; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--buoy); outline-offset: 2px; }
.days { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.days button { font: inherit; font-size: 0.93rem; padding: 7px 12px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ink); }
.days button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.days input[type=number] { width: 5.5rem; }
.extras { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; font-size: 0.92rem; }
.check small { grid-column: 2; }
.calc-total { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; margin-bottom: 10px; }
.calc-label { display: block; font-size: 0.9rem; color: #a9c3d3; }
.calc-total strong { font: 700 3.4rem/1 var(--serif); color: #ffb17f; }
.calc-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.18); font-size: 0.95rem; }
.calc-lines li.required a::after { content: " · required"; color: #ffb59a; font-size: 0.85rem; }
.calc-lines .amt { font-weight: 700; white-space: nowrap; }
.calc-notes-h { font-size: 0.86rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
.calc-notes { margin: 0 0 10px; padding-left: 18px; font-size: 0.86rem; color: #c9d7da; }
.calc-notes li { margin-bottom: 4px; }
.calc-foot { font-size: 0.85rem; color: #a9c0c5; margin: 0; }
.calc-hint { color: #c9d7da; }

/* Home */
.hero { background: var(--card); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 0.98; margin-top: 0; }
.hero .lede { color: var(--ink); max-width: 34rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-links .btn { margin: 0; }
.hero-links .btn.ghost { padding: 11px 20px; border-radius: 999px; border-width: 2px; }
.depth-map { margin: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 16px; }
.depth-map figcaption { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 12px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 4px; }
.tiles a { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 4px; text-decoration: none; color: var(--ink); line-height: 1.05; }
.tiles b { font: 600 1.05rem/1 var(--serif); }
.tiles span { font-size: 0.72rem; font-weight: 600; }
.tiles a:hover, .tiles a:focus-visible { outline: 2px solid var(--buoy); outline-offset: 1px; color: var(--ink); }
.d0 { background: #eef2f4; } .d1 { background: var(--d1); box-shadow: inset 0 0 0 1px #c3dbe7; } .d2 { background: var(--d2); }
.tiles a.d3, .tiles a.d4 { color: #fff; } .d3 { background: var(--d3); } .d4 { background: var(--d4); }
.depth-key { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.84rem; color: var(--ink-2); }
.depth-key i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.trip .calc { margin-top: 6px; }
.meta .year { color: var(--buoy); }
.state-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 8px; }
.state-grid a { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.state-grid a:hover { border-color: var(--buoy); }
.state-grid a { border-radius: var(--radius); }
.state-grid .code { grid-row: span 2; align-self: center; }
.state-grid .name { font-weight: 700; }
.state-grid .from { font-size: 0.85rem; color: var(--ink-2); }
.how ol { padding-left: 20px; max-width: 48rem; }
.how li { margin-bottom: 8px; }
.prose { max-width: 46rem; padding-top: 20px; }
.prose h2 { border-bottom: 0; margin-top: 1.4em; }

/* Footer */
.foot { background: var(--ink); color: #c9d7da; padding: 30px 0; font-size: 0.9rem; }
.foot a { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0; }
.foot .small { color: #9db3b8; }
.foot-in > p:first-child { max-width: 46rem; }

/* Comparisons */
.scroll { overflow-x: auto; margin-bottom: 16px; }
table.vs-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.95rem; }
.vs-table th, .vs-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.vs-table thead th { background: var(--ink); color: #fff; font: 600 1.25rem var(--serif); width: 40%; }
.vs-table thead th:first-child { width: 20%; }
.vs-table thead a { color: #fff; }
.vs-table tbody th { font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.vs-table td.num, .vs-table th.num { text-align: right; }
.vs-table td.num { font-weight: 700; font-size: 1.05rem; }
.vs-table td p { margin: 0 0 4px; }
.vs-table tr.group th { background: #eef4f7; font-size: 0.85rem; color: var(--ink-2); }
.vs-table tr.foot-row td, .vs-table tr.foot-row th { font-size: 0.85rem; font-weight: 400; color: var(--ink-2); }
.vs-table td.cheaper { background: var(--fresh-soft); }
.vs-table td.cheaper::after { content: "Cheaper"; display: block; font: 600 0.85rem var(--sans); color: var(--fresh); }
.vs-table td.num.cheaper::after { text-align: right; }
.big-num { display: block; font: 600 2rem/1.1 var(--serif); margin-bottom: 4px; }
.vs-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 0 0 32px; }
.vs-head a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font: 600 1.45rem var(--serif); min-width: 0; }
.vs-head a:last-child { justify-content: flex-end; flex-direction: row-reverse; }
.vs-head .code, .state-grid .code { font: 700 0.85rem var(--sans); background: var(--ink); color: #fff; border-radius: 6px; padding: 6px 0; width: 2.4rem; text-align: center; flex: none; }
.vs-head .vs { font: 600 1.4rem var(--serif); color: var(--buoy); }
.pair-links { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pair-links a { display: inline-block; padding: 7px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.92rem; }
.pair-links a:hover { border-color: var(--buoy); }
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.picker label { font-weight: 700; font-size: 0.92rem; }
.picker select { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); max-width: 100%; }
.picker button, .btn.ghost { font: inherit; font-weight: 600; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); text-decoration: none; display: inline-block; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.cmp { display: grid; gap: 18px; margin-bottom: 44px; }
.cmp-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; align-items: end; }
.cmp select, .cmp input[type=number] { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.cmp-out { min-height: 20rem; min-width: 0; }
.nb { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.nb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 14px; }
.nb-head h2 { border: 0; padding: 0; margin-bottom: 4px; }
.nb-head p { margin: 0; color: var(--ink-2); max-width: 36rem; }
.nb-pick { min-width: 14rem; }
.nb-pick select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.nb-group { border-top: 1px solid var(--line-2); padding-top: 12px; }
.nb-group + .nb-group { margin-top: 12px; }
.nb-js .nb-group { border-top: 0; padding-top: 0; }
.nb-group h3 { margin: 0 0 10px; font-size: 1.05rem; }
.nb-group h3 span { font: 600 0.85rem var(--sans); color: var(--muted); margin-left: 6px; }
.nb-group .pair-links { margin: 0; }
.seg.wide { grid-column: span 2; }
.who-tag { display: block; font: 600 0.85rem var(--sans); color: var(--muted); }
.vs-table .sp-name, .vs-table .kv { display: block; }
.vs-table .sp-name { color: var(--muted); }
.cmp-in { align-items: start; }
.xlink { font-size: 0.85rem; margin-left: 6px; white-space: nowrap; }
.xlink::after { content: " →"; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
  .toc details:not([open]) summary { margin: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .answer { grid-template-columns: 1fr; }
  .tiles3 b { font-size: 2rem; }
  .depth-map { padding: 10px; }
  .tiles { gap: 2px; }
  .tiles b { font-size: 0.85rem; }
  .tiles span { display: none; }
  .answer { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .srclist { columns: 1; }
  table.stack, .stack tbody, .stack tr, .stack td, .stack tbody th { display: block; width: 100%; }
  table.stack { border: 0; background: none; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 6px 0; }
  .stack td, .stack tbody th { border: 0; padding: 4px 14px 4px 8.4rem; position: relative; min-height: 1.9em; text-align: left; }
  .stack td::before, .stack tbody th::before { content: attr(data-label); position: absolute; left: 14px; top: 7px; width: 6.8rem; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
  .stack td:not([data-label]), .stack th:not([data-label]) { padding-left: 14px; }
  .stack td:not([data-label])::before, .stack th:not([data-label])::before { content: none; }
  .stack td:first-child, .stack tbody th:first-child { padding-left: 14px; font-size: 1.02rem; }
  .stack td:first-child::before, .stack tbody th:first-child::before { content: none; }
  .stack .num { text-align: left; }
  .stack tr.group { background: none; border: 0; padding: 8px 0 0; margin: 0; }
  .stack tr.group th { background: none; padding: 0; }
  .limits tr.sp-more { margin-top: -10px; border-top: 1px dashed var(--line); border-radius: 0; }
  .limits tr.sp-first + tr.sp-more, .limits tr.sp-more + tr.sp-more { border-top-left-radius: 0; border-top-right-radius: 0; }
  .limits .cont { display: inline; color: var(--muted); }
  .limits tr.sp-note { margin-top: -10px; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: #f6fafb; }
  .limits tr.sp-note td { display: block; background: none; }
  .nav { gap: 2px 14px; font-size: 0.9rem; }
  .vs-head { grid-template-columns: 1fr; gap: 6px; }
  .vs-head .vs { text-align: center; }
  .vs-head a:last-child { flex-direction: row; justify-content: flex-start; }
  .vs-table thead th, .vs-table thead th:first-child { width: auto; }
  .vs-table th, .vs-table td { padding: 8px; font-size: 0.88rem; }
  .seg.wide { grid-column: auto; }
  .nb { padding: 16px; }
}
@media print {
  .notice, .nav, .toc, .calc, .foot nav { display: none; }
  body { background: #fff; }
}

/* Brand: text logo */
.brand-tag { background: var(--blaze); color: #fff; border-radius: 4px; padding: 3px 7px 2px; font: 700 1.05rem/1 var(--serif); }

/* Checked badge under page titles */
.checked-big { display: inline-flex; align-items: center; gap: 8px; background: var(--fresh-soft); color: var(--fresh); border: 2px solid var(--fresh); border-radius: 999px; padding: 4px 14px; font-weight: 700; margin-right: 10px; }
.checked-big svg { flex: none; }
.page-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }

/* Trust and share blocks */
.endmatter { display: grid; gap: 18px; margin: 10px 0 0; }
.trust, .share { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 18px 32px; border-radius: 12px; padding: 24px 28px; }
.trust { background: var(--card); border: 2px solid var(--ink); }
.trust h2, .share h2 { border: 0; padding: 0; margin: 0 0 6px; font-size: 1.75rem; }
.trust p, .share p { margin: 0 0 6px; color: var(--ink-2); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.trust li svg { margin-top: 3px; }
.share { background: var(--ink); color: #fff; }
.share p { color: #cfe0ec; }
.share-btns { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-content: start; }
.share-btns a, .share-btns button { grid-column: span 2; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border-radius: 10px; border: 0; font: 700 1rem var(--sans); text-decoration: none; cursor: pointer; background: #fff; color: var(--ink); }
.share-btns .wa { grid-column: span 3; background: #25d366; color: #0b2a17; font-size: 1.05rem; }
.share-btns .fb { grid-column: span 3; background: #1877f2; color: #fff; font-size: 1.05rem; }
.share-btns a:hover, .share-btns button:hover { filter: brightness(0.93); color: inherit; }
.share-btns .fb:hover { color: #fff; }
.share-btns [hidden] { display: none; }
@media (max-width: 800px) {
  .trust, .share { grid-template-columns: 1fr; padding: 20px; }
  .share-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-btns a, .share-btns button, .share-btns .wa, .share-btns .fb { grid-column: span 1; }
}
@media print { .endmatter { display: none; } }
.endmatter > section { margin: 0; }

/* ===== Light card system ===== */
/* Title band: breadcrumbs and page head share one pale band */
.crumbs, .page-head { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.crumbs { padding-top: 16px; padding-bottom: 4px; }
.page-head { padding: 6px 0 28px; margin-bottom: 32px; border-bottom: 0; }
main > .wrap > .page-head:first-child { margin-top: 0; }
.page-head .lede { color: var(--ink-2); }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.92rem; font-weight: 600; }
.chips svg { color: var(--fresh); }

/* Checked dates */
.checked-big { border-width: 1.5px; border-color: #b9d9c6; padding: 4px 14px 4px 10px; }
.checked { background: var(--green-tint); border: 1.5px solid #b9d9c6; font-size: 0.92rem; padding: 3px 12px; }

/* Section headings with an icon tile */
section > h2, .sec-head h2, .trip .sec-head h2 { display: flex; align-items: center; gap: 12px; }
section > h2::before, .sec-head h2::before { content: ""; flex: none; width: 42px; height: 42px; border-radius: var(--r-s); background: var(--blaze-tint) var(--ico) center / 22px no-repeat; }
section { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4v9a4 4 0 0 1-8 0v-1l3 2'/%3E%3Ccircle cx='15' cy='4' r='1.5'/%3E%3C/svg%3E"); }
#calculator, #trip { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 12h2M14 12h2M8 16h2M14 16h2'/%3E%3C/svg%3E"); }
#licenses, #extras { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h12l4 4v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2z'/%3E%3Cpath d='M6 13h7'/%3E%3C/svg%3E"); }
#exemptions, #residency { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M17 14c2.2 0 4 1.8 4 4'/%3E%3C/svg%3E"); }
#free-days, section.month { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
#buying { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h3l2 11h11l2-8H7'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E"); }
#charters { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15h18l-3 5H6z'/%3E%3Cpath d='M12 3v12M12 4l6 8h-6'/%3E%3C/svg%3E"); }
#border, #compare, #states { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l6-3 6 3 6-3v15l-6 3-6-3-6 3z'/%3E%3Cpath d='M9 3v15M15 6v15'/%3E%3C/svg%3E"); }
#limits { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12c3-4 7-6 11-6 3 0 5 2 7 4l2-2v8l-2-2c-2 2-4 4-7 4-4 0-8-2-11-6z'/%3E%3Ccircle cx='15' cy='11' r='1'/%3E%3C/svg%3E"); }
#faq { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6V14M12 17.5v.01'/%3E%3C/svg%3E"); }
#sources { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84607' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 14a4 4 0 0 0 6 0l3-3a4 4 0 0 0-6-6l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-6 0l-3 3a4 4 0 0 0 6 6l1-1'/%3E%3C/svg%3E"); }
.trust h2::before, .share h2::before, .nb-head h2::before, .answer h2::before, .lic h2::before, .how h2::before, .gaps h2::before { display: none; }

/* Quick answer: light license card and pastel price tiles */
.lic { border: 1px solid var(--line); border-radius: var(--radius); }
.lic-stub { border-top-color: var(--line); }
.answer-c { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; }
.answer-c .h-sub { display: block; }
.tiles3 li { background: var(--blue-tint); border: 0; }
.tiles3 b { color: var(--blue-text); font-size: 2.2rem; }
.tiles3 li.hot { background: var(--blaze-tint); color: var(--ink); }
.tiles3 li.hot b { color: var(--blaze-text); }
.tiles3 li.hot small { color: var(--ink-2); }
.answer { gap: 20px; }

/* Shared card look */
.card, .rows, .calc, .picker, .nb, .cmp-in, table.stack, table.vs-table, .toc details { border-color: var(--line); }
.stack thead th, .vs-table tr.group th { background: #f9fbfc; }
.vs-table thead th { background: var(--ink); }
.state-grid a { border-radius: var(--r-s); }
.state-grid a:hover { border-color: var(--blaze); }
.state-grid .code, .vs-head .code { background: var(--blaze-tint); color: var(--blaze-text); }
.dates li { border-left-width: 1px; border-radius: var(--r-s); }
.gaps { border-radius: var(--r-s); }

/* Home hero in the band */
.hero { background: var(--band); border-bottom: 0; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.8rem); }
.depth-map { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.hero .chips { margin: 16px 0 0; }

/* Trust and share, same family as the rest */
.endmatter { margin: 8px auto 0; gap: 16px; padding-bottom: 8px; }
.trust { background: var(--blue-tint); border: 1px solid #c8dbea; }
.share { background: var(--blaze-tint); color: var(--ink); border: 1px solid #f4cdb0; }
.share p { color: var(--ink-2); }
.share-btns a, .share-btns button { border: 1px solid #f0d2bd; border-radius: var(--r-s); }
.share-btns .wa, .share-btns .fb { border: 0; }
.trust ul li svg circle { fill: var(--fresh); }

/* Footer: light */
.foot { background: var(--card); color: var(--ink-2); border-top: 1px solid var(--line); }
.foot a { color: var(--ink); font-weight: 600; }
.foot strong { color: var(--ink); }
.foot .small { color: var(--muted); }
main { padding-bottom: 32px; }
.vs-table thead th { background: var(--band); color: var(--ink); }
.vs-table thead a { color: var(--ink); }

/* Soft lift on cards */
:root { --shadow: 0 1px 2px rgba(16, 38, 58, 0.05), 0 6px 18px rgba(16, 38, 58, 0.06); }
.card, .lic, .answer-c, .calc, table.stack, .rows, .nb, .cmp-in, .depth-map, .picker, .vs-card, .vs-head a, .state-grid a, .dates li { box-shadow: var(--shadow); }

/* Comparison tables */
.vs-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.vs-card table.vs-table { border: 0; border-radius: 0; margin: 0; }
table.vs-table { box-shadow: var(--shadow); border-radius: var(--radius); }
.vs-card table.vs-table { box-shadow: none; }
.vs-table thead th { padding: 14px 16px; font-size: 1.35rem; }
.vs-state { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.vs-state .code { font: 700 0.85rem var(--sans); background: var(--blaze-tint); color: var(--blaze-text); border-radius: 6px; padding: 4px 7px; }
.vs-table tbody th { background: #f6f9fb; color: var(--ink); width: 22%; border-right: 1px solid var(--line-2); }
.vs-table td, .vs-table tbody th { padding: 14px 16px; }
.ptile { display: inline-block; background: var(--blue-tint); border-radius: var(--r-s); padding: 8px 14px; margin-bottom: 8px; }
.ptile small { display: block; font-weight: 600; color: var(--ink-2); font-size: 0.9rem; }
.ptile strong { font: 700 2.1rem/1.05 var(--serif); color: var(--blue-text); }
.vs-table td.cheaper { background: transparent; }
.vs-table td.cheaper .ptile { background: var(--green-tint); }
.vs-table td.cheaper .ptile strong { color: var(--fresh); }
.vs-table td.cheaper::after { content: "✓ Cheaper"; display: inline-block; background: var(--green-tint); color: var(--fresh); border: 1.5px solid #b9d9c6; border-radius: 999px; padding: 1px 10px; font: 700 0.9rem var(--sans); }
.vs-table td.num.cheaper { background: var(--green-tint); }
.vs-table td.num.cheaper::after { display: block; background: none; border: 0; padding: 0; text-align: right; }
details.more summary { cursor: pointer; color: var(--blue-text); font-weight: 600; font-size: 0.95rem; margin-top: 2px; }
details.more p { margin: 6px 0 0; }

/* Sending people to the source */
.src a, .src a.sec { display: inline-block; border: 1px solid #c8dbea; background: var(--blue-tint); color: var(--blue-text); border-radius: 999px; padding: 0 10px; font-size: 0.85rem; font-weight: 600; text-decoration: none; margin: 2px 2px 2px 0; white-space: nowrap; }
.src a::before { content: none; }
.src a::after, .rules-pill::after { content: " ↗"; }
.src a.sec { background: var(--amber-soft); border-color: #ecd49a; color: var(--amber); white-space: normal; }
.src a.more { padding: 0 8px; }
.src a.more::before { content: "+"; }
.src a:hover, .rules-pill:hover { background: var(--card); color: var(--blue-text); }
.rules-pill { display: inline-block; background: var(--blaze-tint); color: var(--blaze-text); border: 1px solid #f4cdb0; border-radius: 999px; padding: 0 10px; font-size: 0.85rem; font-weight: 700; text-decoration: none; margin: 2px 4px 2px 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--blaze-tint); border: 1px solid #f4cdb0; border-radius: var(--radius); padding: 16px 20px; margin: 0 0 16px; }
.cta p { margin: 0; max-width: 46rem; color: var(--ink); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cta .btn { margin: 0; padding: 10px 18px; }
.cta .btn.ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 18px; }
.cta .btn::after, .btn[target=_blank]::after { content: " ↗"; }
.btn [aria-hidden] { display: none; }
