:root {
  --ink: #091521;
  --paper: #e9efe9;
  --mint: #a7efcf;
  --aqua: #65e6df;
  --coral: #ff8c6b;
  --line: rgba(226, 239, 232, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100svh;
  padding: 24px clamp(24px, 5vw, 76px) 18px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 36%, #163449 0, transparent 25%),
              linear-gradient(125deg, #07121e 8%, #0a1d29 67%, #0c1723);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(132,229,212,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(132,229,212,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 35%, transparent);
}
nav, .hero-grid, .hero-footer { position: relative; z-index: 1; max-width: 1400px; margin-inline: auto; }
nav { display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -.06em; text-transform: none; }
.wordmark span { color: var(--coral); }
.nav-links { display: flex; gap: 30px; color: #b8cbc6; }
.nav-links a:hover, footer a:hover { color: var(--aqua); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.github-link { color: #b8cbc6; font-size: 11px; }
.github-link:hover { color: var(--aqua); }
.nav-paper {
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--aqua);
  padding: 0 0 3px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
}
.nav-paper:hover { color: var(--aqua); }

.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; min-height: calc(100svh - 110px); gap: 48px; }
.hero-copy { max-width: 730px; padding: 80px 0; }
.eyebrow, .section-kicker { color: var(--aqua); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.eyebrow { margin: 0 0 25px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 700; letter-spacing: -.065em; line-height: .93; }
h1 { font-size: clamp(58px, 8.2vw, 122px); margin-bottom: 31px; }
h1 em, h2 em { color: var(--mint); font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.lede { color: #c4d4cf; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.47; max-width: 630px; }
.hero-actions { display: flex; gap: 13px; margin-top: 36px; flex-wrap: wrap; }
.button { display: inline-flex; gap: 18px; align-items: center; padding: 13px 18px; border: 1px solid var(--line); font-weight: 700; font-size: 13px; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.button-primary { background: var(--mint); color: #08201d; border-color: var(--mint); }
.button-primary:hover { background: var(--aqua); border-color: var(--aqua); }
.button-secondary { background: transparent; color: var(--paper); }
.button-secondary:hover { border-color: var(--aqua); color: var(--aqua); }

/* Hero graphic */
.weave-graphic { height: 440px; position: relative; border-left: 1px solid rgba(101,230,223,.25); background: linear-gradient(90deg,rgba(0,0,0,.08),transparent); }
.hero-graphic { animation: breathe 6s ease-in-out infinite; }
.core { position: absolute; right: 13%; top: 42%; height: 130px; width: 130px; border: 1px solid var(--aqua); display: grid; place-content: center; transform: rotate(45deg); box-shadow: 0 0 35px rgba(101,230,223,.25), inset 0 0 35px rgba(101,230,223,.08); }
.core span { transform: rotate(-45deg); font-size: 29px; letter-spacing: -.1em; font-weight: 800; color: var(--mint); }
.core i { position: absolute; width: 7px; height: 7px; background: var(--coral); right: -4px; top: -4px; }
.thread { position: absolute; left: 2%; width: 67%; height: 1px; background: linear-gradient(90deg, transparent, var(--aqua) 55%, transparent); transform-origin: right center; opacity: .8; animation: pulse 3.6s ease-in-out infinite; }
.thread-one { top: 17%; transform: rotate(20deg); }
.thread-two { top: 26%; transform: rotate(15deg); animation-delay: .6s; }
.thread-three { top: 35%; transform: rotate(9deg); animation-delay: 1.2s; }
.thread-four { top: 65%; transform: rotate(-10deg); }
.thread-five { top: 74%; transform: rotate(-16deg); animation-delay: .6s; }
.thread-six { top: 83%; transform: rotate(-22deg); animation-delay: 1.2s; }
.model-label { position: absolute; color: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.1; }
.model-label span { display: block; color: #85a59e; font-size: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; margin-top: 5px; }
.label-disk { top: 12%; left: 4%; }
.label-ram { top: 47%; left: 16%; }
.label-vram { bottom: 9%; right: 10%; }
.hero-footer { display: flex; gap: 30px; color: #82a49d; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.hero-footer span + span:before { content: "·"; color: var(--coral); padding-right: 30px; }

/* Sections */
.section { padding: 118px clamp(24px, 8vw, 150px); }
.thesis { background: var(--paper); color: var(--ink); }
.thesis .section-kicker { color: #1b786e; }
.thesis-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; margin-top: 48px; }
.thesis h2, .layers h2, .proof h2, .closing h2, .lab h2 { font-size: clamp(42px, 5vw, 78px); margin-bottom: 0; }
.thesis h2 em { color: #d65c47; }
.thesis-copy { font-size: 18px; line-height: 1.55; color: #38504f; }
.flow { margin-top: 90px; border-top: 1px solid rgba(9,21,33,.2); border-bottom: 1px solid rgba(9,21,33,.2); display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; padding: 22px 0; align-items: center; }
.flow div { display: flex; gap: 15px; align-items: center; }
.flow b { color: #d65c47; font-size: 12px; }
.flow span { font-size: 14px; font-weight: 700; line-height: 1.2; }
.flow i { font-style: normal; color: #64827d; }

.principles { background: #0d2730; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--line); padding-bottom: 27px; }
.section-heading p:last-child { max-width: 440px; color: #b5c9c3; line-height: 1.45; margin: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle-grid article { padding: 42px 35px 24px 0; border-right: 1px solid var(--line); min-height: 300px; }
.principle-grid article + article { padding-left: 35px; }
.principle-grid article:last-child { border: 0; }
.principle-grid span { color: var(--coral); font-size: 12px; }
.principle-grid h3 { font-size: 24px; line-height: 1.05; letter-spacing: -.04em; max-width: 240px; margin: 59px 0 17px; }
.principle-grid p { color: #b5c9c3; line-height: 1.48; font-size: 15px; }

.layers { background: #102f38; display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; align-items: center; }
.layers-intro > p:last-child { color: #c5d8d2; line-height: 1.55; font-size: 17px; margin-top: 32px; }
.layer-stack { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: 40px 1fr 1.3fr; align-items: center; padding: 23px; border: 1px solid var(--line); }
.layer > span { color: var(--coral); font-size: 12px; }
.layer b { font-size: 22px; letter-spacing: -.04em; }
.layer small { display: block; color: #84a9a1; margin-top: 3px; }
.layer p { margin: 0; color: #c9dad5; }
.layer.ram { transform: translateX(30px); background: rgba(101,230,223,.05); }
.layer.vram { transform: translateX(60px); background: var(--mint); color: #09211f; border-color: var(--mint); }
.layer.vram > span { color: #ba4b3b; }
.layer.vram small, .layer.vram p { color: #28544d; }

.example { background: var(--paper); color: var(--ink); }
.example .section-kicker { color: #217d72; }
.example-heading { max-width: 760px; }
.example-heading h2 { font-size: clamp(42px, 5vw, 78px); margin: 27px 0; }
.example-heading h2 em { color: #d65c47; }
.example-heading > p:last-child { color: #49605c; font-size: 18px; line-height: 1.5; max-width: 610px; }
.example-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; margin-top: 60px; }
.example-flow article { padding: 27px; background: #dce8df; min-height: 265px; }
.example-flow article span { color: #d65c47; font-size: 12px; font-weight: 700; }
.example-flow article small { display: block; margin-top: 36px; color: #568079; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.example-flow h3 { margin: 10px 0 15px; font-size: 23px; line-height: 1.08; letter-spacing: -.04em; }
.example-flow p { color: #3d5853; line-height: 1.45; margin-bottom: 0; font-size: 15px; }
.example-arrow { align-self: center; color: #d65c47; font-style: normal; font-size: 25px; }
.example-note { display: grid; grid-template-columns: 110px 1fr; gap: 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(9,21,33,.18); }
.example-note span { color: #d65c47; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.example-note p { color: #46605a; margin: 0; line-height: 1.5; }

/* Looped Transformer vs TerrainLoop 3-way visual comparison */
.arch-compare { background: #0a1d26; border-top: 1px solid var(--line); }
.arch-compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.arch-card { background: #f5f7f2; color: #091521; padding: 24px; border: 1px solid rgba(9,21,33,.12); display: flex; flex-direction: column; justify-content: space-between; }
.arch-card.featured { background: #ffffff; border: 2px solid var(--mint); box-shadow: 0 0 0 1px rgba(167,239,207,.35); }
.arch-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.arch-card h3 { font-size: 24px; letter-spacing: -.045em; margin: 0 0 6px; line-height: 1.05; }
.arch-card-sub { color: #48605b; font-size: 13.5px; margin: 0 0 16px; line-height: 1.4; }
.hw-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border: 1px solid #091521; border-radius: 999px; white-space: nowrap; }
.hw-pill.edge { background: var(--mint); border-color: #177b72; color: #08201d; }
.arch-diagram-box { background: #ffffff; border: 1px solid #d4dfd8; border-radius: 10px; padding: 14px; margin-bottom: 16px; min-height: 176px; display: grid; place-items: center; }
.arch-card.featured .arch-diagram-box { background: #f1f8f5; border-color: #237d73; padding: 12px 14px 10px; }
.tl-run-tabs { display: flex; gap: 5px; justify-content: center; width: 100%; margin-top: 6px; }
.tl-run-tab { font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border: 1px solid #b5cbc2; background: #ffffff; color: #38504f; border-radius: 4px; }
.tl-run-tab.active { background: #102b33; color: #a7efcf; border-color: #102b33; }
.meter-row { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; font-weight: 700; color: #38504f; }
.meter-blocks { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.m-blk { width: 9px; height: 15px; border-radius: 2px; background: #091521; }
.m-blk.pink { background: #ff6283; }
.m-blk.ghost { background: transparent; border: 1px solid #ff6283; }
.m-blk.sliver { width: 5px; height: 15px; background: #177b72; border-radius: 1.5px; }
.m-blk.sliver.coral { background: #ff8c6b; }
.m-sep { font-family: ui-monospace, monospace; font-size: 11px; color: #568079; padding: 0 2px; }
.m-pair { display: inline-flex; gap: 2px; padding: 2px; border-radius: 3px; border: 1px solid transparent; }
.m-pair.active { border-color: #102b33; background: rgba(16,43,51,.08); }
.arch-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid #d4dfd8; font-size: 12.5px; color: #38504f; line-height: 1.45; }

/* Advanced Sparse Diff & Reasons to Believe */
.belief-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; margin-top: 44px; }
.belief-card { background: #dce8df; padding: 26px; color: #091521; }
.belief-card h3 { font-size: 22px; letter-spacing: -.04em; margin: 0 0 10px; }
.diff-table { width: 100%; border-collapse: collapse; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; margin-top: 12px; background: #f5f7f2; }
.diff-table th, .diff-table td { padding: 9px 10px; border: 1px solid #bfd0c6; text-align: left; }
.diff-table th { background: #102b33; color: #e9efe9; font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.tok-zero { color: #64827d; }
.tok-add { color: #177b72; font-weight: 700; }
.tok-sub { color: #d65c47; font-weight: 700; }
.reason-list { display: grid; gap: 12px; margin-top: 12px; }
.reason-item { background: #f5f7f2; border-left: 3px solid #d65c47; padding: 12px 14px; font-size: 14px; line-height: 1.48; color: #243b37; }
.reason-item strong { color: #091521; }

@media (max-width: 960px) {
  .arch-compare-grid, .belief-grid { grid-template-columns: 1fr; }
}

/* Interactive 3D Lab (matching SkillWeave styling tokens) */
.lab { background: var(--ink); border-top: 1px solid var(--line); }
.lab-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; flex-wrap: wrap; }
.lab-header h2 { margin-top: 14px; }
.lab-header > p { max-width: 440px; color: #b5c9c3; line-height: 1.5; margin: 0; }
.lab-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lab-panel { border: 1px solid var(--line); background: #0b1c28; padding: 22px; }
.lab-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.lab-panel-head h3 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.lab-tag { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; padding: 3px 9px; border: 1px solid var(--aqua); color: var(--aqua); }
.lab-tag.coral { border-color: var(--coral); color: var(--coral); }
.lab-tag.mint { border-color: var(--mint); color: var(--mint); }
canvas.interactive-3d { width: 100%; display: block; background: #061019; border: 1px solid var(--line); cursor: grab; touch-action: none; }
canvas.interactive-3d.dragging { cursor: grabbing; }
.lab-hud { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-family: ui-monospace, monospace; font-size: 11.5px; color: #85a59e; flex-wrap: wrap; }
.lab-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.lab-ctrl label { display: flex; justify-content: space-between; font-size: 12px; color: #b5c9c3; margin-bottom: 6px; }
.lab-ctrl strong { color: var(--mint); font-family: ui-monospace, monospace; }
.lab-ctrl input[type="range"] { width: 100%; accent-color: var(--aqua); cursor: pointer; }
.lab-btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lab-btn { background: transparent; color: var(--paper); border: 1px solid var(--line); padding: 7px 12px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.lab-btn:hover { border-color: var(--aqua); color: var(--aqua); }
.lab-btn.active { background: var(--mint); color: #08201d; border-color: var(--mint); }
.lab-formula { margin-top: 14px; padding: 14px; background: #07131d; border-left: 3px solid var(--coral); font-family: ui-monospace, monospace; font-size: 12px; color: #d5eee4; white-space: pre-wrap; overflow-x: auto; }
.calc-bar { margin-top: 10px; }
.calc-bar-lbl { display: flex; justify-content: space-between; font-family: ui-monospace, monospace; font-size: 12px; color: #c4d4cf; margin-bottom: 5px; }
.calc-track { height: 12px; background: #102634; display: flex; }
.calc-seg { height: 100%; transition: width .22s ease; }

.proof { background: var(--coral); color: #30141c; }
.proof .section-kicker { color: #743338; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; gap: 7vw; }
.proof h2 em { color: #f8e9c9; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(48,20,28,.35); }
.metrics span { padding: 15px 0; font-weight: 700; border-bottom: 1px solid rgba(48,20,28,.35); font-size: 14px; }
.metrics span:nth-child(even) { padding-left: 20px; }

.roadmap { background: #081923; }
.roadmap ol { list-style: none; padding: 0; margin: 45px 0 0; border-top: 1px solid var(--line); }
.roadmap li { display: grid; grid-template-columns: 100px .85fr 1.3fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.roadmap li > span { color: var(--coral); font-size: 12px; }
.roadmap h3 { margin: 0; font-size: 29px; letter-spacing: -.045em; }
.roadmap p { margin: 0; color: #b4c8c2; line-height: 1.5; }

.closing { text-align: center; background: var(--paper); color: var(--ink); padding-block: 145px; }
.closing .section-kicker { color: #217d72; }
.closing h2 { margin: 32px 0 23px; }
.closing h2 em { color: #d65c47; }
.closing > p:not(.section-kicker) { max-width: 590px; margin: 0 auto 34px; line-height: 1.5; color: #48605b; font-size: 18px; }
footer { padding: 25px clamp(24px, 5vw, 76px); display: flex; justify-content: space-between; align-items: center; color: #90aaa4; font-size: 11px; border-top: 1px solid var(--line); }
footer .wordmark { color: var(--paper); }
footer p { margin: 0; }
footer p:last-child a { color: var(--aqua); }

/* Paper Modal + Familiar Paper Page */
.paper-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  padding: 28px;
  display: none;
  place-items: center;
  background: rgba(2,11,17,.78);
  backdrop-filter: blur(11px);
}
.paper-backdrop.open { display: grid; animation: fade-in .2s ease; }
.paper-modal {
  width: min(1060px, 100%);
  max-height: min(880px, calc(100svh - 56px));
  display: grid;
  grid-template-rows: auto 1fr;
  background: #f5f7f2;
  color: #12221f;
  box-shadow: 0 28px 90px rgba(0,0,0,.5);
  overflow: hidden;
  animation: modal-in .26s cubic-bezier(.2,.7,.2,1);
}
.paper-modal header, .paper-standalone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 30px 20px;
  background: #102b33;
  color: var(--paper);
}
.paper-modal header .section-kicker, .paper-standalone-header .section-kicker { margin: 0 0 7px; }
.paper-modal header h2, .paper-standalone-header h1 { font-size: 31px; margin: 0; letter-spacing: -.045em; line-height: 1; }
.paper-controls { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 700; }
.paper-controls a { color: var(--aqua); }
.paper-controls a:hover { text-decoration: underline; }
.paper-controls button { border: 1px solid rgba(255,255,255,.3); color: var(--paper); background: transparent; width: 34px; height: 34px; font-size: 27px; line-height: 1; }
.paper-content { overflow: auto; padding: clamp(28px, 5vw, 65px); font-family: Georgia, serif; font-size: 17px; line-height: 1.62; background: #f5f7f2; color: #12221f; }
.paper-content > :first-child { margin-top: 0; }
.paper-content h1, .paper-content h2, .paper-content h3 { font-family: Arial, Helvetica, sans-serif; line-height: 1.08; letter-spacing: -.045em; color: #091521; }
.paper-content h1 { font-size: 42px; margin: 0 0 27px; }
.paper-content h2 { font-size: 28px; margin-top: 56px; margin-bottom: 16px; }
.paper-content h3 { font-size: 21px; margin-top: 34px; margin-bottom: 12px; }
.paper-content p, .paper-content li { max-width: 790px; }
.paper-content a { color: #177b72; text-decoration: underline; text-underline-offset: 3px; }
.paper-content blockquote { margin: 28px 0; padding: 14px 22px; border-left: 3px solid var(--coral); background: #e7eee7; }
.paper-content table { width: 100%; border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: 14px; margin: 22px 0; }
.paper-content th, .paper-content td { text-align: left; padding: 11px; border: 1px solid #c8d4cd; vertical-align: top; }
.paper-content th { background: #dfe9e2; }
.paper-content pre { overflow: auto; padding: 18px; background: #102b33; color: #d5eee4; font-size: 13px; line-height: 1.5; }
.paper-content code { font-size: .86em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.paper-diagram { overflow-x: auto; margin: 26px 0; padding: 20px; background: #e7eee7; border: 1px solid #c8d9d0; text-align: center; }
.paper-diagram svg { max-width: 100%; height: auto; }

/* Standalone Paper Page Wrapper */
.paper-standalone-shell {
  min-height: 100svh;
  background: #0b1b24;
  padding: clamp(0px, 2vw, 28px);
  display: flex;
  justify-content: center;
}
.paper-standalone-sheet {
  width: min(1040px, 100%);
  background: #f5f7f2;
  color: #12221f;
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.principle-grid .reveal:nth-child(2), .example-flow .reveal:nth-child(2) { transition-delay: .12s; }
.principle-grid .reveal:nth-child(3), .example-flow .reveal:nth-child(3) { transition-delay: .22s; }

@keyframes breathe { 50% { transform: translateY(-8px); } }
@keyframes pulse { 50% { opacity: .27; filter: drop-shadow(0 0 7px var(--aqua)); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .lab-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  nav .nav-links, .github-link { display: none; }
  .nav-paper { font-size: 10px; }
  .hero-grid, .thesis-layout, .layers, .proof-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 84px 0 30px; }
  .weave-graphic { height: 305px; }
  .core { width: 92px; height: 92px; }
  .hero-footer { gap: 11px; font-size: 8px; }
  .hero-footer span + span:before { padding-right: 11px; }
  .section { padding: 80px 24px; }
  .flow { margin-top: 55px; grid-template-columns: 1fr 18px 1fr; gap: 16px 6px; }
  .flow i:nth-of-type(2) { grid-row: 2; }
  .flow div:nth-of-type(3) { grid-row: 2; }
  .flow div:nth-of-type(4) { grid-row: 2; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 20px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .principle-grid h3 { margin-top: 28px; }
  .layer, .roadmap li { grid-template-columns: 32px 1fr; }
  .layer p, .roadmap p { grid-column: 2; }
  .layer.ram, .layer.vram { transform: none; }
  .metrics { grid-template-columns: 1fr; }
  .metrics span:nth-child(even) { padding-left: 0; }
  .example-flow { grid-template-columns: 1fr; }
  .example-arrow { transform: rotate(90deg); justify-self: center; }
  .example-note { grid-template-columns: 1fr; gap: 9px; }
  .paper-backdrop { padding: 10px; }
  .paper-modal { max-height: calc(100svh - 20px); }
  .paper-modal header, .paper-standalone-header { padding: 18px; }
  .paper-content { font-size: 16px; }
  .paper-content h1 { font-size: 31px; }
  .paper-content table { display: block; overflow-x: auto; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
