:root {
  color-scheme: dark;
  --canvas: #1c1f20;
  --slate: #292e30;
  --line: #42484a;
  --ivory: #f4ebd8;
  --muted: #c0bdb3;
  --gold: #d4b883;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
  background: var(--canvas);
  color: var(--ivory);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--gold); text-underline-offset: .24em; }
:focus-visible { outline: 3px solid #f3cf8b; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .75rem; background: var(--canvas); }
.skip:not(:focus) { clip-path: inset(50%); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ivory); text-decoration: none; font-weight: 700; font-size: 1.125rem; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.75rem, 3vw, 2rem); }
nav a, .footer a { color: var(--muted); padding-block: .65rem; }
nav a:hover, .footer a:hover { color: var(--ivory); }
.hero { background: radial-gradient(ellipse at 80% 45%, #35342c, #242622 60%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 19rem); align-items: center; gap: 2rem; padding-block: clamp(3rem, 8vw, 6rem); }
.eyebrow, .category-title { color: var(--gold); font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.55rem, 6.4vw, 5.25rem); line-height: 1.03; margin: 1rem 0 1.25rem; letter-spacing: -.045em; }
h1 em { display: block; color: var(--gold); }
.intro { color: var(--muted); max-width: 36rem; font-size: 1.125rem; margin-bottom: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: .35rem; font: inherit; font-size: .9rem; font-weight: 650; text-decoration: none; }
.primary { background: var(--gold); color: #211e18; border-color: var(--gold); }
.primary:hover { background: #ebcf9b; }
.seal { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #756345; display: grid; place-items: center; box-shadow: inset 0 0 0 .6rem #242622, inset 0 0 0 calc(.6rem + 1px) #514936; background: #242622; }
.seal img { width: 82%; height: auto; }
.directory { padding-block: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.025em; }
.category { margin-top: 2.35rem; }
.category-title { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.category-title::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; align-items: start; width: 100%; max-width: 36rem; background: var(--slate); border: 1px solid var(--line); border-radius: .65rem; padding: 1.25rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; margin-bottom: 1rem; }
.app-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: .4rem; background: #373831; color: var(--gold); }
.app-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.status { color: #e5d4ad; background: #403a2e; padding: .15rem .55rem; border-radius: .25rem; font-size: .875rem; }
.status.live { background: #303e34; color: #c6e2bf; }
h4 { font-size: 1.125rem; line-height: 1.25; }
.description { margin: .55rem 0 1rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: auto; }
.launch { background: #242829; border-color: #657071; }
a.launch:hover { background: #3a4040; }
.launch:disabled, .version { color: var(--muted); }
.launch:disabled { background: transparent; }
.about { border-block: 1px solid var(--line); background: #232728; }
.about-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1rem 3rem; padding-block: 3rem; }
.about p + p { margin-top: 1rem; }
.aside { color: var(--gold); font-family: var(--serif); font-style: italic; }
.footer { color: var(--muted); }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner, .about-inner { grid-template-columns: minmax(0, 1fr); }
  .seal { display: none; }
}
@media (max-width: 365px) {
  .header-inner { flex-wrap: wrap; padding-block: .65rem; gap: 0 .75rem; }
}
