@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #11140f;
  --surface: #191d16;
  --surface-raised: #20261c;
  --surface-hover: #252d20;
  --line: rgba(224, 238, 211, .11);
  --line-strong: rgba(183, 255, 50, .35);
  --text: #f1f4eb;
  --muted: #a2aa98;
  --dim: #697263;
  --lime: #b7ff32;
  --lime-soft: #d4ff86;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 79% 16%, rgba(114, 156, 48, .095), transparent 35rem),
    linear-gradient(180deg, #141810 0, var(--bg) 34rem, #0f120e 100%);
  color: var(--text);
}
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--lime); color: #11140f; }
.skip-link {
  position: fixed; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%);
  padding: 10px 14px; border-radius: 8px; background: var(--lime); color: #13170e; font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  position: relative; z-index: 5; min-height: 76px;
  border-bottom: 1px solid rgba(238, 246, 227, .08);
  background: rgba(15, 18, 13, .92); backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1180px, calc(100% - 64px)); min-height: 76px; margin-inline: auto;
  display: flex; align-items: center; gap: 38px;
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid; width: 37px; height: 37px; place-items: center;
  border: 1px solid rgba(183, 255, 50, .58); border-radius: 10px 3px 10px 3px;
  background: linear-gradient(145deg, rgba(183, 255, 50, .15), rgba(183, 255, 50, .035));
  box-shadow: inset 0 0 16px rgba(183, 255, 50, .06);
}
.brand-mark svg { width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.brand-mark svg .mark-core { fill: var(--lime); stroke: none; }
.brand-name { font-size: 15px; font-weight: 790; letter-spacing: -.055em; white-space: nowrap; }
.brand-name > span { color: var(--lime); }
.brand-name small { margin-left: 1px; color: #b4bbaa; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.primary-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.primary-nav a {
  position: relative; padding: 29px 0 27px; color: #b4bbaa; text-decoration: none;
  font-size: 13px; font-weight: 550; transition: color 180ms ease;
}
.primary-nav a::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; background: var(--lime); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-current { color: var(--text); }
.primary-nav a.is-current { font-weight: 700; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.header-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 999px; color: #9ea895;
  font-family: var(--mono); font-size: 9px; letter-spacing: .075em; white-space: nowrap;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 11px rgba(183, 255, 50, .8); }
.menu-toggle { display: none; }
.intro {
  position: relative; display: grid; grid-template-columns: 1fr 210px; gap: 56px;
  align-items: center; min-height: 345px; padding-top: 55px; padding-bottom: 51px;
}
.intro::before {
  position: absolute; z-index: -1; top: 29px; right: 194px; width: 250px; height: 250px;
  border: 1px solid rgba(183, 255, 50, .08); border-radius: 50%; content: "";
  box-shadow: 0 0 0 28px rgba(183, 255, 50, .018), 0 0 0 57px rgba(183, 255, 50, .012);
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: #a2ad96; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.eyebrow-line { width: 18px; height: 2px; background: var(--lime); box-shadow: 0 0 8px rgba(183, 255, 50, .48); }
.eyebrow-divider { color: #58614e; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(39px, 5.3vw, 62px); font-weight: 780; letter-spacing: -.066em; line-height: 1.04; }
h1 span { color: var(--lime); }
.intro-text { max-width: 570px; margin-bottom: 21px; color: #aeb6a4; font-size: 15px; line-height: 1.75; }
.intro-link { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); text-decoration: none; font-size: 13px; font-weight: 700; }
.intro-link span { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(183, 255, 50, .35); border-radius: 50%; transition: transform 180ms ease, background 180ms ease; }
.intro-link:hover span { transform: translateY(3px); background: rgba(183, 255, 50, .1); }
.intro-note {
  position: relative; display: flex; min-height: 185px; flex-direction: column; align-items: flex-start;
  justify-content: center; overflow: hidden; padding: 22px 23px;
  border: 1px solid rgba(183, 255, 50, .19); border-radius: 3px 18px 3px 18px;
  background: linear-gradient(145deg, rgba(183, 255, 50, .085), rgba(26, 32, 22, .55) 65%);
}
.intro-note::after { position: absolute; right: -32px; bottom: -42px; width: 116px; height: 116px; border: 1px solid rgba(183, 255, 50, .17); border-radius: 50%; box-shadow: 0 0 0 15px rgba(183, 255, 50, .03); content: ""; }
.note-kicker, .note-foot { color: #9eaa90; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .1em; line-height: 1.55; }
.note-number { margin-top: 10px; color: var(--lime); font-size: 51px; font-weight: 780; letter-spacing: -.08em; line-height: .95; }
.note-caption { margin-top: 7px; color: #d4dccb; font-size: 11px; line-height: 1.5; }
.note-rule { width: 100%; height: 1px; margin: 13px 0 10px; background: rgba(183, 255, 50, .22); }
.rules-section { padding-top: 4px; padding-bottom: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h2 { margin-bottom: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 740; letter-spacing: -.05em; }
.expand-all {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 0 9px 12px;
  border: 0; background: transparent; color: #c2cab9; cursor: pointer; font-size: 12px; font-weight: 650;
  transition: color 160ms ease;
}
.expand-all:hover, .expand-all:focus-visible { color: var(--lime); }
.expand-icon { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(183, 255, 50, .35); border-radius: 50%; color: var(--lime); font-size: 17px; line-height: 1; transition: transform 200ms ease, background 200ms ease; }
.expand-all[aria-pressed="true"] .expand-icon { transform: rotate(45deg); background: rgba(183, 255, 50, .1); }
.rules-list { display: grid; gap: 10px; }
.rule-card {
  overflow: clip; border: 1px solid var(--line); border-left: 2px solid rgba(183, 255, 50, .31);
  border-radius: 4px 12px 4px 12px; background: linear-gradient(100deg, rgba(29, 34, 25, .97), rgba(24, 28, 22, .96));
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.rule-card:hover { border-color: rgba(183, 255, 50, .24); background: linear-gradient(100deg, #20261a, #191e17); }
.rule-card[open] { border-color: rgba(183, 255, 50, .37); border-left-color: var(--lime); background: #1b2018; }
.rule-card summary {
  display: grid; min-height: 76px; grid-template-columns: 42px 1fr auto 18px; align-items: center; gap: 18px;
  padding: 13px 23px; cursor: pointer; list-style: none; outline: none;
}
.rule-card summary::-webkit-details-marker { display: none; }
.rule-card summary:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; border-radius: 4px 12px 4px 12px; }
.rule-index { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(183, 255, 50, .22); border-radius: 8px 2px 8px 2px; color: var(--lime); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.rule-title-wrap { display: grid; gap: 4px; }
.rule-title { color: #edf1e7; font-size: 15px; font-weight: 680; letter-spacing: -.015em; }
.rule-subtitle { color: #838d7c; font-size: 11px; font-weight: 450; }
.rule-count { padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 999px; color: #939d8b; font-family: var(--mono); font-size: 9px; white-space: nowrap; }
.chevron { position: relative; width: 16px; height: 16px; color: var(--lime); }
.chevron::before, .chevron::after { position: absolute; top: 7px; width: 9px; height: 1px; background: currentColor; content: ""; transition: transform 180ms ease; }
.chevron::before { left: 0; transform: rotate(45deg); }
.chevron::after { right: 0; transform: rotate(-45deg); }
.rule-card[open] .chevron::before { transform: rotate(-45deg); }
.rule-card[open] .chevron::after { transform: rotate(45deg); }
.rule-card[data-section="1"] { --section-number: "1"; }
.rule-card[data-section="2"] { --section-number: "2"; }
.rule-card[data-section="3"] { --section-number: "3"; }
.rule-card[data-section="4"] { --section-number: "4"; }
.rule-card[data-section="5"] { --section-number: "5"; }
.rule-card[data-section="6"] { --section-number: "6"; }
.rule-body { padding: 0 66px 23px 83px; animation: reveal 220ms ease both; }
.rule-body ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: item; }
.rule-body li { position: relative; padding: 11px 0 11px 23px; border-top: 1px solid rgba(229, 238, 219, .07); color: #b6beb0; font-size: 13px; line-height: 1.72; counter-increment: item; }
.rule-body li::before { position: absolute; top: 12px; left: 0; color: var(--lime); font-family: var(--mono); font-size: 9px; font-weight: 650; content: var(--section-number) "." counter(item); }
.rules-hint { display: flex; align-items: center; gap: 10px; margin: 19px 0 0; color: #87917e; font-size: 11px; line-height: 1.6; }
.hint-mark { display: grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(183, 255, 50, .3); border-radius: 50%; color: var(--lime); font-family: Georgia, serif; font-size: 12px; font-style: italic; }
.site-footer { border-top: 1px solid rgba(238, 246, 227, .08); background: rgba(12, 15, 11, .78); }
.footer-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 18px; }
.brand-footer .brand-mark { width: 31px; height: 31px; border-radius: 8px 2px 8px 2px; }
.brand-footer .brand-mark svg { width: 21px; height: 21px; }
.brand-footer .brand-name { font-size: 13px; }
.footer-note { margin: 0; color: #8d9785; font-size: 11px; }
.footer-meta { display: grid; gap: 5px; color: #687261; font-family: var(--mono); font-size: 9px; text-align: right; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
@keyframes reveal { from { opacity: .35; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .header-inner { gap: 21px; }
  .primary-nav { gap: 19px; }
  .header-pill { display: none; }
}
@media (max-width: 700px) {
  .shell, .header-inner { width: min(100% - 40px, 560px); }
  .site-header, .header-inner { min-height: 66px; }
  .header-inner { position: relative; justify-content: space-between; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 9px 0 9px 12px; border: 0; background: none; color: #c8d0be; cursor: pointer; font-size: 11px; }
  .menu-glyph { display: grid; width: 20px; gap: 5px; }
  .menu-glyph i { display: block; width: 20px; height: 2px; background: var(--lime); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-glyph i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-glyph i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav {
    position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 7px 16px; border: 1px solid var(--line); border-radius: 0 0 10px 10px; background: #171b14; box-shadow: 0 16px 30px rgba(0, 0, 0, .32);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 13px; }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a::after { right: auto; bottom: 8px; width: 23px; }
  .intro { grid-template-columns: 1fr 130px; gap: 23px; min-height: 305px; padding-top: 46px; padding-bottom: 38px; }
  .intro::before { top: 46px; right: 52px; width: 180px; height: 180px; }
  .intro-note { min-height: 160px; padding: 16px; }
  .note-number { font-size: 43px; }
  .note-caption { font-size: 10px; }
  .note-kicker, .note-foot { font-size: 8px; }
  .section-heading { align-items: center; }
  .rule-card summary { min-height: 72px; grid-template-columns: 36px 1fr 16px; gap: 13px; padding: 12px 15px; }
  .rule-index { width: 34px; height: 34px; }
  .rule-count { display: none; }
  .rule-body { padding: 0 20px 18px 64px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 21px; }
  .footer-note { order: 3; width: 100%; }
}
@media (max-width: 480px) {
  .shell, .header-inner { width: calc(100% - 32px); }
  .brand { gap: 8px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-name { font-size: 14px; }
  .menu-toggle-label { display: none; }
  .intro { display: block; min-height: auto; padding-top: 42px; padding-bottom: 32px; }
  .intro::before { top: 18px; right: 0; width: 140px; height: 140px; }
  .eyebrow { gap: 7px; font-size: 8px; letter-spacing: .085em; }
  .eyebrow-line { width: 14px; }
  h1 { position: relative; font-size: clamp(38px, 11.4vw, 52px); }
  .intro-text { max-width: 95%; font-size: 13px; line-height: 1.72; }
  .intro-note { display: none; }
  .rules-section { padding-top: 5px; padding-bottom: 58px; }
  .section-heading { align-items: end; gap: 8px; margin-bottom: 15px; }
  .section-heading .eyebrow { margin-bottom: 7px; }
  h2 { font-size: 25px; }
  .expand-all { gap: 6px; padding-left: 6px; font-size: 10px; white-space: nowrap; }
  .expand-icon { width: 21px; height: 21px; font-size: 15px; }
  .rules-list { gap: 8px; }
  .rule-card summary { min-height: 68px; grid-template-columns: 31px 1fr 14px; gap: 11px; padding: 10px 12px; }
  .rule-index { width: 30px; height: 30px; font-size: 10px; }
  .rule-title { font-size: 13px; }
  .rule-subtitle { font-size: 10px; }
  .rule-body { padding: 0 13px 14px 53px; }
  .rule-body li { padding: 10px 0 10px 21px; font-size: 12px; line-height: 1.68; }
  .rule-body li::before { top: 11px; font-size: 8px; }
  .rules-hint { align-items: flex-start; font-size: 10px; }
  .footer-inner { min-height: auto; }
  .footer-meta { font-size: 8px; }
  .footer-note { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
