:root {
  --paper: #f7f0df;
  --paper-deep: #eee1c7;
  --ink: #1e2523;
  --muted: #59625f;
  --line: #86a3a2;
  --teal: #315f66;
  --teal-dark: #21444a;
  --green: #647a4a;
  --rust: #b75c45;
  --gold: #bc9034;
  --white: #fffaf0;
  --shadow: 0 22px 70px rgba(40, 47, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.7), transparent 34rem),
    linear-gradient(180deg, var(--paper), #f4ead5);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(49, 95, 102, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 102, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}

a {
  color: inherit;
}

.return-link {
  display: block;
  padding: 10px clamp(18px, 4vw, 64px);
  color: var(--teal-dark);
  border-bottom: 1px solid rgba(49, 95, 102, 0.28);
  background: rgba(255, 250, 240, 0.68);
  font: 800 12px/1.2 system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.return-link:hover {
  background: rgba(255, 250, 240, 0.92);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 2px solid rgba(49, 95, 102, 0.45);
  background: rgba(247, 240, 223, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal-dark);
  border-radius: 50%;
  font: 700 12px/1 system-ui, sans-serif;
  letter-spacing: 0.08em;
}

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

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font: 500 12px/1.2 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: #2d3432;
  font-size: 17px;
}

nav a,
.header-cta {
  text-decoration: none;
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid var(--teal-dark);
  border-radius: 4px;
  font-size: 16px;
  background: rgba(255, 250, 240, 0.72);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(290px, 0.76fr) minmax(360px, 1.24fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: calc(100vh - 109px);
  padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 76px) 36px;
  border-bottom: 2px solid rgba(49, 95, 102, 0.42);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font: 800 13px/1.2 system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
}

.lede {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
button {
  cursor: pointer;
  font: inherit;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(30, 37, 35, 0.08);
}

.primary {
  color: var(--white);
  border: 1px solid var(--teal-dark);
  background: var(--teal);
}

.secondary {
  color: var(--teal-dark);
  border: 1px solid rgba(49, 95, 102, 0.55);
  background: rgba(255, 250, 240, 0.72);
}

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  max-height: min(80vh, 1040px);
  object-fit: contain;
  filter: drop-shadow(var(--shadow));
}

.intro-section,
.steps-section,
.checklist-section {
  padding: clamp(52px, 8vw, 108px) clamp(18px, 5vw, 76px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  border-bottom: 1px solid rgba(49, 95, 102, 0.32);
}

.intro-copy {
  color: #303936;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.45;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 1px;
  border: 1px solid rgba(49, 95, 102, 0.32);
  background: rgba(49, 95, 102, 0.32);
}

.step-card {
  min-height: 360px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.76);
}

.step-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  width: 100%;
  padding: 0;
  color: var(--ink);
  text-align: left;
  border: 0;
  background: transparent;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1;
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(30, 37, 35, 0.35);
  border-radius: 50%;
  background: var(--teal);
  font-size: 24px;
}

.step-card:nth-child(2) .step-number {
  background: var(--rust);
}

.step-card:nth-child(3) .step-number {
  background: var(--green);
}

.step-card:nth-child(5) .step-number {
  background: var(--gold);
}

.step-body {
  margin-top: 22px;
  color: #303936;
  font-size: 18px;
  line-height: 1.35;
}

.step-body ul {
  padding-left: 19px;
}

.step-body li + li {
  margin-top: 10px;
}

.checklist-section {
  border-bottom: 1px solid rgba(49, 95, 102, 0.32);
  background: rgba(238, 225, 199, 0.36);
}

.checklist-top {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.progress-wrap {
  min-width: 240px;
  color: var(--teal-dark);
  font: 800 14px/1.2 system-ui, sans-serif;
}

.progress-bar {
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 102, 0.4);
  border-radius: 99px;
  background: rgba(255, 250, 240, 0.8);
}

.progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transition: width 180ms ease;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.checklist-group {
  padding: 18px;
  border: 1px solid rgba(49, 95, 102, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 18px 46px rgba(40, 47, 43, 0.08);
}

.checklist-group h3 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
}

.checklist-group h3 span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--teal);
  font-size: 20px;
}

.checklist-grid label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  min-height: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(49, 95, 102, 0.18);
  font: 16px/1.28 system-ui, sans-serif;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--teal);
}

.site-footer {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 76px);
  color: var(--muted);
  border-top: 2px solid rgba(49, 95, 102, 0.42);
  font: 15px/1.3 system-ui, sans-serif;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .intro-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art img {
    max-height: none;
  }

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

  .step-card {
    min-height: 0;
  }

  .checklist-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

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

  .checklist-top,
  .site-footer {
    display: block;
  }

  .progress-wrap {
    margin-top: 20px;
  }

}

@media print {
  .return-link,
  .site-header,
  .hero-actions,
  .hero-art {
    display: none;
  }

  body {
    background: #fff;
  }

  .hero,
  .intro-section,
  .steps-section,
  .checklist-section {
    display: block;
    padding: 24px 0;
    border-bottom: 1px solid #999;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 28px;
  }

  .step-grid,
  .checklist-grid {
    display: block;
    border: 0;
    background: transparent;
  }

  .step-card,
  .checklist-group,
  .checklist-grid label {
    break-inside: avoid;
    margin-bottom: 10px;
    box-shadow: none;
  }

  .step-body[hidden] {
    display: block;
  }
}
