@font-face {
  font-family: "CMG Inter";
  src: url("/fonts/Inter-latin-f11d72.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "CMG Serif";
  src: url("/fonts/SourceSerif4-latin-58f2b5.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "CMG Mono";
  src: url("/fonts/IBMPlexMono-latin-bb8750.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #132135;
  --muted: #5a687a;
  --paper: #f3f5f3;
  --paper-2: #e9eeec;
  --navy: #071824;
  --navy-2: #0a2434;
  --cyan: #36d5f5;
  --cyan-soft: #c9f3f7;
  --line: rgba(19, 33, 53, 0.14);
  --green: #1b8069;
  --blue: #3464ad;
  --amber: #ad6b17;
  --red: #a34648;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "CMG Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(22px, 5vw, 80px);
  color: #eaf6f8;
  background: rgba(7, 24, 36, 0.94);
  border-bottom: 1px solid rgba(134, 223, 239, 0.18);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  border: 1px solid rgba(54, 213, 245, 0.72);
  border-radius: 7px;
  color: var(--cyan);
  font-family: "CMG Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); font-size: 0.76rem; font-weight: 650; }
.site-header nav a { color: #bacbd2; transition: color 160ms ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; }
.site-header .nav-cta { padding: 9px 13px; border: 1px solid rgba(54, 213, 245, 0.38); border-radius: 999px; color: #dffbff; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
  overflow: hidden;
  padding: clamp(78px, 9vw, 130px) clamp(22px, 7vw, 110px);
  color: #eaf7f8;
  background:
    radial-gradient(circle at 75% 42%, rgba(35, 168, 195, 0.19), transparent 28%),
    radial-gradient(circle at 30% 70%, rgba(58, 104, 163, 0.16), transparent 34%),
    var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(103, 200, 218, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 200, 218, 0.16) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to right, transparent, black 35%, black 70%, transparent);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { margin: 0 0 16px; color: #2e8193; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.19em; text-transform: uppercase; }
.hero .eyebrow { color: #74d8e8; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "CMG Serif", Georgia, serif;
  font-size: clamp(3.65rem, 7vw, 7.25rem);
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 0.92;
}
.hero h1 span { color: var(--cyan); }
.hero-lede { max-width: 670px; margin: 30px 0 0; color: #c1d5d9; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 4px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.025em; transition: transform 160ms ease, background 160ms ease, color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--cyan); color: #061a24; }
.button.secondary { border: 1px solid rgba(94, 131, 143, 0.48); color: inherit; background: rgba(255,255,255,0.03); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.status-pill { display: inline-flex; width: max-content; padding: 6px 9px; border-radius: 999px; font-size: 0.62rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; border: 1px solid currentColor; }
.status-pill.green { color: #58ad98; background: rgba(27, 128, 105, 0.09); }
.status-pill.blue { color: #6693d4; background: rgba(52, 100, 173, 0.1); }
.status-pill.amber { color: #cf9345; background: rgba(173, 107, 23, 0.1); }
.status-pill.red { color: #cc7778; background: rgba(163, 70, 72, 0.1); }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(54, 213, 245, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(25, 163, 193, 0.12), inset 0 0 70px rgba(42, 168, 195, 0.07);
}
.hero-visual img { position: relative; width: min(34vw, 480px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; opacity: 0.86; mix-blend-mode: screen; }
.hero-orbit { position: absolute; border: 1px solid rgba(89, 204, 224, 0.11); border-radius: 50%; pointer-events: none; }
.orbit-one { right: -13vw; top: 4vh; width: 62vw; height: 62vw; }
.orbit-two { right: 2vw; top: 16vh; width: 38vw; height: 38vw; }
.signal-card { position: absolute; min-width: 165px; padding: 12px 14px; color: #d8f7fb; background: rgba(7, 26, 39, 0.8); border: 1px solid rgba(54, 213, 245, 0.28); box-shadow: 0 16px 40px rgba(0,0,0,0.28); backdrop-filter: blur(9px); }
.signal-card small { display: block; margin-bottom: 5px; color: #74a8b4; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.signal-card strong { font-family: "CMG Mono", monospace; font-size: 0.76rem; }
.signal-a { top: 13%; left: -3%; }
.signal-b { right: -2%; top: 30%; }
.signal-c { right: 8%; bottom: 8%; }

.summary-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #0b2635; color: #dbe9eb; border-top: 1px solid rgba(78, 187, 207, 0.2); }
.summary-strip article { position: relative; min-height: 230px; padding: 44px clamp(26px, 4vw, 64px); border-right: 1px solid rgba(116, 178, 190, 0.18); }
.summary-strip article:last-child { border-right: 0; }
.summary-strip span { position: absolute; right: 26px; top: 22px; color: rgba(84, 204, 226, 0.28); font-family: "CMG Mono", monospace; font-size: 2.3rem; }
.summary-strip h2 { margin: 0 0 17px; font-family: "CMG Serif", serif; font-size: 1.55rem; font-weight: 620; }
.summary-strip p { margin: 0; color: #aebfc4; font-size: 0.9rem; line-height: 1.75; }

.section { padding: clamp(86px, 10vw, 150px) clamp(22px, 7vw, 110px); }
.section { scroll-margin-top: 71px; }
.section-heading { max-width: 880px; margin: 0 0 56px; }
.section-heading h2 { margin: 0; font-family: "CMG Serif", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 550; letter-spacing: -0.042em; line-height: 1.03; }
.section-heading > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: 70px; align-items: end; }
.split-heading > p { margin: 0 0 5px !important; }

.theory-section { background: var(--paper); }
.formula-stage { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 18px; }
.formula-card { min-height: 390px; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 55px); border: 1px solid var(--line); background: #fbfcfa; box-shadow: 0 25px 60px rgba(17, 39, 52, 0.07); }
.closure-card { color: #effbfc; background: var(--navy-2); border-color: #234557; }
.card-topline { position: absolute; align-self: stretch; top: 26px; display: flex; align-items: center; justify-content: space-between; color: #667586; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.closure-card .card-topline { color: #92aab1; }
.formula-card { position: relative; }
.formula { font-family: "CMG Serif", serif; font-weight: 560; line-height: 1.9; letter-spacing: -0.02em; }
.formula.large { font-size: clamp(1.25rem, 2.1vw, 2rem); }
.formula.closure { font-size: clamp(1.7rem, 3vw, 2.85rem); }
.formula.gamma { margin-top: 12px; color: var(--cyan); font-size: clamp(1.35rem, 2.3vw, 2rem); }
.formula.auxiliary { margin-top: 20px; color: #2b7080; font-size: 1.15rem; }
.formula-card p { margin: 26px 0 0; color: #71808e; font-size: 0.78rem; line-height: 1.65; }
.closure-card p { color: #92aab1; }
.operator { white-space: nowrap; margin: 0 0.18em; }
.frac { display: inline-grid; vertical-align: middle; margin: 0 0.13em; text-align: center; line-height: 1.25; }
.frac i { padding: 0 0.23em; font-style: normal; }
.frac i:first-child { border-bottom: 1px solid currentColor; }
.frac.wide { font-size: 0.72em; }
.limit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); }
.limit-grid article { min-height: 132px; padding: 28px; background: var(--paper); }
.limit-grid small { display: block; margin-bottom: 14px; color: #73808d; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.limit-grid strong { font-family: "CMG Mono", monospace; font-size: 0.78rem; line-height: 1.65; }

.explorer-section { background: #dfe8e6; }
.explorer-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 1px; background: rgba(14, 46, 60, 0.18); border: 1px solid rgba(14, 46, 60, 0.18); }
.controls, .chart-shell { padding: clamp(26px, 4vw, 55px); background: #ecf1ef; }
.controls label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: #314655; font-size: 0.72rem; font-weight: 800; }
.controls output { font-family: "CMG Mono", monospace; color: #0d6e81; }
.controls input { width: 100%; margin: 0 0 34px; accent-color: #1697ad; }
.mini-readout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-readout span { color: #687887; font-size: 0.7rem; }
.mini-readout strong { font-family: "CMG Mono", monospace; font-size: 0.9rem; }
.fine-print { margin: 22px 0 0; color: #6b7985; font-size: 0.68rem; line-height: 1.65; }
.chart-shell { background: #0b2635; display: flex; align-items: center; }
.chart-shell svg { width: 100%; height: auto; overflow: visible; }
.grid-line { stroke: rgba(181, 225, 233, 0.1); stroke-width: 1; }
.gr-line { stroke: rgba(216, 248, 252, 0.48); stroke-width: 1; stroke-dasharray: 5 5; }
.transition-line { stroke: #d49649; stroke-width: 1; stroke-dasharray: 4 5; }
.curve { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.axis { stroke: rgba(201, 232, 237, 0.34); stroke-width: 1; }
.tick, .chart-note { fill: #8caab1; font-family: "CMG Mono", monospace; font-size: 11px; }
.chart-note { fill: #b9d5da; font-size: 10px; }

.evidence-section { color: #e9f5f6; background: var(--navy); }
.evidence-section .eyebrow { color: #66cfdf; }
.evidence-section .section-heading > p:last-child { color: #9db3b9; }
.evidence-grid { display: grid; grid-template-columns: 1.28fr 1fr 1fr; gap: 1px; background: rgba(129, 206, 220, 0.22); border: 1px solid rgba(129, 206, 220, 0.22); }
.metric-card { min-height: 305px; padding: clamp(28px, 3.5vw, 46px); background: #0a2231; }
.metric-card small { display: block; min-height: 36px; color: #79a2ad; font-size: 0.63rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.5; text-transform: uppercase; }
.metric-card strong { display: block; margin: 30px 0 20px; color: #f1fcfd; font-family: "CMG Serif", serif; font-size: clamp(1.8rem, 3.1vw, 3.35rem); font-weight: 560; line-height: 1; }
.metric-card strong span { color: var(--cyan); font-size: 0.55em; }
.metric-card p { margin: 0; color: #98b0b7; font-size: 0.77rem; line-height: 1.7; }
.metric-card.featured { background: #0b2d3d; }
.metric-card.warning strong { color: #efb468; }
.claim-boundary { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 24px; margin-top: 22px; padding: 25px 28px; border-left: 3px solid #d98b38; background: rgba(200, 125, 45, 0.09); }
.claim-boundary span { color: #e4a35d; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.claim-boundary p { margin: 0; color: #c5d5d8; font-size: 0.79rem; line-height: 1.7; }

.status-section { background: var(--paper); }
.status-table { border-top: 1px solid var(--line); }
.status-table article { display: grid; grid-template-columns: 150px minmax(220px, 0.7fr) minmax(360px, 1.3fr); align-items: center; gap: 24px; min-height: 120px; border-bottom: 1px solid var(--line); }
.status-table h3 { margin: 0; font-family: "CMG Serif", serif; font-size: 1.28rem; }
.status-table p { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.72; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; background: var(--line); border: 1px solid var(--line); }
.sector-grid article { min-height: 270px; padding: 32px; background: #fbfcfa; }
.sector-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 36px; color: #0c7287; font-family: "CMG Mono", monospace; font-weight: 700; border: 1px solid #65a9b7; border-radius: 50%; }
.sector-grid h3 { margin: 0 0 13px; font-family: "CMG Serif", serif; font-size: 1.35rem; }
.sector-grid p { margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.infographic-link { position: relative; display: block; overflow: hidden; margin-top: 28px; border: 1px solid var(--line); background: #e8edeb; }
.infographic-link img { display: block; width: 100%; height: auto; transition: transform 260ms ease; }
.infographic-link:hover img { transform: scale(1.008); }
.infographic-link span { position: absolute; right: 20px; bottom: 18px; padding: 10px 13px; color: white; background: rgba(7, 24, 36, 0.9); font-size: 0.66rem; font-weight: 800; }

.open-section { color: #e8f4f5; background: #0b2635; }
.open-section .eyebrow { color: #64cedf; }
.open-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(125, 196, 210, 0.2); border: 1px solid rgba(125, 196, 210, 0.2); }
.open-grid article { min-height: 330px; padding: 34px; background: #0a2231; }
.open-grid b { display: block; margin-bottom: 66px; color: var(--cyan); font-family: "CMG Mono", monospace; font-size: 0.75rem; }
.open-grid h3 { margin: 0 0 17px; font-family: "CMG Serif", serif; font-size: 1.48rem; }
.open-grid p { margin: 0; color: #9db2b8; font-size: 0.75rem; line-height: 1.72; }

.papers-section { background: #e4eae8; }
.papers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.papers-grid > article { padding: 34px; background: #f8faf8; border: 1px solid var(--line); }
.papers-grid h3 { margin: 0 0 28px; color: #52717b; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.paper-list { display: grid; }
.paper-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; border-top: 1px solid var(--line); transition: color 160ms ease; }
.paper-list a:hover { color: #08798d; }
.paper-list a span { display: grid; gap: 5px; color: var(--muted); font-size: 0.71rem; }
.paper-list a b { color: var(--ink); font-size: 0.76rem; }
.paper-list a i { font-style: normal; color: #3d7c88; }
.supplements { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.supplements a { padding: 10px 13px; border: 1px solid rgba(43, 94, 106, 0.32); color: #315c65; font-size: 0.66rem; font-weight: 800; }

.faq-section { background: var(--paper); }
.faq-list { max-width: 980px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 88px; cursor: pointer; list-style: none; font-family: "CMG Serif", serif; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-family: "CMG Inter", sans-serif; font-size: 1.4rem; font-weight: 300; transition: transform 160ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 820px; margin: 0; padding: 0 0 30px; color: var(--muted); font-size: 0.84rem; line-height: 1.8; }

footer { display: grid; grid-template-columns: 0.8fr 1.3fr 0.6fr; gap: 50px; align-items: start; padding: 65px clamp(22px, 7vw, 110px); color: #b8c9ce; background: #061722; border-top: 1px solid rgba(112, 195, 211, 0.18); }
footer > div:first-child { display: flex; gap: 18px; align-items: flex-start; }
footer p { margin: 0; font-size: 0.7rem; line-height: 1.7; }
.footer-note { max-width: 590px; color: #819aa2; }
.footer-links { display: grid; justify-items: end; gap: 11px; font-size: 0.68rem; font-weight: 700; }
.footer-links a:hover { color: var(--cyan); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-visual { min-height: 420px; }
  .hero-visual img { width: min(60vw, 480px); }
  .formula-stage, .explorer-grid { grid-template-columns: 1fr; }
  .sector-grid, .open-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-grid { grid-template-columns: 1fr 1fr; }
  .metric-card.featured { grid-column: 1 / -1; }
  .papers-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .site-header { height: 62px; }
  .brand > span:last-child { display: none; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 78px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-visual { min-height: 360px; }
  .signal-a { left: 0; }
  .signal-b { right: 0; }
  .signal-c { right: 2%; bottom: 0; }
  .summary-strip { grid-template-columns: 1fr; }
  .summary-strip article { min-height: 190px; border-right: 0; border-bottom: 1px solid rgba(116, 178, 190, 0.18); }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .formula-card { min-height: 350px; }
  .limit-grid, .evidence-grid, .sector-grid, .open-grid, .papers-grid { grid-template-columns: 1fr; }
  .metric-card.featured { grid-column: auto; }
  .status-table article { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .claim-boundary { grid-template-columns: 1fr; }
  .infographic-link span { position: static; display: block; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
.site-header {
  justify-content: flex-start;
  gap: 16px;
}

.site-header nav {
  margin-left: auto;
}

.beogradpc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(134, 223, 239, 0.28);
  border-radius: 11px;
  background: rgba(3, 12, 19, 0.55);
  color: #eaf6f8;
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

.beogradpc-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #36d5f5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beogradpc-link:hover {
  color: white;
  border-color: rgba(54, 213, 245, 0.75);
}

@media (max-width: 780px) {
  .beogradpc-link span {
    display: none;
  }

  .beogradpc-link {
    padding: 8px;
  }
}
