@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


:root {
  --dark: #0d0c19;
  --dark-deep: #080713;
  --dark-raised: #16152a;
  --on-dark: #ffffff;
  --on-dark-2: #c2bfdd;
  --on-dark-3: #a19ec2;
  --accent-on-dark: #aba7ff;
  --accent-node: #6e68ff;
  --signal-on-dark: #ff8a78;

  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-text);
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  
  --text-base: 1.125rem;
  --text-small: 0.875rem;
  --text-caption: 0.8125rem;
  --text-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --text-h1: clamp(2.4rem, 1.2rem + 5.2vw, 4.5rem);
  --text-h2: clamp(1.55rem, 1.25rem + 1.3vw, 2.125rem);
  --text-h3: 1.125rem;

  
  --page-max: 70rem;
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(3rem, 7vw, 6rem);
  --header-height: 4.25rem;
  --radius-card: 16px;
  --radius-control: 10px;
  --radius-pill: 999px;

  
  --motion-fast: 0.15s;
  --motion-medium: 0.2s;
}


:root {
  color-scheme: light;

  --ink: #17152b;
  --ink-2: #46435f;
  --ink-3: #62607c;
  --on-ink: #ffffff;
  --mist: #f5f4fb;
  --paper: #ffffff;
  --panel: #efeef8;
  --line: #c4c1da;
  --line-2: #e0deee;
  --edge: #8581a6;
  --header-bg: rgb(245 244 251 / 0.9);
  --shadow-rgb: 23 21 43;

  --accent: #4a44d6;
  --accent-d: #37319f;
  --on-accent: #ffffff;
  --chip-on-accent: rgb(255 255 255 / 0.2);
  --tint: #e8e6fb;
  --tint-2: #d6d3f6;
  --signal: #c7351e;
  --on-signal: #ffffff;
  --focus: #5b55f0;

  
  --st-current: #0a7650;
  --st-current-bg: #e1f4eb;
  --st-older: #96560a;
  --st-older-bg: #fdefd3;
  --st-before: #2f6286;
  --st-before-bg: #e0edf6;
  --st-none: #62607c;
  --st-none-bg: #eae9f3;
  --st-error: #b81d3f;
  --st-error-bg: #fbe3e8;
  --st-unknown: #5a4fa8;
  --st-unknown-bg: #ece9f8;
  
  --ink-conf: #3a4a7a;
  --s1: #2f6bdb;
  --s2: #0e8f80;
  --s3: #d4561f;
  --s5: #7a4fe0;
  --s6: #a87a06;
  --s8: #5a6b8a;
  --s4: #be3a8c;
  --s9: #85829e;
  --frame: #ebeaf5;
}


:root[data-theme="dark"] {
  color-scheme: dark;

  --ink: #f1f0fc;
  --ink-2: #c2bfdd;
  --ink-3: #a19ec2;
  --on-ink: #0d0c19;
  --mist: #0d0c19;
  --paper: #16152a;
  --panel: #1f1e36;
  --line: #46436e;
  --line-2: #2c2a48;
  --edge: #7b78a8;
  --header-bg: rgb(13 12 25 / 0.9);
  --shadow-rgb: 0 0 0;

  --accent: #aba7ff;
  --accent-d: #cfcdff;
  --on-accent: #0d0c19;
  --chip-on-accent: rgb(13 12 25 / 0.2);
  --tint: #25224c;
  --tint-2: #342f66;
  --signal: #ff8a78;
  --on-signal: #0d0c19;
  --focus: #a5a1ff;

  --st-current: #52e0a2;
  --st-current-bg: #123428;
  --st-older: #ffb84d;
  --st-older-bg: #3b2a0c;
  --st-before: #86bdeb;
  --st-before-bg: #15304a;
  --st-none: #a19ec2;
  --st-none-bg: #26243f;
  --st-error: #ff8299;
  --st-error-bg: #451722;
  --st-unknown: #b5adf2;
  --st-unknown-bg: #2b2750;
  --ink-conf: #8fa3da;
  --s1: #6ea2ff;
  --s2: #35d1bf;
  --s3: #ff9a66;
  --s5: #b396ff;
  --s6: #e8c24a;
  --s8: #9aaac8;
  --s4: #f27cc4;
  --s9: #7c7a99;
  --frame: #1a1930;
}


:root {
  --brand-a: #6e68ff;
  --brand-b: #ff5a43;
  --grad: linear-gradient(90deg, #6e68ff, #ff5a43);
  --grad-strong: linear-gradient(90deg, #5b55f0, #d9381f);
  --on-grad: #ffffff;
  --btn-bg: var(--grad-strong);
  --on-btn: var(--on-grad);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.1;
  --lh-snug: 1.35;
  --lh-body: 1.65;
  --ls-heading: -0.02em;
  --ls-caps: 0.06em;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --fs-xs: 0.75rem;
  --fs-s: 0.8125rem;
  --fs-m: 0.875rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  overflow-x: clip;
}


@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
} 

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.18;
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
}

strong {
  font-weight: var(--fw-semibold);
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-d);
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
  color: inherit;
}

code {
  padding: 0.1em 0.38em;
  border-radius: var(--r-s);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}


:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}


.skip-link {
  position: absolute;
  top: -5rem;
  left: var(--sp-4);
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-m);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--sp-3);
  color: var(--on-ink);
}


.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


.sprite {
  position: absolute;
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.muted {
  color: var(--ink-3);
}

.site-header {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--line-2);
  background: var(--header-bg);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: var(--header-height);
}

.logo {
  margin-right: auto;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
}


.header-tools {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.header-lang {
  display: none;
}

.nav-list {
  display: flex;
  gap: 2px var(--sp-2);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-3);
  border-radius: var(--r-m);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--panel);
  color: var(--ink);
}

.nav-link[aria-current] {
  border-radius: 0;
  box-shadow: inset 0 -2px 0 var(--brand-a);
  color: var(--ink);
}

.nav-download {
  min-height: 44px;
  margin-left: auto;
  padding: 0 16px;
  font-size: 0.9375rem;
  white-space: nowrap;
}


.lang {
  display: inline-flex;
  align-items: center;
  color: var(--ink-2);
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
}

.lang a,
.lang .off {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--ink-2);
  text-decoration: none;
}

.lang a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brand-a);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.lang .off {
  color: var(--ink-3);
  cursor: help;
}

.lang .sep {
  color: var(--line);
}


.theme-toggle {
  display: grid;
  flex: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: var(--r-m);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--motion-fast);
}

.theme-toggle:hover {
  background: var(--panel);
}

.theme-toggle[hidden] {
  display: none;
}

.theme-toggle .ico {
  width: 1.25rem;
  height: 1.25rem;
}


.theme-toggle .ico-sun,
.theme-toggle[aria-pressed="true"] .ico-moon {
  display: none;
}

.theme-toggle[aria-pressed="true"] .ico-sun {
  display: block;
}


.menu {
  position: relative;
}

.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--edge);
  border-radius: var(--r-m);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu[open] summary {
  background: var(--panel);
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-bars::before {
  position: absolute;
  top: -6px;
}

.menu-bars::after {
  position: absolute;
  top: 6px;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  width: min(19rem, calc(100vw - 2rem));
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--paper);
  box-shadow: 0 10px 40px rgb(var(--shadow-rgb) / 0.25);
}

.menu-panel a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-3);
  border-radius: var(--r-m);
  color: var(--ink);
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.menu-panel a:not(.btn):hover {
  background: var(--panel);
}

.menu-panel a[aria-current] {
  box-shadow: inset 3px 0 0 var(--brand-a);
}

.menu-panel .lang {
  margin: var(--sp-1) 0;
}

.menu-panel .btn {
  margin-top: var(--sp-2);
}


@media (min-width: 72rem) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-desktop {
    display: flex;
    flex: 1;
    align-items: center;
    margin-left: var(--sp-5);
  }

  .logo {
    margin-right: 0;
  }

  .header-lang {
    display: block;
  }

  .menu {
    display: none;
  }
} 


.site-footer {
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-size: var(--text-small);
}

.foot-grid {
  display: grid;
  gap: var(--sp-5) var(--sp-6);
}

@media (min-width: 40rem) {
  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
} 

.foot-grid h2 {
  margin: 0 0 var(--sp-2);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.foot-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-grid li {
  margin: 0;
}

.foot-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.foot-grid a:hover {
  color: var(--ink);
}

.foot-publisher,
.foot-line {
  margin: var(--sp-5) 0 0;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-2);
  color: var(--ink-2);
}

.foot-publisher a {
  color: var(--ink);
}

.foot-line {
  color: var(--ink-3);
}

.foot-publisher + .foot-line,
.foot-line + .foot-line {
  margin-top: var(--sp-3);
  padding-top: 0;
  border-top: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  display: block;
  flex: none;
  width: 30px;
  height: 30px;
}


.knock {
  --dot: 14px;
  --spark: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--sp-4);
  color: var(--ink-3);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.knock i {
  flex: none;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--brand-a);
}

.knock i + i {
  background: var(--brand-b);
}

.knock .spark {
  flex: none;
  width: var(--spark);
  height: var(--spark);
  margin-left: 2px;
  fill: var(--brand-b);
}

.knock span {
  margin-left: var(--sp-2);
}

.knock::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: var(--sp-3);
  background: var(--line-2);
}

.sec-head .knock::after {
  display: none;
}

.hero .knock,
.nf .knock,
.closing .knock {
  --dot: 20px;
  --spark: 38px;
  gap: 10px;
}

.site-footer .knock {
  --dot: 18px;
  --spark: 32px;
  gap: 9px;
}

.hero .knock::after,
.site-footer .knock::after {
  height: 2px;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b) 22%, var(--line-2) 58%);
}

.closing .knock::after,
.nf .knock::after {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-m);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--motion-fast), background-color var(--motion-fast);
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--btn-bg);
  color: var(--on-btn);
}

.btn--primary:hover {
  color: var(--on-btn);
  filter: brightness(1.08) saturate(1.1);
}

.btn--line {
  border-color: var(--edge);
  background: transparent;
  color: var(--ink);
}

.btn--line:hover {
  background: var(--panel);
  color: var(--ink);
}


.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-5);
}

@media (max-width: 30rem) {
  .actions .btn {
    width: 100%;
  }
} 


.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--fw-semibold);
}


.fill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  max-width: 100%;
  margin: 2px 0;
  padding: 2px 10px 2px 3px;
  border: 1.5px dashed var(--signal);
  border-radius: var(--r-s);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fill-tag {
  flex: none;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--signal);
  color: var(--on-signal);
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  line-height: 1.6;
}

.fill-block {
  display: flex;
  margin: var(--sp-4) 0;
}

.fill-block .fill {
  padding: 8px 12px 8px 8px;
}


.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--st-unknown-bg);
  color: var(--st-unknown);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  line-height: 1.5;
  text-transform: uppercase;
}

.badge-ex {
  background: var(--st-older-bg);
  color: var(--st-older);
}


.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  white-space: nowrap;
}

.state--conf {
  background: var(--tint);
  color: var(--ink-conf);
}

.state--unconf,
.state--old {
  background: var(--st-older-bg);
  color: var(--st-older);
}

.state--nolist {
  background: var(--st-none-bg);
  color: var(--st-none);
}

.state--cur {
  background: var(--st-current-bg);
  color: var(--st-current);
}

.state--before {
  background: var(--st-before-bg);
  color: var(--st-before);
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}


.page-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--sp-4) var(--gutter) var(--section-space);
}


.page-main--bleed {
  padding: 0;
}


.lead {
  margin-top: 1.25rem;
  font-size: var(--text-lead);
  line-height: 1.5;
}


.breadcrumbs {
  margin: 0 0 var(--sp-5);
  font-size: var(--text-small);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--ink-2);
}


.breadcrumbs-item + .breadcrumbs-item::before {
  content: "/";
  color: var(--ink-3);
}

.breadcrumbs-item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
}

.breadcrumbs-item [aria-current="page"] {
  color: var(--ink-3);
}


.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  max-width: none;
  margin: 0.75rem 0;
  color: var(--ink-2);
  font-size: var(--text-small);
}

.post-meta time {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.post-meta-item time {
  font-weight: var(--fw-regular);
}


.text-head {
  padding-bottom: var(--sp-5);
}

.text-head .post-title {
  max-width: 20ch;
  font-size: clamp(2.1rem, 1.2rem + 3.8vw, 3.75rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
}

.text-shell {
  display: grid;
  gap: var(--sp-5) 4rem;
}

.text-shell > * {
  min-width: 0;
}

@media (min-width: 62rem) {
  .text-shell {
    grid-template-columns: 15rem minmax(0, 1fr);
  }

  .text-shell--single {
    grid-template-columns: minmax(0, 1fr);
  }
} 

.text-rail {
  align-self: start;
  font-size: var(--text-small);
}

@media (min-width: 62rem) {
  .text-rail {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }
} 

.text-rail-title {
  margin: 0 0 var(--sp-3);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.text-toc {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-2);
  list-style: none;
}

.text-toc li {
  margin: 0;
}

.text-toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px var(--sp-4);
  border-left: 2px solid transparent;
  color: var(--ink-2);
  line-height: 1.35;
  text-decoration: none;
}

.text-toc a:hover {
  border-left-color: var(--brand-a);
  color: var(--ink);
}

.text-toc-fold {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.text-toc-fold summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.text-toc-fold .text-toc {
  margin-bottom: var(--sp-3);
}

.text-toc-fold > .text-rail-title {
  display: none;
}


@media (min-width: 62rem) {
  .text-toc-fold {
    border: 0;
  }

  .text-toc-fold summary {
    display: none;
  }

  .text-toc-fold > .text-rail-title {
    display: block;
  }
} 


.prose {
  max-width: 46rem;
  line-height: var(--lh-body);
}

.prose > * {
  margin-top: 0;
  margin-bottom: 0;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose p {
  max-width: none;
}


.text-page .prose > p:first-child {
  font-size: var(--text-lead);
  line-height: 1.5;
}

.prose h2,
.prose h3,
.prose h4 {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.prose h2 {
  margin-top: 2.4em;
  font-size: var(--text-h2);
  line-height: 1.2;
}

.prose h3 {
  margin-top: 1.8em;
  letter-spacing: -0.01em;
}

.prose h4 {
  margin-top: 1.75em;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--accent);
}

.prose em {
  font-style: italic;
}


.prose blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 0 0 0 var(--sp-5);
  border-left: 3px solid var(--brand-a);
  font-size: 1.2em;
  font-weight: var(--fw-medium);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.prose blockquote p + p {
  margin-top: 0.75em;
}

.prose pre {
  overflow-x: auto;
  padding: var(--sp-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  background: var(--panel);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}


.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  border-collapse: collapse;
  background: var(--paper);
  font-size: var(--text-small);
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--panel);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose hr {
  margin-top: 2.5em;
  margin-bottom: 2.5em;
  border: 0;
  border-top: 1px solid var(--line-2);
}

.prose img {
  border-radius: var(--r-m);
}


.author-box {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  max-width: var(--measure);
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.author-photo {
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}


.author-mono {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50% 50% 50% 6px;
  background: var(--grad-strong);
  color: var(--on-grad);
  font-weight: var(--fw-semibold);
}

.author-text p {
  margin: 0;
}

.author-label {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
}

.author-role {
  margin-bottom: 0.4rem;
  color: var(--ink-2);
  font-size: var(--text-small);
}


.author-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.4rem;
}


@media (max-width: 22.5rem) {
  .author-photo {
    width: 3rem;
    height: 3rem;
  }
} 


.post-changes {
  margin: 2.5rem 0 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-control);
  background: var(--paper);
}

.post-changes > summary {
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-weight: var(--fw-semibold);
}

.post-changes-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0 1rem 0.9rem;
  list-style: none;
  color: var(--ink-2);
  font-size: var(--text-small);
}

.post-changes-list time {
  margin-right: 0.5rem;
  color: var(--accent);
  font-weight: var(--fw-semibold);
}


.nf {
  padding-block: clamp(2.5rem, 8vw, 6rem) clamp(5rem, 10vw, 8rem);
}

.nf-inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bubble {
  position: relative;
  max-width: 46rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 3px solid transparent;
  border-radius: 28px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
}

.bubble-tail {
  position: absolute;
  top: calc(100% - 3px);
  left: clamp(28px, 5vw, 56px);
  width: 36px;
  height: 32px;
}

.bubble-tail path {
  fill: var(--paper);
  stroke: var(--brand-a);
  stroke-width: 3;
  stroke-linejoin: round;
}

.bubble .page-title {
  margin-bottom: var(--sp-5);
  font-size: clamp(2.1rem, 1.2rem + 3.8vw, 3.75rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
}

.nf-talk {
  max-width: 24ch;
  margin-bottom: var(--sp-5);
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.nf-talk .soft {
  color: var(--ink-3);
}

.bubble .actions {
  margin-top: 0;
}

.hero {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(1.25rem, 3.5vw, 3rem) var(--gutter) clamp(2rem, 5vw, 3.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "actions" "win" "pull" "facts";
  gap: var(--sp-5) clamp(2rem, 4vw, 3.5rem);
}

.hero-copy {
  grid-area: copy;
}

.hero-pull {
  grid-area: pull;
}

.hero-actions {
  grid-area: actions;
}

.hero-actions .actions {
  margin: 0;
}

.hero-win {
  grid-area: win;
  min-width: 0;
  margin: 0;
}

.hero-facts {
  grid-area: facts;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-2);
  color: var(--ink-2);
}

.hero-facts p {
  margin: 0 0 1.1em;
}

.hero-facts p:last-child {
  margin-bottom: 0;
}

.hero-facts strong {
  color: var(--ink);
}

.hero h1 {
  margin-bottom: var(--sp-4);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
}

.hero h1 .soft {
  color: var(--ink-3);
}

.hero .lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.5;
}

.hero .pull {
  margin: 0;
  padding-left: var(--sp-4);
  border-left: 3px solid var(--brand-a);
  color: var(--accent);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "copy win" "pull win" "actions win" "facts facts";
    align-items: start;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-3) var(--sp-6);
  }

  .hero-facts p {
    margin: 0;
  }
} 

@media (max-width: 30rem) {
  .hero-actions .actions {
    gap: var(--sp-2);
  }

  .hero-actions .btn {
    min-height: 46px;
  }
} 


.sec {
  display: grid;
  gap: var(--sp-3) 4rem;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
  border-top: 1px solid var(--line-2);
}

.sec-head h2 {
  font-size: var(--text-h2);
  font-weight: var(--fw-semibold);
  line-height: 1.18;
  letter-spacing: var(--ls-heading);
}

.sec-body {
  min-width: 0;
  max-width: var(--measure);
}

.sec-body > :last-child {
  margin-bottom: 0;
}

.sec-body p {
  margin: 0 0 1.1em;
}

.sec-body .actions {
  margin-top: 0;
}

.sec-body .actions--flow {
  margin-top: 0;
}

@media (min-width: 62rem) {
  .sec {
    grid-template-columns: 17rem minmax(0, 1fr);
  }

  .sec-head {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    align-self: start;
  }
} 


.dl {
  margin: 1.4em 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}

.dl > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: var(--sp-4);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}

.dl dt {
  font-weight: var(--fw-semibold);
}

.dl dd {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 30rem) {
  .dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
} 


.steps {
  counter-reset: step;
  margin: 1.4em 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 0 0 var(--sp-5) 3.4rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -0.12em;
  left: 0;
  color: var(--accent);
  font-size: 2.1rem;
  font-weight: var(--fw-medium);
  letter-spacing: -0.03em;
  line-height: 1;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 2.3rem;
  bottom: 0.7rem;
  left: 0.5rem;
  width: 1px;
  background: var(--line-2);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::after {
  display: none;
}


.verdicts {
  margin: 1.4em 0;
  padding: 0;
  list-style: none;
}

.verdicts li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: baseline;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
}

.verdicts li:last-child {
  border-bottom: 1px solid var(--line-2);
}

@media (max-width: 30rem) {
  .verdicts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
} 


.ruled {
  margin: 1.2em 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
  list-style: none;
}

.ruled li {
  position: relative;
  margin: 0;
  padding: 11px 0 11px 1.5rem;
  border-bottom: 1px solid var(--line-2);
}

.ruled li::before {
  content: "";
  position: absolute;
  top: 1.15em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-a);
}

.ruled.checks li::before {
  background: var(--brand-b);
}


.sec-body:has(.shots) {
  max-width: none;
}

.sec-body:has(.shots) > :not(.shots) {
  max-width: var(--measure);
}

.shots {
  display: grid;
  gap: var(--sp-5);
  margin: var(--sp-5) 0 0;
}

.shot {
  margin: 0;
}

.shot a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  margin-top: var(--sp-2);
  color: var(--ink-3);
  font-size: var(--fs-s);
}

@media (min-width: 48rem) {
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  
  .shots:has(> .shot:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .shots > .shot:only-child {
    width: 100%;
    max-width: 1251px;
    margin-inline: auto;
  }
} 


.teaser {
  padding: var(--sp-5);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.teaser h3 {
  margin: 0 0 var(--sp-3);
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.teaser p {
  margin-bottom: 0;
}

.teaser .actions {
  margin-top: var(--sp-4);
}


.closing {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(3.5rem, 9vw, 7rem) var(--gutter);
  border-top: 1px solid var(--line-2);
}

.closing h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  font-weight: var(--fw-semibold);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.closing p {
  max-width: var(--measure);
  margin: var(--sp-5) 0 0;
  color: var(--ink-2);
  font-size: var(--text-lead);
  line-height: 1.5;
}

.win {
  container: win / inline-size;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: var(--paper);
  box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / 0.06), 0 8px 28px rgb(var(--shadow-rgb) / 0.08);
  font-size: var(--fs-m);
  line-height: 1.4;
}

.win-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 10px var(--sp-4);
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: var(--fs-s);
}

.win-head .dom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-weight: var(--fw-medium);
}

.win-head .logo-mark {
  width: 18px;
  height: 18px;
}


.win-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-2);
  background: var(--frame);
  scrollbar-width: none;
}

.win-tabs::-webkit-scrollbar {
  display: none;
}

.wtab {
  position: relative;
  display: grid;
  flex: 1 1 0;
  gap: 2px;
  min-width: 0;
  padding: 10px var(--sp-3);
  border-right: 1px solid var(--line-2);
  color: var(--ink-2);
}

.wtab:last-child {
  border-right: 0;
}

.wtab.on {
  margin-bottom: -1px;
  border-bottom: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.wtab.on::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--grad);
}

.wtab .t {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.wtab .n {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.wtab.on .n {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.wtab .s {
  overflow: hidden;
  padding-left: 28px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
  text-overflow: ellipsis;
  white-space: nowrap;
}


.win-body {
  padding: var(--sp-4);
}

.win-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.win-title {
  margin: 0 0 var(--sp-3);
  color: var(--ink-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.win .seg {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  font-size: var(--fs-s);
  font-weight: var(--fw-medium);
}

.win .seg span {
  padding: 5px 12px;
  color: var(--ink-2);
}

.win .seg .on {
  background: var(--ink);
  color: var(--on-ink);
}

.vis-grid {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
}

.kpi {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  background: var(--paper);
}

.kpi .num {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: var(--fw-medium);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.kpi .num small {
  display: block;
  color: var(--ink-3);
  font-size: var(--fs-m);
  font-weight: var(--fw-regular);
  letter-spacing: 0;
}

.kpi .sub {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: var(--fs-s);
}

.spark-bars {
  display: block;
  width: 100%;
  height: 34px;
  margin: var(--sp-3) 0 0;
  fill: var(--st-before);
  opacity: 0.85;
}

.bars {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bars li {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr) 3.6rem;
  gap: var(--sp-3);
  align-items: center;
  margin: 0;
}

.bars .nm {
  min-width: 0;
  line-height: 1.2;
}

.bars .nm b {
  display: block;
  overflow: hidden;
  font-weight: var(--fw-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bars .nm small {
  color: var(--ink-3);
  font-size: var(--fs-xs);
}

.bar-track {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--panel);
}

.bar-s1 { fill: var(--s1); }
.bar-s2 { fill: var(--s2); }
.bar-s3 { fill: var(--s3); }
.bar-s4 { fill: var(--s4); }
.bar-s5 { fill: var(--s5); }
.bar-s6 { fill: var(--s6); }
.bar-s8 { fill: var(--s8); }
.bar-s9 { fill: var(--s9); }

.bars .v {
  font-weight: var(--fw-semibold);
  text-align: right;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: var(--sp-3) 0 0;
  color: var(--ink-2);
  font-size: var(--fs-s);
}

.legend b {
  color: var(--ink);
  font-weight: var(--fw-semibold);
}

.sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
  vertical-align: -1px;
}

.sw-c { background: var(--st-before); }
.sw-u { background: var(--st-older); }
.sw-n { background: var(--edge); }

@container win (max-width: 40rem) {
  .wtab {
    flex: 0 0 auto;
    padding-inline: var(--sp-3);
  }

  .wtab .s {
    display: none;
  }
} 

@media (max-width: 40rem) {
  .vis-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-4);
  }

  .bars li {
    grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr) 3.2rem;
    gap: var(--sp-2);
  }

  .win-body {
    padding: var(--sp-3);
  }
} 


.specimen {
  margin: 1.6em 0;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.specimen-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-3);
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  font-size: var(--text-small);
}

.specimen-row:first-child {
  border-top: 0;
}

.specimen-row b {
  font-weight: var(--fw-semibold);
}

.specimen-row small {
  display: block;
  color: var(--ink-3);
}

.specimen-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 0 4px;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
