/* LEARNING-DISCOSCM-ARCHITECTURE-STYLE-2026-07-16-V1 */
:root {
  --ink: #182738;
  --muted: #607284;
  --paper: #f4f7f8;
  --white: #fff;
  --line: #cad6df;
  --navy: #17324d;
  --blue: #2b6ea6;
  --blue-soft: #eaf3fa;
  --violet: #6657a8;
  --violet-soft: #f0edfa;
  --teal: #187c78;
  --teal-soft: #e8f6f3;
  --gold: #b77a18;
  --gold-soft: #fff4d9;
  --coral: #b95045;
  --coral-soft: #fcedea;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", STSong, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 24px 70px rgba(20, 48, 72, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
code { padding: .12em .36em; color: var(--violet); background: var(--violet-soft); border-radius: 5px; font-family: var(--mono); font-size: .86em; }
.wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 9px 14px; color: #fff; background: var(--blue); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(23, 50, 77, .12); background: rgba(244, 247, 248, .91); backdrop-filter: blur(18px); }
.topbar-inner { width: min(1260px, calc(100% - 42px)); min-height: 70px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.15; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 9px; font-family: var(--serif); font-size: 23px; font-style: italic; }
.brand strong { display: block; font-size: 14px; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--blue); }

.hero { min-height: 650px; padding-block: 104px 92px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .7fr); align-items: center; gap: 74px; }
.eyebrow, .card-label { margin: 0 0 16px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 82px); font-weight: 500; letter-spacing: -.055em; line-height: 1.06; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 760px; margin: 28px 0 0; color: #425568; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.68; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 48px; padding: 11px 18px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.68); font-size: 14px; font-weight: 760; text-decoration: none; transition: .18s ease; }
.button:hover { transform: translateY(-2px); border-color: var(--blue); }
.button.primary { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 12px 28px rgba(43, 110, 166, .2); }
.button.primary:hover { background: var(--navy); }

.spec-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px 4px 20px 4px; box-shadow: var(--shadow); }
.spec-row { padding: 11px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e6ecef; }
.spec-row span { color: var(--muted); font-size: 12px; }
.spec-row strong { font-size: 13px; text-align: right; }
.spec-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.section { padding-block: 112px; }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading > div { margin-bottom: 17px; display: flex; align-items: center; gap: 12px; }
.section-heading > div span { min-width: 34px; height: 23px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 999px; font-size: 10px; font-weight: 850; }
.section-heading > div p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.5vw, 60px); font-weight: 560; letter-spacing: -.035em; line-height: 1.12; }
.section-heading > p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.section-heading.light h2 { color: #fff; }
.section-heading.light > p { color: #bbcad6; }
.section-heading.light > div p { color: #9db0bf; }

.graph-section { padding-block: 88px 76px; color: #eaf2f7; background: var(--navy); }
.notation-bridge { margin: -12px 0 28px; padding: 17px 20px; display: grid; grid-template-columns: 130px 1fr; gap: 18px; color: #dce8f0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 11px; }
.notation-bridge > span { color: #9cc7e8; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.notation-bridge p { margin: 0; color: #bbcad6; font-size: 13px; line-height: 1.65; }
.notation-bridge strong { color: #fff; font-weight: 750; }
.architecture-figure { margin: 0; }
.figure-scroll { padding: 17px; overflow-x: auto; background: #fff; border-radius: 18px; box-shadow: 0 28px 70px rgba(0,0,0,.2); scrollbar-color: #7d99af #dce5eb; }
.figure-scroll img { width: 100%; min-width: 940px; display: block; }
.architecture-figure figcaption { margin: 18px 4px 0; color: #abc0cf; font-size: 13px; }
.architecture-figure figcaption strong { color: #fff; }
.architecture-figure figcaption a { color: #fff; text-underline-offset: 3px; }
.graph-legend { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.graph-legend div { display: flex; align-items: center; gap: 9px; color: #b8c8d4; font-size: 12px; }
.graph-legend i { width: 12px; height: 12px; border-radius: 3px; }
.graph-legend .blue { background: var(--blue); }.graph-legend .violet { background: #9384da; }.graph-legend .teal { background: #31a7a0; }.graph-legend .gold { background: #e0a13a; }

.compute-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compute-steps article { position: relative; min-width: 0; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 36px rgba(23,50,77,.04); }
.step-index { position: absolute; top: 24px; right: 26px; color: #b9c7d1; font-family: var(--mono); font-size: 12px; font-weight: 800; }
.compute-steps h3 { margin: 0 0 18px; font-family: var(--serif); font-size: 27px; line-height: 1.25; }
.compute-steps article > p:last-child { margin: 17px 0 0; color: var(--muted); font-size: 14px; }
.mini-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.mini-flow b { padding: 9px 11px; background: var(--blue-soft); border: 1px solid #c3dced; border-radius: 8px; font-size: 11px; line-height: 1.4; }
.mini-flow i { color: var(--blue); font-style: normal; font-weight: 900; }
.formula-box { padding: 11px 15px; overflow-x: auto; background: #f7f9fa; border: 1px solid #dce4e9; border-radius: 10px; font-size: 14px; }
.formula-box mjx-container[display="true"] { margin: .65em 0 !important; }
.gold-box { background: var(--gold-soft); border-color: #ead09a; }

.protocol-section { padding-block: 74px; background: #fff; border-block: 1px solid var(--line); }
.protocol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.protocol-grid article:first-child { padding-right: 60px; border-right: 1px solid var(--line); }
.protocol-grid h2 { margin: 0; font-family: var(--serif); font-size: 29px; line-height: 1.28; }
.protocol-grid article > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.coral-text { color: var(--coral); }.teal-text { color: var(--teal); }
.protocol-flow { margin-top: 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.protocol-flow b { padding: 9px 12px; border: 1px solid; border-radius: 8px; font-size: 12px; }
.protocol-flow i { font-style: normal; font-weight: 900; }
.coral-flow b { color: #7c3b35; background: var(--coral-soft); border-color: #dd958e; }.coral-flow i { color: var(--coral); }
.teal-flow b { color: #0b5b57; background: var(--teal-soft); border-color: #86c8c2; }.teal-flow i { color: var(--teal); }

.comparison-section { background: #eef2f4; }
.contrast-map { margin-bottom: 62px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contrast-map div { padding: 19px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 10px; }
.contrast-map span { display: block; color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contrast-map strong { display: block; margin-top: 7px; font-family: var(--serif); font-size: 16px; line-height: 1.4; }
.model-group + .model-group { margin-top: 68px; }
.group-heading { margin-bottom: 20px; display: grid; grid-template-columns: 100px 1fr; align-items: start; gap: 20px; }
.group-heading > span { padding: 6px 10px; color: #fff; background: var(--navy); border-radius: 999px; font-size: 10px; font-weight: 850; text-align: center; }
.group-heading h3 { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.2; }
.group-heading p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.model-grid { display: grid; gap: 14px; }
.unit-grid { grid-template-columns: repeat(3, 1fr); }
.two-grid { grid-template-columns: 1fr 1fr; }
.model-card { padding: 23px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(23,50,77,.04); }
.model-card.featured { border: 2px solid var(--violet); }
.model-card.primary-baseline { border: 2px solid var(--blue); }
.model-card header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.model-card header span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.model-card h4 { margin: 3px 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.model-card header > b { flex: none; padding: 5px 8px; color: var(--blue); background: var(--blue-soft); border-radius: 6px; font-family: var(--mono); font-size: 9px; }
.model-card > p { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.architecture-lane { margin-top: 23px; min-height: 145px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; align-content: center; gap: 5px; }
.architecture-lane em, .architecture-lane b { padding: 8px 7px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c7d8e5; border-radius: 7px; background: var(--blue-soft); font-size: 9px; font-style: normal; line-height: 1.35; text-align: center; }
.architecture-lane em { color: var(--blue); font-size: 11px; }
.architecture-lane i { color: #70879a; font-style: normal; font-size: 12px; font-weight: 900; }
.architecture-lane .violet-node { color: #51418f; background: var(--violet-soft); border-color: #b9ace8; }
.architecture-lane .teal-node { color: #0d625d; background: var(--teal-soft); border-color: #98d0cb; }
.architecture-lane .navy-node { color: #fff; background: var(--navy); border-color: var(--navy); }

.comparison-table-wrap { margin-top: 50px; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 12px; }
th, td { padding: 15px 17px; border-bottom: 1px solid #e1e8ec; text-align: left; vertical-align: top; }
th { color: var(--muted); background: #f7f9fa; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.highlight-row td:first-child { color: var(--violet); font-weight: 850; border-left: 4px solid var(--violet); }
.baseline-row td:first-child { color: var(--blue); font-weight: 850; border-left: 4px solid var(--blue); }

.fairness-section { padding-block: 92px; color: #fff; background: var(--navy); }
.fairness-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 80px; }
.fairness-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(37px, 4vw, 56px); font-weight: 550; line-height: 1.14; }
.fairness-grid > div:first-child > p:last-child { color: #b9c9d5; }
.capacity-meter { padding: 30px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; }
.capacity-meter > div { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; }
.capacity-meter > div + div { margin-top: 16px; }
.capacity-meter span { color: #cad7e0; font-size: 12px; }
.capacity-meter b { position: relative; z-index: 0; padding: 11px 14px; width: var(--w); display: block; color: #fff; background: var(--blue); border-radius: 7px; font-family: var(--mono); font-size: 12px; }
.capacity-meter > div:nth-child(2) b { background: var(--teal); }
.capacity-meter p { margin: 25px 0 0; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.capacity-meter p strong { color: #fff; font-family: var(--mono); font-size: 12px; }
.capacity-meter p span { text-align: right; }

.boundary-section { padding-bottom: 90px; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.boundary-grid article { padding: 27px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.boundary-grid article > span { color: var(--coral); font-family: var(--mono); font-size: 11px; font-weight: 850; }
.boundary-grid h3 { margin: 11px 0 9px; font-family: var(--serif); font-size: 22px; }
.boundary-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.next-links { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.next-links a { min-height: 112px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; transition: .18s ease; }
.next-links a:hover { transform: translateY(-2px); border-color: var(--blue); }
.next-links span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.next-links strong { font-family: var(--serif); font-size: 17px; }

footer { padding-block: 38px; color: #b8c8d4; background: #0e2336; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner strong { color: #fff; font-size: 13px; }.footer-inner p { margin: 4px 0 0; font-size: 11px; }
.footer-inner > div:last-child { display: flex; flex-wrap: wrap; gap: 19px; }.footer-inner a { font-size: 12px; }

@media (max-width: 1080px) {
  nav { max-width: 58vw; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; }
  .spec-card { max-width: 620px; }
  .unit-grid { grid-template-columns: 1fr; }
  .fairness-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 30px, 620px); }
  .topbar-inner { width: calc(100% - 24px); min-height: 64px; }
  .brand small { display: none; }
  nav { max-width: 48vw; gap: 18px; }
  .hero { min-height: 0; padding-block: 72px 64px; }
  .hero h1 { font-size: clamp(48px, 14vw, 67px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { justify-content: center; }
  .spec-card { padding: 23px; }
  .section, .graph-section { padding-block: 74px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading > p { font-size: 16px; }
  .figure-scroll { margin-inline: -5px; padding: 10px; }
  .figure-scroll img { min-width: 880px; }
  .notation-bridge { grid-template-columns: 1fr; gap: 7px; }
  .compute-steps, .protocol-grid, .two-grid, .contrast-map, .boundary-grid, .next-links { grid-template-columns: 1fr; }
  .compute-steps article { padding: 25px 21px; }
  .protocol-grid { gap: 38px; }
  .protocol-grid article:first-child { padding: 0 0 38px; border: 0; border-bottom: 1px solid var(--line); }
  .contrast-map { gap: 9px; }
  .group-heading { grid-template-columns: 1fr; gap: 10px; }
  .group-heading > span { width: max-content; }
  .model-card { padding: 21px 18px; }
  .model-card header { flex-direction: column; }
  .architecture-lane { min-height: 120px; }
  .fairness-section { padding-block: 72px; }
  .capacity-meter { padding: 22px 17px; }
  .capacity-meter > div { grid-template-columns: 1fr; gap: 6px; }
  .capacity-meter p { flex-direction: column; }
  .capacity-meter p span { text-align: left; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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