:root {
  color-scheme: dark;
  --paper: #121914;
  --panel: #1b251d;
  --text: #f3f0de;
  --muted: #c4cabb;
  --line: #39493a;
  --leaf: #d8ee9c;
  --width: 1100px;
  --gap: clamp(16px, 4vw, 36px);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
a { color: var(--leaf); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--width), calc(100% - 2 * var(--gap))); margin-inline: auto; }
header, footer { border-block: 1px solid var(--line); background: #161f17; }
.header, nav, .actions { display: flex; gap: .75rem 1.2rem; align-items: center; flex-wrap: wrap; }
.header { min-height: 68px; justify-content: space-between; padding-block: 12px; }
.brand { font: 700 1.35rem Georgia, serif; color: var(--text); text-decoration: none; }
nav a { font-size: .91rem; }
main { position: relative; min-height: 65vh; padding-block: clamp(28px, 6vw, 72px); }
.lead { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.hero-image { border-radius: 14px; border: 1px solid var(--line); display: block; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); margin: 0; letter-spacing: -.05em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 1.6em; }
p { max-width: 72ch; }
.lead p { color: var(--muted); font-size: 1.12rem; }
.lead .date { font-size: .84rem; }
.actions { margin-top: 20px; }
.button, button { background: var(--leaf); color: #18200e; border: 0; border-radius: 7px; padding: .52rem .83rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.native { max-width: 100%; margin-top: 24px; overflow: hidden; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.card { padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.card h3 { margin: 0; }
.card p { margin: .4rem 0 0; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { text-align: start; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
li + li { margin-top: .4rem; }
footer { padding: 24px 0; color: var(--muted); }
.skip { position: absolute; top: 0; left: 12px; transform: translateY(-120%); padding: .4rem; background: var(--paper); z-index: 2; }
.skip:focus { transform: none; }
.rail { display: none; }
.rail iframe { border: 0; display: block; }
@media (min-width: 1428px) {
  .rail { display: block; position: absolute; top: max(0px, calc(100dvh - 600px - var(--header-height, 69px) - 4px)); right: calc(100% + 4px); }
}
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } }
