:root {
  color-scheme: dark;
  --night: #141517;
  --panel: #1c1e20;
  --line: #383a3b;
  --paper: #f5f2ea;
  --muted: #c0bfba;
  --signal: #ff632c;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--paper); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #2996ff; outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; padding: 12px; z-index: 5; background: var(--paper); color: var(--night); transform: translateY(-160%); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); }
.bar { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: .32em; font-size: 17px; font-weight: 900; letter-spacing: -.045em; white-space: nowrap; }
.brand img { margin-right: .35em; }
.brand span { color: var(--signal); }
nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.languages { position: relative; z-index: 2; }
.languages summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); font-size: 14px; }
.chevron { display: inline-block; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -4px 2px 0 4px; }
[open] > summary .chevron { transform: rotate(225deg); margin-top: 4px; }
.languages ul { position: absolute; top: calc(100% + 7px); right: 0; min-width: 170px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 14px 30px #0008; }
.languages a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; }
.languages a:hover, .languages a[aria-current] { background: var(--paper); color: var(--night); }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 5vw, 76px); padding-block: clamp(40px, 7vw, 100px); }
.hero-copy { min-width: 0; }
.eyebrow, figcaption, .step-num, .popular small, .category-menu small {
  font: 700 .74rem/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow { color: var(--signal); }
.signal { display: inline-block; width: 8px; height: 8px; background: var(--signal); margin-right: 6px; border-radius: 50%; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.055em; }
h1 { font-size: clamp(3.15rem, 6.5vw, 6.5rem); line-height: .92; margin: 20px 0 24px; }
h1 em { color: var(--signal); font-style: normal; }
.tagline { font-weight: 750; font-size: clamp(1.1rem, 2.15vw, 1.6rem); letter-spacing: -.03em; }
.intro { color: var(--muted); max-width: 44ch; margin-top: 10px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 48px; padding: 11px 16px; font-size: .91rem; font-weight: 750; border: 1px solid transparent; }
.button span { font-size: 1.16em; }
.primary { background: var(--signal); color: var(--night); }
.primary:hover { background: #ff8b63; }
.secondary { border-color: var(--line); }
.secondary:hover { border-color: var(--muted); }
.hero-art { background: var(--panel); border: 1px solid var(--line); }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1.36; object-fit: cover; object-position: 65% center; }
figcaption { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; gap: 12px; color: var(--muted); }
figcaption b { color: var(--signal); }
.directory { background: var(--paper); color: var(--night); color-scheme: light; }
.section { padding-block: clamp(40px, 5.5vw, 78px); }
.section-head { display: grid; grid-template-columns: 1fr minmax(18ch, 34ch); align-items: end; gap: 20px; margin-bottom: 26px; }
.directory .eyebrow { color: #ac3a0e; }
h2 { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.04; margin-top: 8px; }
.section-head > p, .steps p { line-height: 1.6; }
.directory .section-head > p { color: #4d4c47; }
.category-menu { border: 1px solid #c5c0b5; }
.category-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 19px; min-height: 57px; background: #fffdf8; font-weight: 750; }
.category-menu summary:hover { background: #fff2e8; }
.menu-end { display: flex; align-items: center; gap: 14px; }
.menu-end span { background: var(--night); color: var(--paper); padding: 4px 7px; font: 700 .85rem ui-monospace, monospace; }
.category-menu ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #c5c0b5; }
.category-menu li:nth-child(odd) { border-right: 1px solid #c5c0b5; }
.category-menu li:nth-child(n + 3) { border-top: 1px solid #c5c0b5; }
.category-menu a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 49px; padding: 10px 16px; }
.category-menu small { color: #685d53; }
.category-menu a:hover, .popular a:hover { background: #fff2e8; }
.quick { margin-block: 22px 10px; }
.popular { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.popular a { border: 1px solid #c5c0b5; min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px; }
.popular small { color: #ac3a0e; }
.guide .section-head > p, .steps p, .footer { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { padding: 22px; background: var(--panel); border-top: 2px solid var(--signal); }
.step-num { color: var(--signal); }
h3 { font-size: 1.34rem; margin: 12px 0 8px; }
.endcap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; border: 1px solid var(--line); padding: 22px; margin-top: 24px; }
.endcap h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin: 0; }
.footer { display: flex; justify-content: space-between; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-block: 22px; font-size: .84rem; line-height: 1.5; }
.footer a { flex-shrink: 0; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 56px); }
  .popular { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 62px; gap: 8px; }
  .bar nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.75rem, 10.8vw, 4.8rem); }
  .hero-art img { aspect-ratio: 1.5; }
  .section-head, .steps { grid-template-columns: 1fr; }
  .section-head { gap: 12px; }
}
@media (max-width: 390px) {
  .brand { font-size: .88rem; }
  .brand img { width: 30px; height: 30px; }
  .languages summary { gap: 5px; padding-inline: 8px; }
  .category-menu ol { grid-template-columns: 1fr; }
  .category-menu li:nth-child(odd) { border-right: 0; }
  .category-menu li + li { border-top: 1px solid #c5c0b5; }
  .footer { flex-wrap: wrap; }
}
