@font-face {
  font-family: 'General Sans';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('/fonts/GeneralSans-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'General Sans';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url('/fonts/GeneralSans-VariableItalic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-greek.woff2') format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-latin-ext.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-latin.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 {
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: dark;

  --link: #7fb0ff;
  --paper: #000000;
  --ink: #f5f5f5;
  --ink-2: rgba(255, 255, 255, 0.66);
  --ink-3: rgba(255, 255, 255, 0.5);

  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --hover: rgba(255, 255, 255, 0.06);
  --press: rgba(255, 255, 255, 0.1);

  --card: #0e0e0e;
  --card-quiet: #0a0a0a;
  --card-raised: #1a1a1a;
  --brand-light: #f4f4f5;

  --night: #0e0e0e;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.78);
  --on-dark-3: rgba(255, 255, 255, 0.62);
  --line-dark: rgba(255, 255, 255, 0.3);
  --line-dark-soft: rgba(255, 255, 255, 0.14);

  --bar-bg: rgba(0, 0, 0, 0.72);
  --menu-bg: rgba(10, 10, 10, 0.94);
  --shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  --danger: #ff6b6b;
  --agree: #63c79c;
  --split: #e6ac4f;
  --mark-filter: none;

  --font: 'General Sans', 'Inter', sans-serif;
  --font-mono: 'General Sans', 'Inter', sans-serif;

  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.75rem;
  --s5: 2.5rem;

  --band: clamp(4.5rem, 8vw, 9rem);
  --band-in: clamp(2.5rem, 5vw, 4.5rem);
  --gap: clamp(2rem, 5vw, 6rem);

  --sec-y: clamp(4.5rem, 8vw, 8rem);
  --sec-in: clamp(2.25rem, 4vw, 3.5rem);
  --pad: clamp(1.5rem, 2.4vw, 2.25rem);
  --row-y: clamp(1.5rem, 2.6vw, 2.125rem);
  --col-gap: clamp(2rem, 5vw, 5rem);
  --tile-gap: clamp(0.875rem, 1.4vw, 1.25rem);

  --hero-top: clamp(3.5rem, 8vw, 7rem);
  --hero-bottom: clamp(2.5rem, 5vw, 4.5rem);
  --h1: clamp(2.75rem, 6vw, 5.25rem);
  --h1-lh: 1.02;
  --h1-ls: -0.045em;
  --head-ls: -0.035em;
  --title-ls: -0.022em;
  --h1-w: 530;
  --h2: clamp(1.875rem, 3.4vw, 2.75rem);
  --small: 0.875rem;

  --head-w: 40rem;
  --read-w: 46rem;
  --body-w: 78rem;

  --max: 84rem;
  --gut: clamp(1rem, 3.2vw, 3rem);

  --bar-h: 4.25rem;

  --r-sm: 4px;
  --r-btn: 10px;
  --r-box: 16px;
  --r-panel: 24px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

:root[data-theme='dark'] {
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: dark;

  --paper: #181818;
  --ink: #f5f5f5;
  --ink-2: #b9b9b9;
  --ink-3: #8f8f8f;

  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --hover: rgba(255, 255, 255, 0.06);
  --press: rgba(255, 255, 255, 0.1);

  --card: #262626;
  --card-quiet: #1f1f1f;
  --card-raised: #333333;

  --night: #121212;

  --bar-bg: rgba(24, 24, 24, 0.82);
  --menu-bg: rgba(32, 32, 32, 0.94);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --danger: #ff6076;
  --mark-filter: invert(1);
}

@media (max-width: 560px) {
  :root { --pad: 1.25rem; --row-y: 1.375rem; --bar-h: 3.875rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 1.5rem);
  background: var(--paper);
}

html.menu-open,
html.menu-open body { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6, th, dt, small, button, input, select,
textarea, optgroup { font-weight: 500; }
b, strong { font-weight: 570; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, kbd, pre { font-family: var(--font-mono); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.plate:not(.plate-plain) :focus-visible { outline-color: var(--on-dark); }

::selection { background: #b3d7ff; color: #0d0d0d; }

.skip {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  padding: 0.625rem 1.125rem;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  transform: translate(-50%, -160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus-visible {
  transform: translate(-50%, calc(var(--safe-t) + 0.625rem));
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.shell { width: 100%; }

.plate,
.end {
  max-width: calc(var(--max) - var(--gut) * 2);
  width: calc(100% - var(--gut) * 2);
  margin-inline: auto;
}

.end { border-radius: var(--r-panel); }
.end-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 0.75rem;
}

.d1 {
  font-size: var(--h1);
  font-weight: var(--h1-w);
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-ls);
  text-wrap: balance;
}
.d2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 570;
  line-height: 1.06;
  letter-spacing: var(--head-ls);
  text-wrap: balance;
}

.lede {
  color: var(--ink-2);
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 44ch;
  text-wrap: pretty;
}

.tag {
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--ink-3);
}

.in-text {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s var(--ease);
}
.in-text:hover { text-decoration-color: var(--ink); }

.logo {
  position: relative;
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
}
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo-mark,
.mark-ink { filter: var(--mark-filter); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 2.5rem;
  padding: 0.5rem 1.125rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pill:hover { opacity: 0.84; }
.pill:focus-visible { outline-offset: 3px; border-radius: var(--r-pill); }
.pill svg { width: 1em; height: 1em; flex: none; }

.pill-white { background: var(--ink); color: var(--paper); }

.pill-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill-line:hover { opacity: 1; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

.pill-lg { min-height: 3rem; padding: 0.75rem 1.375rem; font-size: 1rem; }
.pill-sm { min-height: 2.25rem; padding: 0.375rem 0.875rem; font-size: 0.875rem; }

.go {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: 1rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s var(--ease);
}
.go:hover { text-decoration-color: var(--ink); }
.go svg { width: 1em; height: 1em; }

.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: calc(0.75rem + var(--safe-t)) 0 0.75rem;
  background: transparent;
  box-shadow: 0 1px 0 transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bar.is-solid,
.bar[data-menu='open'] {
  background: var(--bar-bg);
  box-shadow: 0 1px 0 var(--line-soft);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.bar[data-menu='open'] { background: var(--paper); }

.bar-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: 'nav brand actions';
  align-items: center;
  gap: var(--s2);
  max-width: var(--max);
  min-height: 2.75rem;
  margin-inline: auto;
  padding-inline: var(--gut);
}
.brand .logo { width: 0.92em; height: 0.92em; transform: translateY(0.015em); }

.ring-logo {
  grid-area: brand;
  justify-content: center;
  height: 2.75rem;
  color: var(--ink);
}
.ring-logo svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  overflow: visible;
}
.ring-logo circle {
  transform-box: fill-box;
  transform-origin: center;
  rotate: -90deg;
  stroke-dasharray: 990;
  animation: ring-draw 0.7s cubic-bezier(0.65, 0, 0.35, 1) both;
}
.ring-logo circle:nth-child(1) { animation-delay: 0.1s; }
.ring-logo circle:nth-child(2) { animation-delay: 0.32s; }
.ring-logo circle:nth-child(3) { animation-delay: 0.44s; }
.ring-logo circle:nth-child(4) { animation-delay: 0.56s; }
.ring-logo circle:nth-child(5) { animation-delay: 0.68s; }
@keyframes ring-draw {
  from { stroke-dashoffset: 990; }
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ring-logo circle { animation: none; }
}

.nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  margin-left: -0.875rem;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--hover); }
.nav a[aria-current] { color: var(--ink); font-weight: 570; }
.nav a:focus-visible { outline-offset: 1px; }
.nav a[data-section] { color: var(--ink); }

.bar-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s1);
}
.bar .pill { border-radius: var(--r-pill); }

.bar-actions.has-who { position: relative; }
.who {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--line-dark);
  cursor: pointer;
  transition: box-shadow 0.2s var(--ease);
}
.who:hover,
.who[aria-expanded='true'] { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.who:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.who-face {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #2a2c30 center / cover no-repeat;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 610;
  line-height: 1;
}
.who-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wc {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 60;
  width: min(21.5rem, calc(100vw - 2rem));
  max-height: calc(100vh - var(--bar-h) - 4rem);
  max-height: calc(100dvh - var(--bar-h) - 4rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 1.5rem 0.875rem 0.875rem;
  border: 1px solid #262626;
  border-radius: 24px;
  background: #0a0a0a;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.85), 0 12px 28px -8px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
  transform-origin: top right;
  animation: wc-in 0.22s var(--ease);
}
.wc::-webkit-scrollbar { display: none; }
@keyframes wc-in {
  from { opacity: 0; transform: scale(0.97) translateY(-4px); }
}
@keyframes wc-push {
  from { opacity: 0; transform: translateX(14px); }
}
@keyframes wc-pop {
  from { opacity: 0; transform: translateX(-14px); }
}
.wc-page[data-enter='in'] { animation: wc-push 0.24s var(--ease); }
.wc-page[data-enter='back'] { animation: wc-pop 0.24s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .wc,
  .wc-page[data-enter] { animation: none; }
}
.wc[hidden] { display: none; }
.wc p { margin: 0; }
.wc-head { display: grid; justify-items: center; gap: 0.625rem; padding: 0 0.5rem 1.25rem; text-align: center; }
.wc-face { width: 4rem; height: 4rem; font-size: 1.25rem; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16); }
.wc-who { display: grid; gap: 0.125rem; min-width: 0; max-width: 100%; }
.wc .wc-name { margin-bottom: 0.125rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.wc-sub { color: var(--ink-3); font-size: 0.8125rem; }
.wc-name,
.wc-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-body,
.wc-stackset,
.wc-form { display: grid; gap: 1rem; }
.wc-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.25rem;
  min-height: 2rem;
  margin: -0.625rem 0 1rem;
}
.wc-back {
  justify-self: start;
  max-width: 100%;
  margin-left: -0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.375rem 0.5rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.wc-back:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.wc-back:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.wc-title { max-width: 11.5rem; margin: 0; overflow: hidden; color: var(--ink); font-size: 0.875rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wc-sec { display: grid; gap: 0.375rem; }
.wc-sec-head { display: flex; align-items: baseline; gap: 0.75rem; padding: 0 0.75rem; }
.wc-h { flex: 1; margin: 0; color: var(--ink-3); font-size: 0.75rem; font-weight: 500; }
.wc-sec-note { color: var(--ink-3); font-size: 0.75rem; }
.wc-group { display: grid; overflow: hidden; border-radius: 14px; background: #161616; }
.wc-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.625rem;
  padding: 0 0.875rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
}
.wc-row + .wc-row::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0.875rem;
  height: 0.5px;
  background: rgba(255, 255, 255, 0.1);
}
.wc-row-link { width: 100%; cursor: pointer; transition: background 0.15s var(--ease); }
.wc-row-link:hover { background: #1e1e1e; }
.wc-row-link:active { background: #242424; }
.wc-row-link:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 14px; }
.wc-row-link:disabled { cursor: default; opacity: 0.6; }
.wc-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-stack { display: grid; gap: 0.0625rem; padding: 0.5rem 0; }
.wc-line,
.wc-subline { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-subline { color: var(--ink-3); font-size: 0.75rem; }
.wc-value { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; overflow: hidden; color: var(--ink-3); white-space: nowrap; }
.wc-quiet { color: var(--ink-3); }
.wc-state { color: var(--ink-3); }
.wc-state[data-on='true'] { color: var(--ink-2); }
.wc-id { color: var(--ink-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.75rem; }
.wc-chev {
  flex: none;
  width: 0.4375rem;
  height: 0.75rem;
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s var(--ease);
}
.wc-chev-back { stroke: currentColor; }
.wc-row-link:hover .wc-chev { transform: translateX(1px); }
.wc-back > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-back:hover .wc-chev-back { transform: translateX(-1px); }
.wc-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s var(--ease);
}
.wc-link:hover { color: var(--ink); }
.wc-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.wc-more .wc-label { color: var(--ink-3); }
.wc-action .wc-label { color: var(--ink); font-weight: 500; }
.wc-danger .wc-label { color: #ff6961; }
.wc-danger[data-armed='true'] { background: rgba(255, 105, 97, 0.12); }
.wc-foot-note { margin-top: -0.5rem; padding: 0 0.875rem; color: var(--ink-3); font-size: 0.75rem; line-height: 1.45; }
.wc-body > .wc-foot-note:first-child { margin-top: 0; }
.wc-field { cursor: text; }
.wc-input {
  width: 100%;
  min-height: 2.625rem;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
}
.wc-input::placeholder { color: var(--ink-3); }
.wc-input:-webkit-autofill,
.wc-input:-webkit-autofill:hover,
.wc-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 100px #161616 inset;
  transition: background-color 600000s 0s, color 600000s 0s;
}
.wc-field:focus-within .wc-input:-webkit-autofill { box-shadow: 0 0 0 100px #1c1c1c inset; }
.wc-field:focus-within { background: #1c1c1c; }
.wc-primary {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 14px;
  background: #f5f5f5;
  color: #000000;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s var(--ease), opacity 0.15s var(--ease);
}
.wc-primary:hover { background: #ffffff; }
.wc-primary:disabled { cursor: default; opacity: 0.55; }
.wc-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wc-msg { margin-top: -0.375rem; padding: 0 0.875rem; color: #ff6961; font-size: 0.75rem; line-height: 1.45; }
.wc-msg[data-tone='ok'] { color: var(--ink-2); }
.wc-msg[hidden] { display: none; }
.wc-inline {
  padding: 0.25rem 0.625rem;
  border: 0;
  border-radius: 999px;
  background: #242424;
  color: var(--ink);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.wc-inline:hover { background: #2e2e2e; }
.wc-inline[data-armed='true'] { background: rgba(255, 105, 97, 0.16); color: #ff6961; }
.wc-inline:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wc-row[hidden] { display: none; }
.wc-wrap { white-space: normal; line-height: 1.4; }
.wc-choice .wc-stack { white-space: normal; }
.wc-check {
  flex: none;
  width: 0.875rem;
  height: 0.6875rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
.wc-choice[aria-checked='true'] .wc-check { opacity: 1; }
.wc-primary-danger { background: #ff6961; color: #000000; }
.wc-primary-danger:hover { background: #ff7b74; }
.wc-primary-danger[data-armed='true'] { background: #ff453a; color: #ffffff; }
.wc-qr { justify-self: center; display: grid; place-items: center; padding: 0.875rem; border-radius: 14px; background: #ffffff; }
.wc-qr img { display: block; width: 9.25rem; height: 9.25rem; }
.wc-key {
  justify-self: center;
  margin-top: -0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: #161616;
  color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-align: center;
  word-break: break-all;
  user-select: all;
}

.nav .nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.plate {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: min(40rem, 78vh);
  min-height: min(40rem, 78svh);
  border-radius: var(--r-panel);
  background-color: var(--night);
  color: var(--on-dark);
}

.plate::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--plate-img);
  background-size: cover;
  background-position: var(--plate-pos, 50% 50%);
  background-repeat: no-repeat;
  pointer-events: none;
}

.plate::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 20, 19, 0) 35%, rgba(20, 20, 19, 0.72) 100%);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-center { text-align: center; }

.hero-sub {
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 0.75rem;
}

.foot {
  width: 100%;
  margin: 0;
  padding: clamp(4rem, 7vw, 6rem) max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))) calc(1.75rem + var(--safe-b));
  background: var(--paper);
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
}
:root[data-theme='dark'] .foot {
  background: var(--night);
  color: var(--on-dark-2);
  border-top: 0;
  --ink: var(--on-dark);
  --ink-2: var(--on-dark-2);
  --ink-3: var(--on-dark-3);
  --line: var(--line-dark);
  --hover: rgba(255, 255, 255, 0.08);
}
.foot :focus-visible { outline-color: var(--ink); }
.foot-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--ink);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}
.foot-mark svg { flex: none; width: 0.78em; height: 0.78em; }
.foot-mark span { display: block; }
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr));
  gap: var(--s5) var(--gap);
}
.foot-say > p {
  margin-top: var(--s3);
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 34ch;
}
.foot-news { margin-top: var(--s5); max-width: 24rem; }
.foot-news-label { display: block; margin-bottom: var(--s2); color: var(--ink); font-size: 0.9375rem; }
.foot-news-row { display: flex; gap: var(--s2); }
.foot-news-input {
  flex: 1;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
}
.foot-news-input::placeholder { color: var(--ink-3); }
.foot-news-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.foot-news .pill:disabled { opacity: 0.6; cursor: progress; }
.foot-news-say { margin-top: var(--s2); font-size: 0.875rem; }
.foot-news-say:empty { display: none; }
.foot-news-say[data-state='error'] { color: var(--danger); }
.foot-news-fine { margin-top: var(--s2); color: var(--ink-3); font-size: 0.8125rem; }
.foot-news-fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.foot h2 {
  margin-bottom: var(--s3);
  font-size: var(--small);
  color: var(--ink-3);
}
.foot li + li { margin-top: 0.625rem; }
.foot li a {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 1.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}
.foot li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 0;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.rise-on [data-rise] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rise-on [data-rise].in { opacity: 1; transform: none; }

.rise-on [data-rise] :nth-child(2) { --rise-d: 60ms; }
.rise-on [data-rise] :nth-child(3) { --rise-d: 120ms; }
.rise-on [data-rise] :nth-child(4) { --rise-d: 180ms; }
.rise-on [data-rise] :nth-child(5) { --rise-d: 240ms; }
.rise-on [data-rise] :nth-child(6) { --rise-d: 300ms; }
.rise-on [data-rise] :nth-child(7) { --rise-d: 340ms; }
.rise-on [data-rise] :nth-child(8) { --rise-d: 380ms; }
.rise-on [data-rise] :nth-child(n + 9) { --rise-d: 420ms; }

@media (max-width: 1080px) {
  .foot-say { grid-column: 1 / -1; }
  .foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .bar-inner { grid-template-columns: auto 1fr; grid-template-areas: 'brand actions'; }
  .ring-logo { justify-self: start; }

  .nav {
    grid-area: auto;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-left: 0;
    min-height: calc(100vh - var(--bar-h) - var(--safe-t));
    min-height: calc(100dvh - var(--bar-h) - var(--safe-t));
    padding: 0.625rem clamp(0.75rem, 3.2vw, 2rem) calc(1.75rem + var(--safe-b));
    background: var(--paper);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav[data-open='true'] { opacity: 1; transform: none; visibility: visible; }
  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.5rem 0.875rem;
    border-radius: 14px;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    background: none;
    box-shadow: none;
  }
  .nav a[aria-current] { background: var(--press); }

  .bar-actions .pill { display: none; }
  .nav a.nav-cta {
    display: inline-flex;
    align-self: flex-start;
    justify-content: center;
    width: auto;
    min-height: 2.75rem;
    margin-top: 1.5rem;
    margin-inline: 0.875rem;
    padding-inline: 1.5rem;
    border-radius: var(--r-pill);
    background: var(--ink);
    color: var(--paper);
    font-size: 0.9375rem;
    letter-spacing: 0;
  }
}

@media (max-width: 720px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .plate { min-height: min(30rem, 66vh); min-height: min(30rem, 66svh); border-radius: var(--r-box); }
  .plate::after { background-image: var(--plate-img-sm, var(--plate-img)); }

  .end { border-radius: var(--r-box); }

  .lede,
  .foot-say > p { max-width: none; }

  .hero-actions,
  .end-actions { align-items: stretch; width: 100%; }
  .hero-actions .pill,
  .end-actions .pill { flex: 1 1 auto; }

  .foot-top { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .foot li + li { margin-top: 0.25rem; }
  .foot li a { min-height: 2.5rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .nav a:not(.nav-cta):hover { color: var(--ink-3); background: none; }
  .nav a[aria-current] { color: var(--ink); }
  .foot li a:hover { color: var(--ink-2); }
  .pill:hover { opacity: 1; }
  .pill-line:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .rise-on [data-rise],
  .rise-on [data-rise] > * { opacity: 1; transform: none; }
}

.chooser { display: contents; }
.chooser-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  pointer-events: none;
}
.chooser-trigger { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: left; cursor: pointer; }
.chooser-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chooser-caret {
  flex: none;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-right: -1.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-radius: 1px;
  opacity: 0.55;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.chooser-trigger[aria-expanded='true'] .chooser-caret { opacity: 0.9; transform: translateY(1px) rotate(225deg); }
.chooser-menu {
  position: fixed;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.375rem;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line-soft), 0 4px 12px -6px rgba(0, 0, 0, 0.16), 0 24px 48px -24px rgba(0, 0, 0, 0.32);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: chooser-in 0.2s var(--ease) both;
}
:root[data-theme='dark'] .chooser-menu {
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-soft), 0 24px 48px -24px #000000;
}
.chooser-menu[hidden] { display: none; }
.chooser-menu:focus { outline: none; }
.chooser-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 570;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.chooser-option:hover,
.chooser-option.is-at { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.chooser-option:focus-visible { outline: none; }
.chooser-option-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chooser-option-check {
  flex: none;
  width: 0.375rem;
  height: 0.6875rem;
  margin: 0 0.25rem 0 auto;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.chooser-option[aria-selected='false'] .chooser-option-check { visibility: hidden; }
@keyframes chooser-in {
  from { opacity: 0; transform: translateY(4px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

:root :is(p, dd, td, figcaption, blockquote, :is(.sec-body, .pol-body) li:not(:is(.pol-pick, .pol-toc, .toc) *)) a:not([class]),
:root a.in-text {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent);
}
:root :is(p, dd, td, figcaption, blockquote, :is(.sec-body, .pol-body) li:not(:is(.pol-pick, .pol-toc, .toc) *)) a:not([class]):hover,
:root a.in-text:hover { text-decoration-color: var(--link); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.go, .pill) svg:has(use[href='#arw']) { transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  :is(.go, .pill):hover svg:has(use[href='#arw']) { transform: translateX(3px); }
}
