@font-face { font-family: Manrope; src: url("/assets/manrope-latin.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/ibm-plex-mono-latin.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f5f8f4;
  --surface: #fff;
  --ink: #142620;
  --muted: #51645b;
  --line: #d7e1da;
  --pine: #16513c;
  --green: #28674e;
  --dark: #101e19;
  --lime: #c1e98c;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 Manrope, "Segoe UI", sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
strong, b, th { font-weight: 800; }
:focus-visible { outline: 3px solid #28795a; outline-offset: 3px; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 1; transform: translateY(-160%); background: var(--dark); color: white; padding: .65rem 1rem; border-radius: 5px; }
.skip:focus { transform: translateY(0); }
.shell { width: min(78rem, calc(100% - 5rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.1rem); }
.header nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: .91rem; font-weight: 750; }
.header nav a:not(.button):hover { color: var(--pine); text-decoration: underline; text-underline-offset: .22em; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; font-size: 1.4rem; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.brand b { color: var(--green); }
.mark { display: grid; width: 34px; height: 34px; grid: repeat(2, 6px) / repeat(2, 6px); place-content: center; gap: 3px; background: var(--pine); border-radius: 9px; }
.mark i { background: var(--lime); border-radius: 1px; }
.mark i:nth-child(2) { background: #f2f8ed; transform: translate(2px, -2px); }
.mark i:nth-child(3) { opacity: .5; }
.button { display: inline-flex; align-items: center; width: fit-content; min-height: 42px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: .91rem; font-weight: 800; line-height: 1.3; padding: .59rem .94rem; }
.primary { background: var(--pine); color: white; border-color: var(--pine); }
.primary:hover { background: #103f2e; }
.secondary { background: var(--surface); border-color: var(--line); }
.secondary:hover { background: #edf5ee; border-color: #adbfaf; }
.site-footer { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.site-footer .header { min-height: 78px; }
.site-footer .brand { font-size: 1.15rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 6vw, 5.4rem); align-items: center; padding-block: clamp(4.7rem, 9vw, 8.2rem); }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--pine); font-weight: 800; font-size: .82rem; letter-spacing: .075em; text-transform: uppercase; line-height: 1.35; }
.eyebrow::before { content: ""; width: 15px; height: 2px; background: var(--green); flex: none; }
.hero h1, .maintenance h1 { margin-top: 1.2rem; font-size: clamp(3rem, 5.24vw, 5.3rem); letter-spacing: -.072em; line-height: 1; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--green); }
.intro { color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.24rem); margin-block: 1.4rem 1.7rem; max-width: 32rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .62rem; }
.hero .button, .maintenance .button { min-height: 50px; padding: .71rem 1rem; font-size: .95rem; }
.hint { color: var(--muted); font-size: .87rem; margin-top: .78rem; }
.model { border-radius: 15px; background: var(--dark); color: #eaf3ed; border: 1px solid #304137; overflow: hidden; box-shadow: 0 18px 38px #183e2a20; }
.model-header { min-height: 58px; padding: .75rem 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; border-bottom: 1px solid #3a5146; font-size: .91rem; }
.model-header span { font: .76rem var(--mono); color: #b6c8be; }
.canvas { padding: 1.05rem clamp(.7rem, 2vw, 1.4rem) 1.8rem; min-height: 258px; background-color: #111e19; background-image: radial-gradient(circle, #365247 1px, transparent 1.2px); background-size: 16px 16px; }
.axis { display: flex; justify-content: space-between; color: #b4c8bd; font: .73rem var(--mono); margin-bottom: 2.25rem; }
.path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14px, .27fr) minmax(0, 1fr) minmax(14px, .27fr) minmax(0, 1fr); align-items: center; }
.node { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #1b3027; border: 1px solid #4a6555; border-radius: 7px; min-height: 64px; min-width: 0; padding: .54rem clamp(.45rem, 1.1vw, .8rem); }
.node b { font-size: .91rem; }
.node small { color: #b6c8be; font: .73rem/1.3 var(--mono); }
.node-emphasis { border-color: #acd775; background: #263b26; box-shadow: 0 0 0 3px #aeda7a17; }
.line { position: relative; border-top: 1px solid #83a995; }
.line::after { content: ""; position: absolute; width: 6px; height: 6px; border-right: 1px solid #83a995; border-top: 1px solid #83a995; transform: rotate(45deg); right: 2px; top: -3.5px; }
.branch { display: grid; justify-items: center; }
.branch > span { height: 28px; border-left: 1px dashed #83a995; }
.branch .node { width: min(48%, 155px); }
.model figcaption { display: flex; align-items: center; gap: .65rem; background: #172820; padding: .76rem 1.05rem; min-height: 54px; border-top: 1px solid #3a5146; color: #d3e6d8; font-size: .84rem; }
.model figcaption::before { content: ""; width: 1rem; flex: none; border-top: 1px solid var(--lime); }

.workflow, .evaluation { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.workflow h2, .evaluation h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.049em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.3rem; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; }
.steps article { padding: clamp(1.1rem, 2.7vw, 2rem); }
.steps article + article { border-left: 1px solid var(--line); }
.steps h3 { margin-bottom: .56rem; font-size: 1.09rem; }
.steps p, .evaluation-title p:last-child, .evaluation-card > p { color: var(--muted); font-size: .95rem; }
.evaluation { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.75rem; margin-top: 2.45rem; }
.evaluation-title h2 { margin-block: .48rem; }
.evaluation-title p:last-child { max-width: 31rem; }
.evaluation-card { min-width: 0; padding: .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.evaluation-card > p { padding: .72rem .35rem .5rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 345px; border-spacing: 0; text-align: left; font-size: .87rem; }
thead { background: #e9f3ea; color: var(--pine); }
th, td { padding: .52rem; border-bottom: 1px solid var(--line); }
td { font-variant-numeric: tabular-nums; }
.downloads { padding: 0 .35rem .25rem; color: var(--pine); font-weight: 800; font-size: .89rem; text-underline-offset: .21rem; }
.maintenance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(1.4rem, 5vw, 5rem); align-items: center; align-content: center; padding-block: clamp(3rem, 8vw, 7.2rem); }
.maintenance h1 { font-size: clamp(2.75rem, 5vw, 4.7rem); }
.maintenance-card { border: 1px solid #cee0d2; border-top: 4px solid var(--green); border-radius: 12px; background: #eef5ec; padding: clamp(1.15rem, 2.7vw, 2rem); }
.maintenance-card h2 { font-size: 1.2rem; letter-spacing: -.025em; }
.maintenance-card ul { margin-block: .75rem; padding-inline-start: 1.3rem; }
.maintenance-card li + li { margin-top: .34rem; }
.maintenance-card p { color: var(--muted); font-size: .93rem; }

@media (max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .hero, .maintenance { grid-template-columns: 1fr; gap: 1.85rem; padding-block: 3.1rem; }
  .hero h1 { font-size: clamp(3rem, 8.5vw, 4.9rem); }
  .model { max-width: 40rem; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 2rem); }
  .header { min-height: 63px; }
  .header .nav-workspace { display: none; }
  .hero, .maintenance { padding-block: 2.65rem; }
  .hero h1 { margin-top: .72rem; font-size: clamp(2.72rem, 11vw, 3.7rem); }
  .intro { margin-block: 1rem 1.27rem; }
  .model-header { padding-inline: .72rem; font-size: .83rem; }
  .model-header span { font-size: .7rem; }
  .node b { font-size: .83rem; }
  .node small { font-size: .68rem; }
  .canvas { min-height: 229px; }
  .axis { margin-bottom: 1.6rem; }
  .steps, .evaluation { grid-template-columns: 1fr; }
  .steps article + article { border-left: 0; border-top: 1px solid var(--line); }
}
