/* ==========================================================================
   Bryce Canyon Astrophotography — "Technical Field Manual"
   Space Grotesk (headings) + Source Serif 4 (body) + Space Mono (data)
   Dark neutral palette: #0d1117 bg / #161b22 surface / #e6edf3 text
   Accent: #f0a500 amber / #3fb950 status-badge green
   ========================================================================== */

:root {
  --bg:        #0d1117;
  --surface:   #161b22;
  --text:      #e6edf3;
  --muted:     #8b949e;
  --accent:    #f0a500;
  --accent-hover: #d4920a;
  --green:     #3fb950;
  --border:    rgba(240, 165, 0, 0.18);
  --border-subtle: rgba(230, 237, 243, 0.08);
  --serif:     "Space Grotesk", system-ui, -apple-system, sans-serif;
  --body:      "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono:      "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* TOC */
  --toc-width: 220px;
  --content-max: 840px;
}

/* ---------- Reset ---------- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Base ---------- */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 0.65rem; font-weight: 500; }
h4 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em; }

p {
  font-family: var(--body);
  margin-bottom: 1.15rem;
  max-width: 65ch;
}

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

strong { color: #fff; font-weight: 600; }
em { font-style: italic; }

ul, ol {
  margin: 0 0 1.25rem 1.4rem;
  max-width: 65ch;
}
li { margin-bottom: 0.55rem; }

/* ---------- Layout shell ---------- */

/* Outer shell: full-width, positions the two-column layout */
.page-shell {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "toc-mobile"
    "content";
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 1024px) {
  .page-shell {
    grid-template-columns: var(--toc-width) minmax(0, var(--content-max));
    grid-template-areas: "toc content";
    gap: 0 2.5rem;
    padding: 0 1.5rem 0 2rem;
    align-items: start;
    max-width: 1140px;
  }
}

/* Wide-layout wrappers that break past the content column */
.wide-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) {
  .wide-wrap { padding: 0 2rem; }
}

/* ---------- TOC — left rail ≥1024px / chip row on mobile ---------- */

.toc {
  grid-area: toc-mobile;
  min-width: 0;
}

/* Hide toc-label on mobile (only shown on desktop rail) */
.toc-label {
  display: none;
}

/* Mobile chip row */
.toc-inner {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.75rem 0 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.toc-inner::-webkit-scrollbar { display: none; }

.toc-chip {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s, border-color 0.15s;
}
.toc-chip:hover, .toc-chip.active {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* Desktop left rail */
@media (min-width: 1024px) {
  .toc {
    grid-area: toc;
    position: sticky;
    top: calc(var(--nav-h, 56px) + 2rem);
    max-height: calc(100vh - var(--nav-h, 56px) - 4rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    padding-top: 2.5rem;
    padding-right: 1.25rem;
  }

  .toc-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
    display: block;
  }

  .toc-inner {
    flex-direction: column;
    overflow-x: unset;
    gap: 0;
    padding: 0;
    border-bottom: none;
  }

  .toc-chip {
    font-size: 0.8rem;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0;
    padding: 0.4rem 0.75rem;
    min-height: unset;
    white-space: normal;
  }
  .toc-chip:hover, .toc-chip.active {
    border-left-color: var(--accent);
    background: rgba(240, 165, 0, 0.06);
  }
}

/* ---------- Content column ---------- */

.content-col {
  grid-area: content;
  min-width: 0;
  padding-bottom: 5rem;
}

.content-col > section,
.content-col > .section-gap {
  padding-top: 4rem;
}
.content-col > section:first-of-type {
  padding-top: 2.5rem;
}

/* Anchor offset for sticky nav */
.content-col section[id] {
  scroll-margin-top: calc(var(--nav-h, 56px) + 1.5rem);
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.5rem;
  min-height: 56px;
}

@media (min-width: 1024px) {
  .nav-inner { padding: 0 2rem; }
}

.brand {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}
.brand:hover { color: var(--accent); text-decoration: none; }

.brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--accent); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--serif);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.3rem 0;
  display: inline-block;
  letter-spacing: 0.01em;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}
.nav-links a[aria-current="page"] {
  border-bottom: 2px solid var(--accent);
}

/* Nav book link */
.nav-book {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent) !important;
  border: 1px solid var(--border) !important;
  border-radius: 3px;
  padding: 0.3rem 0.75rem !important;
  margin-left: 0.5rem;
}
.nav-book:hover {
  background: rgba(240, 165, 0, 0.1);
  border-color: var(--accent) !important;
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.9rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 0.25rem;
  }
  .site-nav.nav-open .nav-links { display: flex; }
  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ---------- Hero — TYPOGRAPHIC, no background photo ---------- */

.hero {
  padding: 6rem 0 0;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) {
  .hero-inner { padding: 0 2rem; }
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.75rem;
  color: var(--text);
}

/* Three data pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.pill {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.pill .pill-label {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill .pill-val {
  color: var(--accent);
  font-weight: 700;
}

/* Hero lede */
.hero-lede {
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 55ch;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Hero CTA row */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3.5rem;
}

/* First photo + caption below hero text */
.hero-first-photo {
  margin-top: 3rem;
  position: relative;
}
.hero-first-photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* ---------- Page header (interior pages) ---------- */

.page-head {
  padding: 3rem 0 0;
}
.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

/* ---------- Breadcrumbs ---------- */

.crumbs {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 0.5rem; opacity: 0.5; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.6rem;
  background: var(--accent);
  color: #0d1117;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 3px;
  border: 2px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0d1117;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(240, 165, 0, 0.07);
  border-color: rgba(240, 165, 0, 0.4);
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 479px) {
  .btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .cta-row { flex-direction: column; }
}

/* ---------- CTA band (end-of-page booking block) ---------- */

.cta-band {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 2.5rem 2rem;
  margin-top: 5rem;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.cta-band .cta-row { margin-bottom: 0; }

/* ---------- Spec tables (star component) ---------- */

.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Break tables outside the 65ch column */
@media (min-width: 1024px) {
  .table-scroll {
    margin-left: -2rem;
    margin-right: -2rem;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.9rem;
  line-height: 1.5;
}

caption {
  caption-side: bottom;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  padding: 0.65rem 1rem;
  text-align: left;
  border-top: 1px solid var(--border-subtle);
}

thead tr {
  border-bottom: 2px solid var(--accent);
}

th {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--text);
  padding: 0.7rem 1rem;
  text-align: left;
  background: var(--surface);
}

td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
  vertical-align: top;
}

/* Alternating rows */
tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}
tbody tr:last-child td { border-bottom: none; }

/* Numeric / data values in Space Mono */
.settings-table td:not(:first-child) {
  font-family: var(--mono);
  font-size: 0.84rem;
}
/* First column labels in Space Grotesk */
.settings-table td:first-child {
  font-family: var(--serif);
  font-weight: 500;
}

/* ---------- Spec block (key-value data card) ---------- */

.spec-block {
  font-family: var(--mono);
  font-size: 0.86rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  margin: 1.75rem 0;
  line-height: 2;
  color: var(--text);
}

.spec-block .spec-row {
  display: flex;
  gap: 1rem;
}

.spec-block .spec-key {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  min-width: 10rem;
  padding-top: 0.1em;
}

.spec-block .spec-val {
  color: var(--text);
}
.spec-block .spec-val em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

/* ---------- EXIF-style figure captions ---------- */

.photo-figure {
  margin: 2.5rem 0;
  position: relative;
}

/* Wide figures break out of column */
@media (min-width: 1024px) {
  .photo-figure.wide {
    margin-left: -2rem;
    margin-right: -4rem;
  }
}

.photo-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.photo-figure figcaption {
  padding: 0.6rem 0.2rem 0;
  line-height: 1.45;
}

/* Line 1: description — regular muted */
.cap-desc {
  display: block;
  font-family: var(--body);
  font-size: 0.84rem;
  color: var(--muted);
}

/* Line 2: EXIF data — Space Mono */
.cap-exif {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: 0.2rem;
}

/* Full-width photo break */
.photo-banner {
  position: relative;
  margin: 4rem 0;
}

@media (min-width: 768px) {
  .photo-banner {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
}

.photo-banner img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  display: block;
}
.photo-banner.tall img { height: 65vh; }

.photo-banner figcaption {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem 0;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.75rem 0 0;
}

@media (min-width: 600px) {
  .card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0;
  max-width: none;
}
.card .card-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  display: block;
}

/* ---------- Proof panel (two-column text+photo) ---------- */

.proof-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  margin: 1.75rem 0;
}
.proof-panel .photo-figure { margin: 0; }
.proof-panel p:last-child { margin-bottom: 0; }
.proof-panel p { max-width: none; }

@media (min-width: 640px) {
  .proof-panel { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Callout / field note ---------- */

.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  max-width: 65ch;
}
.callout .callout-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.45rem;
}
.callout p {
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: none;
}

/* ---------- Pull quote ---------- */

.pull-quote {
  border-left: 3px solid var(--accent);
  margin: 2.5rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
}
.pull-quote p {
  font-family: var(--body);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: 0;
}

/* ---------- Status badges (green, text only) ---------- */

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(63, 185, 80, 0.12);
  color: var(--green);
  border: 1px solid rgba(63, 185, 80, 0.3);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  vertical-align: middle;
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  user-select: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-chevron {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15em;
  transition: transform 0.2s ease-out;
  display: inline-block;
}
details[open] .faq-chevron {
  transform: rotate(90deg);
}

.faq-body {
  padding: 0 0 1.4rem;
}
.faq-body p {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  max-width: 65ch;
}
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--accent); }

/* ---------- Season table highlight ---------- */

.season-prime td:first-child {
  font-weight: 700;
  color: var(--accent);
}
.season-note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #0a0e15;
  padding: 4rem 0 3rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) { .footer-inner { padding: 0 2rem; } }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer h4 {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}

.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

.operated-by {
  font-family: var(--mono);
  font-size: 0.78rem;
  margin-top: 0.75rem;
}

.fineprint {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  font-size: 0.77rem;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 72ch;
}

/* ---------- Misc utilities ---------- */

.section-lede {
  font-family: var(--body);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

/* index.html stats — displayed as data pills, not a stat strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 2rem 0 0;
}
@media (min-width: 500px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-cell {
  background: var(--surface);
  padding: 1.4rem 1.1rem;
}
.stat-val {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}
.stat-lbl {
  font-family: var(--serif);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  display: block;
}

/* Planning order numbered list */
.plan-list {
  counter-reset: plan;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.plan-list li {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
  max-width: 65ch;
}
.plan-list li::before {
  counter-increment: plan;
  content: counter(plan, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2em;
}
.plan-list li:last-child { border-bottom: none; }

/* Section divider line */
.sec-rule {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 4rem 0 0;
}

/* Screen-reader skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #0d1117;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0 0 3px 3px;
  z-index: 9999;
}
.skip-link:focus { top: 0; }
