:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --ink: #1b233c;
  --muted: #50566a;
  --line: #d8d2c3;
  --yellow: #f8cb44;
  --white: #fffdf7;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #3561a9; outline-offset: 3px; }
.wrap { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.masthead { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; white-space: nowrap; letter-spacing: -.035em; }
.brand strong { font-weight: 550; }
.mast-links { display: flex; gap: 32px; margin-left: auto; align-items: center; font-size: 14px; font-weight: 640; }
.mast-links a:hover { text-decoration: underline; text-underline-offset: .3em; }
details { position: relative; }
summary { display: flex; align-items: center; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.chevron { width: 8px; height: 8px; margin: -4px 1px 0 0; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg); }
details[open] > summary .chevron { transform: rotate(225deg); margin-top: 4px; }
.language { z-index: 3; }
.language summary { gap: 9px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; font: 700 13px var(--mono); }
.language ul, .category-menu ul { padding: 4px; margin: 6px 0 0; list-style: none; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px #151c3024; }
.language ul { position: absolute; right: 0; min-width: 154px; }
.language a { display: block; padding: 7px 11px; font-size: 14px; border-radius: 4px; }
.language a[aria-current], .language a:hover, .category-menu a:hover { background: #f4eacb; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: clamp(30px, 5.7vw, 78px); padding-block: 54px 42px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 750 11px/1.45 var(--mono); letter-spacing: .10em; text-transform: uppercase; }
.pip { flex: none; width: 9px; height: 9px; background: var(--yellow); border: 1px solid var(--ink); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(52px, 6.4vw, 92px); line-height: .92; letter-spacing: -.080em; font-weight: 840; overflow-wrap: anywhere; }
.tagline { margin: 21px 0 15px; padding-left: 13px; border-left: 4px solid var(--yellow); font-size: clamp(19px, 2.25vw, 29px); font-weight: 720; line-height: 1.18; letter-spacing: -.042em; }
.intro { max-width: 52ch; margin-bottom: 25px; color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.button { display: inline-flex; gap: 11px; align-items: center; justify-content: center; min-height: 46px; padding: 9px 15px; border: 1px solid var(--ink); border-radius: 6px; font-weight: 760; font-size: 14px; }
.button span { flex: none; font-size: 16px; }
.primary { background: var(--yellow); }
.primary:hover { background: #ffdd72; }
.secondary:hover { background: #eeeadf; }
.hero-figure { min-width: 0; margin: 0; padding: 9px 9px 0; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.hero-figure img { display: block; width: 100%; height: auto; border-radius: 4px; }
figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 10px 5px; font-size: 12px; color: var(--muted); }
.figure-index { color: var(--ink); font: 750 11px var(--mono); letter-spacing: .06em; }
.browse { display: grid; grid-template-columns: 1.25fr minmax(230px, .75fr); gap: 30px; align-items: center; padding: 33px 38px; background: var(--ink); color: var(--white); border-radius: 11px; }
.section-number { display: inline-grid; min-width: 27px; height: 22px; padding: 0 4px; place-items: center; border: 1px solid currentColor; border-radius: 3px; letter-spacing: 0; }
.browse .eyebrow { color: var(--yellow); margin-bottom: 10px; }
h2 { margin-bottom: 9px; font-size: clamp(30px, 4vw, 51px); line-height: 1.02; letter-spacing: -.060em; overflow-wrap: break-word; }
.browse p:last-child { color: #e0e3ec; margin: 0; max-width: 54ch; font-size: 15px; }
.category-menu { z-index: 2; }
.category-menu summary { min-height: 60px; gap: 12px; padding: 10px 15px; border-radius: 7px; background: var(--yellow); color: var(--ink); font-weight: 750; }
.category-menu summary:hover { background: #ffdd72; }
.category-menu summary .chevron { margin-left: auto; flex: none; }
.count { display: inline-grid; flex: none; place-items: center; width: 34px; height: 31px; background: var(--ink); color: var(--yellow); border-radius: 4px; font: 750 12px var(--mono); }
.category-menu ul { position: absolute; inset-inline: 0; max-height: min(360px, 60vh); overflow: auto; }
.category-menu a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 4px; font-weight: 640; font-size: 14px; }
.option-number { font: 650 11px var(--mono); color: var(--muted); }
.out { font-size: 15px; }
.guide { padding-block: 61px 47px; }
.guide .eyebrow { margin-bottom: 13px; }
.guide-intro { max-width: 62ch; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; padding: 0; margin: 27px 0 0; list-style: none; }
.steps li { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.step-icon { display: grid; width: 43px; height: 43px; place-items: center; background: #fae7a5; border-radius: 6px; }
.step-icon svg { width: 24px; height: 24px; }
.step-index { font: 700 14px var(--mono); color: var(--muted); }
.steps h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.2; letter-spacing: -.037em; }
.steps p, .footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 25px 34px; border-top: 1px solid var(--line); }
.footer p { margin-top: 8px; max-width: 67ch; }
.footer .button { flex: 0 0 auto; }
.error { padding-block: 100px; }
@media (max-width: 840px) {
  .hero { gap: 28px; }
  .steps li { padding: 16px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 34px); }
  .masthead { min-height: 65px; gap: 10px; }
  .mast-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 33px 24px; gap: 25px; }
  h1 { max-width: 9ch; font-size: clamp(52px, 11vw, 73px); }
  .eyebrow { margin-bottom: 12px; }
  .tagline { margin-top: 15px; }
  .browse { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 22px; }
  .guide { padding-block: 38px 29px; }
  .steps { grid-template-columns: 1fr; margin-top: 19px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
