:root {
  color-scheme: dark;
  --bg: #131613;
  --panel: #1d211c;
  --line: #373d33;
  --text: #f4f1e6;
  --muted: #b6bcb0;
  --gold: #ffc52b;
  font: 100%/1.5 "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.header, .brand, .section-heading, .intro { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header { min-height: 4.5rem; }
.brand { justify-content: start; gap: .7rem; color: var(--text); text-decoration: none; font-size: 1.2rem; font-weight: 700; }
.brand img { border-radius: 50%; }
.network { border: 1px solid #625020; color: var(--gold); border-radius: 2rem; padding: .3rem .8rem; font-size: .9rem; }
.intro { margin-block: 2.75rem 2.25rem; padding: clamp(1.25rem, 5vw, 3rem); min-height: 13rem; background: radial-gradient(ellipse at 95% 100%, #493922, transparent 65%), var(--panel); border: 1px solid var(--line); border-radius: .9rem; }
h1, h2 { line-height: 1.12; margin: 0; }
h1 { font: 500 clamp(2.25rem, 5.5vw, 4.75rem)/1 Georgia, serif; letter-spacing: -.055em; }
h2 { font-size: 1.35rem; }
p { color: var(--muted); margin: .5rem 0 0; }
.height { min-width: 10rem; align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #766645; padding-left: clamp(1rem, 3vw, 2rem); }
.height span, label { color: var(--muted); font-size: .85rem; }
.height strong { color: var(--gold); font: 500 clamp(1.8rem, 4vw, 3.8rem)/1.2 Georgia, serif; overflow-wrap: anywhere; }
.section-heading { align-items: end; margin-bottom: 1rem; }
form { width: min(21rem, 100%); }
label { display: block; margin-bottom: .3rem; }
input { display: block; width: 100%; min-height: 2.75rem; padding: .55rem .8rem; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: .4rem; }
input::placeholder { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
ul { list-style: none; margin: 0; padding: 0; }
li { border-top: 1px solid var(--line); }
summary { min-height: 3.25rem; padding: .8rem; display: grid; grid-template-columns: minmax(4rem, 8rem) minmax(0, 1fr) auto; gap: .6rem; align-items: center; cursor: pointer; }
summary:hover { background: var(--panel); }
summary::after { content: "+"; color: var(--gold); }
details[open] summary::after { content: "−"; }
summary strong { color: var(--gold); }
code { color: var(--muted); font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
summary code { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
dl { display: grid; gap: .45rem; grid-template-columns: 7rem minmax(0, 1fr); padding: 0 .8rem 1rem; margin: .45rem 0 0; }
dt, dd { margin: 0; }
footer { margin-block: 3rem 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
footer span { color: var(--gold); }
@media (max-width: 41rem) {
  .shell { width: calc(100% - 2rem); }
  .intro, .section-heading { align-items: stretch; flex-direction: column; }
  .intro { margin-top: 1.6rem; }
  .height { border-left: 0; border-top: 1px solid #766645; padding: .75rem 0 0; }
  dl { grid-template-columns: minmax(0, 1fr); }
}
