:root {
  --ink: #f4f7fb;
  --muted: #aebbd0;
  --muted-strong: #ced8e7;
  --night: #030711;
  --panel: rgba(8, 16, 31, 0.88);
  --panel-solid: #0a1425;
  --line: rgba(146, 179, 214, 0.2);
  --cyan: #62ddff;
  --cyan-strong: #19c4f0;
  --gold: #f7c56c;
  --success: #86efac;
  --warning: #facc6b;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--night);
  background-image: linear-gradient(rgba(3, 7, 17, 0.84), rgba(3, 7, 17, 0.94)), url("stars_bg.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 8%, rgba(98, 221, 255, 0.08), transparent 30%),
    radial-gradient(circle at 10% 68%, rgba(247, 197, 108, 0.06), transparent 30%);
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #a6efff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 100;
  border-radius: 10px;
  padding: 10px 14px;
  background: white;
  color: #08101f;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 17, 0.86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  letter-spacing: 0.035em;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(98, 221, 255, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(98, 221, 255, 0.06), 0 0 28px rgba(98, 221, 255, 0.12);
  color: var(--cyan);
  font-size: 0.75rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(98, 221, 255, 0.28));
}

.version-pill,
.eyebrow,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 16, 31, 0.62);
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.version-pill {
  padding: 7px 9px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: white;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(98, 221, 255, 0.45);
  border-radius: 999px;
  background: rgba(98, 221, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(3, 7, 17, 0.98) 0%, rgba(3, 7, 17, 0.86) 39%, rgba(3, 7, 17, 0.42) 73%, rgba(3, 7, 17, 0.24) 100%),
    linear-gradient(0deg, rgba(3, 7, 17, 0.95), transparent 40%),
    url("jet_bg.jpg");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(900px, 100%);
  padding-block: 72px 60px;
}

.eyebrow {
  padding: 10px 13px;
  color: var(--cyan);
}

.eyebrow::before,
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 6vw, 5.35rem);
  letter-spacing: -0.055em;
}

.hero h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-lede,
.page-lede {
  max-width: 720px;
  color: #d6e1ef;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.6;
}

.expansion {
  max-width: 700px;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: var(--muted-strong);
  font-size: 0.97rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid rgba(98, 221, 255, 0.6);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), #96edff);
  box-shadow: 0 12px 35px rgba(25, 196, 240, 0.18);
  color: #021019;
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
  color: #021019;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(8, 16, 31, 0.72);
  box-shadow: none;
  color: white;
}

.button.small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.88rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.87rem;
}

.hero-meta strong {
  color: white;
}

main {
  overflow: clip;
}

.section {
  padding-block: 94px;
}

.section.tight {
  padding-block: 64px;
}

.section + .section {
  border-top: 1px solid rgba(146, 179, 214, 0.12);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(145deg, rgba(14, 27, 49, 0.92), rgba(6, 13, 27, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -80px;
  right: -70px;
  border-radius: 50%;
  background: rgba(98, 221, 255, 0.07);
  filter: blur(4px);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card p,
.muted {
  color: var(--muted-strong);
}

.card-label {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-strip {
  margin-top: -46px;
  position: relative;
  z-index: 3;
}

.proof-strip .card {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  padding: 0;
  background: rgba(7, 15, 29, 0.95);
}

.proof-item {
  padding: 28px 30px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 64px;
}

.plain-list,
.check-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li,
.check-list li {
  position: relative;
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid rgba(146, 179, 214, 0.13);
  color: var(--muted-strong);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(98, 221, 255, 0.4);
}

.bridge-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: layers;
}

.bridge-flow + .notice {
  margin-top: 24px;
}

.bridge-node {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 16, 31, 0.85);
  counter-increment: layers;
}

.bridge-node::before {
  content: "0" counter(layers);
  display: block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.bridge-node strong {
  display: block;
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
}

.bridge-node span {
  color: var(--muted);
  font-size: 0.88rem;
}

.bridge-arrow {
  display: flex;
  justify-content: center;
  margin-block: 22px;
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0.28em;
}

.statement {
  border-left: 3px solid var(--cyan);
  padding: 18px 0 18px 25px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.35;
}

.math-film-section {
  background:
    radial-gradient(circle at 50% 42%, rgba(98, 221, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(4, 10, 22, 0.22), rgba(4, 10, 22, 0.58));
}

.math-film-frame {
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(98, 221, 255, 0.28);
  border-radius: 26px;
  background: rgba(3, 8, 19, 0.9);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(98, 221, 255, 0.06);
}

.math-film {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 18px;
  background: #020711;
}

.math-film-caption {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 44px;
  align-items: end;
  max-width: 1120px;
  padding: 28px 4px 0;
}

.math-film-caption .card-label {
  margin-bottom: 10px;
}

.math-film-caption h3,
.math-film-caption p {
  margin-bottom: 0;
}

.math-film-caption p {
  color: var(--muted-strong);
}

.code-block {
  position: relative;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #030813;
  box-shadow: inset 0 0 40px rgba(98, 221, 255, 0.03);
  overflow-x: auto;
  color: #dcecff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.status-pill {
  padding: 9px 12px;
  color: var(--warning);
}

.status-pill.green {
  color: var(--success);
}

.record-status h2 {
  margin-top: 18px;
}

.record-status p {
  max-width: 980px;
}

.metric-card {
  min-height: 230px;
  min-width: 0;
}

.metric-card h2 {
  max-width: 100%;
  font-size: clamp(1.45rem, 2.35vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.metric-value {
  display: block;
  margin: 18px 0 14px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.record-table {
  margin-top: 28px;
}

.record-note {
  margin-top: 24px;
}

.record-callouts {
  margin-top: 28px;
}

.record-viewer-main {
  padding: 52px 0 90px;
}

.record-viewer-layout {
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.record-sidebar {
  position: sticky;
  top: 102px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 15, 29, 0.94);
  box-shadow: var(--shadow);
}

.record-sidebar h1 {
  margin: 16px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.record-sidebar p {
  color: var(--muted);
}

.record-sidebar-actions {
  display: grid;
  gap: 11px;
  margin: 24px 0;
}

.record-sidebar-actions .button {
  width: 100%;
  justify-content: flex-start;
  line-height: 1.35;
}

.record-document-wrap {
  min-width: 0;
}

.record-document-heading {
  margin-bottom: 20px;
}

.record-document {
  max-height: none;
  margin: 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #050b15;
  box-shadow: var(--shadow);
  color: #d7deea;
  font: 0.88rem/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow: auto;
  overflow-wrap: anywhere;
  tab-size: 2;
  white-space: pre-wrap;
}

.gate-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 15, 29, 0.88);
  overflow: hidden;
}

.gate-table th,
.gate-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.gate-table th {
  background: rgba(98, 221, 255, 0.06);
  color: white;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gate-table td {
  color: var(--muted-strong);
}

.gate-table tr:last-child td {
  border-bottom: 0;
}

.number {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.page-hero {
  min-height: 470px;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(3, 7, 17, 0.98), rgba(3, 7, 17, 0.66) 58%, rgba(3, 7, 17, 0.28)),
    linear-gradient(0deg, rgba(3, 7, 17, 0.98), transparent 70%),
    url("jet_bg.jpg");
  background-position: center;
  background-size: cover;
}

.page-hero .shell {
  padding-block: 96px 70px;
}

.page-hero h1 {
  margin: 20px 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.breadcrumbs {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs a {
  color: var(--muted-strong);
}

.notice {
  padding: 28px;
  border: 1px solid rgba(247, 197, 108, 0.35);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(247, 197, 108, 0.08), rgba(98, 221, 255, 0.05));
}

.notice strong {
  color: var(--gold);
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: 64px;
}

.book-cover {
  display: block;
  width: 100%;
  border: 1px solid rgba(98, 221, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

.quote {
  margin: 30px 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.download-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}

.download-stat {
  padding: 22px 16px;
  background: var(--panel-solid);
  text-align: center;
}

.download-stat strong {
  display: block;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.download-stat span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.citation {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3, 8, 19, 0.72);
  color: var(--muted-strong);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

details {
  border-top: 1px solid var(--line);
  padding-block: 18px;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: white;
  font-weight: 800;
}

details p {
  color: var(--muted-strong);
}

.cta-band {
  padding: 58px 0;
  border-block: 1px solid rgba(98, 221, 255, 0.2);
  background: linear-gradient(110deg, rgba(98, 221, 255, 0.1), rgba(247, 197, 108, 0.07));
}

.cta-band .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-band p {
  margin: 0;
  color: var(--muted-strong);
}

.site-footer {
  padding-block: 66px 38px;
  border-top: 1px solid var(--line);
  background: rgba(2, 5, 12, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: 40px;
}

.footer-title {
  margin-bottom: 13px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.footer-copy {
  max-width: 420px;
  color: var(--muted);
}

.footer-label {
  margin: 0 0 14px;
  color: white;
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.link-list li + li {
  margin-top: 9px;
}

.link-list a {
  color: var(--muted);
  text-decoration: none;
}

.link-list a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #7f8ba0;
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 1040px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.84rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge-flow { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #07101f;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-cta { border-radius: 10px; }
  .hero { min-height: 640px; background-position: 58% center; }
  .hero-inner { padding-block: 90px 64px; }
  .proof-strip { margin-top: 0; }
  .proof-strip .card { grid-template-columns: 1fr; border-radius: 0; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .split,
  .download-panel,
  .book-feature,
  .math-film-caption { grid-template-columns: 1fr; gap: 22px; }
  .grid-3 { grid-template-columns: 1fr; }
  .bridge-flow { grid-template-columns: repeat(2, 1fr); }
  .record-viewer-layout { grid-template-columns: 1fr; }
  .record-sidebar {
    position: static;
    top: auto;
  }
  .cta-band .shell { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--content)); }
  .math-film-frame { padding: 4px; border-radius: 15px; }
  .math-film { border-radius: 10px; }
  .brand .brand-name { font-size: 0.92rem; }
  .version-pill { display: none; }
  .hero { min-height: 650px; }
  .hero-inner { padding-block: 58px 48px; }
  h1 { font-size: 2.75rem; letter-spacing: -0.04em; }
  .hero-lede { font-size: 0.96rem; line-height: 1.5; }
  .expansion { font-size: 0.85rem; line-height: 1.45; }
  .actions { margin-top: 18px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .section { padding-block: 70px; }
  .grid-2,
  .grid-4,
  .bridge-flow { grid-template-columns: 1fr; }
  .card { padding: 23px; border-radius: 19px; }
  .gate-table,
  .gate-table tbody,
  .gate-table tr,
  .gate-table td { display: block; width: 100%; }
  .gate-table thead { display: none; }
  .gate-table tr { border-bottom: 1px solid var(--line); }
  .gate-table td { border: 0; padding: 10px 18px; }
  .gate-table td:first-child { padding-top: 18px; color: white; font-weight: 800; }
  .gate-table td:last-child { padding-bottom: 18px; }
  .record-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--cyan);
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .record-table td:first-child::before { display: none; }
  .download-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}


/* Fine-structure record: tighter local vertical rhythm only. */
.fine-structure-page .section {
  padding-block: 76px;
}

.fine-structure-page .section.tight {
  padding-block: 52px;
}

.fine-structure-page .section-kicker {
  margin-bottom: 12px;
}

.fine-structure-page h2 {
  margin-bottom: 16px;
}

.fine-structure-page .section-intro {
  margin-bottom: 30px;
}

.fine-structure-page .split {
  gap: 48px;
}

.fine-structure-page .card-label {
  margin-bottom: 16px;
}

.fine-structure-page .record-table + .notice {
  margin-top: 26px;
}

.fine-structure-page .notice + .section-intro {
  margin-top: 28px;
  margin-bottom: 0;
}

.fine-structure-page .notice p:last-child,
.fine-structure-page .notice ol:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .fine-structure-page .section {
    padding-block: 58px;
  }
  .fine-structure-page .section.tight {
    padding-block: 44px;
  }
  .fine-structure-page .split {
    gap: 30px;
  }
  .fine-structure-page .section-intro {
    margin-bottom: 24px;
  }
}

/* Fine-structure record: final spacing pass (2026-08-14). */
.fine-structure-page .page-hero .shell { padding-bottom: 10px; }
.fine-structure-page .section { padding-block: 88px; }
.fine-structure-page .section.tight { padding-block: 64px; }
.fine-structure-page .section + .section { border-top: 1px solid rgba(146, 179, 214, 0.12); }
.fine-structure-page .grid-2,
.fine-structure-page .grid-3 { gap: 28px; }
.fine-structure-page .split { align-items: start; gap: 58px; }
.fine-structure-page .section-kicker { margin: 0 0 12px; }
.fine-structure-page h2 { margin: 0 0 20px; line-height: 1.12; }
.fine-structure-page .section-intro { margin: 0 0 34px; line-height: 1.7; }
.fine-structure-page .card { padding: 32px; }
.fine-structure-page .card h2 { margin: 0 0 18px; }
.fine-structure-page .card p { margin: 0 0 18px; }
.fine-structure-page .card p:last-of-type { margin-bottom: 0; }
.fine-structure-page .card .actions { margin-top: 24px; }
.fine-structure-page .notice { padding: 30px; }
.fine-structure-page .notice p { margin: 14px 0 0; }
.fine-structure-page .notice ol { margin: 8px 0 0; padding-left: 24px; }
.fine-structure-page .notice li + li { margin-top: 10px; }
.fine-structure-page .record-table { margin-top: 34px; }
.fine-structure-page .record-table + .notice { margin-top: 30px; }
.fine-structure-page .notice + .section-intro { margin-top: 34px; margin-bottom: 0; }
.fine-structure-page .status-pill { white-space: normal; line-height: 1.35; }
.fine-structure-page .cta-band { padding-block: 68px; }
.fine-structure-page .site-footer { padding-block: 66px 38px; }

@media (max-width: 900px) {
  .fine-structure-page .section { padding-block: 72px; }
  .fine-structure-page .section.tight { padding-block: 54px; }
  .fine-structure-page .split { gap: 36px; }
  .fine-structure-page .grid-2,
  .fine-structure-page .grid-3 { gap: 22px; }
}

@media (max-width: 620px) {
  .fine-structure-page .section { padding-block: 58px; }
  .fine-structure-page .section.tight { padding-block: 46px; }
  .fine-structure-page .card { padding: 24px; }
  .fine-structure-page .notice { padding: 24px; }
  .fine-structure-page .record-table { margin-top: 28px; }
  .fine-structure-page .record-table + .notice { margin-top: 24px; }
  .fine-structure-page .notice + .section-intro { margin-top: 28px; }
  .fine-structure-page .cta-band { padding-block: 54px; }
}


/* Landing-page v22 revision notice (2026-08-16). */
.revision-notice[hidden] { display: none; }
.revision-notice {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.revision-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.76);
  backdrop-filter: blur(6px);
}
.revision-notice-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(146, 179, 214, 0.28);
  border-radius: 20px;
  background: var(--panel, #0d1724);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.revision-notice-card h2 { margin: 0 42px 16px 0; }
.revision-notice-card p { line-height: 1.7; }
.revision-notice-card .actions { margin-top: 24px; }
.revision-notice-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: inherit;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.revision-notice-close:hover,
.revision-notice-close:focus-visible { background: rgba(255,255,255,0.16); }
body.revision-notice-open { overflow: hidden; }
@media (max-width: 620px) {
  .revision-notice { padding: 16px; }
  .revision-notice-card { padding: 28px 22px 24px; border-radius: 16px; }
}

/* Page-specific spacing: Breakthrough Results + Proton Decay */
.breakthrough-page #why-utfanswf .notice h2 {
  margin-bottom: 18px;
}

.breakthrough-page #why-utfanswf .notice p {
  margin: 0;
  line-height: 1.68;
}

.breakthrough-page #why-utfanswf .notice p + p {
  margin-top: 18px;
}

.breakthrough-page #h0 .notice + p,
.breakthrough-page #proton-stability .notice + p {
  margin-top: 24px;
}

.breakthrough-page #fine-structure .grid-3 + .notice {
  margin-top: 28px;
}

.breakthrough-page #fine-structure .notice + p {
  margin-top: 24px;
}

.breakthrough-page #fine-structure p + p {
  margin-top: 16px;
}


/* Proton-decay technical page: tighter vertical rhythm */
.proton-decay-page .page-hero .shell { padding-bottom: 8px; }
.proton-decay-page .section { padding-block: 72px; }
.proton-decay-page .section.tight { padding-block: 48px; }
.proton-decay-page .split { align-items: start; gap: 44px; }
.proton-decay-page .grid-3 { gap: 22px; }

.proton-decay-page .section h2 + .notice {
  margin-top: 26px;
}

.proton-decay-page .section .notice + p {
  margin-top: 24px;
}

.proton-decay-page .section .grid-3 + .gate-table {
  margin-top: 30px;
}

.proton-decay-page .section .gate-table + .notice {
  margin-top: 28px;
}

.proton-decay-page .section .gate-table + h3 {
  margin-top: 34px;
}

.proton-decay-page .section h3 + .gate-table {
  margin-top: 18px;
}

.proton-decay-page .section .notice + .section-intro {
  margin-top: 26px;
}

.proton-decay-page .section .section-intro + .gate-table,
.proton-decay-page .section .section-intro + .grid-3 {
  margin-top: 26px;
}

.proton-decay-page .section .code-block + p {
  margin-top: 26px;
}

@media (max-width: 620px) {
  .proton-decay-page .section { padding-block: 52px; }
  .proton-decay-page .section.tight { padding-block: 38px; }
  .proton-decay-page .split { gap: 28px; }
  .proton-decay-page .grid-3 { gap: 18px; }

  .breakthrough-page #why-utfanswf .notice {
    padding: 22px;
  }

  .breakthrough-page #why-utfanswf .notice h2 {
    margin-bottom: 16px;
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .breakthrough-page #why-utfanswf .notice p + p {
    margin-top: 16px;
  }

  .proton-decay-page .section .grid-3 + .gate-table,
  .proton-decay-page .section .gate-table + .notice {
    margin-top: 24px;
  }

  .proton-decay-page .section .gate-table + h3 {
    margin-top: 28px;
  }
}


/* Extra-small phone hardening for the landing-page revision notice. */
@media (max-width: 420px), (max-height: 520px) {
  .revision-notice {
    padding:
      max(10px, env(safe-area-inset-top))
      10px
      max(10px, env(safe-area-inset-bottom));
  }
  .revision-notice-card {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 22px 18px 20px;
    border-radius: 14px;
    overscroll-behavior: contain;
  }
  .revision-notice-card .section-kicker {
    margin-bottom: 10px;
    font-size: 0.7rem;
  }
  .revision-notice-card h2 {
    margin: 0 40px 12px 0;
    font-size: clamp(1.55rem, 8vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }
  .revision-notice-card p {
    margin-bottom: 0;
    font-size: 0.94rem;
    line-height: 1.55;
  }
  .revision-notice-card .actions {
    margin-top: 18px;
  }
  .revision-notice-close {
    top: 9px;
    right: 9px;
    width: 44px;
    height: 44px;
  }
}


/* Production spacing normalization — 2026-08-16 */
/* Shared page rhythm: consistent heroes, sections, cards, notices, and mobile flow. */
.page-hero .shell {
  padding-block: 88px 64px;
}
.page-hero h1 {
  margin: 18px 0 16px;
}
.page-hero .page-lede {
  margin: 0;
}
.section {
  padding-block: 84px;
}
.section.tight {
  padding-block: 58px;
}
.section-intro {
  margin-top: 0;
  margin-bottom: 34px;
  line-height: 1.7;
}
.grid-2,
.grid-3,
.grid-4 {
  gap: 22px;
}
.split {
  gap: 52px;
}
.notice {
  padding: 26px;
}
.notice > :first-child {
  margin-top: 0;
}
.notice > :last-child {
  margin-bottom: 0;
}
.card > :last-child {
  margin-bottom: 0;
}

/* Technical proton page stays denser, but follows the same visual rhythm. */
.proton-decay-page .page-hero .shell {
  padding-block: 82px 58px;
}
.proton-decay-page .section {
  padding-block: 72px;
}
.proton-decay-page .section.tight {
  padding-block: 50px;
}
.proton-decay-page .split {
  gap: 44px;
}

@media (max-width: 820px) {
  .page-hero {
    min-height: 420px;
  }
  .page-hero .shell,
  .proton-decay-page .page-hero .shell {
    padding-block: 76px 54px;
  }
  .split {
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .page-hero {
    min-height: 390px;
  }
  .page-hero .shell,
  .proton-decay-page .page-hero .shell {
    padding-block: 64px 46px;
  }
  .page-hero h1 {
    margin: 14px 0 14px;
  }
  .section {
    padding-block: 58px;
  }
  .section.tight {
    padding-block: 44px;
  }
  .proton-decay-page .section {
    padding-block: 54px;
  }
  .proton-decay-page .section.tight {
    padding-block: 42px;
  }
  .section-intro {
    margin-bottom: 26px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 18px;
  }
  .notice {
    padding: 22px;
    border-radius: 18px;
  }
  .site-footer {
    padding-block: 54px 32px;
  }
  .footer-bottom {
    margin-top: 38px;
  }
}


/* Result 04 + v23 launch spacing — 2026-08-16 */
.revision-notice-card #revision-notice-text { margin: 0; }
.revision-notice-card .revision-launch {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(146, 179, 214, 0.18);
  color: var(--muted-strong);
}
.revision-notice-card .revision-launch strong { color: var(--success); }
.reproduce-extension-note { margin: 0 0 28px; }
.breakthrough-page #nucleon-mass .notice + p { margin-top: 24px; }

.nucleon-mass-page .page-hero .shell { padding-block: 82px 58px; }
.nucleon-mass-page .section { padding-block: 72px; }
.nucleon-mass-page .section.tight { padding-block: 50px; }
.nucleon-mass-page .split { align-items: start; gap: 44px; }
.nucleon-mass-page .section-intro { margin-bottom: 28px; }
.nucleon-mass-page h3 { margin-top: 34px; }
.nucleon-mass-page .card h3 { margin-top: 12px; }
.result04-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.result04-status { margin-top: 28px; }
.equation-block {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 24px 26px;
  border: 1px solid rgba(98, 221, 255, 0.22);
  border-radius: 18px;
  background: #030813;
  box-shadow: inset 0 0 40px rgba(98, 221, 255, 0.035);
  color: #e7f2ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  overflow-x: auto;
}
.equation-block.compact { margin: 20px 0 26px; padding: 20px 24px; }
.model-table { margin-top: 22px; }
.nucleon-mass-page .gate-table + h3 { margin-top: 36px; }
.nucleon-mass-page .notice p { margin: 14px 0 0; }
.nucleon-mass-page .result04-bottom-actions { margin-top: 24px; }
.nucleon-mass-page code { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .result04-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .revision-notice-card .revision-launch { margin-top: 12px; padding-top: 10px; }
  .nucleon-mass-page .page-hero .shell { padding-block: 64px 46px; }
  .nucleon-mass-page .section { padding-block: 54px; }
  .nucleon-mass-page .section.tight { padding-block: 42px; }
  .nucleon-mass-page .split { gap: 28px; }
  .nucleon-mass-page h3 { margin-top: 28px; }
  .equation-block { margin: 22px 0; padding: 20px 18px; gap: 8px; font-size: 1rem; }
  .equation-block.compact { margin: 18px 0 22px; padding: 18px; }
  .result04-status { margin-top: 24px; }
  .reproduce-extension-note { margin-bottom: 24px; }
  .nucleon-mass-page .gate-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 7px;
    color: var(--cyan);
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

/* Dated prediction-update spacing — 2026-08-16. */
.dated-update-strip { padding-block: 36px; }
.prediction-update-page .page-hero .shell { padding-block: 82px 58px; }
.prediction-update-page .section { padding-block: 72px; }
.prediction-update-page .section.tight { padding-block: 46px; }
.prediction-update-page .grid-2,
.prediction-update-page .grid-3 { align-items: stretch; }
.prediction-update-page .code-block { margin-block: 22px; }
@media (max-width: 720px) {
  .dated-update-strip { padding-block: 28px; }
  .prediction-update-page .page-hero .shell { padding-block: 64px 46px; }
  .prediction-update-page .section { padding-block: 54px; }
  .prediction-update-page .section.tight { padding-block: 38px; }
}


/* v22 live + v23 add-on spacing hardening — 2026-08-16 */
/* Keep newly inserted add-on content on the same visual rhythm as the established site. */
.home-page #testing-heading + .section-intro {
  margin-bottom: 36px;
}
.home-page .grid-2 + .actions,
.home-page .math-film-caption + .actions {
  margin-top: 30px;
}
.home-page #download .actions {
  margin-top: 28px;
  row-gap: 14px;
}

.reproduce-page .page-hero .actions {
  margin-top: 28px;
  row-gap: 14px;
}
.reproduce-page .reproduce-extension-note + .code-block {
  margin-top: 26px;
}
.reproduce-page .code-block + .notice {
  margin-top: 28px;
}
.reproduce-page .notice + .notice {
  margin-top: 28px;
}
.reproduce-page .notice + .grid-3 {
  margin-top: 30px;
}
.reproduce-page .section-intro + .actions {
  margin-top: 28px;
}
.reproduce-page .section > .shell > .actions {
  row-gap: 14px;
}

.prediction-update-page .grid-3 + .notice {
  margin-top: 30px;
}
.prediction-update-page .grid-2 + .actions {
  margin-top: 30px;
}
.prediction-update-page .notice + .actions {
  margin-top: 28px;
}
.prediction-update-page .split > .card {
  align-self: start;
}
.prediction-update-page .card > .button:last-child {
  margin-top: 6px;
}

.breakthrough-page #canonical-status .grid-3 {
  margin-top: 32px;
}
.breakthrough-page #canonical-status .card {
  height: 100%;
}

.predictions-page .dated-update-strip + .section {
  border-top-color: rgba(146, 179, 214, 0.16);
}
.predictions-page .gate-table + .actions,
.predictions-page .grid-3 + .actions {
  margin-top: 30px;
}

@media (max-width: 620px) {
  .home-page .grid-2 + .actions,
  .home-page .math-film-caption + .actions,
  .prediction-update-page .grid-3 + .notice,
  .prediction-update-page .grid-2 + .actions,
  .reproduce-page .notice + .grid-3 {
    margin-top: 24px;
  }
  .reproduce-page .page-hero .actions,
  .home-page #download .actions,
  .reproduce-page .section > .shell > .actions {
    gap: 12px;
  }
  .prediction-update-page .card > .button:last-child {
    margin-top: 8px;
  }
}

/* Aug. 19 prediction publication surfaces — spacing + discoverability */
.predictions-page .page-hero .actions { margin-top: 30px; }
.predictions-page .predictions-latest { padding-block: 76px; }
.predictions-page .predictions-latest-grid { gap: 24px; }
.predictions-page .predictions-latest-grid .card { display: flex; flex-direction: column; }
.predictions-page .predictions-latest-grid .card .button { margin-top: auto; align-self: flex-start; }
.predictions-page .predictions-latest .actions { margin-top: 30px; }

/* The Aug. 19 overview stacks three full-width result cards; give them deliberate separation. */
.prediction-update-page #new > .shell > .card + .card { margin-top: 30px; }
.prediction-update-page #new .card > .gate-table { margin-top: 24px; }
.prediction-update-page #new .gate-table + .notice { margin-top: 26px; }
.prediction-update-page #new .notice + .actions { margin-top: 24px; }
.prediction-update-page #new .code-block + .notice { margin-top: 26px; }
.prediction-update-page #new .notice + h3 { margin-top: 30px; }
.prediction-update-page #new .split { margin-top: 28px; }

.latest-findings-band .grid-3 { margin-top: 30px; gap: 24px; }
.latest-findings-band .card { display: flex; flex-direction: column; }
.latest-findings-band .card .button { margin-top: auto; align-self: flex-start; }

.prediction-detail-page .page-hero .shell { padding-block: 82px 58px; }
.prediction-detail-page .section { padding-block: 74px; }
.prediction-detail-page .section.tight { padding-block: 50px; }
.prediction-detail-page .section-intro { margin-bottom: 30px; }
.prediction-detail-page .split { align-items: start; gap: 44px; }
.prediction-detail-page .gate-table { margin-top: 28px; }
.prediction-detail-page .gate-table + .notice { margin-top: 28px; }
.prediction-detail-page .notice + .actions { margin-top: 26px; }
.prediction-detail-page .code-block + .notice { margin-top: 26px; }
.prediction-detail-page .equation-block + p { margin-top: 24px; }
.prediction-detail-page .card .equation-block { margin-bottom: 20px; }
.prediction-detail-page code { overflow-wrap: anywhere; }

.proton-decay-page #trinucleon-signature .grid-3 { margin-top: 30px; }
.proton-decay-page #trinucleon-signature .grid-3 + h3 { margin-top: 38px; }
.proton-decay-page #trinucleon-signature .gate-table + .notice { margin-top: 28px; }
.proton-decay-page #trinucleon-signature .notice + .actions { margin-top: 26px; }

@media (max-width: 620px) {
  .predictions-page .predictions-latest { padding-block: 56px; }
  .prediction-update-page #new > .shell > .card + .card { margin-top: 22px; }
  .prediction-update-page #new .gate-table + .notice,
  .prediction-update-page #new .code-block + .notice { margin-top: 22px; }
  .prediction-detail-page .page-hero .shell { padding-block: 64px 46px; }
  .prediction-detail-page .section { padding-block: 54px; }
  .prediction-detail-page .section.tight { padding-block: 40px; }
  .prediction-detail-page .split { gap: 28px; }
  .latest-findings-band .grid-3 { margin-top: 24px; gap: 18px; }
}

/* Aug. 19 release visibility without displacing the theory-first homepage */
.nav-new {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .62em;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  vertical-align: .14em;
}
.latest-release-card .compact-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.latest-release-card .compact-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line, rgba(255,255,255,.18));
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
.latest-release-card .compact-link-row a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .nav-new { font-size: .58em; }
  .latest-release-card .compact-link-row { margin-block: 16px 20px; }
}

/* Aug. 19, 2026 homepage prediction prominence */
.homepage-prediction-alert {
  padding-top: 58px;
  padding-bottom: 58px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.018);
}
.prediction-alert-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
.prediction-alert-head .actions { margin: 0; justify-content: flex-end; }
.homepage-prediction-grid { align-items: stretch; }
.prediction-hot-card { height: 100%; }
.prediction-hot-card h3 { margin-bottom: 18px; }
.prediction-number {
  margin: 10px 0;
  font-weight: 750;
  line-height: 1.45;
}
.prediction-alert-foot { margin-top: 30px; }
.nav-new {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: .62em;
  font-weight: 800;
  letter-spacing: .05em;
  vertical-align: .16em;
  border: 1px solid currentColor;
}
@media (max-width: 860px) {
  .prediction-alert-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .prediction-alert-head .actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .homepage-prediction-alert { padding-top: 42px; padding-bottom: 42px; }
  .homepage-prediction-grid { gap: 22px; }
  .prediction-alert-foot { margin-top: 24px; }
}

/* Master predictions index — one-page linked directory, Aug. 19 2026 */
.master-predictions-index .master-index-hero {
  min-height: 360px;
}
.master-predictions-index .master-index-hero .shell {
  padding-block: 70px 48px;
}
.master-predictions-index .master-index-hero .page-lede {
  max-width: 850px;
  margin-bottom: 0;
}
.master-predictions-index .master-index-section {
  padding-block: 62px 76px;
}
.master-table-wrap {
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.master-predictions-table {
  table-layout: fixed;
  margin: 0;
  border-radius: 20px;
}
.master-predictions-table th:nth-child(1) { width: 25%; }
.master-predictions-table th:nth-child(2) { width: 39%; }
.master-predictions-table th:nth-child(3) { width: 20%; }
.master-predictions-table th:nth-child(4) { width: 16%; }
.master-predictions-table th,
.master-predictions-table td {
  padding: 20px 22px;
}
.master-predictions-table tbody tr {
  transition: background .18s ease, box-shadow .18s ease;
}
.master-predictions-table tbody tr:hover {
  background: rgba(98, 221, 255, 0.035);
}
.master-predictions-table .prediction-row-new {
  background: linear-gradient(90deg, rgba(98, 221, 255, 0.075), rgba(98, 221, 255, 0.018));
}
.master-predictions-table .prediction-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.master-predictions-table .prediction-domain,
.master-predictions-table .prediction-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.master-predictions-table .prediction-domain {
  margin-top: 7px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.prediction-new-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(98, 221, 255, .42);
  border-radius: 999px;
  background: rgba(98, 221, 255, .08);
  color: var(--cyan);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}
.prediction-record-link {
  display: inline-block;
  color: white;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}
.prediction-record-link:hover,
.prediction-record-link:focus-visible {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.master-predictions-table .status-pill {
  white-space: normal;
  line-height: 1.35;
}
.master-index-footnote {
  max-width: 920px;
  margin: 26px 4px 0;
  color: var(--muted-strong);
  font-size: .86rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .master-predictions-table th,
  .master-predictions-table td { padding: 17px 16px; }
  .master-predictions-table .number { font-size: 1.12rem; }
}

@media (max-width: 620px) {
  .master-predictions-index .master-index-hero { min-height: 315px; }
  .master-predictions-index .master-index-hero .shell { padding-block: 58px 38px; }
  .master-predictions-index .master-index-section { padding-block: 38px 56px; }
  .master-table-wrap { box-shadow: none; }
  .master-predictions-table { border-radius: 16px; }
  .master-predictions-table tr { padding: 7px 0; }
  .master-predictions-table tr + tr { margin-top: 8px; }
  .master-predictions-table td { padding: 8px 18px; }
  .master-predictions-table td:first-child { padding-top: 18px; }
  .master-predictions-table td:last-child { padding-bottom: 18px; }
  .master-predictions-table td::before {
    margin-bottom: 5px;
  }
  .master-predictions-table .prediction-title { gap: 8px; }
  .master-predictions-table .prediction-domain { margin-top: 8px; }
  .master-predictions-table .prediction-note { margin-top: 7px; }
  .prediction-record-link { padding-block: 3px; }
  .master-index-footnote { margin-top: 22px; }
}

/* Chronological UTFANSWF film archive — 2026-08-20 */
.math-film-entry {
  max-width: 1120px;
  margin-top: 34px;
  padding-top: 8px;
}
.math-film-entry + .math-film-entry {
  margin-top: 70px;
  padding-top: 56px;
  border-top: 1px solid rgba(98, 221, 255, 0.18);
}
.math-film-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 12px;
}
.math-film-label-row .card-label,
.math-film-label-row .status-pill {
  margin: 0;
}
.math-film-entry > h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}
.math-film-intro {
  max-width: 900px;
  margin: 0 0 24px;
  color: var(--muted-strong);
}
.math-film-entry-v23 {
  position: relative;
}
@media (max-width: 620px) {
  .math-film-entry + .math-film-entry {
    margin-top: 48px;
    padding-top: 42px;
  }
  .math-film-label-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final mobile containment cleanup — 2026-08-21. */
@media (max-width: 620px) {
  .book-feature > * { min-width: 0; }
  .book-cover { width: min(100%, 320px); height: auto; margin-inline: auto; }
  .nucleon-mass-page .result04-status strong { overflow-wrap: anywhere; word-break: break-word; }
}

/* 2026-08-21 landing/predictions usability cleanup */
.home-page .home-hero { min-height: auto; padding-bottom: 0; }
.home-page .home-hero .hero-inner { padding-top: 52px; padding-bottom: 46px; }
.home-page .home-artifacts { padding-top: 38px; padding-bottom: 48px; }
.home-page .home-artifact-grid { margin-top: 24px; }
.home-page .artifact-card { display: flex; flex-direction: column; gap: 10px; }
.home-page .artifact-card .actions { margin-top: auto; padding-top: 8px; }
.home-page .home-status-notice { margin-top: 24px; }
.prediction-quick-block { margin-bottom: 40px; }
.prediction-quick-list { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: prediction; display: grid; gap: 10px; }
.prediction-quick-list li { counter-increment: prediction; position: relative; display: grid; grid-template-columns: minmax(180px, 0.9fr) minmax(260px, 1.8fr) minmax(150px, 0.8fr); gap: 18px; align-items: start; padding: 16px 18px 16px 56px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.035); }
.prediction-quick-list li::before { content: counter(prediction, decimal-leading-zero); color: var(--muted); font-weight: 800; position: absolute; left: 18px; top: 16px; }
.prediction-quick-list a { text-decoration: none; }
.prediction-quick-headline, .prediction-quick-status { line-height: 1.45; }
.prediction-quick-status { color: var(--muted); font-size: 0.94rem; }
.prediction-quick-note { margin-top: 14px; color: var(--muted); }
.prediction-detail-heading { margin: 8px 0 18px; }
@media (max-width: 820px) {
  .home-page .home-hero .hero-inner { padding-top: 34px; padding-bottom: 30px; }
  .home-page .home-artifacts { padding-top: 30px; padding-bottom: 36px; }
  .prediction-quick-list li { grid-template-columns: 1fr; gap: 6px; padding: 15px 16px; }
  .prediction-quick-list li::before { position: static; transform: none; }
}


/* Predictions dashboard finish — 2026-08-21 */
.prediction-snapshot {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid rgba(146, 179, 214, 0.16);
}
.prediction-snapshot-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.prediction-snapshot-head h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}
.prediction-snapshot-head p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted-strong);
}
.prediction-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.prediction-stat-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(14, 27, 49, 0.92), rgba(6, 13, 27, 0.9));
  box-shadow: var(--shadow);
}
.prediction-stat-value {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.prediction-stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 1rem;
}
.prediction-stat-card span:last-child {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}
.prediction-read-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 16, 31, 0.72);
  overflow: hidden;
}
.prediction-read-strip > div { padding: 19px 22px; }
.prediction-read-strip > div + div { border-left: 1px solid var(--line); }
.prediction-read-strip strong { display: block; margin-bottom: 5px; color: white; }
.prediction-read-strip span { color: var(--muted); font-size: .86rem; line-height: 1.5; }
@media (max-width: 980px) {
  .prediction-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .prediction-snapshot { margin-top: 38px; padding-top: 34px; }
  .prediction-stat-grid, .prediction-read-strip { grid-template-columns: 1fr; }
  .prediction-stat-card { padding: 20px; }
  .prediction-read-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
