:root {
  color-scheme: dark;
  --bg: #101411;
  --panel: #181e19;
  --fg: #f0f2e8;
  --muted: #aeb9ac;
  --green: #d0ef8b;
  --line: #344138;
  font-family: Inter, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--fg); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.6; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; inset: 10px auto auto 10px; transform: translateY(-150%); padding: 12px; background: var(--bg); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.topbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 22px; font-weight: 850; letter-spacing: -.075em; white-space: nowrap; }
.wordmark span { color: var(--green); }
.wordmark b { width: 5px; height: 5px; margin-left: 5px; background: var(--green); }
nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 42px); font-size: 14px; }
.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; padding-block: 48px; }
.hero-copy { align-self: center; padding: 28px 28px 36px 0; }
.kicker { color: var(--green); font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; }
h1 { font-size: clamp(3.2rem, 6.6vw, 7rem); line-height: .96; letter-spacing: -.085em; margin-top: 20px; }
h1 em { color: var(--green); font-style: normal; }
.intro { margin-top: 24px; max-width: 34ch; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.15rem); }
.action { display: inline-flex; align-items: center; gap: 22px; padding: 13px 16px; margin-top: 28px; background: var(--green); color: #172012; font-weight: 750; font-size: .9rem; }
.action:hover { color: #172012; background: #e6ffb5; }
.cover { position: relative; min-height: 440px; overflow: hidden; background: #22332a; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.topics, .guides { border-top: 1px solid var(--line); padding-block: 35px 58px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 23px; }
.section-head h2 { font-size: clamp(1.9rem, 4.3vw, 3.6rem); line-height: 1.02; letter-spacing: -.06em; }
.section-head p, .topic p, details p { color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.topic { background: var(--panel); padding: 26px 23px 30px; }
.topic h3 { font-size: 1.35rem; margin-bottom: 9px; letter-spacing: -.035em; }
.topic a span { color: var(--green); }
details { border-block-start: 1px solid var(--line); }
details:last-child { border-block-end: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 20px; font-size: clamp(1rem, 2vw, 1.24rem); font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--green); font-size: 1.4rem; }
details[open] summary::after { content: '−'; }
details p { max-width: 70ch; padding-bottom: 20px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 24px; }
.footer-inner p, .footer-inner > a:last-child { color: var(--muted); font-size: .875rem; }
.footer-inner > a:last-child:hover { color: var(--green); }
@media (min-width: 1500px) { .cover { min-height: 525px; } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .cover { min-height: 375px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: 62px; }
  .hero { display: flex; flex-direction: column; padding-block: 34px; }
  .hero-copy { align-self: stretch; padding: 0 0 24px; }
  h1 { font-size: clamp(2.95rem, 13vw, 4.7rem); }
  .cover { min-height: 0; aspect-ratio: 3 / 2; }
  .topic-grid { grid-template-columns: 1fr; }
  .topics, .guides { padding-block: 30px 36px; }
  .footer-inner p { width: 100%; order: 1; }
}
@media (min-width: 641px) and (max-width: 740px) {
  .topic { padding-inline: 15px; }
}
