:root {
  color-scheme: light;
  --paper: #f6f4e9;
  --ink: #202a22;
  --pine: #233528;
  --leaf: #e0f388;
  --muted: #505b4d;
  --line: #c6cbb5;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
p, figure, h1, h2 { margin: 0; }
p { line-height: 1.55; }
:focus-visible { outline: 3px solid #628326; outline-offset: 4px; }
.wrap { width: min(1230px, calc(100% - 104px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px; background: var(--leaf); }
.masthead { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.brand-detail { display: block; margin-top: 4px; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .13em; }
.languages { position: relative; z-index: 2; }
.languages summary { display: flex; align-items: center; gap: 9px; list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 100px; padding: 9px 13px; font-size: 14px; font-weight: 700; }
.languages summary::-webkit-details-marker { display: none; }
.language-icon { font-size: 18px; }
.languages ul { position: absolute; top: calc(100% + 8px); right: 0; min-width: 165px; padding: 6px; margin: 0; list-style: none; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 8px 22px #202a2220; border-radius: 10px; }
.languages a { display: block; padding: 8px 10px; border-radius: 5px; text-decoration: none; }
.languages a:hover, .languages a[aria-current] { background: var(--leaf); }
.hero { display: grid; grid-template-columns: minmax(0, 1.19fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 4vw, 74px); padding-block: 31px 54px; }
.hero-copy { padding-block: 20px; }
.kicker { display: flex; align-items: center; gap: 10px; font: 700 11px/1.4 ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.dot { display: inline-block; flex: 0 0 9px; height: 9px; border-radius: 50%; background: #718c36; }
h1 { font-size: clamp(52px, 7.25vw, 110px); line-height: .83; letter-spacing: -.092em; margin-block: 23px 27px; font-weight: 900; }
h1 em { font: italic 400 .85em/.98 Georgia, serif; letter-spacing: -.085em; }
.intro { max-width: 48ch; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; border-radius: 7px; font-size: 14px; font-weight: 800; text-decoration: none; padding: 12px 15px; min-height: 47px; }
.button span { font-size: 17px; }
.primary { background: var(--pine); color: white; }
.primary:hover { background: #3d5540; }
.secondary { background: var(--leaf); color: var(--pine); }
.secondary:hover { background: #d1e672; }
.text-link { font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.picker { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; max-width: 490px; }
.picker label { display: block; color: var(--muted); font: 700 11px/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.picker select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: #fffef8; color: var(--ink); font: 700 16px/1.1 Arial, sans-serif; padding: 0 8px; height: 47px; }
.hero-image { background: var(--pine); overflow: hidden; border-radius: 13px; }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.03; object-fit: cover; object-position: 50% 59%; }
.hero-image figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 15px; color: var(--leaf); font: 700 11px/1.4 ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.hero-image figcaption span:last-child { font-size: 17px; }
.directory { background: var(--pine); color: #f7f7e9; padding-block: clamp(38px, 6vw, 76px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 29px; }
.section-head .kicker { color: var(--leaf); margin-bottom: 12px; }
.section-head .dot { background: var(--leaf); }
h2 { font-size: clamp(28px, 4vw, 55px); line-height: 1; letter-spacing: -.055em; }
.section-head > p { max-width: 41ch; color: #e1e8d4; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 33px; margin: 0; padding: 0; list-style: none; }
.category-grid li { border-top: 1px solid #647462; }
.category-grid li:nth-last-child(-n+2) { border-bottom: 1px solid #647462; }
.category-grid a { min-height: 77px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 17px; align-items: center; gap: 9px; padding: 12px 6px; text-decoration: none; }
.category-grid a:hover { color: var(--leaf); }
.category-grid strong { display: block; font-size: 17px; line-height: 1.2; }
.category-grid small { display: block; margin-top: 5px; color: #e1e8d4; font-size: 13px; line-height: 1.35; }
.index-number { color: var(--leaf); font: 12px ui-monospace, monospace; }
.external { color: var(--leaf); }
.guide { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 52px; }
.guide h2 { font-size: clamp(26px, 3vw, 39px); }
.guide p { margin-top: 11px; max-width: 65ch; color: var(--muted); }
.guide .button { flex-shrink: 0; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-block: 19px; font: 700 11px/1.4 ui-monospace, monospace; }
.missing { padding-block: 50px; }
.missing h1 { line-height: 1; }
@media (max-width: 920px) {
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 12px 32px; }
  h1 { font-size: clamp(45px, 13vw, 90px); margin-block: 17px 18px; }
  .hero-image img { aspect-ratio: 5 / 4; }
  .section-head, .guide { display: grid; gap: 14px; }
  .guide .button { justify-self: start; }
  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-grid li:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 355px) {
  .picker { grid-template-columns: minmax(0, 1fr); }
}
