:root {
  --ink: #172b3e;
  --muted: #647787;
  --blue: #246390;
  --teal: #267969;
  --line: #dde5e8;
  --paper: #fafbf9;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .35; cursor: default; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid #5d9dbd; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p { margin: 0 0 18px; }
h1, h2, h3 { margin: 0; letter-spacing: -.04em; font-weight: 600; line-height: 1.18; }
h2 { font-size: clamp(30px, 3.2vw, 42px); }
h3 { font-size: 24px; }
.wrap { width: min(1120px, calc(100% - 72px)); margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -90px; left: 16px; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 50; }
.skip-link:focus { top: 10px; }
.site-header { max-width: 1320px; width: calc(100% - 72px); height: 83px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 35px; border-bottom: 1px solid #e8edec; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -.035em; font-weight: 650; white-space: nowrap; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.site-header nav { display: flex; gap: 30px; align-items: center; font-size: 13px; color: #6e7f8d; }
.site-header nav a:hover { color: var(--ink); }
.nav-github { color: var(--ink); padding-left: 20px; border-left: 1px solid var(--line); }
.eyebrow { color: #698296; font-size: 10px; line-height: 1.6; letter-spacing: .14em; font-weight: 650; margin: 0 0 20px; }
.hero { text-align: center; padding: 37px 0 31px; }
.hero h1 { font-size: clamp(46px, 5.1vw, 65px); letter-spacing: -.06em; line-height: 1.07; font-weight: 570; }
.hero h1 span { color: #9d5b42; }
.hero-lead { max-width: 760px; margin: 18px auto 21px; font-size: 17px; line-height: 1.8; color: #657889; letter-spacing: -.01em; }
.resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.resource-links a { border: 1px solid #dbe2e6; border-radius: 24px; padding: 8px 15px; font-size: 12px; background: #fff; display: inline-flex; gap: 9px; align-items: center; }
.resource-links a:hover { border-color: #a7becd; background: #f0f5f7; }
.resource-links .resource-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.resource-links .resource-active:hover { background: #24425b; }
.resource-links span { font-size: 14px; }
.small-label { display: inline-block; font-size: 9px; letter-spacing: .11em; font-weight: 650; line-height: 1.6; color: #8397a5; }
.section { padding: 93px 0; }
.section-title { text-align: center; max-width: 780px; margin: 0 auto 43px; }
.section-title .eyebrow { margin-bottom: 16px; }
.section-title > p:not(.eyebrow) { font-size: 16px; line-height: 1.9; color: #788b9a; margin: 22px auto 0; max-width: 735px; }
.finding-section { margin-top: 4px; }
.effects-figure { margin: 0 auto; background: #fff; border: 1px solid #e6ebed; border-radius: 5px; padding: 29px 35px 19px; }
.effects-figure img { width: 100%; }
figcaption { color: #90a1ae; font-size: 10px; line-height: 1.8; }
.effects-figure figcaption { text-align: center; margin-top: 18px; }
.research-link { text-align: center; font-size: 12px; color: #517a96; margin: 19px 0 0; }
.research-link a span { margin-left: 8px; }
.exposure-section { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 70px; padding-top: 76px; margin-top: 66px; border-top: 1px solid #e1e8ea; }
.exposure-section h3 { font-size: 31px; line-height: 1.2; margin-bottom: 21px; }
.exposure-section p:not(.eyebrow) { color: #7e909e; font-size: 14px; line-height: 1.85; }
.text-link { font-size: 12px; color: #4b7896; }
.exposure-figure { display: block; border: 1px solid #e3e9ec; background: #fff; border-radius: 5px; padding: 14px; }
.simulator-section { background: #f0f4f3; border-block: 1px solid #e6ece9; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 43px; margin: 51px 0 50px; }
.principles article { padding-top: 20px; border-top: 1px solid #cfddda; }
.principles .small-label { color: #8a9d97; }
.principles h3 { font-size: 19px; margin: 15px 0 14px; }
.principles p { color: #7d9089; font-size: 13px; line-height: 1.9; margin: 0; }
.architecture { margin: 0; background: #fff; border: 1px solid #dae5e0; border-radius: 5px; padding: 26px; }
.architecture img { width: 100%; }
.architecture figcaption { margin-top: 18px; text-align: center; color: #8ea298; }
.architecture figcaption a { color: #628a7a; white-space: nowrap; }
.support-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 30px; color: #718b7f; }
.support-row > a { font-size: 14px; }
.support-row .small-label { font-size: 8px; }
.support-row .extend-link { font-size: 11px; color: #879b92; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; padding: 11px 17px; min-height: 44px; border-radius: 4px; font-size: 12px; border: 1px solid transparent; }
.dark-button { background: #1d3448; color: #fff; }
.dark-button:hover { background: #31516c; }
.build-section { background: #f0f4f7; border-block: 1px solid #e5ebef; }
.method-library { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid #d6e1e8; }
.method-library > a { font-size: 22px; font-weight: 550; letter-spacing: -.03em; }
.method-library small { display: block; font-size: 10px; line-height: 1.7; color: #8ba0af; letter-spacing: 0; font-weight: 400; margin-top: 8px; }
.method-library .your-method { color: #487d6b; }
.adaptation-note { color: #91a4b0; font-size: 10px; margin: 22px 0 0; }
.build-flow { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; gap: 27px; padding: 45px 0; margin-top: 40px; border-block: 1px solid #dce6ed; }
.build-flow > div > span { color: #9aafbf; font: 10px var(--mono); }
.build-flow h3 { font-size: 18px; margin: 14px 0 10px; }
.build-flow p { margin: 0; color: #859ba9; font-size: 12px; line-height: 1.8; }
.flow-arrow { align-self: center; color: #a8bcc9; font-size: 24px; }
.start-block { display: grid; grid-template-columns: .75fr 1.5fr; gap: 65px; align-items: center; margin-top: 50px; }
.start-block h3 { font-size: 27px; }
.start-block > div > p { font-size: 13px; color: #8299aa; line-height: 1.85; margin: 17px 0 22px; }
.command-block { border: 1px solid #d3dfe7; background: #fff; border-radius: 5px; overflow: hidden; }
.command-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 16px; border-bottom: 1px solid #e4ebf0; }
.command-header > span { font-size: 8px; letter-spacing: .09em; color: #94a8b6; }
.command-header button { border: 1px solid #d9e3e9; border-radius: 3px; background: #f8fafc; font-size: 10px; padding: 3px 8px; color: #6c8ca2; }
.command-block pre { margin: 0; padding: 19px 18px; overflow-x: auto; color: #496a81; font: 11px/2 var(--mono); }
.command-block > p { font-size: 9px !important; color: #99aebc !important; padding: 0 18px 13px; margin: 0 !important; }
.doc-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 55px; }
.doc-links a { border-top: 1px solid #d5e1e9; padding-top: 20px; display: grid; grid-template-columns: 1fr 15px; gap: 7px 12px; }
.doc-links span { font-size: 14px; font-weight: 550; }
.doc-links small { font-size: 10px; color: #91a6b5; grid-column: 1; line-height: 1.8; }
.doc-links b { font-size: 15px; font-weight: 400; color: #7795aa; grid-column: 2; grid-row: 1/3; align-self: center; }
.news-section { padding: 70px 0 60px; display: grid; grid-template-columns: 1fr 2.2fr; gap: 70px; }
.news-section h2 { font-size: 28px; }
.news-section ul { list-style: none; padding: 0; margin: 0; }
.news-section li { display: grid; grid-template-columns: 100px 1fr; gap: 25px; font-size: 12px; line-height: 1.85; padding-bottom: 18px; }
.news-section li > span { font-size: 10px; color: #9aaeb9; }
.news-section li > a { color: #6a8293; }
.news-section .news-more { color: #a5b5bf; font-size: 19px; }
footer { border-top: 1px solid #e0e7ea; padding: 35px 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
footer .brand { font-size: 18px; }
footer .brand img { width: 28px; height: 28px; }
footer p { font-size: 10px; color: #99a9b3; margin: 12px 0 0; }
.footer-links { display: flex; gap: 25px; font-size: 11px; color: #768f9f; }
.replay-section { position: relative; margin-top: 12px; }
.anchor-alias { position: absolute; top: 0; }
.replay-heading { margin-bottom: 24px; }
.replay-heading .eyebrow { margin-bottom: 8px; }
.replay-heading h2 { font-size: clamp(27px, 3vw, 34px); }
.replay-heading > p:last-child { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.recorded-replay { background: #fff; border: 1px solid #cddce3; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 36px #243e5010; }
.run-header { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid #e2e9ed; }
.run-header .small-label { margin-bottom: 5px; }
.run-header h3 { font-size: 19px; letter-spacing: -.025em; }
.run-header #run-task { font-size: 13px; color: #617b8c; margin: 6px 0 0; }
.run-header > a { white-space: nowrap; }
.run-control { display: flex; align-items: center; gap: 9px; padding: 12px 24px; background: #f2f6f8; border-bottom: 1px solid #e2eaef; }
.run-control button { border: 1px solid #cbdbe5; background: #fff; color: #426982; min-width: 42px; min-height: 39px; border-radius: 4px; font-size: 14px; }
#run-position { flex: 1; min-width: 0; padding: 8px 10px; max-width: 700px; min-height: 39px; font-size: 14px; border: 1px solid #cbdbe5; border-radius: 4px; color: #3b607a; background: #fff; }
.phase-buttons { display: flex; margin-left: auto; gap: 5px; }
.phase-buttons button { padding: 5px 12px; }
.phase-buttons button[aria-pressed="true"] { color: #204f74; background: #e1edf6; border-color: #a8c3d7; }
.run-workspace { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(290px,1fr); }
.run-page { min-width: 0; padding: 22px; }
.run-page > .small-label { margin-bottom: 9px; }
#run-image { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #f3f7fa; border: 1px solid #e0e8ee; margin-bottom: 23px; }
#run-action { display: block; padding: 12px 14px; background: #eef5fa; border-left: 2px solid #7ca6c2; font: 13px/1.8 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 150px; overflow: auto; color: #315b79; }
.run-workspace aside { border-left: 1px solid #e3ebef; padding: 22px; min-width: 0; }
#run-memory { font: 12px/1.85 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; background: #f0f7f4; border: 1px solid #dae9e1; color: #3d6e5d; padding: 14px; margin: 10px 0 0; max-height: 320px; overflow: auto; }
.run-state { border-top: 1px solid #e2eaef; padding-top: 13px; margin-top: 18px; }
.run-state p { font-size: 12px; color: #587185; margin: 4px 0; }
#run-outcome { font-weight: 600; }
#run-outcome[data-status="success"] { color: #267758; }
#run-outcome[data-status="failure"] { color: #985735; }
.run-note, .run-image-notice { font-size: 11px; color: #718896; line-height: 1.8; }
.run-note { padding: 12px 24px; margin: 0; border-top: 1px solid #e2ebf0; }
.section-title > p:not(.eyebrow), .exposure-section p:not(.eyebrow), .start-block > div > p { color: #617888; }
.principles p { color: #61796e; }
.build-flow p, .news-section li > a { color: #627b8c; }
@media (max-width: 1000px) {
  .exposure-section { gap: 40px; }
  .method-library { gap: 22px; }
  .method-library > a { font-size: 20px; }
  .start-block { gap: 40px; }
  .command-block pre { font-size: 10px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 42px); }
  .site-header { width: calc(100% - 42px); height: 72px; }
  .site-header nav { gap: 20px; font-size: 12px; }
  .site-header nav a:nth-child(2) { display: none; }
  .brand { font-size: 19px; }
  .hero { padding: 50px 0 35px; }
  .run-header { align-items: flex-start; }
  .hero h1 { font-size: 60px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 70px 0; }
  .section-title > p:not(.eyebrow) { font-size: 14px; }
  .effects-figure { padding: 16px 12px; }
  .exposure-section { grid-template-columns: 1fr; gap: 29px; padding-top: 48px; margin-top: 45px; }
  .exposure-section h3 br { display: none; }
  .principles { gap: 24px; }
  .principles h3 { font-size: 17px; }
  .principles p { font-size: 12px; }
  .architecture { padding: 14px; }
  .support-row { justify-content: flex-start; gap: 17px 28px; }
  .method-library { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
  .build-flow { gap: 14px; grid-template-columns: 1fr 18px 1fr 18px 1fr; }
  .build-flow h3 { font-size: 16px; }
  .start-block { grid-template-columns: 1fr; gap: 27px; }
  .command-block pre { font-size: 12px; }
  .doc-links { gap: 20px; }
  .news-section { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .run-workspace { grid-template-columns: 1fr; }
  .run-workspace aside { border-left: 0; border-top: 1px solid #e2ebf0; }
  #run-memory { max-height: 210px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { width: calc(100% - 32px); height: 65px; gap: 20px; }
  .site-header nav a:not(.nav-github) { display: none; }
  .nav-github { border: 0; padding-left: 0; }
  .brand img { width: 29px; height: 29px; }
  .hero { padding: 43px 0 29px; }
  .eyebrow { font-size: 8px; letter-spacing: .11em; }
  .hero h1 { font-size: 49px; }
  .hero-lead { font-size: 14px; margin-top: 22px; }
  .hero-lead br { display: none; }
  .resource-links { gap: 7px; }
  .resource-links a { padding: 6px 11px; font-size: 10px; }
  .resource-links span { font-size: 12px; }
  .small-label { font-size: 8px; }
  .section { padding: 55px 0; }
  h2 { font-size: 30px; }
  .section-title { margin-bottom: 29px; }
  .section-title > p:not(.eyebrow) { font-size: 13px; margin-top: 18px; }
  .effects-figure { padding: 12px 8px; overflow: hidden; }
  .effects-figure a { display: block; overflow-x: auto; }
  .effects-figure img { min-width: 680px; max-width: none; }
  figcaption, .effects-figure figcaption { font-size: 9px; text-align: left; }
  .research-link { font-size: 11px; }
  .exposure-section h3 { font-size: 28px; }
  .exposure-section p:not(.eyebrow) { font-size: 13px; }
  .principles { grid-template-columns: 1fr; gap: 24px; margin: 32px 0; }
  .principles article { padding-top: 15px; }
  .principles h3 { font-size: 19px; margin-top: 10px; }
  .principles p { font-size: 13px; }
  .architecture { padding: 9px; }
  .architecture img { min-width: 650px; max-width: none; }
  .architecture { overflow-x: auto; }
  .architecture figcaption { width: 100%; min-width: 300px; }
  .support-row { gap: 14px 24px; }
  .support-row > .small-label { flex-basis: 100%; }
  .support-row > a { font-size: 13px; }
  .method-library { grid-template-columns: repeat(2,1fr); gap: 26px 20px; }
  .method-library > a { font-size: 22px; }
  .method-library small { font-size: 10px; }
  .adaptation-note { font-size: 9px; }
  .build-flow { display: block; padding: 29px 0; margin-top: 29px; }
  .build-flow > div { margin: 0 0 20px; display: grid; grid-template-columns: 24px 1fr; gap: 5px 12px; }
  .build-flow > div:last-child { margin-bottom: 0; }
  .build-flow > div > span { grid-row: 1/3; padding-top: 6px; }
  .build-flow h3 { margin: 0; font-size: 18px; }
  .build-flow p { grid-column: 2; }
  .flow-arrow { display: none; }
  .start-block { margin-top: 34px; }
  .start-block h3 { font-size: 26px; }
  .command-block pre { padding: 15px; font-size: 12px; }
  .command-header > span { font-size: 7px; }
  .command-block > p { font-size: 8px !important; line-height: 1.7; }
  .doc-links { grid-template-columns: 1fr; gap: 20px; margin-top: 35px; }
  .doc-links small { font-size: 11px; }
  .news-section { padding-bottom: 37px; }
  .news-section h2 { font-size: 27px; }
  .news-section li { grid-template-columns: 1fr; gap: 4px; font-size: 12px; }
  .news-section li > span { font-size: 9px; }
  footer { display: block; padding: 28px 0; }
  footer p { font-size: 9px; }
  .footer-links { margin-top: 21px; gap: 22px; font-size: 10px; }
  .run-header { padding: 16px; display: block; }
  .run-header > a { display: inline-block; margin-top: 10px; }
  .replay-heading { margin-bottom: 18px; }
  .replay-heading > p:last-child { font-size: 13px; }
  .run-header h3 { font-size: 17px; }
  .run-control { flex-wrap: wrap; padding: 10px 14px; }
  #run-position { max-width: calc(100% - 95px); font-size: 11px; }
  .phase-buttons { margin-left: 0; }
  .run-page, .run-workspace aside { padding: 15px; }
  #run-action { font-size: 11px; }
  #run-memory { font-size: 12px; }
  .run-note { padding: 11px 15px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
