:root {
  --ink: #184d4d;
  --cream: #f7f2e6;
  --paper: #fffdf8;
  --coral: #a8472d;
  --aqua: #4ca5a9;
  --muted: #5f706c;
  --line: rgba(24, 77, 77, 0.16);
  --shadow: 0 18px 55px rgba(24, 77, 77, 0.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
.shell {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .shell {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.site-head nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}
.site-head nav a {
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 22px;
  border: 2px solid var(--coral);
  box-shadow:
    0 0 0 3px var(--cream),
    0 0 0 4px var(--coral);
}
.button:hover {
  background: var(--coral);
}
.button--light {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}
.hero {
  padding: 76px 0 54px;
}
.crumbs {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 30px;
}
.crumbs a {
  text-decoration: none;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: var(--coral);
  text-transform: uppercase;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 920px;
  margin: 14px 0 24px;
}
.hero .lede {
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.5;
  max-width: 820px;
  color: #315e59;
}
.reviewed {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.contributor {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.contributor a {
  font-weight: 800;
  text-underline-offset: 3px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 56px;
  align-items: start;
  padding-bottom: 84px;
}
.article {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(26px, 5vw, 58px);
  box-shadow: var(--shadow);
}
.article h2 {
  font-family: Georgia, serif;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.12;
  margin: 58px 0 18px;
  letter-spacing: -0.025em;
}
.article h2:first-child {
  margin-top: 0;
}
.article h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 34px 0 10px;
}
.article p,
.article li {
  font-size: 17px;
}
.article li + li {
  margin-top: 9px;
}
.answer {
  border-left: 5px solid var(--coral);
  background: #fff4ed;
  border-radius: 0 16px 16px 0;
  padding: 22px 24px;
  font-size: 19px;
}
.note {
  background: #e7f3f1;
  border-radius: 16px;
  padding: 20px 22px;
}
.warning {
  background: #fff2df;
  border-radius: 16px;
  padding: 20px 22px;
}
.timeline {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.timeline li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}
.table-wrap {
  overflow: auto;
  margin: 22px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #edf4f1;
}
.sources {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 24px;
}
.sources li {
  font-size: 14px;
}
.sidebar {
  position: sticky;
  top: 102px;
}
.side-card {
  border-radius: 20px;
  background: var(--ink);
  color: white;
  padding: 26px;
  margin-bottom: 20px;
}
.side-card h2 {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.15;
  margin: 5px 0 12px;
}
.side-card p {
  color: #dce9e5;
}
.side-card .button {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: none;
  width: 100%;
}
.side-card .button:hover {
  background: #fbe6dc;
}
.side-card .eyebrow {
  color: #ffbda8;
}
.toc {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  padding: 22px;
}
.toc strong {
  display: block;
  margin-bottom: 10px;
}
.toc a {
  display: block;
  padding: 7px 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 0 80px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.card small {
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--coral);
}
.card h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
  margin: 12px 0;
}
.card p {
  color: var(--muted);
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.checklist input {
  width: 21px;
  height: 21px;
  margin-top: 4px;
  accent-color: var(--coral);
}
.progress-box {
  background: var(--ink);
  color: white;
  padding: 20px 24px;
  border-radius: 16px;
  margin: 24px 0;
}
.progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #f28a69;
  width: 0;
  transition: width 0.2s;
}
.site-foot {
  background: var(--ink);
  color: white;
  padding: 42px 0;
}
.site-foot .shell {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}
.site-foot p {
  max-width: 620px;
  color: #dce9e5;
}
.site-foot a {
  color: white;
}
.disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin-top: 34px;
}
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.fee-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #edf4f1;
}
.fee-card span,
.budget-summary span,
.phase-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fee-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 34px;
  margin: 4px 0;
}
.fee-card p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}
.planner-toolbar,
.planner-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.planner-toolbar small {
  display: block;
  color: var(--muted);
}
.budget-summary,
.phase-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.budget-summary > div,
.phase-summary > div {
  border-radius: 14px;
  padding: 16px;
  background: var(--ink);
  color: white;
}
.phase-summary > div {
  background: #edf4f1;
  color: var(--ink);
}
.budget-summary span {
  color: #cfe2dd;
}
.budget-summary strong,
.phase-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}
.planner-table-wrap {
  contain: paint;
  overflow-x: auto;
  margin: 22px 0;
}
.planner-table {
  min-width: 960px;
}
.planner-table input,
.planner-table select {
  width: 100%;
  min-width: 105px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 10px;
}
.planner-table td:first-child input,
.planner-table td:last-of-type input {
  min-width: 170px;
}
.planner-table th,
.planner-table td {
  padding: 8px 5px;
}
.remove-row {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fbe6dc;
  color: var(--coral);
  font-size: 22px;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.route-chooser {
  background: #edf4f1;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 34px 0;
  padding: clamp(20px, 4vw, 34px);
}
.fit-tool {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #edf4f1;
  margin: 30px 0;
  padding: clamp(18px, 4vw, 32px);
}
.fit-tool h2 {
  margin-top: 0;
}
.fit-table {
  min-width: 920px;
}
.fit-table select {
  width: 100%;
  min-width: 105px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 9px;
}
.fit-table td:first-child {
  min-width: 230px;
}
.fit-table td:first-child small {
  display: block;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 4px;
}
.fit-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.fit-result {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 15px;
}
.fit-result--lead {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px rgba(168, 71, 45, .13);
}
.fit-result span,
.fit-result small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.fit-result strong {
  font-family: Georgia, serif;
  font-size: 24px;
  margin: 4px 0;
}
.fit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pack-builder {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #edf4f1;
  margin: 32px 0;
  padding: clamp(18px, 4vw, 34px);
}
.pack-builder__intro,
.pack-actions,
.pack-column-key,
.pack-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pack-builder__intro h2 {
  margin: 3px 0 0;
}
.local-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.pack-details,
.pack-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pack-details {
  margin: 24px 0;
}
.pack-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pack-field--wide,
.pack-item__head {
  grid-column: 1 / -1;
}
.pack-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pack-field input,
.pack-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  min-height: 44px;
  padding: 10px;
}
.pack-summary {
  border-radius: 16px;
  background: var(--ink);
  color: white;
  padding: 18px 20px;
}
.pack-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.pack-summary [data-pack-percent] {
  color: #ffbda8;
  font-size: 26px;
  font-weight: 900;
}
.pack-summary p {
  color: #dce9e5;
  font-size: 14px;
  line-height: 1.45;
  margin: 10px 0 0;
}
.pack-column-key {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin: 20px 0 8px;
}
.pack-items {
  display: grid;
  gap: 12px;
}
.pack-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 16px;
}
.pack-item__head strong {
  font-family: Georgia, serif;
  font-size: 20px;
}
.pack-actions {
  flex-wrap: wrap;
  margin-top: 18px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
}
@media (max-width: 720px) {
  .fit-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-details,
  .pack-item { grid-template-columns: 1fr; }
  .pack-builder__intro,
  .pack-summary > div:first-child { align-items: flex-start; flex-direction: column; }
}
.route-chooser h2 {
  margin-top: 0;
}
.route-chooser fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
  padding: 20px 0 0;
}
.route-chooser legend {
  font-weight: 900;
  font-size: 18px;
  padding: 0 0 8px;
}
.route-chooser label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  margin: 8px 0;
  padding: 13px 15px;
}
.route-chooser input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--coral);
}
.route-results {
  background: var(--paper);
  border-radius: 16px;
  margin-top: 24px;
  padding: 18px;
}
.route-result-grid {
  display: grid;
  gap: 12px;
}
.route-result-card {
  border-left: 4px solid var(--coral);
  padding: 4px 4px 4px 16px;
}
.route-result-card h3 {
  margin-top: 0;
}
.route-result-card p {
  margin-bottom: 8px;
}
.route-handoff {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}
.route-handoff h3 {
  margin-top: 4px;
}
.route-handoff ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
  padding-left: 22px;
}
.route-handoff li {
  padding-left: 4px;
}
.timeline-builder {
  background: #edf4f1;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 28px 0 38px;
  padding: 24px;
}
.timeline-builder__head,
.timeline-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.timeline-builder__head h2 { margin: 4px 0 0; }
.timeline-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 16px;
}
.timeline-controls label > span,
.timeline-summary > div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.timeline-controls input,
.timeline-controls select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  margin-top: 6px;
  padding: 12px;
}
.timeline-options { border: 0; margin: 0; padding: 0; }
.timeline-options legend { font-weight: 900; margin-bottom: 8px; }
.timeline-options label { display: inline-flex; align-items: center; gap: 7px; margin: 5px 18px 5px 0; }
.timeline-options input,
.timeline-item input { width: 19px; height: 19px; accent-color: var(--coral); }
.tool-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.timeline-output { margin-top: 28px; }
.timeline-summary { background: var(--ink); border-radius: 14px; color: white; padding: 16px; }
.timeline-summary > div { flex: 1; }
.timeline-summary > div:last-child { text-align: right; }
.timeline-summary > div > span { color: #cfe2dd; }
.timeline-summary strong { display: block; margin-top: 3px; }
.timeline-items { display: grid; gap: 10px; margin-top: 20px; }
.timeline-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--aqua);
  border-radius: 12px;
  padding: 14px;
}
.timeline-item--official { border-left-color: var(--coral); }
.timeline-item--warning { border-left-color: #b4762a; }
.timeline-item--past { background: #fff8ee; }
.timeline-item__meta,
.timeline-item__detail { display: block; }
.timeline-item__meta { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.timeline-item strong { display: block; font-size: 17px; margin: 3px 0; }
.timeline-item__detail { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 840px) {
  .site-head nav a:not(.button) {
    display: none;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    order: -1;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .site-foot .shell {
    display: block;
  }
  .hero {
    padding-top: 46px;
  }
  .fee-grid {
    grid-template-columns: 1fr 1fr;
  }
  .planner-toolbar,
  .planner-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .timeline-builder__head,
  .timeline-summary { flex-direction: column; }
  .timeline-summary > div:last-child { text-align: left; }
  .timeline-controls { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .fee-grid,
  .budget-summary,
  .phase-summary {
    grid-template-columns: 1fr;
  }
}
@media print {
  .site-head,
  .sidebar,
  .site-foot,
  .button {
    display: none !important;
  }
  .shell {
    width: 100%;
  }
  .hero {
    padding: 20px 0;
  }
  .layout {
    display: block;
  }
  .article {
    box-shadow: none;
    border: 0;
    padding: 0;
  }
  .checklist input {
    appearance: none;
    border: 1px solid #222;
  }
  .sources a {
    word-break: break-all;
  }
  .planner-actions,
  .planner-toolbar .button,
  .remove-row {
    display: none !important;
  }
  .planner-table-wrap {
    overflow: visible;
  }
  .planner-table {
    min-width: 0;
    font-size: 9px;
  }
  .planner-table input,
  .planner-table select {
    border: 0;
    padding: 0;
    font-size: 9px;
    appearance: none;
  }
  .print-hide,
  .pack-actions,
  .pack-column-key,
  .pack-item .remove-row,
  .pack-builder > .disclaimer {
    display: none !important;
  }
  .pack-builder {
    border: 0;
    background: white;
    margin: 0;
    padding: 0;
  }
  .pack-details,
  .pack-item {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pack-field--wide { grid-column: span 2; }
  .pack-item {
    break-inside: avoid;
    padding: 10px;
  }
  .pack-field input,
  .pack-field select {
    border: 0;
    min-height: 0;
    padding: 0;
    appearance: none;
  }
  .local-badge { display: none; }
}
