:root {
  --bg: #1b202a;
  --bg-2: #212733;
  --card: #262c38;
  --card-2: #2d3441;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef2;
  --muted: #a7abb6;
  --dim: #7d818c;
  --purple: #8b5cf6;
  --purple-hi: #a78bfa;
  --purple-soft: #c4b5fd;
  --purple-bg: rgba(139, 92, 246, 0.14);
  --purple-line: rgba(139, 92, 246, 0.38);
  --green: #4ade80;
  --green-bg: rgba(74, 222, 128, 0.12);
  --blue: #7cb3ff;
  --blue-bg: rgba(96, 165, 250, 0.14);
  --amber: #fbbf24;
  --amber-bg: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --red-bg: rgba(248, 113, 113, 0.12);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 32, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; color: #d6d8de; }
.brand-name { font-family: var(--display); font-size: 1.32rem; letter-spacing: 0.06em; line-height: 1; color: #f1f2f5; }
.brand-sub { font-family: var(--display); font-size: 0.62rem; letter-spacing: 0.24em; color: var(--muted); margin-top: 5px; }
.brand-divider { width: 1px; height: 38px; background: var(--line-2); }

.nav { display: flex; gap: 6px; flex: 1; }
.nav a {
  position: relative; padding: 10px 14px;
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  border-radius: 7px; transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav a[aria-current="page"] { color: var(--purple-soft); }
.nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--purple-hi);
}

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 9px; background: transparent; color: var(--muted);
  transition: color 0.15s, border-color 0.15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--purple-line); }
.icon-btn svg { width: 19px; height: 19px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 9px; border: 1px solid transparent;
  font-size: 0.92rem; font-weight: 600; line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--purple-hi); color: #16121f; }
.btn-primary:hover { background: var(--purple-soft); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--purple-line); color: var(--purple-soft); }
.btn-discord { background: #3b2d6b; color: #ece7ff; border-color: var(--purple-line); }
.btn-discord:hover { background: #4a3a86; }
.login-pic { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: rgba(255,255,255,0.15); font-size: 0.72rem; font-weight: 600; }
.btn-discord span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.btn-lg { padding: 15px 26px; font-size: 0.98rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.menu-toggle { display: none; }

.hero { position: relative; padding-top: 22px; }
.hero .wrap { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; min-height: 360px; padding: 38px 72px 50px; }
.hero .wrap::before {
  content: ''; position: absolute; inset: 0 28px; z-index: -1; border-radius: 16px;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(27,32,42,0.8) 12%, rgba(27,32,42,0) 40%),
    linear-gradient(90deg, rgba(14,10,24,0.6) 0%, rgba(14,10,24,0.25) 38%, rgba(14,10,24,0) 58%),
    url('/doj-site/hero-bg2.webp') center 45% / cover no-repeat,
    #120e1c;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.eyebrow { font-size: 0.74rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: 0.01em;
  color: #f4f5f8; margin-bottom: 14px;
}
.hero h1 span { display: block; font-size: 0.5em; letter-spacing: 0.28em; color: var(--purple-soft); margin-bottom: 10px; }
.hero p.lead { font-size: 1.04rem; color: #c9ccd4; max-width: 540px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-divider { display: flex; align-items: center; gap: 12px; max-width: 440px; margin-top: 22px; color: #cfc6ee; }
.hero-divider::before, .hero-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(207,198,238,0), rgba(207,198,238,0.45)); }
.hero-divider::after { background: linear-gradient(90deg, rgba(207,198,238,0.45), rgba(207,198,238,0)); }
.hero-divider svg { width: 16px; height: 16px; flex: none; }
.hero-art { position: relative; height: 100%; min-height: 280px; }
.hero-quote { position: absolute; right: -24px; bottom: -22px; text-align: left; }
.hero-quote q { display: block; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.25; color: #e3e4e9; quotes: '\201C' '\201D'; }
.hero-quote .rule { width: 34px; height: 2px; background: var(--purple-hi); margin: 10px 0 9px; }
.hero-quote small { font-size: 0.7rem; letter-spacing: 0.32em; color: var(--muted); }

.section { padding: 56px 0; }
.quick { margin-top: 28px; position: relative; z-index: 2; padding-top: 0; }
.cards-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.qcard { position: relative; display: flex; flex-direction: column; padding: 18px 20px 16px; transition: border-color 0.15s, transform 0.15s; }
.qcard:hover { border-color: var(--purple-line); transform: translateY(-2px); }
.icon-tile {
  width: 50px; height: 50px; display: grid; place-items: center;
  background: linear-gradient(145deg, #6d4ad6, #4c35a0); color: #fff;
  border-radius: 9px; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(109, 74, 214, 0.28);
}
.icon-tile svg { width: 24px; height: 24px; }
.qcard .icon-tile { width: 44px; height: 44px; margin-bottom: 14px; }
.qcard .icon-tile svg { width: 21px; height: 21px; }
.qcard h3 { font-family: var(--serif); font-size: 1.38rem; font-weight: 700; line-height: 1.1; margin-bottom: 8px; color: #f2f3f6; }
.qcard p { font-size: 0.86rem; line-height: 1.45; color: var(--muted); margin-bottom: 14px; flex: 1; }
.qcard .more { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; font-weight: 600; color: var(--purple-hi); }
.qcard .more svg { width: 15px; height: 15px; }
.qcard .round {
  position: absolute; right: 18px; bottom: 16px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--muted);
}
.qcard .round svg { width: 15px; height: 15px; }
.qcard:hover .round { border-color: var(--purple-line); color: var(--purple-soft); }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.panel { position: relative; padding: 22px 24px; }
.panel, .qcard {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(150, 96, 170, 0.12), rgba(150, 96, 170, 0) 55%),
    linear-gradient(180deg, #221a2c 0%, #1a1422 100%);
  border-color: rgba(190, 150, 200, 0.14);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(212, 180, 120, 0.06);
}
.panel::before, .qcard::before {
  content: ''; position: absolute; top: -1px; left: 18px; right: 18px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0), rgba(167, 139, 250, 0.55) 18%, rgba(222, 186, 112, 0.95) 48%, rgba(212, 175, 105, 0) 100%);
}
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-head svg { width: 24px; height: 24px; color: var(--purple-hi); flex-shrink: 0; }
.panel-head h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; flex: 1; line-height: 1.1; }
.panel-head a { font-size: 0.84rem; color: var(--purple-hi); display: inline-flex; align-items: center; gap: 6px; }
.panel-head a svg { width: 14px; height: 14px; color: inherit; }

.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tbl th {
  text-align: left; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dim); padding: 10px 12px; background: rgba(255, 255, 255, 0.03);
}
.tbl th:first-child { border-radius: 7px 0 0 7px; }
.tbl th:last-child { border-radius: 0 7px 7px 0; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .strong { color: #f1f2f5; font-weight: 500; }
.tbl-wrap { overflow-x: auto; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 0.76rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
  background: rgba(255, 255, 255, 0.06); color: var(--muted);
}
.badge.purple { background: var(--purple-bg); color: var(--purple-soft); }
.badge.blue { background: var(--blue-bg); color: var(--blue); }
.badge.green { background: var(--green-bg); color: var(--green); }
.badge.amber { background: var(--amber-bg); color: var(--amber); }
.badge.red { background: var(--red-bg); color: var(--red); }

.announce { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.announce:last-child { border-bottom: 0; }
.datebox {
  width: 52px; flex-shrink: 0; text-align: center; padding: 7px 0;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 8px;
}
.datebox small { display: block; font-size: 0.66rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.datebox b { display: block; font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.announce h4 { font-size: 0.96rem; font-weight: 600; margin-bottom: 2px; }
.announce p { font-size: 0.87rem; color: var(--muted); }

.empty {
  padding: 34px 20px; text-align: center; color: var(--muted); font-size: 0.93rem;
  border: 1px dashed var(--line-2); border-radius: 9px;
}
.empty svg { display: block; width: 30px; height: 30px; color: var(--dim); margin: 0 auto 10px; }

.page-head { padding: 52px 0 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #24272d, var(--bg)); }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700; line-height: 1.05; margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 660px; font-size: 1.02rem; }

.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.search {
  position: relative; flex: 1; min-width: 240px;
}
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--dim); }
.search input { padding-left: 42px; }
input, select, textarea {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 9px;
  padding: 12px 14px; font-family: inherit; font-size: 0.94rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple-hi); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
label.lbl { display: block; font-size: 0.84rem; font-weight: 600; color: #d6d8de; margin-bottom: 7px; }
label.lbl em { font-style: normal; color: var(--purple-hi); }
.hint { font-size: 0.8rem; color: var(--dim); margin-top: 6px; }
.field { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 0.86rem; font-weight: 500;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  transition: all 0.15s;
}
.chip:hover { color: var(--text); border-color: var(--purple-line); }
.chip.on { background: var(--purple-bg); border-color: var(--purple-line); color: var(--purple-soft); }
.chip .n { color: var(--dim); margin-left: 5px; font-size: 0.8rem; }
.chip.on .n { color: var(--purple-hi); }

.count { font-size: 0.86rem; color: var(--dim); margin-bottom: 12px; }

.law-filter { position: relative; max-width: 340px; margin-bottom: 28px; }
.law-filter select {
  appearance: none; -webkit-appearance: none; color-scheme: dark; cursor: pointer;
  padding-right: 42px; font-weight: 500;
}
.law-filter select:hover { border-color: var(--purple-line); }
.law-filter select optgroup { color: var(--purple-soft); font-weight: 600; background: var(--bg-2); }
.law-filter select option { color: var(--text); font-weight: 400; background: var(--bg-2); }
.law-filter svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--dim); pointer-events: none; }
.law-selected { margin-bottom: 16px; }
.law.unconfirmed .stat b { color: var(--amber); }
.law-selected h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; line-height: 1.1; color: #f2f3f6; }
.law-selected div { font-size: 0.88rem; color: var(--dim); margin-top: 4px; }
@media (max-width: 640px) { .law-filter { max-width: none; } }

.law-cat { margin-bottom: 26px; }
.law-cat h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.law-cat h3 small { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; color: var(--dim); }
.law { display: grid; grid-template-columns: 1fr 130px 130px; gap: 18px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.law:last-child { border-bottom: 0; }
.law h4 { font-size: 0.98rem; font-weight: 600; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.law p { font-size: 0.87rem; color: var(--muted); margin-top: 3px; }
.law .stat { text-align: right; }
.law .stat small { display: block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.law .stat b { font-weight: 600; font-variant-numeric: tabular-nums; }

.case { padding: 20px 22px; margin-bottom: 14px; }
.case-top { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.case-top h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1.15; flex: 1; min-width: 200px; }
.case-no { font-size: 0.8rem; color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.case-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); margin-bottom: 10px; }
.case-meta b { color: #d9dbe1; font-weight: 500; }
.case p.summary { font-size: 0.93rem; color: #c9ccd4; }
.ruling { margin-top: 14px; padding: 13px 16px; border-left: 3px solid var(--purple-hi); background: rgba(139, 92, 246, 0.07); border-radius: 0 8px 8px 0; }
.ruling small { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-hi); margin-bottom: 3px; }
.ruling p { font-size: 0.92rem; color: #dcdee4; }

.role-group { margin-bottom: 34px; }
.role-group h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.role-group h2 small { font-family: var(--sans); font-size: 0.82rem; color: var(--dim); font-weight: 500; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.person { display: flex; align-items: center; gap: 15px; padding: 18px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #5b3fb8, #3a2a7a); color: #efeaff;
  font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em;
}
img.avatar { object-fit: cover; background: var(--card-2); }
.person.clickable { cursor: pointer; transition: border-color 0.15s, transform 0.15s; align-items: flex-start; }
.person.clickable:hover, .person.clickable:focus-visible { border-color: var(--purple-line); transform: translateY(-2px); outline: none; }
.person .firm { color: var(--muted); }
.person .view-card { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 0.8rem; font-weight: 600; color: var(--purple-hi); }
.person .view-card svg { width: 13px; height: 13px; }
.lawyer-modal { max-width: 640px; }
.lm-head { align-items: center; }
.avatar.avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.lm-role { color: var(--purple-hi); font-size: 0.92rem; margin-top: 4px; }
.lm-tagline { color: var(--muted); font-family: var(--serif); font-size: 1.15rem; font-style: italic; margin-top: 4px; }
.lm-contacts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.lm-contact { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 0.92rem; }
.lm-contact svg { width: 16px; height: 16px; color: var(--purple-hi); }
.lm-bio { color: var(--muted); line-height: 1.6; white-space: pre-wrap; margin-bottom: 16px; }
.lm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.lm-cards img { width: 100%; border-radius: 8px; border: 1px solid var(--line-2); display: block; background: #111; }
.person h3 { font-size: 1rem; font-weight: 600; }
.person .role { font-size: 0.84rem; color: var(--purple-hi); margin-bottom: 4px; }
.person .contact { font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.person .contact svg { width: 14px; height: 14px; }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.option { display: flex; flex-direction: column; padding: 26px 24px; }
.option h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.option p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; flex: 1; }

.status-banner { display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-bottom: 22px; }
.status-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.status-banner.open { border-color: rgba(74, 222, 128, 0.35); }
.status-banner.open .status-dot { background: var(--green); box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.16); }
.status-banner.closed .status-dot { background: var(--dim); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06); }
.status-banner h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.status-banner p { color: var(--muted); font-size: 0.92rem; }
.state-word { letter-spacing: 0.08em; }
.status-banner.open .state-word { color: var(--green); }
.status-banner.closed .state-word { color: var(--muted); }

.modal-bg {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 11, 14, 0.72);
  display: none; align-items: flex-start; justify-content: center; padding: 40px 18px; overflow-y: auto;
}
.modal-bg.show { display: flex; }
.modal { width: 100%; max-width: 620px; padding: 28px; }
.modal-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.modal-head .icon-tile { margin-bottom: 0; flex-shrink: 0; }
.modal-head h2 { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.modal-head p { color: var(--muted); font-size: 0.9rem; }
.modal-head .x { margin-left: auto; background: none; border: 0; color: var(--muted); padding: 4px; }
.modal-head .x svg { width: 22px; height: 22px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.alert { padding: 12px 14px; border-radius: 9px; font-size: 0.9rem; margin-bottom: 16px; }
.alert.err { background: var(--red-bg); color: #fecaca; border: 1px solid rgba(248, 113, 113, 0.3); }
.done { text-align: center; padding: 20px 6px 8px; }
.done .tick { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--green-bg); color: var(--green); }
.done .tick svg { width: 28px; height: 28px; }
.done h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 6px; }
.done p { color: var(--muted); margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.sop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 124px); overflow-y: auto; padding: 18px 16px; }
.toc .toc-part { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin: 16px 8px 6px; }
.toc .toc-part:first-child { margin-top: 0; }
.toc a { display: block; padding: 6px 10px; border-radius: 7px; font-size: 0.88rem; color: var(--muted); border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.toc a.on { color: var(--purple-soft); border-left-color: var(--purple-hi); background: var(--purple-bg); border-radius: 0 7px 7px 0; }
.part-label { font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--purple-hi); margin: 34px 0 12px; }
.part-label:first-child { margin-top: 0; }
.sop { padding: 28px 32px; margin-bottom: 18px; scroll-margin-top: 96px; }
.sop h2 { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1.1; margin-bottom: 10px; }
.sop h3 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-soft); margin: 24px 0 10px; }
.sop p { color: #cfd2d9; margin-bottom: 12px; }
.sop p.intro { font-size: 1.02rem; color: #dfe1e6; }
.sop ul, .sop ol { margin: 0 0 12px 20px; color: #cfd2d9; }
.sop li { margin-bottom: 7px; padding-left: 4px; }
.sop li::marker { color: var(--purple-hi); }
.sop strong { color: #eef0f3; font-weight: 600; }
.rules { list-style: none; margin-left: 0 !important; }
.rules li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: baseline; padding: 9px 0; margin: 0; border-bottom: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; }
.rtag { justify-self: start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; }
.rtag.can { background: var(--green-bg); color: var(--green); }
.rtag.cannot { background: var(--red-bg); color: var(--red); }
.rtag.must { background: var(--amber-bg); color: var(--amber); }
.rtag.note { background: var(--purple-bg); color: var(--purple-soft); }
.callout { display: flex; gap: 12px; padding: 14px 16px; margin: 14px 0; border-radius: 9px; background: rgba(139, 92, 246, 0.08); border: 1px solid var(--purple-line); color: #dcdde3; font-size: 0.93rem; }
.callout svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--purple-hi); margin-top: 1px; }
.callout.warn { background: var(--amber-bg); border-color: rgba(251, 191, 36, 0.32); }
.callout.warn svg { color: var(--amber); }
.sop .tbl { margin: 6px 0 14px; }
.sop .tbl td { color: #d4d6dc; }
.sop .tbl td.money { font-variant-numeric: tabular-nums; color: #f1f2f5; font-weight: 500; white-space: nowrap; }
.steps { counter-reset: s; list-style: none; margin-left: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 10px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 600; background: var(--purple-bg); color: var(--purple-soft); }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.term { padding: 12px 0; border-bottom: 1px solid var(--line); }
.term dt { font-weight: 600; color: #eef0f3; margin-bottom: 3px; }
.term dd { font-size: 0.9rem; color: var(--muted); }
.sop-meta { font-size: 0.84rem; color: var(--dim); margin-top: 14px; }

.skel { height: 16px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.09), rgba(255,255,255,0.04)); background-size: 200% 100%; animation: sh 1.4s infinite; }
@keyframes sh { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 30px; }
.site-footer .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-footer .brand-mark { width: 38px; height: 38px; }
.foot-brand b { display: block; font-size: 0.84rem; letter-spacing: 0.06em; font-weight: 500; }
.foot-brand small { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--dim); }
.foot-rule { flex: 1; height: 1px; background: var(--line-2); min-width: 40px; }
.foot-links { display: flex; gap: 0; }
.foot-links a { font-size: 0.86rem; color: var(--muted); padding: 0 16px; border-left: 1px solid var(--line-2); }
.foot-links a:first-child { border-left: 0; }
.foot-links a:hover { color: var(--text); }
.foot-motto { font-size: 0.74rem; letter-spacing: 0.26em; color: var(--dim); }
.foot-disclaimer { flex-basis: 100%; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.8rem; line-height: 1.6; color: var(--dim); }
.foot-disclaimer strong { color: var(--muted); font-weight: 600; }

@media (max-width: 1100px) {
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .quick { margin-top: 24px; }
  .hero .wrap { padding-bottom: 44px; }
}
@media (max-width: 900px) {
  .sop-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .terms { grid-template-columns: 1fr; }
  .sop { padding: 22px 20px; }
  .rules li { grid-template-columns: 1fr; gap: 6px; }
  .nav, .brand-divider { display: none; }
  .menu-toggle { display: grid; }
  .header-actions .btn-discord span { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 18px 16px;
  }
  .nav.open a[aria-current="page"]::after { display: none; }
  .options { grid-template-columns: 1fr; }
  .law { grid-template-columns: 1fr 1fr; }
  .law > div:first-child { grid-column: 1 / -1; }
  .law .stat { text-align: left; }
  .foot-rule { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .cards-5 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .eyebrow { letter-spacing: 0.22em; }
  .modal { padding: 22px 18px; }
  .foot-links { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .hero .wrap { padding: 28px 44px 36px; }
  .hero .wrap::before { inset: 0 16px; border-radius: 12px; }
}
.panel .empty { background: rgba(10, 6, 14, 0.3); border-color: rgba(212, 175, 105, 0.16); }
.panel-head > svg, .panel-head > [data-icon] svg { color: #d4af69; }
.qcard .round { border-color: rgba(212, 175, 105, 0.3); color: #d9bd85; }
.hero-divider svg { color: #d4af69; }
.hero .eyebrow { color: #d4af69; }
