:root {
  color-scheme: dark;
  --background: #15141b;
  --panel: #211f29;
  --line: #3c3848;
  --ink: #f4edf6;
  --muted: #c1b5cb;
  --accent: #e6b78d;
  --accent-ink: #261b16;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 .55em; }
h2 { font-size: 1.65rem; margin: 0 0 .45em; }
p { margin: 0 0 1rem; color: var(--muted); overflow-wrap: anywhere; }
.shell { width: min(1100px, calc(100% - 2.5rem)); margin: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.nav, .nav-links, .actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav { min-height: 75px; justify-content: space-between; padding-block: .5rem; }
.brand { font: 1.6rem Georgia, serif; color: var(--ink); text-decoration: none; }
.mark, em { color: var(--accent); }
.main { min-height: 65vh; padding-block: 3rem; }
.footer { padding-block: 1.4rem; color: var(--muted); border-top: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center; min-height: 480px; }
.hero h1 { font-size: clamp(3.6rem, 9vw, 7rem); margin-bottom: .25em; letter-spacing: -.055em; }
.lede { max-width: 33rem; font-size: 1.15rem; margin-bottom: 1.7rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; color: var(--accent); font-size: .875rem; }
.illustration { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(ellipse, #4b3443, transparent 68%); }
.orbit { position: absolute; width: 83%; height: 83%; border: 1px solid #765a73; border-radius: 50%; }
.orbit.inner { width: 65%; height: 65%; border-style: dashed; }
.compass { font-size: clamp(7rem, 18vw, 15rem); color: var(--accent); line-height: 1; filter: drop-shadow(0 0 24px #99664c); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.heading { margin: 1rem 0 2rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.cards, .stack { display: grid; gap: 1rem; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.1rem, 3vw, 1.7rem); }
.panel > :last-child { margin-bottom: 0; }
.narrow { max-width: 535px; margin: 1rem auto; }
.narrow > form, .narrow > .actions { margin-bottom: 1rem; }
.admin { margin-bottom: 1rem; scroll-margin-top: 1rem; }
label { display: grid; gap: .3rem; }
input, textarea, select, button { font: inherit; }
input, textarea, select { background: var(--background); color: var(--ink); border: 1px solid #635971; border-radius: 6px; padding: .55rem .7rem; min-width: 0; width: 100%; }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 1rem; min-width: 0; }
.checkbox { display: flex; align-items: center; gap: .6rem; }
.checkbox input { width: auto; }
button, .button { display: inline-block; width: fit-content; border: 1px solid transparent; border-radius: 6px; padding: .55rem 1rem; background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; font-weight: 650; }
button:hover, .button:hover { filter: brightness(1.12); }
.small { padding: .35rem .7rem; }
.quiet, .danger { background: transparent; color: var(--accent); border-color: var(--line); }
.danger { color: #ffc8c2; margin-top: .8rem; }
.callout { background: #382b3b; color: var(--ink); border-left: 3px solid var(--accent); padding: .7rem 1rem; }
.entry-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 1rem; }
summary { cursor: pointer; color: var(--accent); }
details > :not(summary) { margin-top: .8rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
td, th { border-bottom: 1px solid var(--line); padding: .55rem; }
.inline { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; }
.access-list { padding-left: 1rem; overflow-wrap: anywhere; }
.access-list li { margin: .5rem 0; }
dt { color: var(--muted); }
dd { margin: 0 0 .6rem; }
@media (max-width: 700px) {
  .hero, .features, .workspace { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .illustration { width: min(75%, 310px); justify-self: center; }
  .main { padding-block: 2rem; }
}
