:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f2f5f6;
  background: #111419;
  --line: #35404a;
  --accent: #9eebfa;
  --muted: #bac5cf;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 40px, 1080px); margin-inline: auto; }
.bar, footer, nav, .actions { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }
.bar, footer { justify-content: space-between; padding-block: 20px; }
.bar { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 9px; align-items: center; font-size: 1.2rem; font-weight: 750; }
.brand img { border-radius: 9px; }
.bar a { text-decoration: none; color: inherit; }
main { padding-block: clamp(42px, 7vw, 86px); min-height: 65vh; }
h1 { font-size: clamp(2.4rem, 7.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.065em; margin: 0 0 24px; }
h2 { font-size: 1.25rem; margin: 0 0 10px; }
p, li { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; margin-bottom: 62px; }
.hero p { max-width: 33ch; font-size: 1.18rem; }
.hero-mark { width: min(100%, 352px); height: auto; border-radius: 23%; justify-self: end; }
.button { display: inline-block; padding: 12px 17px; border-radius: 9px; border: 1px solid var(--line); font-weight: 650; text-decoration: none; }
.primary { color: #0e2930; background: var(--accent); border-color: transparent; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.tiles article { padding: 22px; border-radius: 14px; background: #191f27; border: 1px solid var(--line); }
.tiles article :last-child { margin-bottom: 0; }
.downloads { margin-top: 34px; }
details { margin-top: 18px; }
summary { cursor: pointer; }
details code { display: block; margin-top: 9px; overflow-wrap: anywhere; color: var(--muted); }
.reading { max-width: 75ch; }
.reading h1 { margin-top: 18px; }
.reading h2 { margin-top: 2em; }
.note { border-left: 3px solid var(--accent); padding-left: 14px; }
.rows { padding-left: 24px; }
.rows li { margin-block: 12px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .925rem; }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero-mark { justify-self: start; width: 130px; grid-row: 1; }
}
