:root {
  --bg: #0b1013;
  --panel: #10171b;
  --panel-raised: #151e23;
  --border: #29353c;
  --text: #e8ecec;
  --muted: #9aa9b0;
  --dim: #75868e;
  --ember: #f0784b;
  --ember-hover: #ff966d;
  --ice: #87c9c5;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
select,
input,
textarea {
  color: var(--text);
}
button {
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
}
::selection {
  background: #714c37;
  color: white;
}
.container {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.mono,
.eyebrow,
.section-code,
.small-badge {
  font-family: var(--mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--ice);
  color: var(--bg);
  padding: 10px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.ember-text {
  color: var(--ember);
}
.ice-text {
  color: var(--ice);
}
.preview-strip {
  background: #151e22;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: #abb8bd;
}
.preview-strip .container {
  min-height: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.preview-strip button {
  color: #c7d1d4;
  padding: 7px 0;
  border: 0;
  white-space: nowrap;
  font-size: 12px;
}
.preview-strip button:hover {
  color: var(--ember);
}
.tiny-cross {
  color: var(--ember);
  font: 16px var(--mono);
  margin-right: 7px;
}
.strip-divider {
  padding: 0 9px;
  color: #5e737d;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 16, 19, 0.96);
  backdrop-filter: blur(15px);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 39px;
  height: 39px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.brand-text strong {
  font-size: 19px;
  letter-spacing: 2px;
  line-height: 1.45;
}
.brand-text > span {
  font: 10px var(--mono);
  color: var(--muted);
  letter-spacing: 2.7px;
  padding-top: 3px;
}
.main-nav {
  display: flex;
  height: 100%;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
}
.nav-link {
  color: var(--muted);
  font-size: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-link.active::after {
  position: absolute;
  bottom: 0;
  content: "";
  height: 2px;
  background: var(--ember);
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  border: 1px solid transparent;
  padding: 12px 22px;
  font-weight: 550;
  border-radius: 2px;
  transition:
    background 160ms,
    border-color 160ms,
    color 160ms;
  white-space: nowrap;
}
.button.primary {
  background: var(--ember);
  color: #111518;
  border-color: var(--ember);
}
.button.primary:hover {
  background: var(--ember-hover);
  border-color: var(--ember-hover);
}
.button.secondary {
  background: rgba(16, 23, 27, 0.78);
  border-color: #526068;
  color: var(--text);
}
.button.secondary:hover {
  background: #1c2a30;
  border-color: var(--ice);
}
.button.small {
  min-height: 39px;
  padding: 8px 14px;
  font-size: 13px;
  gap: 15px;
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 2px;
  color: var(--muted);
}
.icon-button:hover:not(:disabled) {
  border-color: var(--ice);
  color: var(--text);
}
.menu-toggle {
  display: none;
}
.text-button {
  padding: 8px 0;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  text-align: left;
}
.text-button:hover {
  color: var(--ember);
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  background: #0b1013;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url("assets/relay-city.jpg") 65% 46% / cover no-repeat;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 16, 19, 0.75),
      rgba(11, 16, 19, 0.15) 57%,
      rgba(11, 16, 19, 0.05)
    ),
    linear-gradient(0deg, #0b1013, transparent 24%, rgba(11, 16, 19, 0.1) 80%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(#71858d 1px, transparent 1px),
    linear-gradient(90deg, #71858d 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 58%);
}
.hero-inner {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 35px;
  padding-bottom: 78px;
}
.hero-copy {
  width: min(620px, 65%);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.signal-dot {
  display: inline-block;
  height: 6px;
  width: 6px;
  background: var(--ember);
  box-shadow: 0 0 9px #f0784b70;
  border-radius: 50%;
  flex-shrink: 0;
}
.signal-dot.muted {
  background: #95a6ac;
  box-shadow: none;
}
.hero .eyebrow {
  color: #b7c3c8;
}
.hero-kicker {
  font-size: 13px;
  color: #adbcc3;
  margin: 31px 0 15px;
  letter-spacing: 2px;
}
.hero h1 {
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 1.23;
  letter-spacing: 2px;
  font-weight: 700;
}
.hero-description {
  font-size: 15px;
  color: #b2bec4;
  line-height: 1.9;
  margin: 22px 0 29px;
}
.hero-buttons {
  display: flex;
  gap: 13px;
}
.hero-buttons .button {
  min-height: 50px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 9px #87c9c549;
}
.hero-assurances {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #9eabb1;
  font-size: 12px;
  margin-top: 20px;
}
.hero-assurances > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-assurances > span + span::before {
  content: "";
  height: 3px;
  width: 3px;
  border-radius: 50%;
  background: #5b6e76;
  margin-right: 8px;
}
.hero-assurances .icon {
  width: 15px;
  height: 15px;
}
.scene-label {
  position: absolute;
  right: 25px;
  top: 54%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font: 9px/1.9 var(--mono);
  color: #b8c2c8;
  letter-spacing: 1px;
}
.scene-label strong {
  font-size: 10px;
  font-weight: 400;
  color: var(--ember);
}
.scene-bracket {
  width: 24px;
  height: 24px;
  border-left: 1px solid var(--ember);
  border-top: 1px solid var(--ember);
  margin-top: 5px;
}
.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #a0afb6;
}
.hero-bottom .mono {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.hero-bottom a {
  display: flex;
  gap: 18px;
}
.stats-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: var(--panel);
  margin-top: -3px;
}
.stat {
  padding: 23px 26px;
}
.stat + .stat {
  border-left: 1px solid var(--border);
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #b9c5ca;
}
.small-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  color: #a0b0b8;
  border: 1px solid #35444c;
  padding: 0 5px;
  line-height: 1.9;
  white-space: nowrap;
  letter-spacing: 1px;
}
.stat-value {
  font: 38px/1.3 var(--mono);
  margin: 10px 0 8px;
  letter-spacing: -1px;
}
.stat-value > span {
  font: 11px var(--font);
  color: var(--muted);
  letter-spacing: 0;
  padding-left: 8px;
}
.stat-foot {
  font-size: 11px;
  color: #97a8b0;
}
.status-value {
  font: 21px/1.3 var(--font);
  letter-spacing: 1px;
  margin: 18px 0 14px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.stat-value .signal-dot {
  padding: 0;
}
.status-square {
  width: 6px;
  height: 6px;
  display: inline-block;
}
.status-square.banned,
.status-dot.banned,
.legend-dot.banned {
  background: var(--ember);
}
.status-square.alive,
.status-dot.alive,
.legend-dot.alive {
  background: var(--ice);
}
.section {
  padding-top: 68px;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 27px;
}
.section-code {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--dim);
  margin-bottom: 14px;
}
.section-code span {
  color: var(--ember);
  padding-right: 7px;
}
.section-heading h2 {
  font-size: clamp(23px, 2.2vw, 30px);
  letter-spacing: 0.6px;
  line-height: 1.4;
}
.section-heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.section-heading > .text-button {
  margin-bottom: 1px;
  white-space: nowrap;
}
.panel {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 2px;
}
.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}
.segmented {
  display: flex;
  align-items: center;
  gap: 6px;
}
.segmented button {
  min-height: 39px;
  color: var(--muted);
  border: 1px solid transparent;
  font-size: 13px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
}
.segmented button.selected {
  background: #212c32;
  border-color: #37454d;
  color: #e6ecee;
}
.segmented button:hover {
  color: var(--text);
}
.segmented button > span:not(.status-dot) {
  font: 10px var(--mono);
  color: var(--muted);
}
.status-dot,
.legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.archive-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}
select,
input:not([type="checkbox"]):not([type="radio"]),
textarea {
  border: 1px solid #3b4b53;
  border-radius: 2px;
  background: #0e161a;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--text);
  width: 100%;
  color-scheme: dark;
}
select {
  padding-right: 30px;
}
input::placeholder,
textarea::placeholder {
  color: #82949e;
  opacity: 1;
}
.compact-select {
  font-size: 12px;
  min-width: 113px;
  min-height: 37px;
  height: 37px;
  padding: 7px 9px;
}
.search-box {
  display: flex;
  align-items: center;
  position: relative;
}
.search-box .icon {
  position: absolute;
  left: 10px;
  width: 15px;
  height: 15px;
  color: #94a5ae;
}
.search-box input {
  max-width: 163px;
  height: 37px;
  min-height: 37px !important;
  font-size: 12px;
  padding-left: 33px !important;
}
.table-scroll {
  overflow-x: auto;
}
.archive-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
  min-width: 820px;
  font-size: 12px;
}
.archive-table thead {
  background: #11191d;
}
.archive-table th {
  font-weight: 400;
  color: #9eafb7;
  font-size: 11px;
  padding: 15px 20px;
}
.archive-table td {
  border-top: 1px solid #263139;
  padding: 16px 20px;
}
.archive-table tbody tr:hover {
  background: #172228;
}
.archive-table .record-id {
  font: 11px var(--mono);
  letter-spacing: 0.4px;
  color: #cbd5d8;
}
.record-reference {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.record-tombstone {
  width: 19px;
  height: 21px;
  flex-shrink: 0;
  color: var(--ember);
}
.cohort-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding: 3px 8px;
  line-height: 1.5;
  border: 1px solid #49545a;
}
.cohort-pill.banned {
  color: #f49d7f;
  border-color: #674235;
  background: #38251c45;
}
.cohort-pill.alive {
  color: #98d5d0;
  border-color: #365551;
  background: #213d3845;
}
.cell-secondary {
  display: block;
  color: #95a6af;
  font-size: 10px;
  margin-top: 2px;
}
.record-open {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border: 0;
  color: var(--muted);
}
.record-open:hover {
  color: var(--ember);
}
.record-open .icon {
  width: 15px;
  height: 15px;
}
.archive-footer {
  border-top: 1px solid var(--border);
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: #98a9b2;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 13px;
}
.pagination .icon-button {
  width: 30px;
  height: 29px;
  font-size: 14px;
}
.pagination > span {
  font-size: 10px;
}
.demo-note {
  color: #9dabae;
}
.demo-note .tiny-cross {
  font-size: 12px;
}
.evidence-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #40545e;
  color: #b2c9d4;
  font-size: 10px;
  line-height: 1.4;
  padding: 5px 8px;
  gap: 6px;
  white-space: nowrap;
}
.evidence-tag.demo,
.evidence-tag.hypothesis {
  color: #c5b897;
  border-color: #5b533b;
  background: #2b291a35;
}
.evidence-tag.official {
  color: #a1d6cc;
  border-color: #365b52;
  background: #1c382a35;
}
.evidence-tag.community {
  color: #b3c9dc;
  border-color: #405567;
  background: #1e303c35;
}
.evidence-tag.research {
  color: #e9ac91;
  border-color: #714c38;
}
.comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 20px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 19px 24px;
}
.panel-heading h3 {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-heading h3 .icon {
  color: var(--muted);
  width: 17px;
  height: 17px;
}
.chart-legend {
  display: flex;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}
.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.comparison-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  padding: 19px 24px 0;
}
.comparison-filters label {
  color: var(--muted);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comparison-filters select {
  font-size: 12px;
  min-height: 37px;
  padding: 7px 10px;
}
.match-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 24px 17px;
  align-items: center;
  border-bottom: 1px solid #243039;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #b6c1c5;
  font-size: 12px;
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--ember);
  flex-shrink: 0;
}
.match-row > span {
  color: #91a1a9;
  font-size: 10px;
  white-space: nowrap;
}
.chart-caption {
  font-size: 11px;
  color: #adbbc2;
  padding: 19px 24px 3px;
}
.chart-caption > span {
  color: var(--dim);
  padding-left: 5px;
}
.comparison-chart {
  padding: 4px 24px 9px;
}
.chart-factor {
  display: grid;
  grid-template-columns: 137px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #243038;
}
.chart-factor:last-child {
  border-bottom: 0;
}
.factor-label {
  font-size: 12px;
  color: #d0d9dc;
  padding-top: 1px;
}
.factor-label small {
  display: block;
  font-size: 10px;
  color: #94a5ad;
  margin-top: 3px;
}
.factor-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.bar-track {
  height: 8px;
  background: #1d2b32;
  flex: 1;
  overflow: hidden;
  border-radius: 1px;
}
.bar-fill {
  height: 100%;
  transition: width 300ms ease;
  min-width: 0;
}
.bar-fill.banned {
  background: var(--ember);
}
.bar-fill.alive {
  background: var(--ice);
}
.bar-value {
  width: 90px;
  color: #c7d3d8;
  font: 11px var(--mono);
  text-align: right;
  white-space: nowrap;
}
.bar-value small {
  color: #8e9fa7;
  font-size: 9px;
}
.chart-footnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 24px;
  border-top: 1px solid var(--border);
  background: #111c2133;
  color: #99aab2;
}
.chart-footnote .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.chart-footnote p {
  font-size: 11px;
  line-height: 1.7;
}
.research-panel {
  display: flex;
  flex-direction: column;
}
.research-panel .panel-heading {
  padding-left: 23px;
  padding-right: 23px;
}
.research-status {
  padding: 24px 23px;
  border-bottom: 1px solid #26343a;
}
.research-status > strong {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 18px;
  margin: 16px 0 11px;
  font-weight: 500;
}
.research-status > strong span {
  font: 36px var(--mono);
  color: #a7c3c7;
}
.research-status > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.research-steps {
  padding: 22px 23px 6px;
  margin: 0;
  list-style: none;
}
.research-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 19px;
}
.research-steps li > span {
  color: var(--ember);
  border: 1px solid #435058;
  font: 10px var(--mono);
  padding: 5px 6px;
  margin-top: 1px;
}
.research-steps strong {
  font-size: 12px;
  font-weight: 500;
}
.research-steps p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.research-panel > .text-button {
  border-top: 1px solid var(--border);
  padding: 16px 23px;
  margin-top: auto;
  justify-content: space-between;
}
.update-label {
  font-size: 10px;
  color: #9eacb3;
  white-space: nowrap;
}
.notes-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.note-filters {
  display: flex;
  gap: 25px;
}
.note-filters button {
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 13px 0;
}
.note-filters button.selected {
  color: var(--text);
  border-bottom-color: var(--ember);
}
.note-filters button:hover {
  color: var(--text);
}
.notes-key {
  color: #8fa1aa;
  font-size: 10px;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.note-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  min-height: 229px;
  transition:
    border-color 160ms,
    background 160ms;
}
.note-card:hover {
  background: #141d22;
  border-color: #596670;
}
.note-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.note-number {
  font: 10px var(--mono);
  color: #7f929c;
}
.note-card h3 {
  font-size: 16px;
  margin: 18px 0 10px;
  font-weight: 550;
  line-height: 1.5;
}
.note-card p {
  color: #a3b1b8;
  font-size: 12px;
  line-height: 1.85;
}
.note-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #2a353c;
  padding-top: 12px;
  margin-top: 21px;
}
.note-card-footer > span {
  color: #8fa3ad;
  font-size: 10px;
}
.note-card-footer button {
  color: #b6c4ca;
  border: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  padding: 0;
  min-height: 26px;
}
.note-card-footer button:hover {
  color: var(--ember);
}
.note-card-footer .icon {
  width: 13px;
  height: 13px;
}
.empty-state {
  padding: 50px 24px;
  color: var(--muted);
  text-align: center;
  grid-column: 1 / -1;
  border: 1px dashed #3a4a53;
  font-size: 13px;
}
.empty-state strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}
.join-banner {
  margin: 62px 0;
  border: 1px solid #46534f;
  border-left: 3px solid var(--ice);
  background: #111a1c;
  padding: 32px 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.join-graphic {
  width: 82px;
  height: 82px;
  border: 1px solid #314848;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--ice);
  border-radius: 50%;
  box-shadow:
    0 0 0 9px #87c9c507,
    0 0 0 20px #87c9c505;
  flex-shrink: 0;
}
.join-graphic .icon {
  width: 39px;
  height: 39px;
  stroke-width: 1;
}
.join-copy {
  margin-right: auto;
}
.join-copy .eyebrow {
  color: #9cb3b7;
  font-size: 9px;
}
.join-copy h2 {
  font-size: 23px;
  letter-spacing: 0.5px;
  margin: 8px 0 6px;
}
.join-copy p {
  font-size: 12px;
  color: #a4b5bb;
}
.mobile-break {
  display: none;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 31px 0 23px;
  background: #0a1013;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-bottom: 26px;
}
.footer-top .brand-mark {
  width: 33px;
  height: 33px;
}
.footer-top .brand-text strong {
  font-size: 16px;
}
.footer-top .brand-text > span {
  font-size: 8px;
  letter-spacing: 2.6px;
}
.footer-top > p {
  font-size: 12px;
  color: #8fa1a9;
}
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 25px;
}
.footer-links button {
  border: 0;
  color: #a0afb6;
  font-size: 11px;
  padding: 9px 0;
}
.footer-links button:hover {
  color: var(--ember);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 19px;
  border-top: 1px solid #233037;
  color: #879ba6;
  font-size: 10px;
}
.domain-label {
  color: #a3b5bf;
  border: 0;
  font-size: 10px;
  padding: 0;
}
.domain-label:hover {
  color: var(--ember);
}
dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid #51636b;
  padding: 0;
  border-radius: 3px;
  box-shadow: 0 35px 120px #0009;
  margin: auto;
  max-height: 90vh;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(7px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 25px;
  border-bottom: 1px solid var(--border);
}
.dialog-header .eyebrow {
  font-size: 9px;
  color: var(--ember);
  letter-spacing: 1.5px;
}
.dialog-header h2 {
  font-size: 19px;
  font-weight: 550;
  margin-top: 6px;
}
.dialog-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.wizard-dialog {
  width: min(1020px, calc(100% - 36px));
  overflow: hidden;
}
.wizard-layout {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
}
.wizard-sidebar {
  padding: 30px 20px;
  background: #0d1418;
  border-right: 1px solid var(--border);
}
.wizard-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wizard-steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 0 17px;
  color: #8ba1ad;
}
.wizard-step-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
}
.wizard-step-button:hover {
  color: var(--text);
}
.wizard-step-button:hover .step-number {
  border-color: var(--ice);
}
.wizard-steps .step-number {
  font: 11px var(--mono);
  border: 1px solid #384951;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-steps strong {
  font-size: 12px;
  font-weight: 450;
  display: block;
}
.wizard-steps small {
  font: 7px var(--mono);
  display: block;
  margin-top: 5px;
  letter-spacing: 0.4px;
}
.wizard-steps li.current {
  color: var(--text);
}
.wizard-steps li.current .step-number {
  color: #11171a;
  background: var(--ember);
  border-color: var(--ember);
}
.wizard-steps li.done .step-number {
  color: var(--ice);
  border-color: #466d64;
}
.wizard-sidebar-note {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  margin-top: 8px;
}
.wizard-sidebar-note > .icon {
  color: var(--ice);
  margin-bottom: 8px;
}
.wizard-sidebar-note strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}
.wizard-sidebar-note p {
  font-size: 11px;
  color: #93a8b3;
  line-height: 1.9;
  margin-top: 8px;
}
.wizard-sidebar .text-button {
  font-size: 11px;
  margin-top: 9px;
}
.wizard-form {
  display: flex;
  flex-direction: column;
  max-height: calc(90vh - 92px);
}
.wizard-content {
  padding: 26px 30px;
  overflow-y: auto;
}
.wizard-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.wizard-progress > span:first-child {
  color: #98acb5;
  font-size: 10px;
  letter-spacing: 1px;
}
.form-note {
  display: flex;
  gap: 10px;
  border: 1px solid #334853;
  background: #17262e55;
  color: #a7bcc7;
  padding: 11px 13px;
  margin-bottom: 26px;
}
.form-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.form-note p {
  font-size: 11px;
  line-height: 1.8;
}
.step-section > h3 {
  font-size: 20px;
  letter-spacing: 0.3px;
  margin-bottom: 7px;
}
.step-intro {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 17px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.form-field.wide {
  grid-column: 1 / -1;
}
.form-field > label,
.form-field > legend {
  font-size: 12px;
  color: #cad7dd;
}
.form-field > label .required {
  color: var(--ember);
  padding-left: 4px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-size: 12px;
}
.form-field small {
  color: #93a6b0;
  font-size: 10px;
  line-height: 1.65;
}
.form-field textarea {
  min-height: 80px;
  resize: vertical;
}
fieldset.form-field {
  padding: 0;
  margin: 0;
  border: 0;
}
fieldset.form-field > legend {
  margin-bottom: 10px;
}
.checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 18px;
}
.checkbox-options .check-label {
  font-size: 11px;
}
.cohort-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 3px;
}
.cohort-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #3a4e59;
  background: #0e171c;
  padding: 14px 13px;
  cursor: pointer;
}
.cohort-option:has(input:checked) {
  border-color: var(--ember);
  background: #2f241d55;
}
.cohort-option.alive:has(input:checked) {
  border-color: var(--ice);
  background: #213e3735;
}
.cohort-option strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
}
.cohort-option small {
  display: block;
  font-size: 10px;
  color: #9eb2bd;
  margin-top: 4px;
}
.form-subheading {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--ice);
  border-top: 1px solid #2d3d44;
  padding-top: 20px;
  margin-top: 2px;
  font-weight: 500;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 30px;
  border-top: 1px solid var(--border);
  background: #121c21;
  flex-shrink: 0;
}
.wizard-actions > div {
  display: flex;
  gap: 10px;
}
.wizard-actions .button {
  font-size: 12px;
  min-height: 42px;
  padding: 9px 17px;
  gap: 12px;
}
.wizard-actions .text-button {
  font-size: 11px;
}
.review-box {
  margin-top: 24px;
  border: 1px solid #415b59;
  padding: 16px;
  background: #172c2740;
}
.review-box > strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}
.review-box p {
  font-size: 11px;
  color: #a2b9be;
  margin-bottom: 15px;
}
.review-box .check-label {
  font-size: 11px;
}
.review-box .check-label + .check-label {
  margin-top: 12px;
}
.form-validation-note {
  border-left: 2px solid var(--ember);
  padding: 10px 13px;
  color: #e4b49e;
  background: #36241c55;
  font-size: 11px;
  grid-column: 1 / -1;
}
.submission-success {
  padding: 40px 35px;
  text-align: center;
  overflow: auto;
  max-height: calc(90vh - 93px);
}
.success-symbol {
  width: 58px;
  height: 58px;
  margin: 0 auto 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #537f73;
  background: #223d3333;
  color: var(--ice);
}
.success-symbol .icon {
  width: 30px;
  height: 30px;
}
.submission-success > .eyebrow {
  justify-content: center;
  color: var(--ice);
}
.submission-success h3 {
  font-size: 24px;
  margin: 16px 0 12px;
}
.submission-success > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.submission-summary {
  width: min(600px, 100%);
  margin: 24px auto;
  text-align: left;
  background: #0d1519;
  padding: 16px 20px;
  border: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #23333d;
  font-size: 12px;
}
.summary-row:last-child {
  border-bottom: 0;
}
.summary-row > span:first-child {
  color: var(--muted);
}
.summary-row > span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.detail-dialog {
  width: min(730px, calc(100% - 36px));
}
.detail-content {
  padding: 27px;
  overflow-y: auto;
  max-height: calc(90vh - 95px);
  font-size: 13px;
  color: #bdcbd2;
}
.detail-content p {
  margin: 0 0 16px;
  line-height: 1.9;
}
.detail-content h3 {
  font-size: 15px;
  color: var(--text);
  margin: 22px 0 10px;
}
.detail-content h3:first-child {
  margin-top: 0;
}
.detail-content ul,
.detail-content ol {
  padding-left: 22px;
  margin: 10px 0 18px;
}
.detail-content li {
  margin-bottom: 10px;
}
.detail-content a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.detail-content .evidence-tag {
  margin-bottom: 17px;
}
.detail-content .detail-alert {
  padding: 13px 16px;
  border: 1px solid #705641;
  background: #38281b50;
  color: #d7bca8;
  margin: 16px 0;
  font-size: 12px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #30404a;
  border: 1px solid #30404a;
  margin: 20px 0;
}
.detail-grid > div {
  padding: 14px;
  background: #0e171c;
}
.detail-grid small {
  display: block;
  font-size: 10px;
  color: #91a6b2;
  margin-bottom: 5px;
}
.detail-grid strong {
  font-size: 12px;
  font-weight: 500;
  color: #d8e2e7;
}
.source-list {
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  border: 1px solid #67877f;
  background: #182922;
  color: #d8e5e1;
  padding: 13px 21px;
  font-size: 12px;
  box-shadow: 0 7px 40px #0008;
  width: max-content;
  max-width: calc(100% - 30px);
}
.toast.in-dialog {
  position: absolute;
  bottom: 78px;
  max-width: calc(100% - 32px);
}
.noscript-note {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #614933;
  color: white;
  padding: 20px;
  z-index: 50;
}
@media (min-width: 1600px) {
  .hero,
  .hero-inner {
    min-height: 650px;
  }
  .hero-image {
    background-position: center 47%;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 56px);
  }
  .header-inner {
    gap: 24px;
  }
  .main-nav {
    gap: 19px;
  }
  .nav-link {
    font-size: 12px;
  }
  .brand-text strong {
    font-size: 17px;
  }
  .archive-toolbar {
    align-items: flex-start;
  }
  .segmented {
    gap: 1px;
  }
  .segmented button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .archive-filters {
    gap: 8px;
  }
  .search-box input {
    max-width: 140px;
  }
  .stat {
    padding: 23px 19px;
  }
  .comparison-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
  .panel-heading,
  .comparison-filters,
  .chart-caption,
  .comparison-chart,
  .chart-footnote {
    padding-left: 19px;
    padding-right: 19px;
  }
  .match-row {
    padding-left: 19px;
    padding-right: 19px;
    flex-wrap: wrap;
  }
  .chart-factor {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 10px;
  }
  .notes-grid {
    gap: 13px;
  }
  .note-card {
    padding: 18px;
  }
  .join-banner {
    padding: 29px;
    gap: 23px;
  }
  .join-copy h2 {
    font-size: 21px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    height: 74px;
  }
  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #10191d;
    border-bottom: 1px solid var(--border);
    display: none;
    padding: 10px 28px 20px;
    flex-wrap: wrap;
    height: auto;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 10px 0;
    height: auto;
    font-size: 13px;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-copy {
    width: 72%;
  }
  .hero h1 {
    font-size: 54px;
  }
  .scene-label {
    right: 0;
    font-size: 8px;
    top: 58%;
  }
  .scene-label strong {
    font-size: 8px;
  }
  .stat-value {
    font-size: 32px;
  }
  .status-value {
    font-size: 18px;
    margin-top: 17px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .archive-toolbar {
    flex-direction: column;
    gap: 11px;
    padding: 14px 16px;
  }
  .archive-filters {
    width: 100%;
  }
  .archive-filters > select {
    width: 140px;
  }
  .search-box {
    flex: 1;
  }
  .search-box input {
    max-width: none;
  }
  .comparison-layout {
    grid-template-columns: 1fr;
  }
  .research-panel {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
  }
  .research-panel .panel-heading {
    grid-column: 1 / -1;
  }
  .research-status {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }
  .research-steps {
    padding-bottom: 0;
  }
  .research-panel > .text-button {
    grid-column: 1 / -1;
  }
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .join-graphic {
    display: none;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 18px 25px;
  }
  .footer-links {
    margin-left: auto;
  }
  .footer-top > p {
    display: none;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .wizard-layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .wizard-sidebar {
    padding: 26px 14px;
  }
  .wizard-step-button {
    gap: 9px;
  }
  .wizard-steps small {
    font-size: 6px;
  }
  .wizard-content {
    padding: 22px;
  }
  .wizard-actions {
    padding: 14px 22px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .preview-strip .container {
    padding: 5px 0;
    min-height: 39px;
    align-items: flex-start;
    gap: 8px;
  }
  .preview-strip {
    font-size: 9px;
  }
  .preview-strip button {
    font-size: 9px;
    padding: 0;
    min-height: 28px;
  }
  .strip-divider {
    padding: 0 3px;
  }
  .tiny-cross {
    margin-right: 3px;
    font-size: 12px;
  }
  .header-inner {
    height: 70px;
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-text strong {
    font-size: 16px;
    letter-spacing: 1.2px;
  }
  .brand-text > span {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .button {
    padding: 7px 10px;
    font-size: 11px;
    gap: 6px;
    min-height: 35px;
  }
  .header-actions .button .icon {
    width: 15px;
    height: 15px;
  }
  .menu-toggle {
    width: 34px;
    height: 35px;
  }
  .main-nav {
    top: 70px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero,
  .hero-inner {
    min-height: 565px;
  }
  .hero-inner {
    padding-top: 24px;
    padding-bottom: 72px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-image {
    background-position: 65% center;
  }
  .hero-image::after {
    background:
      linear-gradient(90deg, rgba(11, 16, 19, 0.87), rgba(11, 16, 19, 0.35)),
      linear-gradient(0deg, #0b1013, transparent 38%);
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.35px;
  }
  .hero-kicker {
    font-size: 11px;
    margin-top: 30px;
    letter-spacing: 1px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: 1px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.95;
    margin: 22px 0 26px;
  }
  .hero-buttons {
    gap: 9px;
  }
  .hero-buttons .button {
    padding: 11px 12px;
    gap: 9px;
    font-size: 12px;
    min-height: 46px;
    flex: 1;
  }
  .hero-buttons .icon {
    width: 16px;
    height: 16px;
  }
  .hero-assurances {
    gap: 9px;
    font-size: 9px;
    margin-top: 18px;
  }
  .hero-assurances > span + span::before {
    margin-right: 3px;
    width: 2px;
    height: 2px;
  }
  .hero-assurances .icon {
    width: 12px;
    height: 12px;
  }
  .scene-label {
    display: none;
  }
  .hero-bottom {
    font-size: 9px;
    bottom: 26px;
  }
  .hero-bottom .mono {
    font-size: 7px;
    letter-spacing: 0.55px;
    max-width: 60%;
    line-height: 1.8;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 17px;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .stat-label {
    font-size: 10px;
    gap: 6px;
  }
  .stat-value {
    font-size: 30px;
    margin: 8px 0 4px;
  }
  .status-value {
    font-size: 17px;
    min-height: 38px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .section {
    padding-top: 45px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
    margin-bottom: 21px;
  }
  .section-code {
    font-size: 9px;
    letter-spacing: 1.2px;
    margin-bottom: 11px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .section-heading > .text-button {
    padding: 0;
    font-size: 11px;
  }
  .segmented {
    width: 100%;
    justify-content: space-between;
  }
  .segmented button {
    font-size: 10px;
    padding: 8px;
    gap: 6px;
  }
  .segmented button > span:not(.status-dot) {
    font-size: 9px;
  }
  .archive-toolbar {
    padding: 10px;
  }
  .archive-filters > select {
    width: 119px;
  }
  .archive-footer {
    flex-wrap: wrap;
    padding: 12px;
    gap: 9px;
  }
  .demo-note {
    width: 100%;
    font-size: 10px;
  }
  .panel-heading {
    padding: 16px;
  }
  .panel-heading h3 {
    font-size: 13px;
  }
  .chart-legend {
    font-size: 9px;
    gap: 10px;
  }
  .comparison-filters {
    padding: 16px 14px 0;
    gap: 8px;
  }
  .comparison-filters select {
    padding: 7px 4px;
    font-size: 10px;
    min-height: 37px;
  }
  .comparison-filters label {
    font-size: 10px;
  }
  .match-row {
    padding: 13px 14px;
  }
  .match-row .check-label {
    font-size: 10px;
  }
  .match-row > span {
    font-size: 9px;
  }
  .chart-caption {
    padding: 15px 14px 1px;
    font-size: 10px;
  }
  .comparison-chart {
    padding: 2px 14px 8px;
  }
  .chart-factor {
    grid-template-columns: 103px minmax(0, 1fr);
    gap: 9px;
    padding: 15px 0;
  }
  .factor-label {
    font-size: 11px;
  }
  .factor-label small {
    font-size: 9px;
  }
  .bar-value {
    font-size: 10px;
    width: 74px;
  }
  .bar-value small {
    font-size: 8px;
  }
  .bar-row {
    gap: 7px;
  }
  .chart-footnote {
    padding: 14px;
  }
  .chart-footnote p {
    font-size: 10px;
  }
  .research-panel {
    display: flex;
  }
  .research-status {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  .research-steps {
    padding: 20px 20px 2px;
  }
  .research-panel > .text-button {
    padding: 15px 20px;
  }
  .notes-toolbar {
    overflow-x: auto;
    gap: 0;
  }
  .note-filters {
    gap: 22px;
    flex-shrink: 0;
  }
  .note-filters button {
    font-size: 11px;
  }
  .notes-key {
    display: none;
  }
  .notes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .note-card {
    min-height: 215px;
    padding: 21px;
  }
  .note-card h3 {
    font-size: 17px;
    margin-top: 16px;
  }
  .note-card p {
    font-size: 12px;
  }
  .join-banner {
    padding: 25px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    margin: 43px 0;
  }
  .join-copy h2 {
    font-size: 24px;
    line-height: 1.45;
  }
  .mobile-break {
    display: initial;
  }
  .join-copy p {
    font-size: 11px;
    line-height: 1.9;
    margin-top: 9px;
  }
  .join-banner .button {
    font-size: 12px;
    min-height: 44px;
  }
  .site-footer {
    padding: 25px 0;
  }
  .footer-top {
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 21px;
  }
  .footer-links {
    gap: 20px;
    margin: 0;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 9px;
  }
  .domain-label {
    font-size: 9px;
  }
  .wizard-dialog,
  .detail-dialog {
    width: calc(100% - 18px);
    max-height: 94vh;
  }
  .dialog-header {
    padding: 15px;
    gap: 10px;
  }
  .dialog-header h2 {
    font-size: 17px;
  }
  .dialog-header .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .dialog-header-actions {
    gap: 8px;
  }
  .dialog-header-actions .small-badge {
    font-size: 8px;
  }
  .wizard-layout {
    display: flex;
    flex-direction: column;
  }
  .wizard-sidebar {
    padding: 13px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .wizard-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
  .wizard-steps li {
    padding-bottom: 0;
  }
  .wizard-step-button {
    gap: 5px;
  }
  .wizard-steps .step-number {
    font-size: 8px;
    width: 20px;
    height: 20px;
  }
  .wizard-steps strong {
    font-size: 9px;
  }
  .wizard-steps small,
  .wizard-sidebar-note {
    display: none;
  }
  .wizard-sidebar .text-button {
    display: inline-flex;
    margin-top: 10px;
    margin-right: 12px;
    font-size: 9px;
  }
  .wizard-form {
    max-height: calc(94vh - 159px);
  }
  .wizard-content {
    padding: 19px 15px;
  }
  .wizard-progress {
    margin-bottom: 13px;
  }
  .form-note {
    padding: 9px;
    margin-bottom: 20px;
    gap: 7px;
  }
  .form-note p {
    font-size: 10px;
  }
  .step-section > h3 {
    font-size: 18px;
  }
  .step-intro {
    font-size: 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .cohort-options {
    gap: 8px;
  }
  .cohort-option {
    padding: 12px 9px;
    gap: 7px;
  }
  .cohort-option strong {
    font-size: 12px;
  }
  .cohort-option small {
    font-size: 9px;
  }
  .wizard-actions {
    padding: 12px 14px;
    gap: 8px;
  }
  .wizard-actions .text-button {
    font-size: 9px;
  }
  .wizard-actions .button {
    padding: 8px 12px;
    font-size: 10px;
    gap: 6px;
    min-height: 40px;
  }
  .wizard-actions .icon {
    width: 13px;
    height: 13px;
  }
  .wizard-actions > div {
    gap: 7px;
  }
  .submission-success {
    padding: 28px 18px;
    max-height: calc(94vh - 84px);
  }
  .submission-success h3 {
    font-size: 21px;
  }
  .submission-success > p {
    font-size: 11px;
  }
  .submission-summary {
    padding: 14px;
  }
  .summary-row {
    font-size: 11px;
  }
  .success-actions .button {
    font-size: 12px;
  }
  .detail-content {
    padding: 21px;
    font-size: 12px;
    max-height: calc(94vh - 83px);
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Live data and record withdrawal use the existing visual palette. */
.research-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.stat-value #stat-status {
  font-size: inherit;
  margin: 0;
}
.status-message {
  color: var(--text-muted, #a0abad);
  margin: 12px 0;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.withdraw-form {
  display: grid;
  gap: 12px;
  padding: 24px;
}
.withdraw-form input {
  width: 100%;
  border: 1px solid #354044;
  background: #11191d;
  padding: 12px;
  color: #e4eceb;
}
.withdraw-form p {
  line-height: 1.8;
  color: #a0abad;
}
