:root {
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ink: #151515;
  --coal: #1b1b1b;
  --coal-soft: #252525;
  --orange: #f47920;
  --orange-dark: #d85f08;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --muted: #6e6b66;
  --line: #d9d4ca;
  --green: #73c28d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.university-bar { background: var(--ink); color: #c8c4bc; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.university-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(251,250,247,.95); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: .92rem; letter-spacing: .17em; }
.brand small { margin-top: 5px; color: var(--muted); font: 700 .56rem/1 var(--font-geist-mono), monospace; letter-spacing: .12em; }
.brand-symbol { position: relative; display: block; width: 46px; height: 46px; border: 1px solid #2c2c2c; background: var(--coal); }
.brand-symbol::after { position: absolute; width: 7px; height: 7px; right: 7px; bottom: 7px; border-radius: 50%; background: var(--orange); content: ""; }
.brand-symbol i { position: absolute; left: 8px; height: 2px; background: #fff; transform-origin: left; }
.brand-symbol i:nth-child(1) { width: 25px; top: 12px; transform: rotate(29deg); }
.brand-symbol i:nth-child(2) { width: 21px; top: 23px; }
.brand-symbol i:nth-child(3) { width: 25px; top: 34px; transform: rotate(-29deg); }
nav { display: flex; gap: 28px; }
nav a { color: #4d4b48; font-size: .76rem; font-weight: 800; text-decoration: none; }
nav a:hover { color: var(--orange-dark); }
.support-link { padding: 12px 15px; border: 1px solid #bab5aa; font-size: .7rem; font-weight: 800; text-decoration: none; }
.support-link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: minmax(0,.91fr) minmax(440px,1.05fr); gap: 70px; align-items: center; min-height: 700px; padding-block: 72px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #5f5b55; font-size: .67rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: var(--orange); }
.eyebrow.light { color: #bbb6ad; }
.eyebrow.light span { background: var(--orange); }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(3.7rem,6.4vw,6rem); line-height: .95; letter-spacing: -.06em; }
.hero h1 em { color: var(--orange-dark); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 590px; margin: 30px 0 0; color: #53504b; font-size: 1.02rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 23px; font-size: .75rem; font-weight: 900; text-decoration: none; }
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 14px; font-size: .75rem; font-weight: 900; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.status-line { display: flex; align-items: center; gap: 12px; margin-top: 46px; padding-top: 22px; border-top: 1px solid #cec8bc; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(115,194,141,.14); }
.status-line div { display: grid; gap: 4px; }
.status-line strong { font-size: .72rem; }
.status-line small { color: #747069; font-size: .62rem; }

.network-console { min-width: 0; border: 1px solid #444; background: var(--coal); color: #fff; box-shadow: 0 34px 72px rgba(10,10,10,.18); transform: rotate(.6deg); }
.console-top { display: flex; justify-content: space-between; gap: 20px; padding: 17px 18px; border-bottom: 1px solid #414141; color: #b9b8b4; font: 700 .57rem/1 var(--font-geist-mono), monospace; letter-spacing: .1em; }
.console-state { color: var(--green); }
.console-state::before { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--green); content: ""; }
.network-stage { position: relative; height: 372px; overflow: hidden; background: radial-gradient(circle at 50% 42%, rgba(244,121,32,.09), transparent 34%), #191919; }
.grid-lines { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(#777 1px,transparent 1px),linear-gradient(90deg,#777 1px,transparent 1px); background-size: 42px 42px; }
.node { position: absolute; z-index: 2; display: grid; min-width: 128px; gap: 5px; padding: 15px 16px; border: 1px solid #595959; background: #252525; box-shadow: 0 12px 24px rgba(0,0,0,.22); }
.node span { color: var(--orange); font: 800 .52rem/1 var(--font-geist-mono),monospace; }
.node strong { font: 800 .67rem/1 var(--font-geist-mono),monospace; letter-spacing: .06em; }
.node small { color: #999; font-size: .56rem; }
.source { top: 151px; left: 24px; }
.listener { top: 151px; left: 42%; transform: translateX(-50%); border-color: var(--orange); }
.target-a { top: 72px; right: 22px; }
.target-b { right: 22px; bottom: 72px; }
.route { position: absolute; z-index: 1; height: 2px; background: var(--orange); transform-origin: left; }
.route::after { position: absolute; width: 6px; height: 6px; right: -2px; top: -2px; border-radius: 50%; background: var(--orange); content: ""; box-shadow: 0 0 10px rgba(244,121,32,.8); }
.route-one { width: 112px; top: 184px; left: 151px; }
.route-two { width: 158px; top: 175px; left: 57%; transform: rotate(-28deg); }
.route-three { width: 158px; top: 194px; left: 57%; transform: rotate(28deg); }
.console-table { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #414141; }
.console-table div { display: grid; gap: 7px; padding: 16px; border-right: 1px solid #414141; }
.console-table div:last-child { border-right: 0; }
.console-table span { color: #8e8e8e; font: 700 .5rem/1 var(--font-geist-mono),monospace; text-transform: uppercase; }
.console-table strong { font: 700 .6rem/1 var(--font-geist-mono),monospace; }

.overview-section { padding-block: 110px; }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.62fr); gap: 90px; align-items: end; margin-bottom: 52px; }
.section-heading h2,.path-copy h2,.operations-copy h2,.context-section h2 { margin: 0; font-size: clamp(2.6rem,4.8vw,4.35rem); line-height: 1.02; letter-spacing: -.052em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 330px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.service-card:nth-child(2) { background: #f3f0e9; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 74px; }
.card-top > span { display: grid; min-width: 48px; height: 27px; place-items: center; padding-inline: 8px; background: var(--ink); color: var(--orange); font: 800 .6rem/1 var(--font-geist-mono),monospace; }
.card-top small { color: #92908b; font: 700 .59rem/1 var(--font-geist-mono),monospace; }
.service-card h3 { margin: 0 0 14px; font-size: 1.35rem; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.card-rule { position: relative; height: 2px; margin-top: 30px; background: #e3dfd7; }
.card-rule i { position: absolute; width: 34%; height: 2px; background: var(--orange); }

.path-section { padding-block: 110px; background: var(--coal); color: #fff; }
.path-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(460px,1fr); gap: 115px; align-items: start; }
.path-copy { position: sticky; top: 130px; }
.path-copy > p:last-child { max-width: 470px; margin: 29px 0 0; color: #b9b7b2; line-height: 1.8; }
.path-list { margin: 0; padding: 0; border-top: 1px solid #494949; list-style: none; }
.path-list li { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid #494949; }
.path-list > li > span { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--orange); color: var(--orange); font: 800 .62rem/1 var(--font-geist-mono),monospace; }
.path-list small { color: var(--orange); font: 800 .52rem/1 var(--font-geist-mono),monospace; letter-spacing: .1em; }
.path-list h3 { margin: 5px 0 8px; font-size: 1.12rem; }
.path-list p { margin: 0; color: #b9b7b2; font-size: .82rem; line-height: 1.7; }

.operations-section { padding-block: 110px; background: var(--cream); }
.operations-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(420px,1fr); gap: 110px; }
.operations-copy > p:not(.eyebrow) { max-width: 520px; margin: 28px 0 0; color: var(--muted); line-height: 1.8; }
.terminal-note { display: flex; gap: 12px; margin-top: 42px; padding: 19px 20px; border: 1px solid #ccc5b9; background: #fbfaf7; }
.terminal-note span { color: var(--orange-dark); font-weight: 900; }
.terminal-note code { font: 700 .72rem/1.4 var(--font-geist-mono),monospace; }
.notes-list { border-top: 1px solid #c9c3b8; }
details { border-bottom: 1px solid #c9c3b8; }
summary { display: flex; gap: 18px; align-items: center; padding: 24px 0; font-size: .86rem; font-weight: 900; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { margin-left: auto; color: var(--orange-dark); content: "+"; font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
summary span { color: #8e8b84; font: 700 .61rem/1 var(--font-geist-mono),monospace; }
details p { margin: -4px 0 24px 41px; color: var(--muted); font-size: .82rem; line-height: 1.75; }

.context-section { padding-block: 110px; background: #272727; color: #fff; }
.context-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.78fr); gap: 100px; }
.context-copy > p { margin: 0; color: #c3c0ba; font-size: .93rem; line-height: 1.85; }
.official-links { display: grid; margin-top: 34px; border-top: 1px solid #555; }
.official-links a { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid #555; font-size: .73rem; font-weight: 900; text-decoration: none; }
.official-links a:hover { color: var(--orange); }

footer { background: #111; color: #c8c5bf; }
.footer-inner { min-height: 150px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand .brand-symbol { border-color: #555; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: #999; }
.footer-inner p { color: #85827d; font-size: .67rem; }
.footer-inner > a:last-child { font-size: .69rem; font-weight: 900; text-decoration: none; }

@media (max-width: 960px) {
  nav { display: none; }
  .hero-grid,.section-heading,.path-grid,.operations-grid,.context-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .section-heading,.path-grid,.operations-grid,.context-grid { gap: 50px; }
  .path-copy { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .card-top { margin-bottom: 42px; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px,1180px); }
  .university-inner span:last-child,.support-link { display: none; }
  .header-inner { min-height: 72px; }
  .hero-grid { min-height: auto; padding-block: 58px; }
  .hero h1 { font-size: 3.45rem; }
  .network-console { transform: none; }
  .network-stage { height: 410px; }
  .source { top: 38px; left: 50%; transform: translateX(-50%); }
  .listener { top: 158px; left: 50%; }
  .target-a { top: auto; bottom: 38px; left: 18px; right: auto; }
  .target-b { right: 18px; bottom: 38px; }
  .route-one { width: 2px; height: 66px; top: 104px; left: 50%; }
  .route-two { width: 116px; top: 248px; left: 50%; transform: rotate(126deg); }
  .route-three { width: 116px; top: 248px; left: 50%; transform: rotate(54deg); }
  .console-table { grid-template-columns: 1fr; }
  .console-table div { border-right: 0; border-bottom: 1px solid #414141; }
  .overview-section,.path-section,.operations-section,.context-section { padding-block: 76px; }
  .path-list li { grid-template-columns: 46px 1fr; gap: 13px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 36px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
