/* ==========================================================================
   Krynexis AI — inner pages
   ========================================================================== */

/* ================================================================ PAGE HERO */
.phero {
  padding-top: calc(var(--nav-h) + clamp(72px, 9vw, 128px));
  padding-bottom: clamp(48px, 6vw, 88px);
}
.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
}
.phero .h1 { margin-top: 22px; }
.phero__side .lede { max-width: 42ch; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } }

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px dashed var(--line-2);
}
.cta-band .h2 { max-width: 14ch; }

/* ================================================================ RELAY DEMO */
.rd-section { padding-bottom: clamp(64px, 8vw, 120px); }
.rd-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px dashed var(--line-2);
}
.rd-toolbar .small { max-width: 64ch; margin-top: 6px; }
.rd-toolbar .small b { color: var(--ink); font-weight: 600; }
.rd-toolbar__actions { display: flex; align-items: center; gap: 12px; }
.rd-linked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.rd-linked i { width: 8px; height: 8px; border-radius: 50%; background: var(--bone-2); box-shadow: inset 1px 1px 1px rgba(21, 20, 15, .3); }
.rd-linked.is-on i { background: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-soft); animation: live 1.6s var(--ease) infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(43, 69, 255, .08); } }

.rd-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 320px;
  align-items: center;
}
.rd-desk {
  --z: 5;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  min-height: 540px;
}
.rd-desk__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px dashed var(--line-2);
}
.rd-desk__crumbs { text-transform: none; color: var(--mute); font-size: 12px; }
.rd-desk__crumbs b { color: var(--ink); font-weight: 500; }
.rd-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 9px 4px;
  border-radius: 2px;
  background: var(--bone);
  transition: background .3s, color .3s;
}
.rd-badge[data-s="running"] { background: var(--signal); color: var(--paper-hi); }
.rd-badge[data-s="waiting"] { background: var(--cobalt); color: var(--paper-hi); }
.rd-badge[data-s="paused"] { background: var(--kraft); }
.rd-badge[data-s="done"] { background: var(--ink); color: var(--paper-hi); }
.rd-badge[data-s="rejected"] { background: var(--ink-2); color: var(--paper-hi); }
.rd-desk__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.rd-steps {
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: start;
  background-image: radial-gradient(circle at 1px 1px, rgba(21, 20, 15, .16) 1px, transparent 1.3px);
  background-size: 20px 20px;
}
.rd-steps li {
  --z: 1;
  position: relative;
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 3px;
  background: var(--paper-hi);
  box-shadow: inset 0 0 0 .5px rgba(21, 20, 15, .16), calc(var(--sx) * 1px) calc(var(--sy) * 1px) 2px rgba(21, 20, 15, .1);
  transition: background .35s, color .35s, opacity .35s, translate .5s var(--ease-paper);
}
.rd-steps li b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.rd-steps li span:not(.rd-dot):not(.rd-state) { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.rd-dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink-2); }
.rd-state { font-size: 10px; color: var(--mute); }
.rd-steps li.done .rd-dot { background: var(--ink); border-color: var(--ink); }
.rd-steps li.run { background: var(--signal); color: var(--paper-hi); translate: 4px 0; }
.rd-steps li.wait { background: var(--cobalt); color: var(--paper-hi); translate: 4px 0; }
.rd-steps li.paused { background: var(--kraft); translate: 4px 0; }
.rd-steps li.run *, .rd-steps li.wait * { color: inherit !important; }
.rd-steps li.run .rd-dot, .rd-steps li.wait .rd-dot { border-color: var(--paper-hi); animation: blink 1s steps(2) infinite; }
.rd-steps li.rejected { background: var(--ink); color: var(--paper-hi); }
.rd-steps li.rejected * { color: inherit !important; }
.rd-steps li.skip { opacity: .35; }
.rd-side {
  border-left: 1px dashed var(--line-2);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rd-field { display: grid; gap: 8px; }
.rd-field > .mono { color: var(--mute); font-size: 10.5px; }
.rd-field--grow { flex: 1; align-content: start; }
.rd-seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 3px; background: var(--bone); box-shadow: inset 1px 1px 2px rgba(21, 20, 15, .15); width: max-content; }
.rd-seg button { padding: 7px 14px; font-size: 13.5px; font-weight: 550; border-radius: 2px; }
.rd-seg button[aria-pressed="true"] { background: var(--paper-hi); box-shadow: 1px 1.5px 2px rgba(21, 20, 15, .2); }
.rd-amount { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.rd-log { display: grid; gap: 7px; font-size: 12.5px; }
.rd-log li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; animation: log-in .4s var(--ease) both; }
.rd-log time { font-family: var(--mono); font-size: 10.5px; color: var(--mute); padding-top: 2px; }
.rd-log .is-empty { display: block; color: var(--mute); }
.rd-desk__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px dashed var(--line-2);
  min-height: 72px;
}
.rd-wait { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: var(--cobalt); }
.rd-wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); animation: blink 1s steps(2) infinite; }

.rd-thread { width: 100%; height: 200px; overflow: visible; }
.rd-thread path {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 2;
  stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
  animation: dash 1s linear infinite;
}

.rd-phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 18.8;
  padding: 10px;
  border-radius: 46px;
  background: #0A0A09;
  box-shadow:
    inset 0 0 0 2px #2A2925,
    calc(var(--sx) * 6px) calc(var(--sy) * 8px) 14px rgba(21, 20, 15, .3),
    calc(var(--sx) * 18px) calc(var(--sy) * 24px) 44px rgba(21, 20, 15, .2);
  rotate: 2deg;
}
.rd-phone.buzz { animation: buzz .5s linear 2; }
@keyframes buzz {
  0%, 100% { translate: 0 0; }
  20% { translate: -3px 0; }
  40% { translate: 3px 0; }
  60% { translate: -2px 0; }
  80% { translate: 2px 0; }
}
.rd-phone__screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: var(--cobalt);
  padding: 46px 14px 16px;
  display: flex;
  flex-direction: column;
  transition: background .5s var(--ease);
}
.rd-phone.is-alert .rd-phone__screen { background: var(--signal); }
.rd-phone .hphone__notch { width: 96px; height: 28px; top: 10px; border-radius: 20px; }
.rd-phone__status {
  position: absolute;
  top: 16px; left: 26px; right: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-hi);
}
.rd-phone__pill { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 10px; background: rgba(248, 245, 238, .2); }
.rd-phone__app { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.ph-big { text-align: center; color: var(--paper-hi); padding: 18px 0 22px; }
.ph-time { display: block; font-size: 64px; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.ph-date { font-size: 13px; opacity: .85; }
.ph-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper-hi);
  color: var(--ink-2);
  font-size: 13px;
  box-shadow: 2px 4px 10px rgba(10, 16, 70, .35);
  animation: ph-in .5s var(--ease-paper) both;
}
.ph-card b { font-size: 20px; letter-spacing: -.025em; color: var(--ink); line-height: 1.15; }
.ph-card--alert { box-shadow: 2px 6px 18px rgba(80, 20, 5, .4); }
.ph-card--done .stamp { justify-self: start; margin: 6px 0 4px; }
@keyframes ph-in { from { opacity: 0; transform: translateY(-18px) scale(.97); } to { opacity: 1; transform: none; } }
.ph-app { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.ph-app i { width: 8px; height: 8px; background: var(--signal); }
.ph-app i.live { border-radius: 50%; animation: blink 1s steps(2) infinite; }
.ph-amount {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin: 8px 0 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bone);
}
.ph-amount strong { text-align: center; font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.ph-amount button { height: 36px; border-radius: 9px; background: var(--paper-hi); font-size: 20px; box-shadow: 1px 1px 2px rgba(21, 20, 15, .2); }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ph-btn {
  height: 44px;
  margin-top: 6px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--bone);
  color: var(--ink);
  transition: transform .2s var(--ease);
}
.ph-btn:active { transform: scale(.97); }
.ph-btn--go { background: var(--signal); color: var(--paper-hi); }
.ph-card--alert .ph-btn--go { background: var(--ink); }
.ph-fine { font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); text-align: center; margin-top: 2px; }
.ph-bar { height: 6px; border-radius: 3px; background: var(--bone); overflow: hidden; margin: 6px 0; }
.ph-bar i { display: block; height: 100%; background: var(--signal); transition: width .6s var(--ease); }
.ph-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 10px; background: var(--bone); }
.ph-seg button { height: 32px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.ph-seg button[aria-pressed="true"] { background: var(--paper-hi); box-shadow: 1px 1px 2px rgba(21, 20, 15, .2); }
.ph-feed { margin-top: auto; padding: 12px 14px; border-radius: 14px; background: rgba(248, 245, 238, .16); color: var(--paper-hi); font-size: 12.5px; }
.ph-feed .mono { font-size: 9.5px; opacity: .75; }
.rd-note { margin-top: 26px; color: var(--mute); text-align: center; font-size: 10.5px; }

@media (max-width: 1000px) {
  .rd-stage { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .rd-desk { width: 100%; }
  .rd-thread { display: none; }
}
@media (max-width: 640px) {
  .rd-desk__body { grid-template-columns: 1fr; }
  .rd-side { border-left: 0; border-top: 1px dashed var(--line-2); }
  .rd-desk { min-height: 0; }
}

/* phone-only window (popped out) */
html.view-phone body { background: var(--paper); }
html.view-phone .nav, html.view-phone .cutbar, html.view-phone .footer, html.view-phone .skip,
html.view-phone main > section:not(.rd-section),
html.view-phone .rd-toolbar, html.view-phone .rd-desk, html.view-phone .rd-thread, html.view-phone .rd-note { display: none !important; }
html.view-phone .rd-section { padding: 0; }
html.view-phone .rd-section .wrap { padding: 0; }
html.view-phone .rd-stage { grid-template-columns: 1fr; min-height: 100vh; min-height: 100svh; place-items: center; padding: 16px; }
html.view-phone .rd-phone { max-width: min(340px, 86vw); rotate: 0deg; }
html.view-phone .js [data-reveal], html.view-phone [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ================================================================ PAIRING */
.pair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pair__step { --z: 2; padding: 28px; border-radius: 3px; min-height: 280px; display: flex; flex-direction: column; }
.pair__no { font-family: var(--mono); font-size: 12px; color: var(--signal); margin-bottom: auto; }
.pair__step .h3 { margin: 40px 0 10px; }
.pair__step .body b { color: var(--ink); font-weight: 600; }
.pair__code {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 30px;
  letter-spacing: .12em;
}
.pair__code span { padding: 8px 12px; background: var(--paper); border-radius: 2px; box-shadow: inset 1px 1.5px 3px rgba(21, 20, 15, .18); }
.pair__code i { width: 10px; height: 2px; background: var(--ink); }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } .pair__step { min-height: 0; } }

/* ================================================================ CAPS */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cap { --z: 3; padding: 26px; border-radius: 3px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: --lift .4s var(--ease); }
.cap:hover { --lift: 6; }
.cap__ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: auto;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 600;
  background: var(--c);
  color: var(--ink);
}
.cap__ico[style*="cobalt"], .cap__ico[style*="signal"] { color: var(--paper-hi); }
.cap .h4 { margin-top: 30px; }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* ================================================================ DEVICES */
.devs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.devs__sync {
  position: absolute;
  left: 0; right: 0;
  top: 128px;
  height: 0;
  border-top: 1.5px dashed var(--cobalt);
  opacity: .55;
  pointer-events: none;
}
.devs__sync span {
  position: absolute;
  right: 0; top: -22px;
  font-size: 10px;
  color: var(--cobalt);
  display: flex; align-items: center; gap: 6px;
}
.devs__sync span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); animation: blink 1.2s steps(2) infinite; }
.dev__stage {
  position: relative;
  z-index: 1;
  height: 240px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}
.dev__art {
  height: 100%;
  width: auto;
  max-width: 100%;
  overflow: visible;
  filter: drop-shadow(calc(var(--sx) * 3px) calc(var(--sy) * 4px) 4px rgba(21, 20, 15, .22)) drop-shadow(calc(var(--sx) * 10px) calc(var(--sy) * 14px) 18px rgba(21, 20, 15, .12));
  transition: translate .6s var(--ease-paper), rotate .6s var(--ease-paper);
}
.dev:hover .dev__art { translate: 0 -8px; rotate: -1deg; }
.dev:nth-child(3) .dev__art { rotate: 2deg; }
.dev:nth-child(3):hover .dev__art { rotate: 0deg; }
.dev__wire { stroke-dasharray: 4 0; }
.dev .mono { color: var(--mute); display: block; margin-top: 22px; }
.dev .h3 { margin: 6px 0 14px; }
.dev__list li { padding: 10px 0; border-top: 1px dashed var(--line-2); font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) {
  .devs { grid-template-columns: 1fr; gap: 48px; }
  .devs__sync { display: none; }
  .dev__stage { height: 200px; }
}

/* ================================================================ SEAL */
.seal {
  --z: 3;
  border-radius: 3px;
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.seal .h2 { margin-top: 18px; }
.seal__list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px dashed var(--line-2); font-size: 16px; }
.seal__list .mono { color: var(--signal); padding-top: 3px; }
@media (max-width: 860px) { .seal { grid-template-columns: 1fr; } }

/* ================================================================ PRODUCT */
.ptabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}
.ptabs a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px 9px;
  font-size: 15px;
  font-weight: 550;
  border-radius: 3px 3px 0 0;
  background: var(--bone);
  box-shadow: inset 0 -1px 0 var(--line-2);
  transition: background .25s, translate .3s var(--ease);
}
.ptabs a .mono { font-size: 10px; color: var(--signal); }
.ptabs a:hover { background: var(--paper-hi); translate: 0 -3px; }

.psec--alt { background: linear-gradient(var(--bone), var(--bone)); }
.psec__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.psec__grid--flip > :first-child { order: 2; }
.psec .h2 { margin: 18px 0 22px; }
.psec__copy .btn { margin-top: 30px; }
.ticks { margin-top: 28px; }
.ticks li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px dashed var(--line-2);
  font-size: 15.5px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px; top: 17px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  rotate: -45deg;
}
@media (max-width: 900px) {
  .psec__grid { grid-template-columns: 1fr; }
  .psec__grid--flip > :first-child { order: 0; }
}

.catalog { --z: 4; border-radius: 4px; padding: 22px; }
.catalog__head { display: flex; justify-content: space-between; color: var(--mute); padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.catalog__group { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.catalog__group:last-child { border-bottom: 0; padding-bottom: 4px; }
.catalog__group > .mono { color: var(--mute); padding-top: 8px; font-size: 10.5px; }
.catalog__group > div { display: flex; flex-wrap: wrap; gap: 7px; }
.nchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  font-size: 13.5px;
  font-weight: 550;
  border-radius: 2px;
  background: var(--paper);
  box-shadow: inset 0 0 0 .5px rgba(21, 20, 15, .2), calc(var(--sx) * 1px) calc(var(--sy) * 1.2px) 1.5px rgba(21, 20, 15, .14);
  transition: translate .3s var(--ease-paper);
}
.nchip::before { content: ''; width: 6px; height: 6px; background: var(--ink); }
.nchip--s::before { background: var(--signal); }
.nchip--c::before { background: var(--cobalt); }
.nchip:hover { translate: 0 -2px; }

/* sketch */
.sketch {
  --z: 4;
  position: relative;
  aspect-ratio: 520 / 380;
  border-radius: 3px;
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(43, 69, 255, .1) 31px 32px),
    #FBF8F1;
}
.sketch__napkin {
  position: absolute;
  inset: 0 0 40px;
  width: 100%;
  height: calc(100% - 40px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s;
}
.sketch.is-flow .sketch__napkin { opacity: 0; transform: scale(.92) rotate(-3deg); filter: blur(2px); }
.sketch__flow { position: absolute; inset: 0 0 40px; pointer-events: none; }
.sketch__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sketch__wires path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset .9s var(--ease) .5s;
}
.sketch.is-flow .sketch__wires path { stroke-dashoffset: 0; }
.sn {
  --z: 3;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 24%;
  padding: 10px 12px;
  border-radius: 3px;
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-24px) rotate(-4deg);
  --lift: 14;
  transition: opacity .4s var(--ease) calc(var(--d) * 110ms + 250ms), transform .8s var(--ease-paper) calc(var(--d) * 110ms + 250ms), --lift .8s var(--ease) calc(var(--d) * 110ms + 250ms);
}
.sketch.is-flow .sn { opacity: 1; transform: none; --lift: 0; }
.sn .mono { font-size: 9.5px; color: var(--mute); }
.sn b { font-size: clamp(12px, 1.3vw, 15px); letter-spacing: -.015em; }
.sn--s { background: var(--signal); color: var(--paper-hi); }
.sn--s .mono { color: rgba(248, 245, 238, .8); }
.sn--c { background: var(--cobalt); color: var(--paper-hi); }
.sn--c .mono { color: rgba(248, 245, 238, .8); }
.sn__flag {
  position: absolute;
  left: 0; bottom: calc(100% + 8px);
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 7px;
  background: #FFE36E;
  color: var(--ink);
  rotate: -2deg;
  box-shadow: 1px 2px 3px rgba(21, 20, 15, .2);
}
.sketch__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 10.5px;
  color: var(--mute);
  border-top: 1px dashed var(--line-2);
  background: var(--paper-hi);
}

/* rewind */
.rewind { --z: 4; border-radius: 4px; overflow: hidden; }
.rewind__body { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 420px; }
.rewind__steps { border-right: 1px dashed var(--line-2); padding: 12px; display: grid; gap: 4px; align-content: start; background: var(--paper); }
.rewind__steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0 8px;
  padding: 10px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.rewind__steps li .mono { grid-row: span 2; font-size: 10.5px; color: var(--mute); padding-top: 3px; }
.rewind__steps li b { font-size: 14.5px; font-weight: 600; }
.rewind__steps li em { font-style: normal; font-size: 9.5px; color: var(--mute); }
.rewind__steps li:hover { background: var(--bone); }
.rewind__steps li.is-past b { color: var(--ink-2); }
.rewind__steps li.is-on { background: var(--ink); color: var(--paper-hi); }
.rewind__steps li.is-on .mono, .rewind__steps li.is-on em { color: rgba(248, 245, 238, .65); }
.rewind__steps li.is-bug { box-shadow: inset 3px 0 0 var(--signal); }
.rewind__steps li.is-bug b::after { content: ' ●'; color: var(--signal); font-size: 10px; vertical-align: 2px; }
.rewind__steps li.is-fixed { box-shadow: inset 3px 0 0 var(--cobalt); }
.rewind__steps li.is-fixed b::after { content: ' ↺'; color: var(--cobalt); }
.rewind__steps li.is-on.is-fixed b::after { color: #9AA7FF; }
.rewind__panel { padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; }
.rewind__panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.rewind__panel-head .mono { color: var(--signal); }
.rewind__panel-head .h3 { margin-top: 6px; }
.rewind__stats { display: flex; gap: 22px; }
.rewind__stats .mono { color: var(--mute) !important; font-size: 10px; }
.rewind__stats b { display: block; font-size: 17px; font-weight: 600; margin-top: 2px; }
.rewind__io { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rewind__io .mono { color: var(--mute); font-size: 10px; }
.rewind__io pre {
  margin: 8px 0 0;
  min-height: 132px;
  padding: 14px;
  border-radius: 3px;
  background: var(--black-2);
  color: #D8D2C0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow: auto;
}
.rewind__io mark { background: var(--signal); color: var(--paper-hi); padding: 0 3px; }
.rewind__io ins { text-decoration: none; background: var(--cobalt); color: var(--paper-hi); padding: 0 3px; }
.rewind__note { min-height: 46px; font-size: 14.5px; padding: 12px 14px; border-radius: 3px; color: var(--ink-2); }
.rewind__note:empty { background: transparent; }
.rewind__note.is-bug { background: var(--signal-soft); }
.rewind__note.is-fixed { background: var(--cobalt-soft); }
.rewind__note b { color: var(--ink); }
.rewind__tape {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px 30px;
  border-top: 1px dashed var(--line-2);
  background: var(--paper);
}
.rewind__play {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-hi);
  font-size: 14px;
  box-shadow: calc(var(--sx) * 1.5px) calc(var(--sy) * 2px) 3px rgba(21, 20, 15, .3);
}
.rewind__track { position: relative; flex: 1; }
.rewind__ticks { position: absolute; left: 10px; right: 10px; top: 30px; height: 12px; }
.rewind__ticks span { position: absolute; translate: -50% 0; font-family: var(--mono); font-size: 10px; color: var(--mute); }
.rewind.is-replaying .rewind__io pre { animation: replay .9s var(--ease); }
@keyframes replay { 0% { filter: none; } 30% { filter: brightness(1.6) saturate(0); transform: translateX(4px); } 100% { filter: none; transform: none; } }
@media (max-width: 900px) {
  .rewind__body { grid-template-columns: 1fr; }
  .rewind__steps { border-right: 0; border-bottom: 1px dashed var(--line-2); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .rewind__io { grid-template-columns: 1fr; }
  .rewind__tape { flex-wrap: wrap; }
  .rewind__tape .btn { width: 100%; justify-content: center; }
}

/* ops */
.ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.op { --z: 3; border-radius: 3px; padding: 28px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 120px; }
.op__no { color: var(--signal); }
.op .h3 { margin-top: 10px; }
.op__viz { margin-top: auto; padding-top: 18px; }
.op__viz--mend { display: grid; gap: 8px; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 2px; background: var(--paper); font-family: var(--mono); font-size: 12px; }
.mrow i { width: 10px; height: 10px; border-radius: 50%; }
.mrow i.x { background: var(--signal); }
.mrow i.r { background: var(--kraft-2); }
.mrow i.ok { background: var(--cobalt); }
.op__viz--fence code { display: block; padding: 12px; background: var(--paper); border-radius: 2px; font-family: var(--mono); font-size: 12.5px; }
.op__viz--fence mark { background: var(--ink); color: var(--ink); border-radius: 1px; }
.fence-cap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 12px; }
.fence-cap .mono { font-size: 10px; color: var(--mute); }
.fence-bar, .fork-bar { height: 10px; background: var(--bone-2); border-radius: 1px; overflow: hidden; box-shadow: inset 1px 1px 2px rgba(21, 20, 15, .15); }
.fence-bar i, .fork-bar i { display: block; height: 100%; background: var(--signal); }
.fork-bar--b i { background: var(--cobalt); }
.ledger { width: 100%; margin-top: auto; border-collapse: collapse; font-size: 14px; }
.ledger th { text-align: left; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.ledger td { padding: 10px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.ledger th:not(:first-child), .ledger td:not(:first-child) { text-align: right; }
.ledger .total td { font-weight: 600; border-bottom: 0; border-top: 1px solid var(--ink); }
.op__viz--fork { display: grid; gap: 10px; }
.fork-row { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 12px; }
.fork-row .mono { font-size: 10px; color: var(--ink-2); }
.fork-row b { text-align: right; font-variant-numeric: tabular-nums; }
.fork-foot { color: var(--mute); font-size: 10px; }
@media (max-width: 860px) { .ops { grid-template-columns: 1fr; } }

/* datasheet */
.datasheet { --z: 3; border-radius: 3px; padding: clamp(26px, 5vw, 60px); }
.datasheet__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.datasheet .h2 { margin-top: 18px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.specs > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px dashed var(--line-2); }
.specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.specs dd { margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; } .specs > div { grid-template-columns: 1fr; gap: 4px; } }

/* ================================================================ PRICING */
.quote-sec { padding-bottom: clamp(64px, 8vw, 120px); }
.quote {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.qb { --z: 3; border-radius: 4px; padding: clamp(22px, 3.4vw, 40px); }
.qb__row { border: 0; margin: 0; padding: 22px 0; border-top: 1px dashed var(--line-2); min-width: 0; }
.qb__row:first-of-type { border-top: 0; padding-top: 0; }
.qb__row > :not(legend) { clear: both; }
.qb__row legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 14px; padding: 0; }
.qb__row legend .mono { color: var(--signal); font-size: 11px; }
.qb__row legend small { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); font-weight: 400; }
.qb__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qb__range { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 14px; }
.qb__runs { font-size: 24px; font-weight: 600; letter-spacing: -.03em; min-width: 130px; text-align: right; font-variant-numeric: tabular-nums; }
.qb__scale { display: flex; justify-content: space-between; margin-right: 150px; color: var(--mute); font-size: 10px; margin-top: 4px; }

.ticket-wrap { position: sticky; top: calc(var(--nav-h) + 36px); }
.ticket {
  --z: 6;
  border-radius: 4px;
  padding: 26px 26px 0;
  rotate: 1.2deg;
  transform-origin: 50% 0;
}
.ticket.is-bump { animation: bump .5s var(--ease-paper); }
@keyframes bump { 30% { rotate: -.4deg; --lift: 10; } 100% { rotate: 1.2deg; } }
.ticket__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.ticket__head .wordmark { font-size: 18px; }
.ticket__head .logo-mark { width: 24px; height: 24px; }
.ticket__head .mono { color: var(--mute); }
.ticket__no { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; }
.ticket__no .mono { color: var(--mute); }
.ticket__no b { font-family: var(--mono); font-size: 18px; font-weight: 500; letter-spacing: .04em; }
.ticket__lines { margin: 0; }
.ticket__lines > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line-2); }
.ticket__lines dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.ticket__lines dd { margin: 0; font-size: 15px; font-weight: 500; }
.ticket__tier { margin: 14px -26px 0; padding: 18px 26px; background: var(--ink); color: var(--paper-hi); }
.ticket__tier .mono { color: #A7A190; }
.ticket__tier b { display: block; font-size: 34px; letter-spacing: -.04em; margin: 4px 0 2px; }
.ticket__tier b.is-pop { animation: stamp .5s var(--ease-paper); }
.ticket__tier .small { color: #B9B3A2; }
.ticket__perf {
  height: 22px;
  margin: 0 -26px;
  position: relative;
  background: radial-gradient(circle at 0 50%, var(--paper) 10px, transparent 10.5px) left / 50% 100% no-repeat,
              radial-gradient(circle at 100% 50%, var(--paper) 10px, transparent 10.5px) right / 50% 100% no-repeat;
}
.ticket__perf::after { content: ''; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed var(--line-2); }
.ticket__stub { padding: 6px 0 24px; display: grid; gap: 12px; }
.ticket__stub .btn { justify-content: space-between; }
@media (max-width: 960px) {
  .quote { grid-template-columns: 1fr; }
  .ticket-wrap { position: static; }
  .ticket { rotate: 0deg; }
  .qb__scale { margin-right: 0; }
  .qb__range { grid-template-columns: 1fr; gap: 6px; }
  .qb__runs { order: -1; text-align: left; }
}

.inc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.inc li { display: grid; gap: 8px; padding: 22px 20px 28px 0; border-bottom: 1px dashed var(--line-2); }
.inc li .mono { color: var(--signal); }
.inc li b { font-size: 17px; letter-spacing: -.015em; }
.inc li span:last-child { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 960px) { .inc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .inc { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq .h2 { margin-top: 18px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { --z: 2; border-radius: 3px; transition: --lift .3s var(--ease); }
.faq__item[open] { --lift: 4; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; position: relative; width: 14px; height: 14px; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--ink); transition: rotate .35s var(--ease); }
.faq__item summary i::after { rotate: 90deg; }
.faq__item[open] summary i::after { rotate: 0deg; }
.faq__item p { padding: 0 22px 22px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ================================================================ COMPANY */
.manifesto-title { margin-top: 22px; max-width: 16ch; font-size: clamp(46px, 7.4vw, 124px); }
.strike { position: relative; color: var(--mute); }
.strike::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; top: 54%;
  height: .09em;
  background: var(--signal);
  rotate: -2deg;
  transform-origin: left;
  scale: 0 1;
  animation: strike 1s var(--ease) 1.1s forwards;
}
@keyframes strike { to { scale: 1 1; } }
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__card { --z: 4; border-radius: 3px; padding: 28px; rotate: -1.5deg; }
.story__card .mono { color: var(--ink-2); }
.story__card p { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; }
.story__lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; margin-bottom: 26px; text-wrap: pretty; }
.story__body .body { font-size: 18px; margin-bottom: 18px; max-width: 60ch; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.principles { border-top: 1px solid var(--ink); }
.principle {
  display: grid;
  grid-template-columns: minmax(80px, 200px) 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px dashed var(--line-2);
  align-items: baseline;
  transition: padding .4s var(--ease);
}
.principle:hover { padding-left: 14px; }
.principle__no { font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -.05em; line-height: .9; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.principle:hover .principle__no { color: var(--signal); -webkit-text-stroke-color: var(--signal); }
.principle .h3 { font-size: clamp(26px, 3vw, 42px); margin-bottom: 8px; }
.principle .body { max-width: 54ch; }

.careers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.careers .h2 { margin: 18px 0 22px; }
.roles { display: grid; gap: 12px; }
.role { --z: 3; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 24px; border-radius: 3px; transition: --lift .35s var(--ease), translate .35s var(--ease); }
.role .mono { color: var(--signal); grid-column: 1; }
.role b { font-size: 19px; letter-spacing: -.02em; grid-column: 1; }
.role__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 22px; transition: translate .35s var(--ease); }
.role:hover { --lift: 6; translate: 6px 0; }
.role:hover .role__go { translate: 4px 0; color: var(--signal); }
@media (max-width: 860px) { .careers { grid-template-columns: 1fr; } }

/* ================================================================ CONTACT */
.contact { padding-top: calc(var(--nav-h) + clamp(64px, 8vw, 112px)); padding-bottom: clamp(64px, 8vw, 120px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact .h1 { margin: 22px 0 24px; font-size: clamp(42px, 5.4vw, 86px); }
.expect { margin-top: 34px; }
.expect li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--line-2); font-size: 16px; }
.expect .mono { color: var(--signal); padding-top: 3px; }
.contact__mail { margin-top: 28px; }
.contact__mail .link-arrow { color: var(--ink); }
.cform { --z: 5; position: relative; border-radius: 3px; padding: clamp(22px, 3.4vw, 40px); }
.cform.is-shake { animation: shake .4s var(--ease); }
@keyframes shake { 25% { translate: -6px 0; } 50% { translate: 5px 0; } 75% { translate: -3px 0; } }
.cform__head { display: flex; justify-content: space-between; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 2px solid var(--ink); }
.cform__head .mono { color: var(--mute); }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--full { grid-column: 1 / -1; }
.cform__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.cform__foot .small { color: var(--signal-deep); }
.cform__done {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(26px, 5vw, 56px);
  background: var(--paper-hi);
  border-radius: 3px;
}
.cform__done[hidden] { display: none; }
.cform__done .stamp { font-size: 18px; padding: 10px 16px 9px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cform__grid { grid-template-columns: 1fr; } .cform__foot { flex-direction: column-reverse; align-items: stretch; } .cform__foot .btn { justify-content: space-between; } }

/* ================================================================ 404 */
.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: calc(var(--nav-h) + 60px) var(--gutter) 60px;
  max-width: var(--maxw);
  margin-inline: auto;
}
.lost__hole {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50% 46% 52% 44% / 48% 54% 46% 52%;
  background: var(--black-2);
  display: grid;
  place-items: center;
  overflow: visible;
}
.lost__hole span { font-size: clamp(64px, 12vw, 180px); font-weight: 700; letter-spacing: -.06em; color: var(--signal); }
.lost__flap {
  --z: 8;
  position: absolute;
  right: -8%; top: -6%;
  width: 46%; height: 52%;
  border-radius: 0 0 0 70% / 0 0 0 80%;
  rotate: 18deg;
  transform-origin: 100% 0;
  animation: flap 4s var(--ease) infinite alternate;
}
@keyframes flap { to { rotate: 24deg; } }
.lost__copy .h1 { margin: 22px 0 20px; }
.lost__copy .btn { margin-top: 30px; }
@media (max-width: 820px) { .lost { grid-template-columns: 1fr; } .lost__hole { max-width: 320px; } }

/* ================================================================ LEGAL */
.legal-hero { padding-bottom: clamp(36px, 4vw, 56px); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 26px 0 0; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.legal-meta dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.legal-meta dd { margin: 3px 0 0; font-weight: 550; font-size: 15px; }

.legal { padding-bottom: clamp(80px, 9vw, 136px); }
.legal__grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
.legal__toc { position: sticky; top: calc(var(--nav-h) + 34px); }
.toc { --z: 3; border-radius: 3px; padding: 18px 0 0; }
.toc__head { display: flex; justify-content: space-between; padding: 0 18px 14px; border-bottom: 1px dashed var(--line-2); }
.toc__head .mono { color: var(--mute); font-size: 10.5px; }
.toc__head [data-toc-count] { color: var(--signal); font-variant-numeric: tabular-nums; }
.toc ol { max-height: calc(100vh - var(--nav-h) - 200px); overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.toc a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 10px;
  border-radius: 2px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background .25s, color .25s, padding .3s var(--ease);
}
.toc a span { font-family: var(--mono); font-size: 10.5px; color: var(--mute); }
.toc a:hover { background: var(--bone); color: var(--ink); }
.toc a.is-on { background: var(--ink); color: var(--paper-hi); padding-left: 14px; }
.toc a.is-on span { color: var(--signal); }
.toc__foot { padding: 12px 18px 18px; border-top: 1px dashed var(--line-2); }
.toc__foot .btn { width: 100%; justify-content: center; }

.doc { --z: 4; border-radius: 3px; padding: clamp(24px, 4.4vw, 64px); }
.doc__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.doc__ref { display: grid; text-align: right; gap: 2px; color: var(--mute); font-size: 10.5px; }

.clause {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 4px 40px;
  padding: 34px 0 30px;
  border-bottom: 1px dashed var(--line-2);
  scroll-margin-top: calc(var(--nav-h) + 40px);
}
.clause:last-of-type { border-bottom: 0; }
.clause__title {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -.025em;
}
.clause__title span {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--signal);
  padding: 3px 6px 2px;
  border: 1px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  translate: 0 -4px;
  transition: background .2s, color .2s;
}
.clause__title span:hover { background: var(--signal); color: var(--paper-hi); }
.clause__title span::after {
  content: 'Link copied';
  position: absolute;
  left: calc(100% + 10px); top: 50%;
  translate: 0 -50%;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cobalt);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.clause__title span.is-copied::after { opacity: 1; }
.clause__body { grid-column: 1; grid-row: 2; max-width: 68ch; }
.clause__body p, .clause__body .clist { font-size: 16px; line-height: 1.68; color: var(--ink-2); margin-bottom: 14px; text-wrap: pretty; }
.clause__body p:last-child { margin-bottom: 0; }
.clause__body b { color: var(--ink); font-weight: 600; }
.clause__body .caps { font-size: 14.5px; letter-spacing: .005em; padding: 14px 16px; background: var(--paper); border-left: 2px solid var(--ink); }
.clause__body a.link-arrow { color: var(--ink); }
.clist { padding-left: 0; }
.clist li { position: relative; padding: 6px 0 6px 24px; border-top: 1px dashed var(--line); }
.clist li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 8px; height: 1.5px; background: var(--signal); }
.defs { margin: 0; }
.defs > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line); }
.defs dt { font-weight: 600; font-size: 15px; }
.defs dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.note {
  --z: 2;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  position: relative;
  padding: 16px 16px 18px;
  background: var(--kraft);
  border-radius: 1px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--ink);
  rotate: 1.2deg;
  box-shadow: calc(var(--sx) * 2px) calc(var(--sy) * 3px) 5px rgba(21, 20, 15, .18);
}
.clause:nth-of-type(even) .note { rotate: -1deg; }
.note b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.note::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  width: 54px; height: 16px;
  translate: -50% 0;
  rotate: -3deg;
  background: rgba(248, 245, 238, .6);
  box-shadow: 0 1px 1px rgba(21, 20, 15, .1);
}

/* placeholders to replace before publishing */
.ph {
  background: linear-gradient(transparent 55%, rgba(255, 227, 110, .75) 55%);
  border-bottom: 1px dotted var(--kraft-2);
  color: var(--ink);
}

.doc__sign {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.doc__sign .mono { color: var(--mute); }
.doc__sign p { margin-top: 8px; font-size: 16px; }
.doc__sign .link-arrow { color: var(--ink); }
.doc__stamp { display: grid; justify-items: end; gap: 10px; }
.doc__stamp .stamp { font-size: 13px; }
.doc__stamp .mono { font-size: 10.5px; }

@media (max-width: 1100px) {
  .clause { grid-template-columns: 1fr; }
  .note { grid-column: 1; grid-row: 2; margin: 0 0 18px; max-width: 520px; }
  .clause__body { grid-row: 3; }
}
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .toc ol { max-height: none; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .toc ol { grid-template-columns: 1fr; }
  .defs > div { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  body::after, .nav, .cutbar, .footer, .legal__toc, .curtain, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .phero { padding: 0 0 12pt; }
  .legal__grid { display: block; }
  .doc { box-shadow: none !important; padding: 0; background: #fff; }
  .clause { break-inside: avoid-page; grid-template-columns: 1fr 150px; padding: 14pt 0; }
  .note { rotate: 0deg; box-shadow: none; border: 1px solid #999; background: #f3efe6; }
  .note::before { display: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ph { background: none; border-bottom: 1px dotted #999; }
}

/* ================================================================ SHARED: tables, filter bar */
.table-wrap { overflow-x: auto; margin: 8px 0 14px; }
.ltable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ltable th { text-align: left; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink); }
.ltable td { padding: 12px 12px 12px 0; border-bottom: 1px dashed var(--line-2); vertical-align: top; color: var(--ink-2); line-height: 1.5; }
.ltable td b { color: var(--ink); }

.fbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 36px;
  border-bottom: 1px dashed var(--line-2);
}
.fbar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fbar__search { display: flex; align-items: center; gap: 14px; }
.fbar__search .input { width: 260px; height: 44px; }
.fbar__search .mono { color: var(--mute); white-space: nowrap; }
.fbar__search b { color: var(--ink); font-weight: 600; }
.fempty { text-align: center; padding: 60px 0; color: var(--ink-2); }
[data-filter-list] > [hidden] { display: none !important; }

/* ================================================================ DOCS */
.docs-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.dq { --z: 2; display: grid; gap: 4px; padding: 14px 16px; border-radius: 3px; transition: --lift .3s var(--ease); }
.dq:hover { --lift: 6; }
.dq .mono { color: var(--cobalt); font-size: 10px; }
.dq b { font-size: 17px; letter-spacing: -.02em; }
kbd { font-family: var(--mono); font-size: .8em; padding: 1px 6px; border-radius: 3px; background: var(--paper-hi); box-shadow: inset 0 -1.5px 0 var(--line-2), 0 0 0 1px var(--line-2); }
.toc__search { padding: 0 12px 12px; }
.toc__search .input { height: 42px; font-size: 14px; }
.toc__empty { padding: 4px 18px 14px; }
.doc--docs .clause { grid-template-columns: minmax(0, 1fr); }
.doc--docs .clause__body { max-width: 76ch; }
.doc__ref code, .clause__body code, .ltable code, .defs code {
  font-family: var(--mono);
  font-size: .86em;
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--bone);
  color: var(--ink);
}
.doc__ref code { background: transparent; padding: 0; color: var(--ink-2); }
.callout { margin-top: 10px; padding: 14px 16px; border-left: 3px solid var(--cobalt); background: var(--cobalt-soft); font-size: 15px; color: var(--ink-2); }
.callout b { color: var(--ink); }
.steps { counter-reset: s; margin-bottom: 18px; }
.steps li { counter-increment: s; position: relative; padding: 12px 0 12px 44px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 2px; background: var(--ink); color: var(--paper-hi); }
.steps b { color: var(--ink); }
.code { margin: 14px 0 6px; border-radius: 4px; overflow: hidden; background: var(--black-2); box-shadow: calc(var(--sx) * 2px) calc(var(--sy) * 3px) 8px rgba(21, 20, 15, .2); }
.code__bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 0; border-bottom: 1px solid rgba(241, 237, 228, .08); }
.code__tabs { display: flex; gap: 2px; }
.code__tabs button { padding: 8px 12px 9px; font-family: var(--mono); font-size: 11.5px; color: #8E8878; border-radius: 3px 3px 0 0; }
.code__tabs button[aria-selected="true"] { color: var(--paper-hi); background: rgba(241, 237, 228, .07); box-shadow: inset 0 -2px 0 var(--signal); }
.code__copy { font-family: var(--mono); font-size: 11px; color: #B9B3A2; padding: 6px 10px; border-radius: 2px; }
.code__copy:hover { background: rgba(241, 237, 228, .1); color: var(--paper-hi); }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: #D8D2C0; }
.code pre[hidden] { display: none; }
.tk-k { color: #FF8A66; }
.tk-s { color: #9AA7FF; }
.tk-c { color: #77715F; font-style: italic; }
.tk-n { color: #E8C77A; }
.endpoints { display: grid; gap: 6px; margin-top: 12px; }
.ep { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 3px; background: var(--paper); box-shadow: inset 0 0 0 .5px var(--line-2); }
.ep code { background: transparent !important; padding: 0 !important; font-size: 13.5px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep > span:last-child { font-size: 14px; color: var(--mute); }
.ep__m { font-family: var(--mono); font-size: 10.5px; font-weight: 500; text-align: center; padding: 3px 0 2px; border-radius: 2px; background: var(--cobalt-soft); color: var(--cobalt-deep); }
.ep__m--post { background: var(--signal-soft); color: var(--signal-deep); }
@media (max-width: 640px) { .ep { grid-template-columns: 52px 1fr; } .ep > span:last-child { grid-column: 2; } .docs-quick { grid-template-columns: 1fr 1fr 1fr; } }

/* ================================================================ SECURITY */
.vault { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.vault__copy .h2 { margin: 18px 0 20px; }
.vault__art { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; }
.vault__ring {
  --z: calc(2 + var(--i) * 2);
  position: absolute;
  inset: calc(var(--i) * 11%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  padding-top: 3.4%;
  translate: calc(var(--px) * var(--i) * 6px) calc(var(--py) * var(--i) * 6px);
}
.vault__ring .mono { font-size: 10px; color: var(--ink-2); }
.vault__ring.paper--signal .mono { color: var(--paper-hi); }
.vault__core {
  position: absolute;
  inset: 44%;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--paper-hi);
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 600;
  line-height: 1.1;
  box-shadow: inset 2px 3px 6px rgba(0, 0, 0, .5);
  translate: calc(var(--px) * 30px) calc(var(--py) * 30px);
}
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scard { --z: 2; padding: 24px; border-radius: 3px; display: grid; gap: 10px; align-content: start; transition: --lift .35s var(--ease); }
.scard:hover { --lift: 6; }
.scard .mono { color: var(--signal); }
.scard .h4 { margin-top: 14px; }
.deploys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.deploy { --z: 3; padding: 28px; border-radius: 3px; display: grid; gap: 10px; align-content: start; }
.deploy .mono { color: var(--signal); }
.deploy .h3 { margin-top: 20px; }
.deploy ul { margin-top: 12px; }
.deploy li { padding: 9px 0; border-top: 1px dashed rgba(241, 237, 228, .16); font-size: 14.5px; color: #D3CDBC; }
.comp { --z: 3; border-radius: 3px; padding: 8px 28px; }
.comp__row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line-2); font-size: 15.5px; }
.comp__row:last-child { border-bottom: 0; }
.comp__row--head { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); padding-top: 14px; }
.comp__row .link-arrow { font-size: 14px; justify-self: end; }
.disclose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.disclose .h2 { margin: 18px 0 20px; }
.disclose__card { --z: 4; border-radius: 3px; padding: 30px; display: grid; gap: 12px; }
.disclose__card > .mono { color: var(--mute); }
.disclose__mail { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.03em; color: var(--signal); border-bottom: 2px solid currentColor; justify-self: start; }
.disclose__steps li { display: flex; gap: 14px; padding: 11px 0; border-top: 1px dashed var(--line-2); font-size: 15px; }
.disclose__steps .mono { color: var(--signal); padding-top: 2px; }
@media (max-width: 900px) {
  .vault, .disclose { grid-template-columns: 1fr; }
  .sgrid, .deploys { grid-template-columns: 1fr 1fr; }
  .comp__row { grid-template-columns: 1fr; gap: 4px; }
  .comp__row .link-arrow { justify-self: start; }
  .comp__row--head { display: none; }
}
@media (max-width: 560px) { .sgrid, .deploys { grid-template-columns: 1fr; } }

/* ================================================================ CHANGELOG */
.next { --z: 3; border-radius: 3px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.next .h3 { margin: 14px 0 8px; }
.next .small { color: var(--ink-2); }
.next__list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px dashed rgba(21, 20, 15, .25); font-size: 15.5px; }
.log { position: relative; }
.log::before { content: ''; position: absolute; left: 150px; top: 0; bottom: 0; border-left: 1px dashed var(--line-2); }
.entry { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; padding-bottom: 48px; }
.entry::before { content: ''; position: absolute; left: 144px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px var(--paper); }
.entry__date { display: grid; gap: 6px; align-content: start; padding-top: 4px; }
.entry__date .mono { color: var(--mute); }
.entry__date b { font-size: 28px; letter-spacing: -.04em; }
.entry__date .tag { justify-self: start; }
.entry__card { --z: 3; border-radius: 3px; padding: clamp(22px, 3vw, 36px); }
.entry__card .body { margin: 10px 0 18px; }
.entry__items li { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px dashed var(--line-2); font-size: 15.5px; color: var(--ink-2); transition: opacity .3s; }
.entry__items li.is-dim { opacity: .25; }
.entry__items b { color: var(--ink); }
.ek { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px 2px; border-radius: 2px; justify-self: start; }
.ek--new { background: var(--signal); color: var(--paper-hi); }
.ek--imp { background: var(--cobalt); color: var(--paper-hi); }
.ek--api { background: var(--ink); color: var(--paper-hi); }
.log__empty { text-align: center; padding: 40px 0; }
.subscribe { --z: 2; border-radius: 3px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.subscribe .mono { color: var(--mute); }
.subscribe .h4 { margin-top: 6px; }
@media (max-width: 760px) {
  .next { grid-template-columns: 1fr; }
  .log::before, .entry::before { display: none; }
  .entry { grid-template-columns: 1fr; gap: 14px; }
  .entry__date { grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; }
  .entry__items li { grid-template-columns: 1fr; gap: 6px; }
}

/* ================================================================ STATUS */
.sbanner { --z: 3; display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-radius: 3px; margin-bottom: 24px; }
.sbanner b { display: block; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.03em; }
.sbanner .mono { color: var(--mute); }
.sbanner__light { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #2F9E6E; box-shadow: 0 0 0 6px rgba(47, 158, 110, .15); animation: live-g 2s var(--ease) infinite; }
.sbanner[data-state="deg"] .sbanner__light { background: #E0A100; box-shadow: 0 0 0 6px rgba(224, 161, 0, .15); }
.sbanner[data-state="down"] .sbanner__light { background: var(--signal); box-shadow: 0 0 0 6px rgba(255, 74, 28, .15); }
@keyframes live-g { 50% { box-shadow: 0 0 0 10px rgba(47, 158, 110, .05); } }
.comps { --z: 3; border-radius: 3px; padding: 8px 28px 18px; }
.comps__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.comps__head > .mono { color: var(--mute); }
.comps__legend { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--mute); flex-wrap: wrap; }
.comps__legend i { width: 8px; height: 8px; border-radius: 1px; margin-left: 8px; }
.bars .ok, .comps__legend .ok { background: #2F9E6E; } .bars .deg, .comps__legend .deg { background: #E0A100; } .bars .down, .comps__legend .down { background: var(--signal); } .bars .nd, .comps__legend .nd { background: var(--bone-2); }
.comp-row { display: grid; grid-template-columns: minmax(180px, 1fr) 110px minmax(0, 2fr); grid-template-rows: auto auto; gap: 6px 20px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line-2); }
.comp-row__name b { display: block; font-size: 16px; }
.comp-row__state { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.comp-row__state.is-ok { color: #2F9E6E; } .comp-row__state.is-deg { color: #B88400; } .comp-row__state.is-down { color: var(--signal); }
.bars { display: flex; gap: 2px; height: 30px; }
.bars i { flex: 1; border-radius: 1px; transition: transform .2s; }
.bars i:hover { transform: scaleY(1.15); }
.comp-row__up { grid-column: 3; font-size: 10px; color: var(--mute); text-align: right; }
.comps__foot { display: flex; justify-content: space-between; color: var(--mute); font-size: 10px; padding-top: 10px; margin-left: calc(180px + 110px + 40px); }
.incidents { margin-top: 48px; }
.incidents .h3 { margin-bottom: 16px; }
.incidents__none { padding: 22px 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); color: var(--ink-2); }
.incident { --z: 2; padding: 20px 24px; border-radius: 3px; margin-bottom: 10px; }
.incident .mono { color: var(--mute); }
@media (max-width: 860px) {
  .comp-row { grid-template-columns: 1fr auto; }
  .bars, .comp-row__up { grid-column: 1 / -1; }
  .comp-row__up { text-align: left; }
  .comps__foot { margin-left: 0; }
}

/* ================================================================ TEMPLATES */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; padding-top: 24px; }
.tcard { flex: none; margin-top: 0; min-height: 380px; }
.tcard .h3 { font-size: 26px; }
.tcard__open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 12px 0 0;
  border-top: 1px solid var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: color .25s, gap .3s;
}
.tcard__open:hover { color: var(--signal); }
.tcard__open span:last-child { transition: translate .3s var(--ease); }
.tcard__open:hover span:last-child { translate: 5px 0; }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tgrid { grid-template-columns: 1fr; } .fbar__search .input { width: 100%; } .fbar__search { width: 100%; } }

.tmodal { padding: 0; border: 0; background: transparent; max-width: min(780px, 92vw); width: 100%; overflow: visible; }
.tmodal::backdrop { background: rgba(21, 20, 15, .45); backdrop-filter: blur(3px); }
.tmodal[open] .tmodal__sheet { animation: sheet-drop .55s var(--ease-paper) both; }
.tmodal.is-closing .tmodal__sheet { animation: sheet-lift .22s var(--ease-in) both; }
@keyframes sheet-drop { from { opacity: 0; transform: translateY(-40px) rotate(-2deg); --lift: 20; } to { opacity: 1; transform: none; --lift: 0; } }
@keyframes sheet-lift { to { opacity: 0; transform: translateY(-24px) rotate(1deg); } }
.tmodal__sheet { --z: 12; border-radius: 4px; padding: clamp(24px, 4vw, 44px); max-height: 88vh; overflow-y: auto; }
.tmodal__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.tmodal__head .mono { color: var(--signal); }
.tmodal__close { width: 36px; height: 36px; border-radius: 3px; font-size: 16px; }
.tmodal__close:hover { background: var(--bone); }
.tmodal .h2 { margin: 22px 0 12px; font-size: clamp(32px, 4vw, 52px); }
.tmodal .lede { max-width: 56ch; }
.tflow { display: grid; gap: 0; margin: 28px 0; counter-reset: n; }
.tnode {
  --z: 2;
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  margin-left: calc(min(var(--d), 5) * 14px);
  border-radius: 3px;
  background: var(--paper-hi);
  box-shadow: inset 0 0 0 .5px var(--line-2), calc(var(--sx) * 1.5px) calc(var(--sy) * 2px) 3px rgba(21, 20, 15, .14);
  animation: tnode-in .5s var(--ease-paper) both;
  animation-delay: calc(var(--d) * 70ms + 150ms);
}
.tnode + .tnode { margin-top: 18px; }
.tnode + .tnode::before { content: ''; position: absolute; left: 24px; top: -19px; height: 19px; border-left: 1.5px solid var(--ink); }
.tnode .mono { font-size: 10px; color: var(--mute); }
.tnode b { font-size: 16px; letter-spacing: -.015em; }
.tnode--s { background: var(--signal); color: var(--paper-hi); }
.tnode--c { background: var(--cobalt); color: var(--paper-hi); }
.tnode--k { background: var(--kraft); }
.tnode--b { background: var(--bone); }
.tnode--s .mono, .tnode--c .mono { color: rgba(248, 245, 238, .75); }
@keyframes tnode-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.tmodal__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.tmodal__foot .mono { color: var(--mute); }

/* ================================================================ INTEGRATIONS */
.igrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.intg { --z: 2; padding: 20px; border-radius: 3px; display: grid; gap: 6px; align-content: start; transition: --lift .3s var(--ease), rotate .4s var(--ease-paper); }
.intg:hover { --lift: 7; rotate: -.6deg; }
.intg__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.intg__ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 3px;
  background: var(--c);
  color: var(--paper-hi);
  font-weight: 650;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), calc(var(--sx) * 1px) calc(var(--sy) * 1.5px) 2px rgba(21, 20, 15, .25);
}
.intg .tag { font-size: 9.5px; }
.intg__sub { font-size: 10px; color: var(--mute); text-transform: none; letter-spacing: .02em; }
.intg .small { margin-top: 6px; color: var(--ink-2); }
.byo { --z: 3; border-radius: 3px; padding: clamp(26px, 4vw, 52px); margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.byo .h2 { margin: 16px 0 14px; }
.byo .body { color: var(--ink-2); }
.byo__steps { display: grid; gap: 12px; }
.byo__step { --z: 3; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 3px; font-weight: 600; font-size: 16px; }
.byo__step:nth-child(2) { margin-left: 24px; }
.byo__step:nth-child(3) { margin-left: 48px; }
.byo__step .mono { color: var(--signal); }
.byo__step.paper--signal .mono { color: var(--paper-hi); }
@media (max-width: 1100px) { .igrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .igrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .byo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .igrid { grid-template-columns: 1fr; } }
.code pre code { background: none !important; padding: 0 !important; font-size: inherit !important; color: inherit !important; border-radius: 0; }
