@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/jetbrains-mono-400-cyr.8312ebd08aa4.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/jetbrains-mono-400-lat.7e96ae935749.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/onest-400-cyr.862bf682fea8.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/onest-400-lat.7f3bd891acfc.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/onest-500-cyr.862bf682fea8.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/onest-500-lat.7f3bd891acfc.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/unbounded-600-cyr.c23df50d6078.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/unbounded-600-lat.7bb1ca37fb9f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/unbounded-700-cyr.87c60f726d27.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/unbounded-700-lat.50473a4866e0.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3f2ee;
  --paper-2: #f8f7f3;
  --ink: #111214;
  --ink-2: #55575c;
  --line: #d9d7d0;
  --accent: #ff5b1f;
  --blue: #2f5bff;
  --f-display: "Unbounded", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 58px);
  --col: calc((min(100vw, 1716px) - 2 * var(--pad)) / 12);
}

@media (min-width: 1716px) {
  :root { --pad: calc((100vw - 1600px) / 2); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--f-text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: fixed; z-index: 80; top: 12px; left: 12px;
  padding: 8px 12px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.grid-bg {
  position: fixed; inset: 0 var(--pad); z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 12));
  border-right: 1px solid var(--line); opacity: 0.55;
}
.wrap { position: relative; z-index: 1; padding: 0 var(--pad); }
.mono { font-family: var(--f-mono); font-size: 13px; }
.idx { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.idx b { color: var(--accent); font-weight: 500; }

header {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 92px; padding: 0 var(--pad);
}
.logo { font: 600 20px/1 var(--f-display); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.logo-name { letter-spacing: -0.04em; font-size: clamp(15px, 4.05vw, 20px); padding-right: 24px; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 28px; font-size: 17px; }
nav a { text-decoration: none; }
nav a:hover { color: var(--blue); }
.h-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding-left: 24px; }
.mode {
  font: 400 13px/1 var(--f-mono); color: var(--ink-2); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
}
.mode:hover { color: var(--blue); border-color: var(--blue); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
  font: 500 16px/1 var(--f-text); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.pill-accent { background: var(--accent); color: var(--ink); }
.pill-ghost { border: 1px solid var(--ink); background: transparent; }
.pill-dark { background: var(--ink); color: var(--paper); }
.tg-ico { width: 18px; height: 18px; flex: none; }
.menu { display: none; }
.burger {
  width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; list-style: none; cursor: pointer;
}
.burger::-webkit-details-marker { display: none; }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); box-shadow: 0 5px 0 var(--ink), 0 -5px 0 var(--ink); }
.menu-panel {
  position: absolute; right: var(--pad); top: 68px; z-index: 30;
  display: grid; gap: 12px; min-width: 230px; padding: 16px;
  background: var(--paper); border: 1px solid var(--ink);
}
.menu-panel a { text-decoration: none; }

.hero { position: relative; overflow: clip; min-height: calc(100vh - 92px); display: flex; flex-direction: column; padding-bottom: 28px; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; }
.h1 { font: 600 clamp(31px, 4.45vw, 66px)/1.04 var(--f-display); letter-spacing: -0.035em; margin: clamp(28px, 4.2vh, 48px) 0 0; }
.h1 .l { display: block; white-space: nowrap; }
.h1 .l2 { padding-left: calc(var(--col) * 1); }
.h1 .l3 { padding-left: calc(var(--col) * 3); }
.h1 .arr { color: var(--blue); font-weight: 500; margin-right: 0.18em; }
.h1 .gap { display: inline-block; width: calc(var(--col) * 1); }
.rot { position: relative; display: inline-block; vertical-align: bottom; height: 1.12em; overflow: hidden; }
.rot-list { display: block; transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1); }
.rot-list span { display: block; height: 1.12em; line-height: 1.08; }
.rot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.14em; background: var(--accent); }
.hero-row { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: clamp(36px, 5.5vh, 64px); align-items: start; flex: 1; }
.hero-copy { grid-column: 1 / span 5; padding-right: 28px; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 34em; margin: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ctas .pill { height: 48px; padding: 0 22px; font-size: 17px; }
.proofs { display: grid; margin-top: 30px; border-top: 1px solid var(--ink); }
.proof { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.proof .mono { color: var(--accent); padding-top: 2px; }
.proof b { font-weight: 600; }

.log { grid-column: 7 / span 6; background: var(--ink); color: #e9e7e1; border-radius: 14px; overflow: hidden; }
.log-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #2a2c30; font: 400 12.5px/1 var(--f-mono); color: #9ea1a8; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3c41; }
.live { display: inline-flex; align-items: center; gap: 7px; color: #e9e7e1; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.log ol { list-style: none; margin: 0; padding: 12px 16px 14px; font: 400 13.5px/1.55 var(--f-mono); min-height: 292px; }
.log li { display: grid; grid-template-columns: 108px 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px dashed #26282c; }
.log li:last-child { border-bottom: 0; }
.log .tag { color: var(--accent); white-space: nowrap; }
.log .ar { color: #7f9bff; }
.log .ok { color: #fff; }
.log-foot { padding: 10px 16px 12px; border-top: 1px solid #2a2c30; font: 400 12px/1.4 var(--f-mono); color: #8b8e95; }
html.js-motion .log li.prep:not(.on) { opacity: 0; transform: translateY(6px); }
html.js-motion .log li { transition: opacity 0.35s, transform 0.35s; }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -2px; animation: pulse 1s steps(1) infinite; }

.arc { position: absolute; right: calc(var(--pad) * -0.2); top: -40px; width: min(62vw, 880px); height: auto; pointer-events: none; z-index: -1; }
.arc path.draw { fill: none; stroke: var(--blue); stroke-width: 1; opacity: 0.45; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s 0.3s ease-out forwards; }
.arc path.tick { fill: none; stroke: var(--blue); stroke-width: 1; opacity: 0.45; stroke-dasharray: 4 6; }
.arc circle { fill: var(--paper); stroke: var(--blue); stroke-width: 1; opacity: 0.7; }
.arc text { font: 400 11px var(--f-mono); fill: var(--blue); opacity: 0.8; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; margin-top: 40px; font-size: 15px; }
.scroll { grid-column: 1 / span 4; display: flex; align-items: center; gap: 12px; color: var(--ink-2); text-decoration: none; }
.scroll::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.scroll i { display: block; width: 44px; height: 1px; background: var(--ink-2); }
.city { grid-column: 5 / span 3; color: var(--ink-2); }
.chan, .chan2 { line-height: 1.55; }
.chan { grid-column: 9 / span 2; text-align: right; }
.chan2 { grid-column: 11 / span 2; text-align: right; }
.chan a, .chan2 a { text-decoration: none; }
.chan a:hover, .chan2 a:hover { color: var(--blue); }

.band { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-top: 10px; }
.chip { font: 400 13px/1 var(--f-mono); padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }

.block { padding: 96px 0 20px; }
.sec-kicker { margin: 0 0 18px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.sec-title { margin: 0; font: 700 clamp(56px, 9vw, 132px)/0.9 var(--f-display); letter-spacing: -0.05em; }
.sec-title .idx2 { font: 500 0.22em/1 var(--f-mono); letter-spacing: 0; color: var(--accent); vertical-align: top; margin-right: 0.6em; position: relative; top: 0.35em; }
.sec-count { font: 600 clamp(28px, 4vw, 56px)/1 var(--f-display); letter-spacing: -0.04em; }

.svc-group { border-top: 1px solid var(--ink); padding: 26px 0 8px; }
.svc-group h3 { margin: 0 0 18px; font: 600 clamp(22px, 2vw, 30px)/1.15 var(--f-display); letter-spacing: -0.03em; }
.svc-grid { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 28px; }
.svc-grid h4 { margin: 0 0 10px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.svc-grid p, .svc-grid li { font-size: 15.5px; line-height: 1.45; }
.svc-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc-grid li { padding-left: 16px; position: relative; }
.svc-grid li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.more { color: var(--blue); font-weight: 500; }
.fine { margin-top: 28px; color: var(--ink-2); font: 400 12.5px/1.5 var(--f-mono); max-width: 90ch; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 0; }
.filters button { font: 400 13px/1 var(--f-mono); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.filters button.act, .filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button:hover { border-color: var(--ink); }
.filter-empty { margin: 28px 0; color: var(--ink-2); }

.case { margin-top: 48px; }
.case-row { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.case-title { grid-column: 1 / span 7; margin: 0; font: 600 clamp(26px, 2.9vw, 42px)/1.12 var(--f-display); letter-spacing: -0.03em; padding-right: 24px; }
.case-sub { display: block; margin-top: 14px; font: 500 15px/1.4 var(--f-mono); color: var(--ink-2); letter-spacing: 0; }
.case-sub b { color: var(--ink); font-weight: 500; }
.case-desc { grid-column: 9 / span 4; margin: 0; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; }
.case-tagline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 12px; }
.case-tagline .t { font: 400 13px/1.4 var(--f-mono); color: var(--accent); }
.plus { width: 14px; height: 14px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--ink); }
.plus::before { left: 6px; top: 0; width: 2px; height: 14px; }
.plus::after { top: 6px; left: 0; height: 2px; width: 14px; }

.case-shot { margin: 0; }
.case-shot img { width: 100%; height: auto; border: 1px solid var(--ink); border-radius: 4px; }
.case-shot figcaption { margin-top: 10px; font: 400 13px/1.45 var(--f-mono); color: var(--ink-2); }
.shots { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; padding: 28px 16px; border: 1px solid var(--ink); border-radius: 4px; background: radial-gradient(circle, #cfccc3 1px, transparent 1.2px) 0 0 / 22px 22px, var(--paper-2); }
.shots img { width: min(220px, 46%); height: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }

.scheme { position: relative; border: 1px solid var(--ink); border-radius: 4px; background: radial-gradient(circle, #cfccc3 1px, transparent 1.2px) 0 0 / 22px 22px, var(--paper-2); display: grid; grid-template-columns: 3fr 9fr; min-height: 320px; margin-top: 8px; }
.sch-lbl { position: absolute; top: 14px; left: 16px; font: 400 12px/1 var(--f-mono); color: var(--ink-2); }
.sch-lbl b { color: var(--blue); font-weight: 500; }
.was, .now { padding: 52px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.was { border-right: 1px dashed #bdb9ae; }
.col-h { font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.was .col-h { color: #8c8a84; }
.now .col-h { color: var(--blue); }
.node { position: relative; font: 500 14.5px/1.3 var(--f-text); padding: 11px 14px; border-radius: 8px; background: var(--paper); border: 1px solid var(--ink); }
.was .node { border: 1px dashed #a9a59a; color: #7a786f; background: transparent; }
.was .node + .node::before { content: ""; position: absolute; left: 22px; top: -13px; height: 12px; border-left: 1px dashed #a9a59a; }
.was .x { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.flow .node { border-color: var(--blue); }
.flow .node.hot { background: var(--blue); color: #fff; }
.flow .node.res { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.link { width: 26px; height: 1px; background: var(--blue); position: relative; flex: none; transform-origin: left center; }
.link::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid var(--blue); border-right: 0; }
html.js-motion .scheme:not(.in) .link { transform: scaleX(0); }
html.js-motion .scheme.in .link { animation: growx 0.6s both; }
@keyframes growx { from { transform: scaleX(0); } }
.side { margin-top: 8px; font: 400 13px/1.45 var(--f-mono); color: var(--ink-2); }
.base { margin-top: auto; display: flex; align-items: center; gap: 10px; font: 400 13px/1.45 var(--f-mono); color: var(--ink-2); padding-top: 18px; border-top: 1px solid var(--line); }
.base i { width: 10px; height: 10px; border: 1px solid var(--blue); transform: rotate(45deg); flex: none; }
.now-cap { margin: 4px 0 0; font-size: 17px; line-height: 1.45; max-width: 40em; }
.now-cap b { font-weight: 600; }

.passport { display: grid; grid-template-columns: repeat(12, 1fr); border-bottom: 1px solid var(--ink); }
.pp { padding: 20px 20px 24px 0; border-top: 1px solid var(--line); }
.pp + .pp { padding-left: 20px; border-left: 1px solid var(--line); }
.pp h4 { margin: 0 0 12px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.pp p, .pp li { margin: 0; font-size: 15.5px; line-height: 1.45; }
.pp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pp li { padding-left: 16px; position: relative; }
.pp li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.pp-task { grid-column: span 3; }
.pp-ind { grid-column: span 2; }
.pp-done { grid-column: span 4; }
.pp-stack { grid-column: span 3; }
.passport.cols-3 .pp-task { grid-column: span 4; }
.passport.cols-3 .pp-done { grid-column: span 5; }
.passport.cols-3 .pp-stack { grid-column: span 3; }
.passport.cols-2 .pp-task { grid-column: span 7; }
.passport.cols-2 .pp-stack { grid-column: span 5; }
.passport.stack-only .pp-stack { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
.tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.tile { font: 400 12.5px/1 var(--f-mono); padding: 8px 10px; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); }
.tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; font: 400 13px/1 var(--f-mono); color: var(--blue); }
.pp-note { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }
.counter { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 0 0; }
.counter .n { font: 500 clamp(48px, 5.4vw, 80px)/0.9 var(--f-display); letter-spacing: -0.04em; display: flex; gap: 0.12em; }
.counter .n small { font: 400 0.32em/1 var(--f-mono); letter-spacing: 0; margin-top: 0.25em; color: var(--ink-2); }
.all { font-size: 20px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.all span { color: var(--accent); font-size: 24px; }

.cta-strip { margin: 72px 0 0; padding: 44px 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; gap: 18px 0; }
.cta-strip > div:first-child,
.cta-strip h2, .cta-strip h3 { grid-column: 1 / span 7; }
.cta-strip h2, .cta-strip h3 { margin: 0; font: 600 clamp(26px, 3vw, 44px)/1.1 var(--f-display); letter-spacing: -0.03em; }
.cta-strip .idx { margin: 0 0 10px; }
.cta-strip .r { grid-column: 9 / span 4; display: grid; gap: 12px; }
.cta-strip p { margin: 0; font-size: 16px; color: var(--ink-2); }
.brief { list-style: none; margin: 0; padding: 0; counter-reset: b; border-top: 1px solid var(--ink); }
.brief li { counter-increment: b; display: grid; grid-template-columns: 40px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
.brief li::before { content: "0" counter(b); font: 500 13px/1.9 var(--f-mono); color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin: 8px 0 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid var(--ink); padding: 18px 8px 8px 0; }
.steps h3 { margin: 10px 0 8px; font: 600 20px/1.2 var(--f-display); letter-spacing: -0.03em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.legal { margin-top: 22px; color: var(--ink-2); }

.team-lead { max-width: 62ch; margin: 14px 0 28px; font-size: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.team-card { min-width: 0; padding: 22px 18px 28px 0; border-right: 1px solid var(--line); }
.team-card:last-child { border-right: 0; padding-right: 0; }
.team-card + .team-card { padding-left: 22px; }
.team-card h3 { margin: 18px 0 8px; font: 600 26px/1.15 var(--f-display); letter-spacing: -0.03em; }
.team-card .role { margin: 0 0 14px; color: var(--blue); font-weight: 500; }
.team-card ol { margin: 0; padding: 0; list-style: none; counter-reset: fact; display: grid; gap: 10px; }
.team-card li { counter-increment: fact; display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 15.5px; line-height: 1.45; }
.team-card li::before { content: "0" counter(fact); font: 500 13px/1.4 var(--f-mono); color: var(--accent); }
.stack-line, .edu, .team-note { margin: 14px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.stack-line b { display: block; margin-bottom: 4px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.team-card .more { display: inline-block; margin-top: 16px; }
.team-note { margin-top: 22px; max-width: 78ch; }
.team-geo { margin: 8px 0 0; color: var(--ink-2); }
.mark {
  width: 88px; height: 88px; border: 1px solid var(--ink); position: relative;
  display: flex; align-items: center; justify-content: center;
  font: 600 34px/1 var(--f-display); letter-spacing: -0.04em; background: var(--paper);
}
.team-card .mark { margin-bottom: 10px; }
.mark span {
  position: absolute; left: 0; top: 100%; margin-top: -8px;
  width: max-content; white-space: nowrap;
  padding: 0 6px; background: var(--paper); color: var(--accent);
  font: 400 12px/1.2 var(--f-mono); letter-spacing: 0;
}
.hero-person { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; }
.hero-person .mark { width: 104px; height: 104px; font-size: 42px; flex: none; }
.person-name { margin: 0; font: 500 18px/1.35 var(--f-text); }
.gh-line { margin: 18px 0 0; font: 400 14px/1.45 var(--f-mono); }
.who { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
.who h2 { margin: 8px 0 12px; font: 600 clamp(28px, 3vw, 42px)/1.1 var(--f-display); letter-spacing: -0.03em; }
.who p { margin: 0 0 12px; }

.faq details { border-top: 1px solid var(--line); }
.faq summary { padding: 16px 0; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .glossary p { margin: 0; padding: 0 0 16px; max-width: 72ch; color: var(--ink-2); }
.glossary { margin-top: 28px; border-top: 1px solid var(--ink); }
.glossary summary { padding: 16px 0; cursor: pointer; font: 500 15px/1.4 var(--f-mono); }

.timeline { display: grid; margin-top: 8px; }
.tl { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--ink); }
.tl time, .tl .when { font: 400 13px/1.4 var(--f-mono); color: var(--ink-2); }
.tl h3 { margin: 0 0 6px; font: 600 26px/1.15 var(--f-display); letter-spacing: -0.03em; }
.tl .role { margin: 0 0 8px; color: var(--blue); font-weight: 500; }
.tl p { margin: 0; color: var(--ink-2); }

.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.stack-grid article { border-top: 1px solid var(--ink); padding-top: 16px; }
.stack-grid h3 { margin: 0 0 12px; font: 600 20px/1.2 var(--f-display); }

footer.site-foot { padding: 28px 0 40px; display: flex; justify-content: space-between; gap: 12px; font: 400 13px/1.5 var(--f-mono); color: var(--ink-2); border-top: 1px solid var(--line); }
.mbar { display: none; }

.error-page { min-height: 100vh; display: grid; align-content: center; padding: 48px var(--pad) 80px; }
.error-page h1 { margin: 12px 0; font: 600 clamp(40px, 7vw, 84px)/1.02 var(--f-display); letter-spacing: -0.045em; max-width: 12ch; }
.error-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

@media (max-width: 980px) {
  nav, .h-right .pill, .h-right .mode { display: none; }
  header { grid-template-columns: 1fr auto; height: 72px; }
  .menu { display: block; }
  .hero { min-height: auto; }
  .hero-meta .idx:last-child { display: none; }
  .h1 { font-size: clamp(26px, 7.4vw, 48px); line-height: 1.1; margin-top: 22px; }
  .h1 .l2 { padding-left: 0; }
  .h1 .l3 { padding-left: calc(var(--col) * 2); }
  .h1 .gap { display: block; width: 0; height: 0; }
  .h1 .l { white-space: normal; }
  .hero-row { display: flex; flex-direction: column; margin-top: 22px; }
  .hero-copy { padding-right: 0; }
  .log { order: -1; margin: 0 0 26px; }
  .log ol { min-height: 0; }
  .log li { grid-template-columns: 104px 1fr; font-size: 12.5px; }
  .log li:nth-child(n+5) { display: none; }
  .log-foot { display: none; }
  .lt-long { display: none; }
  .arc { width: 110vw; right: -55vw; top: 150px; opacity: 0.55; }
  .hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
  .chan, .chan2 { text-align: left; }
  .chan2 { display: none; }
  .block { padding-top: 64px; }
  .sec-title { font-size: clamp(48px, 16vw, 72px); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 18px var(--pad) 4px; scrollbar-width: none; }
  .filters button { flex: none; }
  .case-row, .svc-grid, .who, .tl, .stack-grid, .cta-strip, .steps, .team-grid { display: block; }
  .team-card, .team-card + .team-card { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-person { align-items: flex-start; }
  .case-desc, .cta-strip .r, .who > div + div { margin-top: 16px; }
  .steps li { margin-top: 8px; }
  .scheme { grid-template-columns: 1fr; }
  .was { border-right: 0; border-bottom: 1px dashed #bdb9ae; padding-bottom: 22px; }
  .was, .now { padding: 44px 16px 20px; }
  .flow { flex-direction: column; align-items: flex-start; gap: 0; }
  .link { width: 1px; height: 18px; margin-left: 22px; transform-origin: top center; }
  .link::after { right: auto; top: auto; bottom: -1px; left: -4px; border: 4.5px solid transparent; border-top: 7px solid var(--blue); border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 0; }
  html.js-motion .scheme:not(.in) .link { transform: scaleY(0); }
  html.js-motion .scheme.in .link { animation: growy 0.6s both; }
  .passport { display: block; }
  .pp, .pp + .pp { padding: 16px 0; border-left: 0; }
  .counter .all { font-size: 17px; }
  .cta-strip { margin-top: 48px; }
  footer.site-foot { flex-direction: column; gap: 6px; }
  body:has(.mbar) footer.site-foot { padding-bottom: 110px; }
  .mbar {
    display: grid; grid-template-columns: auto 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(243, 242, 238, 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--ink);
  }
  .mbar a { height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--f-text); text-decoration: none; }
  .mbar .tg { padding: 0 20px; border: 1px solid var(--ink); background: transparent; }
  .mbar .go { background: var(--accent); color: var(--ink); }
}

@media (max-width: 700px) {
  .sec-title { font-size: clamp(36px, 10.2vw, 52px); }
}

@keyframes growy { from { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .arc path.draw { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

@media print {
  .grid-bg, .mbar, .arc, .filters, .menu, header .pill { display: none !important; }
  body { background: #fff; }
  .case, .tl, .svc-group { break-inside: avoid; }
}
