@font-face {
  font-family:Plex Sans;
  src:url('/assets/fonts/IBMPlexSans-Regular.woff2') format('woff2');
  font-weight:400;
  font-display:swap}
@font-face {
  font-family:Plex Sans;
  src:url('/assets/fonts/IBMPlexSans-Medium.woff2') format('woff2');
  font-weight:500;
  font-display:swap}
@font-face {
  font-family:Plex Sans;
  src:url('/assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2');
  font-weight:600 900;
  font-display:swap}
@font-face {
  font-family:Plex Mono;
  src:url('/assets/fonts/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight:400;
  font-display:swap}
@font-face {
  font-family:Plex Mono;
  src:url('/assets/fonts/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight:500;
  font-display:swap}
@font-face {
  font-family:Plex Mono;
  src:url('/assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2');
  font-weight:600 900;
  font-display:swap}
* {
  box-sizing:border-box}
html {
  scroll-behavior:smooth;
  scroll-padding-top:28px}
body {
  --bg:#f5f5f7;
  --surface:#fff;
  --text:#1d1d1f;
  --muted:#515154;
  --accent:#0066cc;
  --line:#d2d2d7;
  --radius:24px;
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:18px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body[data-theme="dark"] {
  --bg:#111111;
  --surface:#1b1b1b;
  --text:#f3f3f3;
  --muted:#b1b1b1;
  --accent:#daff61;
  --line:#484848;
  --radius:8px;
  font-family:Plex Sans,Arial,sans-serif}
a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px}
a:hover {
  text-decoration-thickness:2px}
a:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
  border-radius:4px}
img {
  max-width:100%;
  height:auto;
  display:block}
p {
  margin:0 0 20px}
h1,h2,h3 {
  line-height:1.08;
  letter-spacing:-.045em;
  margin:0 0 24px;
  overflow-wrap:anywhere}
h1 {
  font-size:clamp(42px,6.8vw,96px);
  font-weight:650}
h2 {
  font-size:clamp(34px,4.6vw,64px);
  font-weight:650}
h3 {
  font-size:24px;
  letter-spacing:-.025em}
main,.site-footer {
  width:min(1160px,calc(100% - 64px));
  margin:auto}
main {
  min-height:65vh}
.topbar {
  max-width:1440px;
  margin:auto;
  padding:14px 32px;
  display:flex;
  align-items:center;
  gap:24px;
  border-bottom:1px solid var(--line);
  font-size:14px}
.brand {
  font-weight:650;
  color:var(--text);
  text-decoration:none;
  font-size:20px;
  white-space:nowrap;
  min-height:44px;
  display:flex;
  align-items:center}
.navigation {
  flex:1}
.site-menu {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:0 18px}
.site-menu a {
  display:flex;
  align-items:center;
  min-height:44px;
  color:var(--muted);
  white-space:nowrap}
.theme-switch {
  display:flex;
  gap:2px;
  padding:3px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  flex-shrink:0}
.theme-switch a {
  min-height:44px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border-radius:20px;
  color:var(--muted);
  font-size:14px}
.theme-switch a[aria-current] {
  color:var(--surface);
  background:var(--text);
  text-decoration:none}
.skip-link {
  position:absolute;
  top:-100px;
  left:20px;
  padding:12px;
  background:var(--surface);
  z-index:5}
.skip-link:focus {
  top:12px}
.eyebrow {
  font-size:14px;
  line-height:1.5;
  font-weight:600;
  letter-spacing:.08em;
  color:var(--muted);
  margin:0 0 20px}
.hero {
  padding:72px 0 56px}
.hero h1 {
  font-size:clamp(52px,8vw,104px);
  margin-bottom:16px}
.hero-subtitle {
  font-size:clamp(25px,3.6vw,44px);
  line-height:1.15;
  letter-spacing:-.04em;
  font-weight:600;
  max-width:800px}
.hero-copy {
  font-size:20px;
  max-width:690px;
  color:var(--muted)}
.hero-goals {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  max-width:970px;
  margin:32px 0 24px}
.hero-goals article {
  padding-left:20px;
  border-left:2px solid var(--accent)}
.hero-goals h2 {
  font-size:22px;
  letter-spacing:-.025em;
  margin-bottom:10px}
.hero-goals p {
  font-size:17px;
  margin:0;
  max-width:420px}
.chapter {
  padding:88px 0;
  border-top:1px solid var(--line)}
.lead {
  font-size:clamp(20px,2.2vw,28px);
  line-height:1.45;
  max-width:900px;
  color:var(--muted);
  letter-spacing:-.02em}
.chapter>p:not(.eyebrow) {
  max-width:920px}
.author {
  display:grid;
  grid-template-columns:128px 1fr;
  gap:32px;
  align-items:center}
.author>img {
  border-radius:50%;
  width:128px;
  aspect-ratio:1;
  object-fit:cover}
.author h2 {
  font-size:clamp(32px,4vw,52px)}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:10px 20px;
  background:var(--accent);
  color:#fff;
  border-radius:24px;
  text-decoration:none;
  font-size:17px;
  font-weight:500;
  line-height:1.4}
.text-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 0;
  line-height:1.5}
.telegram img {
  width:24px;
  height:24px}
.actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 24px}
.inactive,.muted {
  color:var(--muted)}
.inactive {
  margin-top:20px;
  cursor:default}
.capability-map {
  margin:40px 0 24px}
.map-root {
  width:fit-content;
  margin:0 auto 42px;
  padding:20px 36px;
  background:var(--text);
  color:var(--surface);
  border-radius:var(--radius);
  font-size:28px;
  font-weight:600;
  position:relative}
.map-root span {
  display:block;
  font-size:14px;
  font-weight:400}
.map-root:after {
  content:'';
  position:absolute;
  height:20px;
  width:1px;
  background:var(--line);
  top:100%;
  left:50%}
.product-branches {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  position:relative}
.product-branches:before {
  content:'';
  position:absolute;
  top:-22px;
  left:calc((100% - 48px)/6);
  right:calc((100% - 48px)/6);
  border-top:1px solid var(--line)}
.product-node {
  background:var(--surface);
  padding:28px;
  border-radius:var(--radius);
  position:relative;
  min-width:0}
.product-node:before {
  content:'';
  position:absolute;
  top:-22px;
  height:22px;
  left:50%;
  border-left:1px solid var(--line)}
.product-node p,.product-node li {
  font-size:17px}
.product-node h3 {
  font-size:30px}
.branch-list {
  list-style:none;
  padding:0 0 0 18px;
  border-left:1px solid var(--line);
  margin:24px 0}
.branch-list li {
  padding:8px 0;
  position:relative}
.branch-list li:before {
  content:'';
  position:absolute;
  width:12px;
  left:-18px;
  top:22px;
  border-top:1px solid var(--line)}
.branch-list strong,.branch-list span {
  display:block}
.branch-list span {
  font-size:15px;
  color:var(--muted)}
.skill-branch {
  border-top:1px solid var(--line);
  padding-top:18px}
.skill-branch p {
  margin-bottom:10px}
.connected-list {
  padding-left:24px;
  margin:28px 0}
.connected-list li {
  position:relative;
  padding:0 0 0 8px;
  margin-bottom:36px}
.connected-list li:not(:last-child):after {
  content:'↓';
  position:absolute;
  top:100%;
  left:8px;
  color:var(--accent);
  line-height:36px}
.architecture-flow {
  list-style:none;
  padding:0;
  margin:36px 0;
  display:grid;
  gap:24px}
.architecture-flow li {
  padding:32px;
  background:var(--surface);
  border-radius:var(--radius)}
.architecture-flow p {
  max-width:860px;
  margin-bottom:0}
.architecture-flow .eyebrow {
  display:block}
.data-roles,.role-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px}
.data-roles article,.role-grid article {
  padding:28px;
  background:var(--surface);
  border-radius:var(--radius)}
.data-roles h3 {
  font-size:32px}
.principle,.pilot-caveat {
  padding:28px 32px;
  margin:32px 0;
  border-left:3px solid var(--accent);
  background:var(--surface);
  border-radius:0 var(--radius) var(--radius) 0}
.principle p:last-child,.pilot-caveat p:last-child {
  margin-bottom:0}
.process-intro h2>span {
  color:var(--muted)}
.phase-flow {
  padding:28px 0;
  border-bottom:1px solid var(--line)}
.phase-flow header {
  display:grid;
  grid-template-columns:150px 1fr;
  gap:24px}
.phase-flow header h3 {
  font-size:28px}
.phase-flow ol {
  list-style:none;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:24px 28px}
.phase-flow li {
  flex:1 0 110px;
  max-width:200px;
  position:relative;
  padding:16px 12px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  font-size:14px;
  overflow-wrap:anywhere}
.phase-flow li:not(:last-child):after {
  content:'→';
  position:absolute;
  left:calc(100% + 8px);
  top:16px;
  color:var(--muted)}
.phase-flow li span {
  display:block;
  color:var(--muted);
  font-size:14px;
  margin-top:8px}
.phase-flow li[data-phase-change="added"] {
  border-color:var(--accent)}
.role-grid h3 {
  font-size:22px}
.role-grid p {
  font-size:17px}
.role-grid .eyebrow {
  margin:0}
.contract-grid,.comparison-grid,.pilot-results {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin:36px 0 0}
.contract-grid article,.comparison-grid article,.pilot-results article {
  padding:32px;
  background:var(--surface);
  border-radius:var(--radius);
  min-width:0}
.contract-grid h3 {
  font-size:28px}
.metric-grid {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin:36px 0}
.metric-grid article {
  flex:1;
  min-width:240px;
  padding:28px;
  background:var(--surface);
  border-radius:var(--radius)}
.metric-grid strong {
  display:block;
  font-size:clamp(34px,4vw,50px);
  letter-spacing:-.055em;
  line-height:1.2;
  margin-bottom:12px}
.metric-grid span {
  display:block;
  color:var(--muted)}
dl {
  margin:0}
dt {
  font-size:14px;
  color:var(--muted)}
dd {
  margin:4px 0 20px;
  overflow-wrap:anywhere}
.matrix article {
  display:grid;
  grid-template-columns:130px 1fr;
  gap:20px;
  border-top:1px solid var(--line);
  padding:28px 0}
.matrix dl {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 32px}
.responsibility-matrix article {
  display:block}
.responsibility-matrix dl {
  gap:24px}
.responsibility-matrix dl>div {
  padding:28px;
  background:var(--surface);
  border-radius:var(--radius)}
.responsibility-matrix dd {
  margin-bottom:0}
.phase-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px}
.phase-metrics article {
  border:1px solid var(--line);
  padding:24px;
  border-radius:var(--radius)}
.phase-metrics h3 {
  font-size:20px}
.snapshot-link {
  display:block;
  margin-bottom:24px}
.snapshot-link img {
  width:100%;
  height:300px;
  object-fit:cover;
  object-position:top;
  border:1px solid var(--line);
  border-radius:8px}
.snapshot-link span {
  display:block;
  padding:12px 0;
  min-height:44px}
.conclusions {
  counter-reset:item;
  list-style:none;
  padding:0}
.conclusions li {
  counter-increment:item;
  display:flex;
  align-items:start;
  gap:24px;
  border-bottom:1px solid var(--line);
  padding:24px 0}
.conclusions li:before {
  content:counter(item,decimal-leading-zero);
  color:var(--muted);
  min-width:32px}
.status-map>div {
  display:grid;
  grid-template-columns:180px 1fr;
  gap:32px;
  margin:36px 0}
.status-map ul {
  list-style:none;
  padding:0;
  margin:0}
.status-map li {
  padding:20px 0;
  border-top:1px solid var(--line)}
.status-map li strong {
  font-size:22px}
.status-map li p {
  margin:12px 0 0;
  color:var(--muted)}
.page-intro {
  padding:72px 0 56px;
  max-width:1000px}
.document {
  overflow:auto;
  max-width:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  margin:0 0 64px}
.document pre {
  margin:0;
  font-size:16px;
  line-height:1.65;
  white-space:pre}
.document code {
  font-family:ui-monospace,monospace}
.site-footer {
  position:relative;
  min-height:220px;
  padding:48px 0 24px;
  border-top:1px solid var(--line);
  font-size:14px;
  color:var(--muted)}
.footer-story {
  padding-left:152px}
.footer-story p {
  max-width:830px}
.mascot {
  position:absolute;
  z-index:2;
  bottom:0;
  left:0;
  width:120px}
.mascot summary {
  cursor:pointer;
  list-style:none;
  min-height:44px;
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:4px}
.mascot summary::-webkit-details-marker {
  display:none}
.mascot summary img {
  width:120px;
  height:120px;
  object-fit:contain}
.mascot p {
  position:absolute;
  z-index:3;
  bottom:calc(100% + 12px);
  left:0;
  width:min(320px,calc(100vw - 64px));
  margin:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  color:var(--text);
  box-shadow:0 18px 50px rgb(0 0 0 / 18%);
  font-size:14px}
.footer-links {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 28px;
  padding:32px 0 0 152px}
.footer-links span {
  flex:1}
.footer-links a {
  display:flex;
  min-height:44px;
  align-items:center}
body[data-theme="dark"] .eyebrow,body[data-theme="dark"] .metric-grid strong,body[data-theme="dark"] .map-root,body[data-theme="dark"] .phase-flow li,body[data-theme="dark"] .matrix h3,body[data-theme="dark"] dd {
  font-family:Plex Mono,monospace;
  font-variant-numeric:tabular-nums}
body[data-theme="dark"] .eyebrow {
  font-weight:500}
body[data-theme="dark"] .chapter {
  padding:64px 0}
body[data-theme="dark"] .button {
  color:#111;
  border-radius:5px}
body[data-theme="dark"] .theme-switch {
  border-radius:5px}
body[data-theme="dark"] .theme-switch a {
  border-radius:3px}
body[data-theme="dark"] .hero h1 {
  letter-spacing:-.065em}
body[data-theme="dark"] .product-branches {
  grid-template-columns:1fr;
  gap:0;
  border:1px solid var(--line);
  border-radius:8px}
body[data-theme="dark"] .product-branches:before,body[data-theme="dark"] .product-node:before,body[data-theme="dark"] .map-root:after {
  display:none}
body[data-theme="dark"] .map-root {
  margin:0 0 20px;
  border-radius:5px;
  background:var(--accent);
  color:#111}
body[data-theme="dark"] .product-node {
  display:grid;
  grid-template-columns:180px 1fr 1fr;
  gap:12px 28px;
  border-bottom:1px solid var(--line);
  border-radius:0}
body[data-theme="dark"] .product-node>.eyebrow {
  grid-column:1/-1;
  margin-bottom:0}
body[data-theme="dark"] .product-node>.skill-branch {
  grid-column:2/-1}
body[data-theme="dark"] .branch-list,body[data-theme="dark"] .connected-list {
  margin:0}
body[data-theme="dark"] .architecture-flow {
  gap:0;
  border-left:2px solid var(--accent)}
body[data-theme="dark"] .architecture-flow li {
  border-radius:0;
  border-bottom:1px solid var(--line)}
body[data-theme="dark"] .data-roles,body[data-theme="dark"] .role-grid {
  gap:1px;
  background:var(--line);
  border:1px solid var(--line)}
body[data-theme="dark"] .data-roles article,body[data-theme="dark"] .role-grid article {
  border-radius:0}
body[data-theme="dark"] .phase-flow li {
  font-size:14px;
  padding:12px 8px;
  border-radius:3px}
body[data-theme="dark"] .responsibility-matrix article {
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:0;
  padding:0}
body[data-theme="dark"] .responsibility-matrix article h3 {
  padding:20px 12px;
  font-size:20px}
body[data-theme="dark"] .responsibility-matrix dl {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0}
body[data-theme="dark"] .responsibility-matrix dl>div {
  padding:20px 16px;
  border-left:1px solid var(--line);
  border-radius:0}
@media(min-width:761px) and (max-width:1023px) {
  body[data-theme="dark"] .responsibility-matrix article {
    grid-template-columns:1fr}
  body[data-theme="dark"] .responsibility-matrix dl {
    grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-theme="dark"] .responsibility-matrix dl>div {
    border-top:1px solid var(--line)}
}
@media(max-width:1200px) {
  .phase-flow ol {
    flex-direction:column;
    gap:28px}
  .phase-flow li {
    flex:auto;
    min-height:96px;
    max-width:none}
  .phase-flow li:not(:last-child):after {
    content:'↓';
    left:24px;
    top:calc(100% + 3px)}
}
@media(max-width:1050px) {
  .topbar {
    gap:16px;
    padding:12px 24px}
  .site-menu {
    gap:0 12px}
  .site-menu a {
    font-size:14px}
  .product-branches {
    grid-template-columns:1fr}
  .product-branches:before {
    display:none}
  .product-node:before {
    left:36px}
  .map-root {
    margin-left:0}
  .map-root:after {
    left:36px}
  .product-node {
    margin-bottom:8px}
  .phase-flow li {
    max-width:none}
  .contract-grid .actions {
    align-items:start;
    flex-direction:column}
  .role-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px) {
  body {
    font-size:17px}
  main,.site-footer {
    width:calc(100% - 40px)}
  .topbar {
    padding:10px 20px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:4px 16px}
  .brand {
    font-size:19px}
  .navigation {
    grid-row:2;
    grid-column:1/-1}
  .site-menu {
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:0 22px;
    padding:8px 0 12px}
  .site-menu a {
    min-height:44px;
    display:flex;
    align-items:center;
    font-size:16px}
  .theme-switch {
    grid-row:1;
    grid-column:2}
  .theme-switch a {
    padding:0 10px;
    min-height:44px}
  .hero {
    padding:32px 0 40px}
  .hero .eyebrow {
    font-size:14px;
    letter-spacing:.055em;
    margin-bottom:16px}
  .hero h1 {
    font-size:54px;
    line-height:1.02}
  .hero-subtitle {
    font-size:27px;
    margin-bottom:16px}
  .hero-copy {
    font-size:17px;
    line-height:1.4;
    margin-bottom:20px}
  .hero-goals {
    gap:16px;
    margin:20px 0;
    grid-template-columns:1fr}
  .hero-goals article {
    padding-left:14px}
  .hero-goals h2 {
    font-size:19px;
    margin-bottom:6px}
  .hero-goals p {
    font-size:15px;
    line-height:1.4}
  .chapter,body[data-theme="dark"] .chapter {
    padding:48px 0}
  h2 {
    font-size:36px}
  .lead {
    font-size:20px}
  .author {
    grid-template-columns:1fr;
    gap:24px}
  .author>img {
    width:96px}
  .author h2 {
    font-size:34px}
  .product-node,.data-roles article,.role-grid article,.contract-grid article,.comparison-grid article,.pilot-results article {
    padding:24px}
  .product-node h3 {
    font-size:28px}
  .product-node:before {
    display:none}
  .product-branches {
    gap:20px}
  .data-roles,.role-grid,.contract-grid,.comparison-grid,.pilot-results,.phase-metrics {
    grid-template-columns:1fr;
    gap:20px}
  .architecture-flow li,.principle,.pilot-caveat {
    padding:24px}
  .phase-flow header {
    grid-template-columns:1fr;
    gap:0}
  .phase-flow header h3 {
    margin-bottom:12px}
  .phase-flow ol {
    flex-direction:column;
    gap:28px;
    margin:24px 0}
  .phase-flow li {
    flex:auto;
    max-width:none;
    padding:16px 20px}
  .phase-flow li:not(:last-child):after {
    content:'↓';
    left:24px;
    top:calc(100% + 3px)}
  .phase-flow li span {
    display:inline;
    margin-left:14px}
  .metric-grid {
    gap:16px}
  .metric-grid article {
    min-width:0;
    flex-basis:100%;
    padding:24px}
  .matrix article {
    grid-template-columns:1fr;
    gap:0}
  .matrix dl {
    grid-template-columns:1fr}
  body[data-theme="dark"] .responsibility-matrix article,body[data-theme="dark"] .responsibility-matrix dl {
    grid-template-columns:1fr}
  .matrix h3 {
    margin-bottom:20px}
  .status-map>div {
    grid-template-columns:1fr;
    gap:0}
  .status-map>div>h3 {
    font-size:28px}
  .page-intro {
    padding:40px 0}
  .page-intro h1 {
    font-size:42px}
  .document {
    padding:16px}
  .document pre {
    font-size:14px}
  .site-footer {
    min-height:0;
    padding-bottom:104px}
  .footer-story {
    padding-left:0}
  .mascot {
    width:88px}
  .mascot summary img {
    width:88px;
    height:88px}
  .mascot p {
    width:min(280px,calc(100vw - 40px))}
  .footer-links {
    align-items:start;
    flex-direction:column;
    padding-left:0}
  .snapshot-link img {
    height:260px}
  body[data-theme="dark"] .product-node {
    display:block}
  body[data-theme="dark"] .product-node>.eyebrow {
    margin-bottom:16px}
  body[data-theme="dark"] .product-node .branch-list,body[data-theme="dark"] .product-node .connected-list {
    margin:24px 0}
  body[data-theme="dark"] .product-node>.skill-branch {
    margin-top:24px}
  body[data-theme="dark"] .role-grid,body[data-theme="dark"] .data-roles {
    gap:1px}
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto}
  *,*:before,*:after {
    animation:none!important;
    transition:none!important}
}
