:root {
  --ink: #17221c;
  --muted: #536059;
  --forest: #123f2a;
  --forest-2: #1f6847;
  --cream: #f7f4ea;
  --paper: #ffffff;
  --gold: #e3aa34;
  --gold-pale: #fff4d4;
  --green-pale: #e7f5ec;
  --blue-pale: #eaf4fb;
  --line: #d8ded9;
  --shadow: 0 12px 34px rgba(25, 54, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

a {
  color: var(--forest-2);
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.hero {
  color: #fff;
  background: linear-gradient(125deg, #0c2e1e, var(--forest) 68%, #225a3e);
  border-bottom: 6px solid var(--gold);
}

.hero-inner,
.layout,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.hero-inner {
  padding: 54px 0 48px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #f9d98d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  letter-spacing: -0.045em;
}

.hero p:last-child {
  max-width: 730px;
  margin: 18px 0 0;
  color: #e4eee8;
  font-size: 1.12rem;
}

.layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  padding: 34px 0 72px;
}

.toc {
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.toc h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.35rem;
}

.toc ul {
  margin: 5px 0 9px;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.toc li + li {
  margin-top: 7px;
}

.toc ul li + li {
  margin-top: 3px;
}

.toc a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-main {
  min-width: 0;
}

.notice,
.tip,
.important {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 13px;
}

.notice {
  background: var(--gold-pale);
  border: 2px solid var(--gold);
}

.tip {
  background: var(--blue-pale);
  border-left: 5px solid #357aa7;
}

.important {
  background: var(--green-pale);
  border-left: 5px solid var(--forest-2);
}

.notice strong,
.tip strong,
.important strong {
  color: var(--forest);
}

.guide-section {
  margin: 0 0 30px;
  padding: 31px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  scroll-margin-top: 18px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.section-heading span {
  display: grid;
  flex: 0 0 auto;
  width: auto;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  place-items: center;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
  font-weight: 850;
}

.section-heading h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
}

.step {
  padding: 4px 0 20px;
}

.step + .step {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.step h3 {
  margin: 0 0 7px;
  font-size: 1.24rem;
}

.step p,
.step ul,
.step ol {
  margin-top: 8px;
}

.step-label {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 9px;
  color: #fff;
  background: var(--forest-2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 25px;
}

.action-card {
  padding: 17px;
  background: #fbfcfb;
  border: 2px solid var(--forest-2);
  border-radius: 13px;
}

.action-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--forest);
  font-size: 0.9rem;
  letter-spacing: 0.035em;
}

.action-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 18px 0;
  padding: 16px;
  background: #f4f8f5;
  border-radius: 12px;
}

.sequence b {
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #c9d7ce;
  border-radius: 8px;
}

.sequence .arrow {
  color: var(--forest-2);
  font-weight: 900;
}

figure {
  margin: 22px 0 30px;
  text-align: center;
}

figure:last-child {
  margin-bottom: 4px;
}

figure img {
  display: block;
  width: auto;
  max-width: min(100%, 430px);
  height: auto;
  margin-inline: auto;
  border: 1px solid #cfd8d1;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(21, 52, 35, 0.12);
}

figure.wide img {
  width: 100%;
  max-width: 100%;
}

figure.tag img {
  max-width: min(100%, 440px);
}

figcaption {
  max-width: 660px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
}

.field-descriptions-heading {
  display: block;
  margin: 14px 0 7px;
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 800;
}

.callouts {
  margin: 13px 0 0;
  padding-left: 1.5rem;
}

.callouts li + li {
  margin-top: 5px;
}

.status-list {
  display: grid;
  gap: 11px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  padding: 14px 16px;
  background: #f7f9f7;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

.hunt-flow {
  display: grid;
  justify-items: stretch;
  gap: 7px;
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.hunt-flow li {
  position: relative;
  padding: 11px 15px;
  background: #f5f8f6;
  border: 1px solid #d3ddd6;
  border-radius: 10px;
  font-weight: 750;
}

.hunt-flow li:not(:last-child) {
  margin-bottom: 24px;
}

.hunt-flow li:not(:last-child)::after {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  content: "\2193";
  color: var(--forest-2);
  font-size: 1.35rem;
  font-weight: 900;
  transform: translateX(-50%);
}

@media (max-width: 860px) {
  .layout {
    display: block;
  }

  .toc {
    position: static;
    margin-bottom: 24px;
  }

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

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero-inner {
    padding: 38px 0 35px;
  }

  .layout,
  .hero-inner,
  .footer-inner {
    width: min(100% - 20px, 1120px);
  }

  .guide-section {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading span {
    flex-basis: auto;
    width: auto;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
  }

  .sequence {
    align-items: flex-start;
    flex-direction: column;
  }

  .sequence .arrow {
    margin-left: 14px;
    transform: rotate(90deg);
  }
}

@media print {
  body {
    background: #fff;
    font-size: 11pt;
  }

  .hero {
    color: #000;
    background: #fff;
    border-bottom-color: #000;
  }

  .hero p:last-child,
  .eyebrow {
    color: #000;
  }

  .layout {
    display: block;
    width: 100%;
    padding-top: 18px;
  }

  .toc {
    position: static;
    box-shadow: none;
  }

  .guide-section {
    break-inside: avoid;
    box-shadow: none;
  }

  figure {
    break-inside: avoid;
  }
}
