:root {
  color-scheme: light;
  --ink: #172334;
  --gold: #ffc83d;
  --paper: #fff9ec;
  --muted: #53606a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.85 system-ui, 'Microsoft YaHei', sans-serif;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid #ab6500;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
}
h1, h2, h3, p {
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.18;
}
h2 {
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.4;
}
h3 {
  font-size: 23px;
  line-height: 1.4;
}
.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.header {
  background: var(--ink);
  color: white;
  border-bottom: 5px solid var(--gold);
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}
.brand small {
  font-size: 12px;
  color: var(--gold);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 48px;
}
.hero-copy {
  border-left: 8px solid var(--gold);
  padding-left: 25px;
}
.hero figure img {
  width: 100%;
  border-radius: 48% 48% 16px 16px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #805300;
}
.cta {
  display: inline-block;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 750;
  border-radius: 4px;
}
.workbench {
  border-top: 2px solid var(--ink);
  padding: 35px 0;
}
.section-head {
  max-width: 650px;
  margin-bottom: 30px;
}
.step {
  display: grid;
  grid-template-columns: 70px minmax(0, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid #d3cbb9;
}
.step:nth-of-type(even) {
  grid-template-columns: 70px minmax(0, 1fr) minmax(0, 240px);
}
.step:nth-of-type(even) .step-image {
  grid-column: 3;
  grid-row: 1;
}
.step:nth-of-type(even) .step-copy {
  grid-column: 2;
  grid-row: 1;
}
.number {
  align-self: start;
  font-size: 38px;
  font-weight: 800;
  color: #805300;
  line-height: 1;
}
.step-image img {
  width: 100%;
  border-radius: 8px;
}
.read {
  color: #805300;
  font-weight: 700;
}
.checklist {
  background: var(--ink);
  color: white;
  padding: 32px;
  margin: 0 0 48px;
  border-radius: 12px;
}
.checklist .eyebrow {
  color: var(--gold);
}
.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.checks div {
  border-top: 2px solid var(--gold);
  padding-top: 12px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 270px);
  gap: 45px;
  padding: 48px 0;
  justify-content: space-between;
}
.article h1 {
  font-size: clamp(28px, 4vw, 46px);
}
.article figure {
  margin: 28px 0;
}
.article figure img {
  width: min(100%, 508px);
  border-radius: 8px;
}
.article section {
  margin: 32px 0;
}
.lead {
  font-size: 19px;
  color: var(--muted);
}
.rail {
  align-self: start;
  padding: 22px;
  background: #f3e9d2;
  border-top: 5px solid var(--gold);
}
.rail a {
  display: block;
  border-top: 1px solid #d3cbb9;
  padding: 14px 0;
}
footer {
  background: var(--ink);
  color: white;
}
.foot {
  padding: 30px 0;
  font-size: 14px;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero, .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
  }
  .hero-copy {
    padding-left: 16px;
  }
  .hero figure img {
    max-width: 420px;
    margin: auto;
  }
  .step, .step:nth-of-type(even) {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }
  .step .step-image, .step:nth-of-type(even) .step-image {
    grid-column: 2;
    grid-row: 1;
  }
  .step .step-copy, .step:nth-of-type(even) .step-copy {
    grid-column: 2;
    grid-row: 2;
  }
  .number {
    font-size: 26px;
  }
  .checks {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .checklist {
    padding: 20px;
  }
}

/* Navigation and narrow-screen refinements */
nav a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-subtitle {
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}
.hero > *, .step > *, .article-layout > * {
  min-width: 0;
}
@media (max-width: 480px) {
  .brand {
    flex-wrap: wrap;
    font-size: 19px;
  }
  .step, .step:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr);
  }
  .step .step-image, .step:nth-of-type(even) .step-image {
    grid-column: 1;
    grid-row: 2;
  }
  .step .step-copy, .step:nth-of-type(even) .step-copy {
    grid-column: 1;
    grid-row: 3;
  }
  .hero-copy {
    border-left-width: 4px;
  }
}
