/* ═══════════════════════════════════════════════════════════════════════════
   STEM OLYMPIAD II

   The information page, the categories and the rules. The shell - tokens, bar,
   footer, buttons - comes from site-ui.css, and the voice is the one the camp
   page speaks: the society's loud register, condensed display type at full
   size, ruled rows rather than boxes, a 60px grid under the hero.

   The Olympiad's own idea is twelve categories, and each one already has a
   colour: the hue the Category Team portal gives its subject. So the colour
   on these pages is never decoration. Wherever a category appears it wears
   its hue, and nothing else does.
   ═══════════════════════════════════════════════════════════════════════════ */

::selection { background: rgba(113, 251, 120, 0.26); color: #fff; }
.so :is(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px; border-radius: 1px;
}
.so-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.so-display {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.01em; color: #fff;
}
.so-h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.so-h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: 0.01em; }

/* A section opens with its heading alone, nothing stacked above it. */
.so-head { max-width: 940px; margin-bottom: clamp(44px, 6vw, 72px); }
.so-head p {
  margin-top: 22px; max-width: 66ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem); font-weight: 300; line-height: 1.72; color: #b8c7d9;
}
.so-head p b { color: #fff; font-weight: 500; }
#ways, #categories, #before, #after, #faq, #register { scroll-margin-top: 96px; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
body.site section.so-hero {
  padding: clamp(140px, 17vw, 190px) 60px 0;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 12% 0%, rgba(0, 72, 50, 0.3) 0%, transparent 58%),
              radial-gradient(ellipse at 88% 42%, rgba(20, 50, 90, 0.22) 0%, transparent 52%);
}
.so-hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(113, 251, 120, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(113, 251, 120, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 120% 90% at 24% 0%, black 12%, transparent 92%);
}
/* The edition, as the home page sets its ghost numerals: outlined in a
   hairline and bled off the edge, too big to read as a word. */
.so-ghost {
  position: absolute; z-index: 1; right: 5%; top: clamp(110px, 12vw, 150px); pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; line-height: 0.74;
  font-size: clamp(14rem, 34vw, 36rem); letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(86, 196, 233, 0.22);
}
/* On a phone the title already says II, and the numeral would sit behind it. */
@media (max-width: 760px) { .so-ghost { display: none; } }
.so-hero-inner { position: relative; z-index: 2; max-width: 980px; }
.so-hero h1 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.2rem, 12vw, 6rem); line-height: 0.84; letter-spacing: -0.02em;
  color: var(--green); margin-bottom: 26px;
}
.so-hero h1 em { font-style: normal; display: block; color: var(--blue); }
.so-deck {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(1.05rem, 2.1vw, 1.65rem); letter-spacing: 0.06em; color: #dcecff; margin-bottom: 26px;
}
.so-deck b { font-weight: 900; color: var(--green); }
.so-lede {
  max-width: 60ch; font-size: clamp(1rem, 1.2vw, 1.14rem); font-weight: 300; line-height: 1.75; color: #b8c7d9;
}
.so-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }

/* Said plainly when the form is shut, in the place the button would be. */
.so-status {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px;
  border: 1px solid rgba(255, 194, 71, 0.45); background: rgba(255, 194, 71, 0.07);
  font-family: var(--font-display); font-weight: 900; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber);
}
.so-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 194, 71, 0.16);
}

/* The facts somebody needs before they decide, as one ruled row. */
.so-facts {
  position: relative; z-index: 2; margin-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.so-fact { padding: 26px 24px 30px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.so-fact:first-child { border-left: 0; padding-left: 0; }
.so-fact dt {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.19em;
  text-transform: uppercase; color: rgba(113, 251, 120, 0.72);
}
.so-fact dd {
  margin-top: 12px; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.08;
  letter-spacing: 0.01em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere;
}
/* The early-bird line under the fee, there only while early bird is on. */
.so-fact-note { margin-top: 8px; font-size: 0.82rem; font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, 0.62); }
@media (max-width: 900px) {
  body.site section.so-hero { padding: 122px 24px 0; }
  .so-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .so-fact { padding: 22px 0 24px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .so-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .so-fact:nth-child(-n+2) { border-top: 0; }
}

/* ── THREE WAYS IN ────────────────────────────────────────────────────────
   Three columns under one rule. Not numbered: they are alternatives, not a
   sequence. */
.so-ways { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.so-way { padding: 38px 34px 40px 0; }
.so-way + .so-way { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 34px; }
.so-way h3 { color: var(--green); margin-bottom: 16px; }
.so-way p { font-size: 0.99rem; font-weight: 300; line-height: 1.75; color: var(--muted); max-width: 44ch; }
.so-way p + p { margin-top: 12px; }
.so-way-fee {
  display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.08em; color: #dcecff;
}
@media (max-width: 860px) {
  .so-ways { grid-template-columns: 1fr; }
  .so-way { padding: 32px 0; }
  .so-way + .so-way { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ── THE CATEGORIES, SHORT ────────────────────────────────────────────────
   The names, each in its subject's hue: the page's peak, and the only place
   colour is spent so freely. */
.so-chips {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12); border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.so-chips li {
  position: relative; padding: 24px 22px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease;
}
.so-chips li::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px;
  background: hsl(var(--h) 72% 66%);
}
.so-chips li:hover { background: hsl(var(--h) 60% 50% / 0.07); }
.so-chips b {
  display: block; font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1; letter-spacing: 0.01em; color: #fff;
}
.so-chips span {
  display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--h) 72% 72%);
}
@media (max-width: 1100px) { .so-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .so-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .so-chips li { padding: 20px 16px 18px; } .so-chips li::before { left: 16px; right: 16px; } }
.so-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.so-more p { font-size: 0.95rem; font-weight: 300; color: var(--muted); }

/* ── THE CATEGORIES PAGE ──────────────────────────────────────────────────
   A line-up rather than a grid of boxes: the subject in its colour, the
   name at display size, and what it involves. */
.so-board { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.soc-cat {
  position: relative; display: grid; grid-template-columns: 220px 1fr auto;
  grid-template-areas: "d name tag" "d blurb tag";
  gap: 6px 36px; align-items: baseline;
  padding: 30px 8px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, padding 0.25s ease;
}
.soc-cat::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: hsl(var(--h) 72% 66%); transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.soc-cat:hover { background: linear-gradient(90deg, hsl(var(--h) 60% 50% / 0.08), transparent 70%); }
.soc-cat:hover::after { width: 100%; }
.soc-cat-d {
  grid-area: d; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: hsl(var(--h) 72% 72%);
}
.soc-cat-name {
  grid-area: name; font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 0.95; letter-spacing: -0.005em; color: #fff;
}
.soc-cat-blurb {
  grid-area: blurb; margin-top: 10px; max-width: 64ch;
  font-size: 0.99rem; font-weight: 300; line-height: 1.72; color: var(--muted);
}
.soc-cat-tag {
  grid-area: tag; align-self: center; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 11px; border: 1px solid hsl(var(--h) 60% 70% / 0.34); color: hsl(var(--h) 72% 74%);
}
.soc-cat.is-all .soc-cat-tag { border-style: dashed; }
@media (max-width: 820px) {
  .soc-cat {
    grid-template-columns: 1fr; grid-template-areas: "d" "name" "blurb" "tag";
    gap: 10px; padding: 26px 0;
  }
  .soc-cat-tag { justify-self: start; margin-top: 6px; }
}

/* ── THE STUDY GUIDES PAGE ────────────────────────────────────────────────
   The categories page's line-up, with each category's guides as rows you
   open. A category whose guide is not out yet stays on the list, quieter. */
#guides { scroll-margin-top: 96px; }
.sg-cat {
  position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 14px 36px;
  align-items: start; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  scroll-margin-top: 96px;
}
.sg-cat-head { display: grid; gap: 10px; justify-items: start; }
.sg-cat-head > * { grid-area: auto; }
.sg-cat .soc-cat-name { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.sg-cat.is-empty .soc-cat-name { color: rgba(255, 255, 255, 0.55); }
.sg-cat.is-general { background: linear-gradient(90deg, hsl(var(--h) 60% 50% / 0.07), transparent 70%); padding-left: 18px; }
.sg-none { align-self: center; font-size: 0.95rem; font-weight: 300; color: var(--muted); }
.sg-docs { list-style: none; display: grid; gap: 10px; }
.sg-doc {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px;
  padding: 16px 18px; text-decoration: none; color: #fff;
  border: 1px solid hsl(var(--h) 60% 70% / 0.22); background: hsl(var(--h) 60% 50% / 0.035);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sg-doc:hover { border-color: hsl(var(--h) 70% 70% / 0.6); background: hsl(var(--h) 60% 50% / 0.09); }
.sg-doc-title { grid-column: 1; font-size: 1.04rem; font-weight: 500; line-height: 1.4; }
.sg-doc-note { grid-column: 1; font-size: 0.93rem; font-weight: 300; line-height: 1.6; color: #b8c7d9; }
.sg-doc-meta {
  grid-column: 1; margin-top: 4px; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--h) 72% 74%);
}
.sg-doc-go {
  grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 1.3rem;
  color: hsl(var(--h) 72% 74%); transition: transform 0.2s ease;
}
.sg-doc:hover .sg-doc-go { transform: translateY(2px); }
@media (max-width: 820px) {
  .sg-cat { grid-template-columns: 1fr; padding: 26px 0; }
  .sg-cat.is-general { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .sg-doc, .sg-doc-go { transition: none; } }

/* ── BEFORE YOU REGISTER ──────────────────────────────────────────────────*/
.so-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 5vw, 72px); }
.so-col + .so-col { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: clamp(40px, 5vw, 72px); }
.so-col h3 { color: var(--blue); margin-bottom: 24px; font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.so-list { list-style: none; display: grid; gap: 15px; }
.so-list li {
  position: relative; padding-left: 26px; font-size: 0.99rem; font-weight: 300; line-height: 1.7; color: #b8c7d9;
}
.so-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px;
  border: 1px solid var(--green); transform: rotate(45deg);
}
.so-list b { color: #fff; font-weight: 500; }
@media (max-width: 820px) {
  .so-split { grid-template-columns: 1fr; }
  .so-col + .so-col { border-left: 0; padding-left: 0; margin-top: 48px; }
}

/* The rules are the one thing on these pages somebody has to leave to read,
   so they get a panel the size of a button rather than a link in a sentence. */
.so-rulecard {
  display: flex; align-items: center; gap: 24px; margin-top: clamp(44px, 5vw, 60px); padding: 28px 30px;
  text-decoration: none; position: relative; z-index: 2;
  border: 1px solid rgba(113, 251, 120, 0.4);
  background: linear-gradient(100deg, rgba(113, 251, 120, 0.09), rgba(113, 251, 120, 0.02) 70%);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.so-rulecard:hover { border-color: var(--green); background: linear-gradient(100deg, rgba(113, 251, 120, 0.15), rgba(113, 251, 120, 0.04) 70%); }
.so-rulecard-body { flex: 1; min-width: 0; }
.so-rulecard-title {
  display: block; margin-bottom: 10px; font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: 0.02em; line-height: 1;
  color: var(--green);
}
.so-rulecard-note { display: block; max-width: 68ch; font-size: 0.97rem; font-weight: 300; line-height: 1.7; color: #cfe0f0; }
.so-rulecard svg { flex-shrink: 0; width: 30px; height: 30px; color: var(--green); transition: transform 0.2s ease; }
.so-rulecard:hover svg { transform: translateX(5px); }
@media (max-width: 620px) { .so-rulecard { padding: 24px; } .so-rulecard svg { display: none; } }

/* ── AFTER YOU REGISTER ───────────────────────────────────────────────────
   Numbered, because here the order is the information. */
.so-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.so-step { position: relative; overflow: hidden; padding: 44px 28px 38px 0; counter-increment: step; }
.so-step + .so-step { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 28px; }
.so-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -20px; right: 8px; pointer-events: none;
  font-family: var(--font-display); font-weight: 900; font-size: 6.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(113, 251, 120, 0.16);
}
.so-step h3 { position: relative; color: var(--green); margin-bottom: 14px; font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.so-step p { position: relative; font-size: 0.97rem; font-weight: 300; line-height: 1.74; color: var(--muted); max-width: 36ch; }
@media (max-width: 980px) {
  .so-steps { grid-template-columns: 1fr 1fr; }
  .so-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .so-step:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 600px) {
  .so-steps { grid-template-columns: 1fr; }
  .so-step, .so-step + .so-step { padding: 34px 0 30px; border-left: 0; }
  .so-step + .so-step { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .so-step::before { font-size: 5rem; top: -12px; }
}

/* ── THE THREE DAYS ───────────────────────────────────────────────────────
   Under the steps it follows on from: a day a column, its hours, and what
   happens when. The times are the one thing set in the mono face. */
.so-days { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.so-days-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; margin-bottom: 30px; }
.so-days-title { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.so-days-note { max-width: 52ch; font-size: 0.92rem; font-weight: 300; line-height: 1.65; color: var(--muted); }
.so-days-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.so-day { padding: 6px 28px 6px 0; }
.so-day + .so-day { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 28px; }
.so-day-n {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.19em;
  text-transform: uppercase; color: rgba(113, 251, 120, 0.72);
}
.so-day-date { margin-top: 8px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.1; color: var(--green); }
.so-day-hours { margin-top: 6px; font-size: 0.95rem; color: #fff; }
.so-day-plan { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.so-day-plan li { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 12px; font-size: 0.95rem; font-weight: 300; line-height: 1.5; color: var(--muted); }
.so-day-plan b { font-family: var(--font-mono); font-weight: 400; color: #cfe0f0; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .so-days-list { grid-template-columns: 1fr; }
  .so-day, .so-day + .so-day { padding: 26px 0; border-left: 0; }
  .so-day + .so-day { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .so-day:first-child { padding-top: 0; }
}

/* ── LAST TIME ────────────────────────────────────────────────────────────*/
.so-then {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
  padding: 34px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.so-then p { max-width: 68ch; font-size: clamp(1rem, 1.2vw, 1.12rem); font-weight: 300; line-height: 1.75; color: #b8c7d9; }
.so-then p b { color: #fff; font-weight: 500; }
@media (max-width: 760px) { .so-then { grid-template-columns: 1fr; } }

/* ── QUESTIONS ────────────────────────────────────────────────────────────*/
.so-faq { max-width: 900px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.so-faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.so-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--font-body); font-weight: 500; font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  letter-spacing: 0.1px; color: #dcecff; transition: color 0.2s ease;
}
.so-faq summary::-webkit-details-marker { display: none; }
.so-faq summary:hover { color: var(--green); }
.so-faq-sign { flex-shrink: 0; position: relative; width: 15px; height: 15px; color: var(--green); }
.so-faq-sign::before, .so-faq-sign::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: currentColor;
}
.so-faq-sign::after { transition: transform 0.25s ease; transform: rotate(90deg); }
.so-faq details[open] .so-faq-sign::after { transform: rotate(0deg); }
.so-faq-a { padding: 0 0 26px; max-width: 72ch; font-size: 0.99rem; font-weight: 300; line-height: 1.78; color: var(--muted); }
.so-faq-a b { color: #dcecff; font-weight: 500; }

/* ── CLOSE ────────────────────────────────────────────────────────────────*/
.so-close { max-width: 780px; }
.so-close p { margin-top: 24px; font-size: clamp(1rem, 1.2vw, 1.12rem); font-weight: 300; line-height: 1.75; color: #b8c7d9; }

/* ── THE RULES DOCUMENT ───────────────────────────────────────────────────
   The shell the code of conduct and the camp rules use: a reference text
   somebody reads once and comes back to, not a page to be sold by. */
body.site.so-rules section { padding: 100px 60px; }
@media (max-width: 900px) { body.site.so-rules section { padding: 70px 24px; } }
.doc { max-width: 820px; position: relative; z-index: 2; }
.doc h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green); margin: 52px 0 16px;
}
.doc h2:first-of-type { margin-top: 0; }
/* Sections are numbered because people cite them: "section 3 says". */
.doc h2 span {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 400; letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.28); display: block; margin-bottom: 8px;
}
.doc p, .doc li { font-size: 1.02rem; font-weight: 300; line-height: 1.85; color: #b8c7d9; letter-spacing: 0.2px; }
.doc p { margin-bottom: 16px; }
.doc ul { list-style: none; display: grid; gap: 12px; margin: 0 0 16px; }
.doc li { position: relative; padding-left: 28px; }
.doc li::before {
  content: ""; position: absolute; left: 3px; top: 13px; width: 7px; height: 7px;
  border: 1px solid var(--green); transform: rotate(45deg);
}
.doc strong { color: #fff; font-weight: 500; }
.doc-meta {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.3); margin-top: 12px;
}
.doc-warn { margin: 0 0 44px; padding: 20px 24px; border-left: 1px solid var(--amber); background: rgba(255, 194, 71, 0.06); }
.doc-warn p { margin: 0; color: #e8d5ac; }
.doc-warn p + p { margin-top: 12px; }
.doc-warn strong { color: #fff; }
.doc-defs { display: grid; gap: 18px; margin: 0 0 16px; }
.doc-defs div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.doc-defs dt { font-size: 1rem; font-weight: 500; color: #fff; letter-spacing: 0.2px; margin-bottom: 5px; }
.doc-defs dd { font-size: 0.99rem; font-weight: 300; line-height: 1.8; color: var(--muted); }

/* ── MOTION ───────────────────────────────────────────────────────────────
   One authored moment: the hero settles, in order, once. */
@keyframes so-settle { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes so-ghost  { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
html.js .so-hero-inner > * { animation: so-settle 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
html.js .so-hero h1  { animation-delay: 0.04s; }
html.js .so-deck     { animation-delay: 0.16s; }
html.js .so-lede     { animation-delay: 0.24s; }
html.js .so-actions  { animation-delay: 0.32s; }
html.js .so-facts    { animation: so-settle 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
html.js .so-ghost    { animation: so-ghost 1.4s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
@media (prefers-reduced-motion: reduce) {
  html.js .so-hero-inner > *, html.js .so-facts, html.js .so-ghost { animation: none; }
  .so-faq-sign::after, .soc-cat::after { transition: none; }
}
