:root {
  color-scheme: dark;
  --ink: #eef5f1;
  --muted: #9bb1ad;
  --dim: #6e8583;
  --base: #071318;
  --base-soft: #0b1c21;
  --panel: #10252a;
  --panel-2: #132c31;
  --line: rgba(202, 230, 222, 0.15);
  --line-strong: rgba(202, 230, 222, 0.28);
  --river: #4dc4c8;
  --river-dark: #1d858e;
  --gold: #f0b04f;
  --gold-soft: #ffd996;
  --cream: #f3efe5;
  --dark-text: #122426;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

body[data-theme="light"] {
  color-scheme: light;
  --ink: #102427;
  --muted: #526c6c;
  --dim: #6f8280;
  --base: #edf2ee;
  --base-soft: #f6f7f2;
  --panel: #ffffff;
  --panel-2: #e4efeb;
  --line: rgba(18, 57, 58, 0.13);
  --line-strong: rgba(18, 57, 58, 0.24);
  --river: #087f87;
  --river-dark: #08666d;
  --gold: #bd751a;
  --gold-soft: #7b4e13;
  --shadow: 0 24px 60px rgba(37, 67, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--base);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transition: background 180ms ease, color 180ms ease;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible + .switch-track,
.check-item input:focus-visible + .fake-check {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--base) 86%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--gold);
  color: #1e221e;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 600;
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--base) 30%, transparent);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quiet-link {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.quiet-link:hover {
  color: var(--ink);
}

.icon-button,
.button,
.copy-button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.icon-button:hover,
.button:hover,
.copy-button:hover {
  transform: translateY(-1px);
}

.icon-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
}

.theme-icon {
  color: var(--gold);
  font-size: 1.05rem;
}

.button {
  border-color: var(--gold);
  background: var(--gold);
  color: #16201d;
  font-weight: 700;
}

.button-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

main {
  overflow: hidden;
}

.planner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(460px, 1.22fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: 1480px;
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 76px) clamp(54px, 7vw, 96px);
  isolation: isolate;
}

.planner::before {
  position: absolute;
  z-index: -3;
  top: -15%;
  left: -18%;
  width: 58%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--river-dark) 24%, transparent), transparent 68%);
  content: "";
  filter: blur(10px);
}

.contour {
  position: absolute;
  z-index: -2;
  border: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
  border-radius: 46% 54% 61% 39% / 40% 42% 58% 60%;
  pointer-events: none;
}

.contour-one {
  top: 10%;
  left: -14%;
  width: 48vw;
  height: 55vw;
  transform: rotate(17deg);
}

.contour-two {
  top: 16%;
  left: -10%;
  width: 40vw;
  height: 48vw;
  transform: rotate(-8deg);
}

.planner-controls {
  align-self: center;
  max-width: 510px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.muted {
  color: var(--muted);
}

.eyebrow.dark {
  color: rgba(18, 36, 38, 0.66);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h1 em {
  color: var(--gold-soft);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 47ch;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 1.04rem;
}

.control-group {
  margin-top: 24px;
}

.control-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.control-heading span:last-child {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 500;
}

.segmented,
.pace-grid {
  display: grid;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 74%, transparent);
}

.segmented {
  grid-template-columns: repeat(4, 1fr);
}

.segmented button,
.pace-grid button,
.kit-tabs button {
  border: 0;
  cursor: pointer;
}

.segmented button {
  min-height: 42px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.segmented button[aria-checked="true"] {
  background: var(--ink);
  color: var(--base);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.13);
}

.pace-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.pace-grid button {
  min-height: 64px;
  padding: 9px 8px;
  border-radius: 10px;
  background: transparent;
  text-align: left;
}

.pace-grid button span,
.pace-grid button small {
  display: block;
}

.pace-grid button span {
  font-weight: 700;
}

.pace-grid button small {
  margin-top: 2px;
  color: var(--dim);
  font-size: 0.76rem;
}

.pace-grid button[aria-checked="true"] {
  background: color-mix(in srgb, var(--river) 19%, var(--panel));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--river) 58%, transparent);
}

.pace-grid button[aria-checked="true"] small {
  color: color-mix(in srgb, var(--river) 72%, var(--ink));
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 60%, transparent);
  cursor: pointer;
}

.switch-row strong,
.switch-row small {
  display: block;
}

.switch-row strong {
  font-size: 0.91rem;
}

.switch-row small {
  margin-top: 3px;
  color: var(--dim);
  font-size: 0.76rem;
}

.switch {
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch-track {
  display: block;
  width: 48px;
  height: 28px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--base);
  transition: background 150ms ease;
}

.switch-track span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 180ms ease, background 180ms ease;
}

.switch input:checked + .switch-track {
  border-color: color-mix(in srgb, var(--river) 80%, var(--line));
  background: color-mix(in srgb, var(--river) 48%, var(--panel));
}

.switch input:checked + .switch-track span {
  background: var(--ink);
  transform: translateX(20px);
}

.plan-card {
  align-self: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow);
}

.landscape {
  position: relative;
  height: clamp(205px, 27vw, 330px);
  margin: 0;
  overflow: hidden;
  background: var(--panel-2);
}

.landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.015);
}

.photo-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 16, 18, 0.08), rgba(4, 16, 18, 0.6)),
    linear-gradient(120deg, rgba(16, 75, 78, 0.24), transparent 55%);
}

.landscape figcaption {
  position: absolute;
  right: 20px;
  bottom: 15px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
}

.landscape figcaption a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.photo-credit {
  text-align: right;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 14px;
}

.plan-head .eyebrow {
  margin-bottom: 5px;
}

.plan-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.copy-button {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.copy-button:hover {
  border-color: var(--river);
  color: var(--ink);
}

.plan-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 26px 18px;
}

.summary-chip {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.timeline {
  display: grid;
  margin: 0;
  padding: 0 26px;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px 18px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.timeline-time {
  padding-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline-marker {
  position: relative;
  margin-top: 6px;
}

.timeline-marker::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  content: "";
}

.timeline-item:not(:last-child) .timeline-marker::after {
  position: absolute;
  top: 11px;
  bottom: -21px;
  left: 8px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.timeline-copy {
  min-width: 0;
}

.timeline-copy strong,
.timeline-copy span {
  display: block;
}

.timeline-copy strong {
  font-size: 0.92rem;
}

.timeline-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.plan-note {
  margin: 14px 26px 25px;
  padding: 12px 14px;
  border-left: 3px solid var(--river);
  border-radius: 0 9px 9px 0;
  background: color-mix(in srgb, var(--river) 10%, transparent);
  color: var(--muted);
  font-size: 0.76rem;
}

.guide-library {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(580px, 1.28fr);
  gap: clamp(34px, 6vw, 82px);
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 142px) clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.guide-intro {
  align-self: start;
}

.guide-intro h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.guide-intro h2 em {
  color: var(--gold-soft);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
}

.guide-intro > p:not(.eyebrow):not(.guide-freshness) {
  max-width: 48ch;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.guide-primary {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  font-size: 0.86rem;
  text-decoration: none;
}

.guide-download {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.guide-download:hover {
  color: var(--ink);
}

.guide-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 410px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-stats span {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
}

.guide-stats span:first-child {
  padding-left: 0;
}

.guide-stats span:last-child {
  border-right: 0;
}

.guide-stats strong,
.guide-stats small {
  display: block;
}

.guide-stats strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.72rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.guide-stats small {
  margin-top: 5px;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-freshness {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 0.74rem;
}

.guide-panel {
  min-width: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.chapter-jumps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.chapter-jumps a {
  display: grid;
  min-width: 0;
  padding: 14px;
  background: var(--base-soft);
  text-decoration: none;
  transition: background 150ms ease;
}

.chapter-jumps a:hover {
  background: color-mix(in srgb, var(--river) 14%, var(--base-soft));
}

.chapter-jumps span {
  margin-bottom: 15px;
  color: var(--gold);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
}

.chapter-jumps strong,
.chapter-jumps small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-jumps strong {
  font-size: 0.8rem;
}

.chapter-jumps small {
  margin-top: 3px;
  color: var(--dim);
  font-size: 0.7rem;
}

.best-head {
  display: grid;
  gap: 18px;
  margin: 30px 0 18px;
}

.best-head .eyebrow {
  margin-bottom: 5px;
}

.best-head h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.best-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.best-filters button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.best-filters button[aria-pressed="true"] {
  border-color: var(--river);
  background: color-mix(in srgb, var(--river) 16%, transparent);
  color: var(--ink);
}

.best-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.best-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--base-soft);
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.best-card:hover {
  border-color: color-mix(in srgb, var(--river) 70%, var(--line));
  transform: translateY(-1px);
}

.best-card-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--gold);
  font-family: "Newsreader", Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
}

.best-card-copy {
  min-width: 0;
}

.best-card-copy small,
.best-card-copy strong,
.best-card-copy span {
  display: block;
}

.best-card-copy small {
  color: var(--dim);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.best-card-copy strong {
  margin-top: 4px;
  font-size: 0.88rem;
}

.best-card-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.38;
}

.best-card-arrow {
  color: var(--dim);
  font-size: 0.85rem;
}

.best-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.field-kit,
.zones {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 130px) clamp(20px, 5vw, 76px);
}

.field-kit {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.kit-progress {
  width: min(230px, 30vw);
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 600;
  text-align: right;
}

.progress-track {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 220ms ease;
}

.kit-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.kit-card,
.readiness-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.kit-card {
  padding: clamp(20px, 3vw, 30px);
}

.kit-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 390px);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--base-soft);
}

.kit-tabs button {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.kit-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--base);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 20px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.check-item input {
  position: absolute;
  opacity: 0;
}

.fake-check {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--base-soft);
  transition: background 150ms ease, border 150ms ease;
}

.fake-check::after {
  color: #16201d;
  content: "✓";
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 150ms ease, transform 150ms ease;
}

.check-item input:checked + .fake-check {
  border-color: var(--gold);
  background: var(--gold);
}

.check-item input:checked + .fake-check::after {
  opacity: 1;
  transform: scale(1);
}

.check-label {
  color: var(--ink);
  font-size: 0.88rem;
}

.check-item input:checked ~ .check-label {
  color: var(--dim);
  text-decoration: line-through;
}

.reset-link {
  margin-top: 18px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.readiness-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
}

.readiness-rule {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--river), var(--gold));
}

.readiness-card h3 {
  max-width: 18ch;
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.readiness-links {
  display: grid;
}

.readiness-links a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.readiness-links a:hover strong {
  color: var(--river);
}

.resource-number {
  color: var(--gold);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
}

.readiness-links strong,
.readiness-links small {
  display: block;
}

.readiness-links strong {
  font-size: 0.9rem;
  transition: color 150ms ease;
}

.readiness-links small {
  margin-top: 2px;
  color: var(--dim);
  font-size: 0.73rem;
}

.zones {
  padding-top: 30px;
}

.section-heading.compact {
  align-items: end;
}

.section-copy {
  max-width: 37ch;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.zone-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.zone-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.zone-index {
  position: absolute;
  top: 16px;
  right: 18px;
  color: color-mix(in srgb, var(--muted) 58%, transparent);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
}

.zone-art {
  position: relative;
  height: 118px;
  margin: 24px 0 25px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--river) 23%, transparent), transparent 60%),
    repeating-linear-gradient(168deg, transparent 0 14px, var(--line) 15px 16px);
}

.zone-art span {
  position: absolute;
  height: 1px;
  background: color-mix(in srgb, var(--gold) 70%, transparent);
  transform-origin: left;
}

.zone-art span:nth-child(1) {
  top: 36%;
  left: 8%;
  width: 58%;
  transform: rotate(-8deg);
}

.zone-art span:nth-child(2) {
  top: 56%;
  left: 27%;
  width: 70%;
  transform: rotate(9deg);
}

.zone-art span:nth-child(3) {
  top: 74%;
  left: 4%;
  width: 48%;
  transform: rotate(3deg);
}

.grid-art {
  background:
    linear-gradient(90deg, transparent 49%, var(--line) 50% 51%, transparent 52%),
    linear-gradient(0deg, transparent 49%, var(--line) 50% 51%, transparent 52%),
    linear-gradient(135deg, color-mix(in srgb, var(--gold) 13%, transparent), transparent);
  background-size: 34px 34px, 34px 34px, 100% 100%;
}

.ridge-art {
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 18%),
    repeating-radial-gradient(ellipse at 18% 100%, transparent 0 17px, var(--line) 18px 19px);
}

.peak-art {
  background:
    linear-gradient(155deg, transparent 0 45%, color-mix(in srgb, var(--river) 24%, transparent) 46% 48%, transparent 49%),
    repeating-linear-gradient(22deg, transparent 0 17px, var(--line) 18px 19px);
}

.zone-meta {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.zone-card h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.zone-card > p:not(.zone-meta) {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

.zone-card button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 12px 0 2px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 700;
  text-align: left;
}

.zone-card button:hover {
  color: var(--river);
}

.safety {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr auto;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1208px;
  margin: 20px auto clamp(70px, 8vw, 110px);
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--gold);
  color: var(--dark-text);
}

.safety h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.safety > p {
  margin: 0;
  color: rgba(18, 36, 38, 0.8);
  font-size: 0.91rem;
}

.safety > a {
  padding: 12px 15px;
  border: 1px solid rgba(18, 36, 38, 0.25);
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.safety > a:hover {
  background: rgba(18, 36, 38, 0.08);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px clamp(20px, 5vw, 76px) 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  color: var(--ink);
  font-size: 0.88rem;
}

footer p {
  margin: 3px 0 0;
  font-size: 0.73rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 0.76rem;
  text-underline-offset: 4px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--ink);
  color: var(--base);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .planner {
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-library {
    grid-template-columns: 1fr;
  }

  .guide-intro > p:not(.eyebrow):not(.guide-freshness),
  .guide-freshness {
    max-width: 65ch;
  }

  .zone-card {
    min-height: 360px;
  }

  .safety {
    grid-template-columns: 1fr 1.25fr;
    margin-right: 28px;
    margin-left: 28px;
  }

  .safety > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 790px) {
  .topbar {
    min-height: 62px;
    padding: 8px 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand small,
  .quiet-link,
  .desktop-label {
    display: none;
  }

  .icon-button {
    width: 42px;
    padding: 8px;
    justify-content: center;
  }

  .button-small {
    padding: 8px 13px;
  }

  .planner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 46px 18px 70px;
  }

  .planner-controls {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.2rem);
  }

  .intro {
    margin-bottom: 26px;
  }

  .plan-card {
    border-radius: 22px;
  }

  .landscape {
    height: 235px;
  }

  .field-kit,
  .zones,
  .guide-library {
    padding-right: 18px;
    padding-left: 18px;
  }

  .chapter-jumps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: grid;
    gap: 20px;
  }

  .kit-progress {
    width: 100%;
    text-align: left;
  }

  .kit-layout {
    grid-template-columns: 1fr;
  }

  .safety {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-right: 18px;
    margin-left: 18px;
    border-radius: 22px;
  }

  .safety > a {
    grid-column: auto;
  }

  footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 0.86rem;
  }

  .button-small {
    min-height: 40px;
    font-size: 0.78rem;
  }

  .control-heading span:last-child {
    display: none;
  }

  .segmented button {
    font-size: 0.79rem;
  }

  .pace-grid button {
    min-height: 58px;
    text-align: center;
  }

  .pace-grid button small {
    display: none;
  }

  .switch-row {
    padding: 15px;
  }

  .landscape .photo-credit {
    display: none;
  }

  .plan-head {
    padding-right: 18px;
    padding-left: 18px;
  }

  .plan-summary,
  .timeline {
    padding-right: 18px;
    padding-left: 18px;
  }

  .timeline-item {
    grid-template-columns: 52px 15px 1fr;
    gap: 8px;
  }

  .plan-note {
    margin-right: 18px;
    margin-left: 18px;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  .best-grid {
    grid-template-columns: 1fr;
  }

  .guide-actions > * {
    width: 100%;
  }

  .guide-download {
    justify-content: center;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }

  .zone-card {
    min-height: 340px;
  }

  .section-copy {
    max-width: none;
  }

  .footer-links {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
    --ink: #102427;
    --muted: #526c6c;
    --dim: #6f8280;
    --base: #ffffff;
    --base-soft: #f3f5f2;
    --panel: #ffffff;
    --panel-2: #e9efec;
    --line: rgba(18, 57, 58, 0.16);
    --line-strong: rgba(18, 57, 58, 0.28);
    --river: #087f87;
    --gold: #a96816;
  }

  .topbar,
  .planner-controls,
  .guide-library,
  .zones,
  .safety,
  footer,
  .copy-button,
  .reset-link,
  .kit-tabs,
  .contour {
    display: none !important;
  }

  body {
    background: white;
  }

  .planner {
    display: block;
    min-height: auto;
    padding: 0 0 22px;
  }

  .plan-card {
    border: 0;
    box-shadow: none;
  }

  .landscape {
    height: 220px;
  }

  .field-kit {
    padding: 22px 0 0;
    break-before: auto;
  }

  .kit-layout {
    display: block;
  }

  .kit-card {
    border: 0;
    padding: 0;
  }

  .readiness-card {
    margin-top: 20px;
    break-inside: avoid;
  }
}
