:root {
  --rt-bg: #0E1412;
  --rt-surface: #1B2320;
  --rt-surface-2: #2A3832;
  --rt-primary: #8FB39C;
  --rt-primary-soft: #C6D9C8;
  --rt-text: #E7EEE8;
  --rt-text-muted: #AAB8B0;
  --rt-text-subtle: #6F7D76;
  --rt-border: #2A3832;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Michroma', var(--sans);
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--rt-bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--rt-bg); color: var(--rt-text-muted); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--rt-primary-soft); }
a:hover { color: var(--rt-text); }
:focus-visible { outline: 2px solid var(--rt-primary-soft); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 300; background: var(--rt-primary); color: var(--rt-bg); padding: 10px 14px; border-radius: 8px; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(14, 20, 18, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rt-border); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rt-text); }
.emblem { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(143, 179, 156, .14); }
.wordmark { font: 400 17px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--rt-text); }
.wordmark .two { color: var(--rt-primary); }
.back { font-size: 15px; color: var(--rt-text-muted); text-decoration: none; }
.back:hover { color: var(--rt-text); }
@media (max-width: 380px) { .wordmark { font-size: 14px; } }

main { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 96px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-primary); margin: 0; }
h1 { font: 400 clamp(44px, 7vw, 72px)/1.05 var(--serif); color: var(--rt-text); margin: 14px 0 18px; letter-spacing: -.01em; }
.meta { font-size: 14px; color: var(--rt-text-subtle); margin: 0 0 40px; }
.summary { padding: 22px 24px; border-radius: 18px; background: var(--rt-surface); border: 1px solid var(--rt-border); margin-bottom: 48px; }
.summary p { margin: 0; }
.summary ul { margin: 10px 0 0; padding-left: 20px; }
h2 { font: 400 32px/1.15 var(--serif); color: var(--rt-text); margin: 48px 0 12px; }
h3 { font: 600 17px/1.4 var(--sans); color: var(--rt-text); margin: 28px 0 8px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: var(--rt-text); font-weight: 500; }
.toc { list-style: none; padding: 0; margin: 0 0 8px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { color: var(--rt-text-muted); text-decoration: none; }
.toc a:hover { color: var(--rt-text); }
@media (max-width: 560px) { .toc { columns: 1; } }

footer { border-top: 1px solid var(--rt-border); }
.foot { max-width: 1160px; margin: 0 auto; padding: 32px var(--gutter) 48px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--rt-text-subtle); }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--rt-text-subtle); text-decoration: none; }
.foot a:hover { color: var(--rt-text); }
