:root {
  color-scheme: dark;
  --bg: #10131d;
  --panel: #181d2b;
  --line: #343b51;
  --text: #f6f5fb;
  --muted: #b9bfd1;
  --accent: #c8f580;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; padding: .5rem 1rem; background: var(--accent); color: var(--bg); z-index: 1; }
.skip:focus { top: 1rem; }
.top, .bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; }
.top { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.2rem; letter-spacing: -.035em; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--bg); font-weight: 850; }
nav { display: flex; gap: clamp(14px, 4vw, 34px); font-size: .9rem; }
nav a, .bottom > a:last-child { color: var(--muted); }
nav a:hover, .bottom a:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 76px 86px; }
.eyebrow, figcaption, small { font: 650 .72rem/1.3 ui-monospace, monospace; letter-spacing: .12em; }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
h1, h2 { letter-spacing: -.07em; font-weight: 720; line-height: .99; }
h1 { margin-block: 20px; font-size: clamp(2.8rem, 6.15vw, 5.6rem); }
h1 em { font-style: normal; color: var(--accent); }
.lede { max-width: 37ch; color: var(--muted); font-size: 1.14rem; }
.button { display: inline-flex; align-items: center; gap: 28px; background: var(--accent); color: var(--bg); border-radius: 8px; margin-top: 27px; padding: 12px 17px; font-weight: 750; }
.button:hover { background: #ddffa8; }
.hero-art { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #1a2032; }
.hero-art img { width: 100%; height: auto; display: block; }
figcaption { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); padding: 13px 16px; border-top: 1px solid var(--line); }
.catalog, .guide { border-top: 1px solid var(--line); padding-block: 42px 64px; scroll-margin-top: 16px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: end; margin: 14px 0 24px; }
h2 { font-size: clamp(2.25rem, 4.4vw, 3.9rem); }
.section-head p { margin-top: 10px; color: var(--muted); }
.filters { display: flex; gap: 4px; border: 1px solid var(--line); padding: 4px; border-radius: 8px; }
.filters button { background: transparent; border: 0; border-radius: 5px; color: var(--muted); cursor: pointer; font: inherit; font-size: .88rem; padding: 7px 11px; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.filters button[aria-pressed="false"]:hover { color: var(--text); background: var(--panel); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
article { display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 16px; }
.card-top span { width: 41px; height: 41px; display: grid; place-items: center; background: #30394d; color: #ddf8b7; font-size: 1.35rem; border-radius: 8px; }
h3 { font-size: 1.16rem; letter-spacing: -.025em; line-height: 1.3; }
article p, .guide-list p { color: var(--muted); margin-top: 6px; }
article > p { margin-bottom: 14px; }
details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 11px; font-size: .88rem; }
summary { cursor: pointer; color: var(--accent); }
.guide { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.guide h2 { margin-top: 14px; }
.guide-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.guide-list a:hover h3, .guide-list span { color: var(--accent); }
.bottom { border-top: 1px solid var(--line); }
.bottom p, .bottom > a:last-child { font-size: .85rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 790px) {
  .hero { grid-template-columns: 1fr; padding-block: 50px; }
  .hero-art { max-width: 560px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 36px); }
  .grid, .guide { grid-template-columns: 1fr; }
  .bottom { flex-wrap: wrap; }
  .bottom p { display: none; }
  nav { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
