/* White surfaces, flat panels and blue accents inspired by the supplied theme. */
/* Unmodified IBM Plex fonts; see fonts/OFL.txt and fonts/README.md. */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/IBMPlexSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --background: #fff;
  --layer: #f5f6f8;
  --ink: #171b23;
  --muted: #596372;
  --line: #e0e4ea;
  --blue: #0f62fe;
  --blue-dark: #0043ce;
  --blue-light: #edf4ff;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--blue-dark); text-underline-offset: 4px; }
a:hover { color: #002d9c; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.7; }
pre, code, .mono { font-family: var(--mono); }
pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.7px; color: var(--muted); line-height: 1.6; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: -.5px; }
.brand-mark { width: 36px; height: 36px; display: grid; grid-auto-flow: column; place-content: center; background: var(--ink); color: #fff; font: 500 20px var(--mono); letter-spacing: -3px; padding-right: 3px; }
.brand-mark span { color: #83b3ff; }
.brand-note { color: #747d88; font-weight: 400; }
nav { display: flex; gap: 30px; align-items: center; }
nav a { font-size: 13px; text-decoration: none; color: var(--muted); padding-block: 12px; }
nav a:hover { color: var(--blue); }
nav .nav-repo { color: var(--ink); border-left: 1px solid var(--line); padding-left: 30px; }
nav span { margin-left: 9px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 88px 82px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; margin-right: 9px; vertical-align: 2px; }
h1 { margin-top: 26px; font-size: clamp(42px, 4.65vw, 66px); font-weight: 400; letter-spacing: -3.2px; line-height: 1.08; }
h1 em { font-style: normal; color: var(--blue); }
.hero-description { margin-top: 25px; font-size: 18px; line-height: 1.65; letter-spacing: -.2px; }
.hero-detail { margin-top: 14px; max-width: 440px; font-size: 14px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 48px; padding: 14px 19px; font-size: 13px; text-decoration: none; border: 1px solid var(--line); transition: background .15s ease; }
.button.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--ink); }
.button.secondary:hover { background: var(--layer); }
.experiment { min-width: 0; border: 1px solid #d6deea; background: #fafbfd; }
.experiment-top { display: flex; justify-content: space-between; gap: 12px; padding: 22px 24px 12px; align-items: center; }
.experiment-top .eyebrow { letter-spacing: 1px; font-size: 10px; }
.tag { font: 10px var(--mono); color: var(--blue-dark); background: #e9f1ff; padding: 5px 7px; white-space: nowrap; }
.experiment-intro { padding: 0 24px 22px; color: var(--muted); font-size: 12px; }
.state-tabs { display: flex; border-block: 1px solid var(--line); }
.state-tabs button { flex: 1; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 14px 4px; color: var(--muted); font: 10px var(--mono); min-height: 45px; }
.state-tabs button + button { border-left: 1px solid var(--line); }
.state-tabs button span { font: 12px var(--sans); margin-left: 6px; }
.state-tabs button:hover { background: var(--blue-light); }
.state-tabs button[aria-pressed="true"] { color: var(--blue-dark); border-bottom-color: var(--blue); background: #f0f5ff; }
.matrix-scene { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 35px 20px; min-height: 190px; background-image: radial-gradient(#d7dfeb .7px, transparent .7px); background-size: 15px 15px; }
.matrix-group { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.math-label { font: 12px var(--mono); color: var(--muted); }
.matrix { display: grid; position: relative; font: 18px var(--mono); font-variant-numeric: tabular-nums; gap: 16px 18px; padding: 9px 14px; min-width: 48px; text-align: center; background: #fafbfd; }
.matrix::before, .matrix::after { content: ""; position: absolute; top: 0; bottom: 0; width: 5px; border-block: 1px solid #7e8b9b; }
.matrix::before { left: 0; border-left: 1px solid #7e8b9b; }
.matrix::after { right: 0; border-right: 1px solid #7e8b9b; }
.matrix-square { grid-template-columns: repeat(2, minmax(30px, 1fr)); min-width: 142px; }
.matrix-column { grid-template-columns: 1fr; min-width: 55px; }
.operator { margin-top: 30px; font-size: 18px; color: #7e8b9b; }
.output-group .matrix { color: var(--blue-dark); background: var(--blue-light); }
.experiment-code { padding: 15px 24px; border-block: 1px solid var(--line); background: #fff; }
.code-label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.experiment-code code { font-size: 11px; color: var(--blue-dark); line-height: 1.8; }
.experiment-code code span { color: #566275; }
.state-explanation { display: flex; gap: 12px; padding: 19px 24px 10px; min-height: 90px; }
.state-symbol { color: var(--blue-dark); font-size: 19px; }
.state-explanation p { color: #485469; font-size: 12px; }
.experiment-note { font-size: 10px; color: var(--muted); padding: 0 24px 20px; line-height: 1.6; }
.platform-strip { border-block: 1px solid var(--line); }
.platform-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 23px; }
.platform-inner .eyebrow { font-size: 9px; letter-spacing: 1px; }
.platform-inner > div { display: flex; gap: 26px; font-size: 12px; font-weight: 500; }
.platform-inner p { font: 10px var(--mono); color: var(--muted); }
.platform-inner p span { color: #a4acb5; margin-inline: 8px; }
.section { padding-block: 88px; }
.section-heading { display: grid; grid-template-columns: 230px 1fr; gap: 36px; margin-bottom: 44px; }
.section-heading > .eyebrow { padding-top: 9px; }
h2 { font-size: clamp(29px, 3vw, 39px); font-weight: 400; line-height: 1.17; letter-spacing: -1.3px; }
.section-heading > div > p { font-size: 15px; color: var(--muted); max-width: 655px; margin-top: 18px; }
.runtime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.program-panel { min-width: 0; border: 1px solid var(--line); padding-bottom: 23px; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--line); font-size: 12px; }
.panel-top > .mono, .panel-top > span + span { font-size: 10px; color: var(--muted); }
.program-panel pre { font-size: 12px; line-height: 1.95; padding: 25px 22px; background: var(--layer); }
.syntax-key { color: #4a5870; }
.syntax-string { color: #0043ce; }
.syntax-number { color: #8a3800; }
.program-panel > p { font-size: 12px; color: var(--muted); margin: 20px 22px 13px; }
.program-panel > a { margin-inline: 22px; }
.text-link { font-size: 13px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 16px; line-height: 1.6; }
.text-link:hover { text-decoration: underline; }
.runtime-notes article { display: flex; gap: 22px; padding: 23px 0; border-top: 1px solid var(--line); }
.runtime-notes article:first-child { padding-top: 20px; }
.note-index { font: 11px var(--mono); color: var(--blue-dark); padding-top: 3px; }
h3 { font-size: 17px; font-weight: 500; line-height: 1.4; }
.runtime-notes p { font-size: 13px; color: var(--muted); margin-top: 9px; }
.opcode-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 27px; }
.opcode-row > span { font-size: 12px; color: var(--muted); margin-right: 16px; }
.opcode-row code { font-size: 10px; background: var(--layer); padding: 8px 11px; border: 1px solid var(--line); }
.control-section { padding-block: 76px; background: #f5f7fa; border-block: 1px solid var(--line); }
.control-flow { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; border: 1px solid #d5deeb; background: #fff; }
.control-flow li { padding: 26px; position: relative; }
.control-flow li + li { border-left: 1px solid #d5deeb; }
.control-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 33px; width: 21px; text-align: center; background: #fff; color: var(--blue); z-index: 1; }
.control-flow li > span { display: block; font: 10px var(--mono); color: var(--blue-dark); margin-bottom: 24px; }
.control-flow strong { display: block; font-size: 17px; font-weight: 500; }
.control-flow p { font-size: 12px; color: var(--muted); margin-top: 9px; }
.control-bottom { display: flex; gap: 60px; justify-content: space-between; align-items: center; margin-top: 26px; }
.control-bottom p { font-size: 12px; color: var(--muted); max-width: 820px; }
.control-bottom p strong { color: var(--ink); font-weight: 500; }
.control-bottom > a { flex-shrink: 0; }
.results-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.results-summary { border-top: 2px solid var(--blue); padding-top: 23px; }
.results-summary > .eyebrow { font-size: 10px; letter-spacing: .8px; }
.large-number { font-size: 77px; font-weight: 300; letter-spacing: -4px; margin: 12px 0 18px; line-height: 1.2; }
.large-number span { font-size: 13px; letter-spacing: 0; margin-left: 16px; color: var(--muted); }
.results-summary > p { font-size: 13px; color: var(--muted); }
.result-fact { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); margin-block: 23px 18px; padding-top: 21px; }
.result-fact strong { font: 23px var(--mono); color: var(--blue-dark); letter-spacing: -1px; }
.result-fact span { font-size: 10px; line-height: 1.6; color: var(--muted); }
.fine-print, .results-summary > .fine-print { font-size: 11px; color: var(--muted); line-height: 1.8; }
.results-table { min-width: 0; }
table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-size: 15px; margin-bottom: 25px; }
caption span { display: block; color: var(--muted); font-size: 11px; margin-top: 7px; }
th, td { padding: 18px 14px; text-align: right; border-bottom: 1px solid var(--line); }
thead th { background: var(--layer); font-size: 11px; font-weight: 500; color: var(--muted); }
th:first-child { text-align: left; }
tbody th { font-weight: 400; }
.highlight-column { background: var(--blue-light); color: var(--blue-dark); }
.results-table > p { margin-top: 21px; }
.results-table > a { margin-top: 17px; }
.result-details { margin-top: 35px; border-block: 1px solid var(--line); }
.result-details summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; padding: 19px 0; font-size: 13px; list-style: none; }
.result-details summary::-webkit-details-marker { display: none; }
.result-details summary span { color: var(--blue-dark); }
.result-details[open] summary span { transform: rotate(45deg); }
.result-details > div { max-width: 900px; padding-bottom: 23px; }
.result-details p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.start-section { background: var(--layer); padding-block: 70px; border-block: 1px solid var(--line); }
.start-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.start-grid h2 { margin-top: 20px; }
.start-grid > div > p:not(.eyebrow) { margin-top: 20px; max-width: 420px; }
.start-grid > div > p:not(.eyebrow):not(.fine-print) { color: var(--muted); font-size: 14px; }
.start-grid > div > a { margin-top: 22px; }
.install-panel { min-width: 0; border: 1px solid #d3dae4; background: #fff; }
.copy-button { background: transparent; color: var(--blue-dark); border: 1px solid var(--line); font-size: 11px; padding: 9px; min-height: 36px; }
.copy-button:hover { background: var(--blue-light); }
.install-panel pre { font-size: 12px; line-height: 2.2; padding: 25px 22px; }
.install-foot { border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); padding: 17px 22px; line-height: 1.6; }
.install-foot .status-dot { width: 5px; height: 5px; vertical-align: 1px; }
.papers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.paper-card { padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.paper-meta { display: flex; gap: 15px; flex-wrap: wrap; justify-content: space-between; font: 10px var(--mono); color: var(--muted); margin-bottom: 25px; }
.paper-meta > span:first-child { color: var(--blue-dark); }
.paper-card h3 { font-size: 23px; font-weight: 400; line-height: 1.35; letter-spacing: -.4px; }
.paper-card p { color: var(--muted); font-size: 13px; margin-top: 17px; }
.paper-links { display: flex; gap: 23px; align-items: center; margin-top: auto; padding-top: 30px; }
.paper-links > a:not(.text-link) { font-size: 11px; text-decoration: none; }
.research-note { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 29px; }
.research-note p { font-size: 11px; color: var(--muted); max-width: 800px; }
.research-note > a { flex-shrink: 0; font-size: 11px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 30px; }
.footer .brand { font-size: 13px; }
.footer p { font-size: 10px; color: var(--muted); line-height: 1.9; }
.footer p a { color: var(--muted); }
.footer > div > a:last-child { font-size: 12px; }
.skip-link { position: absolute; top: -100px; left: 15px; z-index: 10; padding: 12px 18px; background: var(--blue); color: #fff; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 1550px) { .hero { padding-block: 110px; gap: 90px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 35px; }
  h1 { font-size: 48px; letter-spacing: -2px; }
  .platform-inner { flex-wrap: wrap; }
  .platform-inner > p { flex-basis: 100%; }
  .section-heading { grid-template-columns: 170px 1fr; }
  .results-grid, .start-grid { gap: 40px; }
  .experiment-top { flex-wrap: wrap; }
  .matrix-scene { gap: 10px; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 55px; }
  h1 { font-size: clamp(43px, 8vw, 66px); }
  .hero-detail { max-width: 540px; }
  .experiment { max-width: 590px; width: 100%; }
  .experiment-top { flex-wrap: nowrap; }
  .matrix-scene { gap: 24px; }
  .section { padding-block: 60px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .runtime-grid, .results-grid, .start-grid { grid-template-columns: 1fr; gap: 35px; }
  .control-section { padding-block: 55px; }
  .control-flow { grid-template-columns: repeat(2, 1fr); }
  .control-flow li:nth-child(3) { border-left: 0; }
  .control-flow li:nth-child(n+3) { border-top: 1px solid #d5deeb; }
  .control-flow li:nth-child(2)::after { display: none; }
  .control-bottom, .research-note { flex-direction: column; align-items: flex-start; gap: 18px; }
  .results-summary { max-width: 500px; }
  .start-grid > div > p:not(.eyebrow) { max-width: 620px; }
  .papers-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 16px 8px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; padding-top: 10px; }
  nav a { font-size: 12px; }
  nav .nav-repo { padding-left: 16px; }
  .hero { padding-block: 38px; }
  h1 { font-size: clamp(37px, 10.1vw, 53px); letter-spacing: -1.8px; }
  .hero-description { font-size: 16px; }
  .desktop-break { display: none; }
  .button { padding-inline: 13px; gap: 15px; font-size: 12px; }
  .experiment-top { padding: 18px 15px 12px; flex-wrap: wrap; }
  .experiment-intro { padding-inline: 15px; }
  .matrix-scene { gap: 9px; padding-inline: 10px; }
  .matrix { font-size: 15px; padding: 9px 10px; }
  .matrix-square { min-width: 113px; gap: 16px 12px; }
  .matrix-column { min-width: 41px; }
  .operator { font-size: 15px; }
  .experiment-code, .state-explanation { padding-inline: 15px; }
  .experiment-note { padding-inline: 15px; }
  .platform-inner > div { flex-wrap: wrap; gap: 18px; }
  .platform-inner p { font-size: 9px; line-height: 1.8; }
  .platform-inner p span { margin-inline: 3px; }
  .control-flow li { padding: 20px 15px; }
  .control-flow strong { font-size: 15px; }
  .control-flow p { font-size: 11px; }
  .control-flow p br { display: none; }
  .panel-top { padding-inline: 16px; }
  .program-panel pre, .install-panel pre { padding-inline: 16px; font-size: 11px; }
  .program-panel > p { margin-inline: 16px; }
  .program-panel > a { margin-inline: 16px; }
  th, td { font-size: 11px; padding: 17px 7px; }
  thead th { font-size: 10px; }
  .result-fact { gap: 16px; }
  .paper-card { padding: 23px; }
  .paper-card h3 { font-size: 21px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }