@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #17272e;
  --ink-soft: #50636a;
  --midnight: #10252e;
  --midnight-2: #173946;
  --teal: #0b716d;
  --teal-light: #d9f0e9;
  --copper: #b86b42;
  --copper-light: #f6e7d9;
  --cream: #f8f7f2;
  --paper: #ffffff;
  --line: #d8e2df;
  --warn: #774210;
  --warn-bg: #fff0d8;
  --shadow: 0 18px 48px rgba(15, 45, 52, .08);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); }
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #e5a950; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 100; top: -5rem; left: 1rem; padding: .65rem 1rem; background: #fff; border: 2px solid var(--midnight); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 810px; }
.site-header { background: var(--midnight); color: white; border-bottom: 1px solid #ffffff26; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .78rem; color: white; text-decoration: none; min-width: 0; }
.brand-mark { display: inline-grid; place-items: center; width: 41px; height: 41px; flex: none; border: 1px solid #b6e8d7; border-radius: 50%; color: #d5ad80; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1; }
.brand-name { display: block; font-size: .96rem; font-weight: 800; letter-spacing: .01em; line-height: 1.1; }
.brand-sub { display: block; margin-top: .18rem; color: #afc8c8; font-size: .71rem; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .2rem 1.2rem; }
.nav a { color: #e2efec; text-decoration: none; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #f2c18d; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5rem; }
.nav .nav-cta { padding: .48rem .85rem; border: 1px solid #b0d7ce; border-radius: 999px; }
.eyebrow { margin: 0 0 .8rem; color: var(--teal); font-size: .75rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: #9fe4ce; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.025em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { margin: 0 0 1.35rem; font-size: clamp(2.55rem, 4.6vw, 4.55rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.95rem, 3vw, 2.8rem); }
h3 { margin: 0 0 .6rem; font-size: 1.17rem; }
p { margin: .6rem 0 1rem; }
.lead { max-width: 770px; font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.7; }
.muted { color: var(--ink-soft); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .64rem 1.05rem; border: 1px solid transparent; border-radius: 9px; font-size: .94rem; font-weight: 800; text-decoration: none; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button.primary { background: #e4ab73; color: #1f2728; }
.button.outline { border-color: #94c7bb; color: #f3faf8; background: transparent; }
.button.dark { background: var(--midnight); color: white; }
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 87% 18%, #30716b 0, transparent 32%), linear-gradient(125deg, var(--midnight) 0%, #164551 100%); color: white; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(#b9ded321 1px, transparent 1px), linear-gradient(90deg, #b9ded321 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(285px, .78fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); padding: clamp(4rem, 7vw, 6.5rem) 0; }
.hero .lead { color: #e0eeea; }
.hero-visual { position: relative; min-height: 360px; border: 1px solid #a7dcd073; border-radius: 23px; background: #0e2934b3; box-shadow: 0 22px 70px #0a212988; padding: 1.65rem; }
.visual-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid #ffffff31; padding-bottom: 1rem; color: #c9e7df; font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; }
.visual-dot { width: 9px; height: 9px; border-radius: 50%; background: #d4a36d; box-shadow: 0 0 0 6px #d4a36d24; }
.signal { display: grid; grid-template-columns: 2.4rem 1fr; gap: .7rem; align-items: center; margin-top: 1.5rem; }
.signal-index { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1px solid #95d0c3; border-radius: 50%; color: #d9f1ea; font-size: .79rem; font-weight: 800; }
.signal strong { display: block; font-size: .98rem; }
.signal small { display: block; color: #b5cfca; line-height: 1.5; }
.signal-line { width: 1px; height: 1.15rem; margin: .25rem 0 -.6rem 1.17rem; background: #a6d6c7; }
.visual-foot { margin-top: 1.45rem; border-radius: 10px; background: #d9f0e9; color: #17413f; padding: .72rem .9rem; font-size: .87rem; font-weight: 750; }
.status-line { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-top: 1.5rem; color: #cbe6df; font-size: .88rem; }
.status-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .68rem; border: 1px solid #e9bd87; border-radius: 999px; color: #ffd7a7; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.status-pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #e9b06f; }
.page-hero { background: var(--midnight); color: white; padding: clamp(3rem, 5vw, 4.4rem) 0; }
.page-hero h1 { max-width: 850px; }
.page-hero .lead { color: #d5e8e2; }
.page-hero .eyebrow { color: #a7e2d1; }
.section { padding: clamp(3.4rem, 6vw, 5.1rem) 0; }
.section.alt { background: #edf3ef; }
.section.dark { background: var(--midnight); color: white; }
.section.dark .eyebrow { color: #a6e1d1; }
.section.dark .muted { color: #c3d8d3; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.6rem; }
.section-head > p { max-width: 520px; margin: 0 0 .35rem; color: var(--ink-soft); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.stat-card { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 1.25rem 1.35rem; box-shadow: var(--shadow); }
.stat-card .number { display: block; margin-bottom: .45rem; color: var(--midnight); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 850; line-height: 1; letter-spacing: -.06em; }
.stat-card .label { color: var(--ink-soft); font-size: .87rem; line-height: 1.45; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 1.5rem; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .label { display: block; margin-bottom: 1rem; color: var(--teal); font-size: .73rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.card-link { display: inline-flex; margin-top: .5rem; font-size: .9rem; font-weight: 800; }
.card.featured { border-top: 4px solid var(--copper); }
.notice { border-left: 5px solid var(--copper); border-radius: 0 13px 13px 0; background: var(--copper-light); padding: 1.15rem 1.35rem; }
.notice p:last-child { margin-bottom: 0; }
.notice.teal { border-color: var(--teal); background: var(--teal-light); }
.notice.dark { border-color: #ddaa79; background: #21414b; color: #f4faf7; }
.check-list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.check-list li { position: relative; padding-left: 1.65rem; margin-top: .7rem; }
.check-list li::before { content: "✓"; position: absolute; top: 0; left: 0; color: var(--teal); font-weight: 900; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.timeline .card { position: relative; padding-top: 1.2rem; }
.step-number { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 1.2rem; border-radius: 50%; background: var(--teal-light); color: var(--teal); font-weight: 850; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.three-column { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.factor-stack { display: grid; gap: .9rem; }
.factor { display: grid; grid-template-columns: 80px 1fr; gap: 1.25rem; align-items: start; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 1.2rem 1.35rem; }
.factor-weight { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--teal-light); color: var(--teal); font-size: 1.18rem; font-weight: 850; }
.factor h3 { margin-top: .05rem; }
.factor p { color: var(--ink-soft); margin: .35rem 0 0; }
.factor code, .formula code { padding: .16rem .4rem; border-radius: 5px; background: #eaf2ef; color: var(--midnight); font-family: Consolas, "Courier New", monospace; font-size: .88em; white-space: normal; }
.formula { overflow-wrap: anywhere; padding: .85rem 1rem; border-radius: 10px; background: #eaf2ef; }
.grade-table, .data-table { width: 100%; border-collapse: collapse; }
.grade-table caption, .data-table caption { margin-bottom: .6rem; text-align: left; color: var(--ink-soft); font-size: .88rem; }
.grade-table th, .grade-table td, .data-table th, .data-table td { padding: .72rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.grade-table th, .data-table th { color: var(--ink-soft); font-size: .77rem; letter-spacing: .07em; text-transform: uppercase; }
.grade-table tr:last-child td, .data-table tr:last-child td { border-bottom: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.bar-list { display: grid; gap: 1rem; }
.bar-row { display: grid; grid-template-columns: 6rem 1fr 3rem; gap: .85rem; align-items: center; }
.bar-row strong { font-size: .9rem; }
.bar-track { height: .72rem; border-radius: 99px; background: #e0eae5; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--bar-size); border-radius: 99px; background: var(--teal); }
.bar-fill.copper { background: var(--copper); }
.bar-fill.grey { background: #899b99; }
.bar-number { text-align: right; font-weight: 800; }
.flow { display: grid; gap: .8rem; margin-top: 1.7rem; }
.flow-item { display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem; align-items: start; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.flow-item .count { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: white; background: var(--midnight); font-weight: 800; }
.flow-item p { margin: 0; }
.tab-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: 1.5rem; }
.tab { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.tab strong { display: block; margin-bottom: .45rem; font-size: .92rem; }
.tab span { color: var(--ink-soft); font-size: .83rem; }
details { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 1rem 1.15rem; }
details + details { margin-top: .65rem; }
summary { cursor: pointer; font-weight: 800; }
details p:last-child { margin-bottom: 0; }
.site-footer { background: #0c2028; color: #d7e8e3; padding: 2.6rem 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.site-footer p { margin: .35rem 0; font-size: .89rem; }
.site-footer .small { color: #b6ceca; }
.site-footer a { color: #b6ece0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
@media (max-width: 900px) {
  .hero-inner, .two-column { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .stat-grid, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 1.5rem, 1180px); }
  .header-inner { padding: 1rem 0; align-items: flex-start; flex-direction: column; gap: .8rem; }
  .nav { justify-content: flex-start; gap: .4rem 1rem; }
  .nav a[aria-current="page"] { text-underline-offset: .18rem; }
  .hero-inner { padding: 3.1rem 0; }
  .hero-visual { display: none; }
  .stat-grid, .card-grid, .card-grid.two, .timeline, .three-column, .tab-list { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; gap: .5rem; }
  .factor { grid-template-columns: 1fr; gap: .75rem; }
  .factor-weight { width: 58px; height: 58px; }
  .footer-grid { flex-direction: column; }
  .bar-row { grid-template-columns: 5.5rem 1fr 2.4rem; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button:hover { transform: none; } }
@media print {
  :root { font-size: 10.5pt; }
  body { background: white; }
  .nav, .skip-link, .button-row { display: none; }
  .site-header, .hero, .page-hero, .section.dark, .site-footer { color: black; background: white; }
  .brand, .page-hero .lead, .hero .lead, .site-footer a { color: black; }
  .hero::after, .hero-visual { display: none; }
  .hero-inner { display: block; padding: 1rem 0; }
  .section { padding: 1.4rem 0; }
  .card, .stat-card, .factor, .tab, .notice, .flow-item { box-shadow: none; break-inside: avoid; }
  a { text-decoration: none; color: black; }
}

/* Ouroboros Endpoint palette: violet, sky blue, cool gray, black. */
:root {
  --ink: #1c1b29;
  --ink-soft: #51556a;
  --midnight: #171525;
  --midnight-2: #25213e;
  --teal: #4b3ba7;
  --teal-light: #eceafd;
  --copper: #69bdea;
  --copper-light: #e8f5fc;
  --cream: #f6f7fa;
  --paper: #ffffff;
  --line: #d9ddea;
  --warn: #453392;
  --warn-bg: #efedfd;
  --shadow: 0 18px 48px rgba(30, 24, 69, .08);
}
h1,h2 { font-family: Aptos, "Segoe UI", Arial, sans-serif; font-weight: 800; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline-color: #7bc8f4; }
.brand-mark { border-color:#a9a1e8; color:#a9ddf7; font-family:Aptos,"Segoe UI",Arial,sans-serif; font-weight:900; }
.brand-sub { color:#b5bad5; }
.nav a { color:#e9e9f6; }
.nav a:hover,.nav a[aria-current="page"] { color:#a8dfff; }
.nav .nav-cta { border-color:#aca6d9; }
.button.primary { background:#88cff6; color:#171525; }
.button.outline { border-color:#aaa3df; color:#fff; }
.hero { background:radial-gradient(circle at 87% 18%,#493a86 0,transparent 34%),linear-gradient(125deg,#171525 0%,#272445 100%); }
.hero::after { background-image:linear-gradient(#c9c0ff20 1px,transparent 1px),linear-gradient(90deg,#c9c0ff20 1px,transparent 1px); }
.hero .lead,.page-hero .lead { color:#dfe2f2; }
.hero-visual { border-color:#9b93dc80; background:#201c39c9; box-shadow:0 22px 70px #0b091b88; }
.visual-top { color:#d2d0ea; }
.visual-dot { background:#88cff6; box-shadow:0 0 0 6px #88cff624; }
.signal-index { border-color:#9b93dc; color:#e9e8fa; }
.signal small { color:#bfc3dc; }
.signal-line { background:#8f86d4; }
.visual-foot { background:#dceefa; color:#20213c; }
.status-line { color:#d3d5ed; }
.status-pill { border-color:#9c94e0; color:#d4d0ff; }
.status-pill::before { background:#98d7fb; }
.eyebrow.light,.page-hero .eyebrow,.section.dark .eyebrow { color:#aedfff; }
.section.alt { background:#eff1f7; }
.section.dark .muted { color:#d4d8e9; }
.card.featured { border-top-color:#68bde9; }
.notice.dark { background:#272444; border-color:#94d4fa; color:#f5f5ff; }
.factor code,.formula code { background:#f0eefb; color:#24213d; }
.formula { background:#f0eefb; }
.bar-track { background:#e1e3ef; }
.bar-fill.grey { background:#888ca5; }
.site-footer { background:#11101c; color:#e0e1ef; }
.site-footer .small { color:#b8bad0; }
.site-footer a { color:#aedfff; }
@media (max-width:680px) {
  .hero-visual { display:block; min-height:auto; padding:1.2rem; }
  .hero-inner { gap:2rem; }
  .signal { margin-top:1rem; }
}
@media print {
  .hero-visual { display:none; }
  .site-header,.hero,.page-hero,.section.dark,.site-footer { background:white; color:black; }
  .hero .lead,.page-hero .lead,.site-footer a { color:black; }
}


.section.dark .card { color:var(--ink); }
.section.dark a:not(.button) { color:#aedfff; }


.jev-feature { background:linear-gradient(135deg,#f1f2fc 0%,#eaf5fb 100%); }
.jev-feature .two-column { align-items:center; }
.jev-card { border-top:4px solid #7f70d4; }
.source-note { color:var(--ink-soft); font-size:.92rem; }


.rubric-spotlight { background:#fff; }
.rubric-spotlight .grade-table tbody th { color:var(--ink); font-size:.94rem; letter-spacing:0; text-transform:none; }
.rubric-spotlight .grade-table tbody td:last-child { text-align:right; font-weight:800; white-space:nowrap; }
.rubric-spotlight .grade-table thead th:last-child { text-align:right; }
.factor-why { margin-top:.75rem !important; padding-top:.7rem; border-top:1px solid var(--line); font-size:.91rem; }

