@font-face {
  font-family: 'Space Grotesk';
  src: url('space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('instrument-serif.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --space: #090809;
  --ink: #f5eee5;
  --muted: #b9aead;
  --light: #ffd7b7;
  --line: #3a2a2a;
  --ease: cubic-bezier(.23, 1, .32, 1);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--space);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 5px; }
::selection { background: #ffd7b7; color: var(--space); }
.wrap { width: min(100% - 2 * clamp(1.25rem, 6vw, 6.5rem), 82rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  position: absolute;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--space);
}
.site-header { position: relative; z-index: 2; }
.site-nav {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dbad8e2c;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.05em;
}
.brand-orbit {
  position: relative;
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid #fec7a2;
  border-radius: 50%;
  box-shadow: inset 0 0 6px #a04239;
}
.brand-orbit::after {
  content: '';
  position: absolute;
  inset: .39rem -.25rem;
  border: 1px solid #ffd7b7;
  border-radius: 50%;
  transform: rotate(-28deg);
  box-shadow: 0 0 8px #e46a4755;
}
.site-nav nav { display: flex; gap: clamp(.95rem, 3.1vw, 3rem); font-size: .9375rem; }
.site-nav nav a, .site-footer a:last-child { padding-block: .6rem; }
.site-nav nav a:hover, .site-footer a:hover { color: var(--light); }
.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: clip;
  min-height: max(43rem, calc(100svh - 5rem));
}
.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  padding-block: 5rem 6.25rem;
}
.hero-copy { position: relative; z-index: 1; width: fit-content; max-width: 100%; }
.framework-name { margin: 0 0 1.85rem; color: var(--light); font-size: 1rem; font-weight: 500; }
h1, h2, p { margin-block-start: 0; }
h1 {
  margin-bottom: 1.55rem;
  font-size: clamp(3.65rem, 7.45vw, 7.75rem);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.085em;
  text-wrap: nowrap;
}
h1 em {
  display: inline-block;
  font-family: 'Instrument Serif', Georgia, serif;
  color: #ffe0c5;
  font-weight: 400;
  font-size: 1.22em;
  letter-spacing: -.045em;
  line-height: .86;
}
.hero-summary {
  max-width: 50ch;
  margin-bottom: 1.9rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.27rem);
  line-height: 1.55;
}
.hero-summary p { margin: 0; }
.hero-summary p + p { margin-top: .65rem; }
.hero-summary strong { color: var(--light); }
.hero-summary a { text-decoration: underline; text-underline-offset: .15em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.2rem;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: .9375rem;
  font-weight: 700;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 150ms var(--ease);
}
.button:active { transform: scale(.97); }
.button-primary { background: var(--light); color: #200f12; }
.button-primary:hover { background: #fff0df; }
.button-secondary { border-color: #a5948c75; background: #130c10a6; }
.button-secondary:hover { background: #24151b; border-color: var(--light); }
.singularity {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.scene {
  position: absolute;
  top: 47%;
  right: -7.5vw;
  width: min(80vw, 90rem);
  aspect-ratio: 1.25;
  transform: translateY(-50%);
  mask-image: radial-gradient(ellipse 57% 57%, #000 43%, #000e 68%, transparent 99%);
}
.scene-poster, .scene-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-canvas { opacity: 0; }
.scene[data-rendered] .scene-canvas { opacity: 1; }
.singularity::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--space) 0%, #090809ef 19%, #09080961 41%, transparent 64%),
    linear-gradient(0deg, var(--space), transparent 18%, transparent 89%, var(--space));
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.075em;
}
.selling-point {
  --point-color: var(--light);
  --point-glow: #7b403426;
  --point-origin: right;
  border-top: 1px solid var(--line);
  padding-block: clamp(4rem, 8vw, 7.25rem);
  background: radial-gradient(ellipse at var(--point-origin) center, var(--point-glow), transparent 68%);
}
.point-sql {
  --point-color: #dac5f3;
  --point-glow: #69488827;
}
.point-openapi { --point-color: #ffc0ab; --point-glow: #90483622; }
.point-proofs { --point-color: #f0d699; --point-glow: #8a65252b; }
.point-htmx { --point-color: #b7ddeb; --point-glow: #46758e28; }
.point-translations { --point-color: #e9bfdf; --point-glow: #8b4e8026; }
.translation-options { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 0 clamp(1rem, 3vw, 2rem) 1.2rem; }
.translation-locales { margin: 0; padding: 0; border: 0; }
.translation-locales legend { padding: 0 0 .55rem; color: var(--muted); font: .8rem ui-monospace, monospace; }
.translation-locales label { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: .3rem; cursor: pointer; }
.translation-locales input { margin: 0; accent-color: var(--point-color); }
.translation-locales label:has(:checked) { color: var(--point-color); border-color: currentColor; }
.translation-result { display: none; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; padding: 1rem clamp(1rem, 3vw, 2rem); border-top: 1px solid var(--line); }
.translation-result code { font: .85rem ui-monospace, monospace; color: var(--muted); }
.translation-result strong { color: var(--point-color); }
.translation-demo:has([value="en"]:checked) [data-language="en"],
.translation-demo:has([value="fr-CA"]:checked) [data-language="fr-CA"] { display: flex; }
.translation-result [data-count] { display: none; }
.translation-demo:has([value="0"]:checked) [data-count="0"],
.translation-demo:has([value="1"]:checked) [data-count="1"],
.translation-demo:has([value="1234"]:checked) [data-count="1234"] { display: inline; }
.point-live {
  --point-color: #b6e3d4;
  --point-glow: #346a5e27;
}
.point-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 7.5vw, 7.5rem);
  align-items: center;
}
.point-copy .point-name { margin-bottom: 1.35rem; color: var(--point-color); font-weight: 700; }
.point-copy p {
  max-width: 30rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}
.point-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--point-color);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  text-underline-offset: .3em;
}
.point-link:hover { text-decoration-color: currentColor; }
.example {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #593a37;
  border-radius: .45rem;
  background: #140e12;
}
.example { border-color: color-mix(in srgb, var(--point-color) 25%, #241921); }
.file-name {
  margin: 0;
  padding: .8rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
  overflow-wrap: anywhere;
}
pre {
  margin: 0;
  overflow: auto;
  font: .9375rem/1.7 ui-monospace, 'SF Mono', Consolas, monospace;
  scrollbar-color: #644942 #140e12;
}
pre:focus-visible { outline-offset: -4px; }
code { font: inherit; }
.example pre { padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 3vw, 2rem); }
.code-key, .syntax-keyword, .syntax-operator { color: #f1a4ae; }
.code-type { color: #c4afea; }
.code-tag, .code-string, .syntax-string { color: #ffc191; }
.code-var { color: #ede2f7; }
.code-fn, .syntax-function, .syntax-tag { color: #b7ddeb; }
.code-param, .syntax-attribute { color: #b6e3d4; }
.code-literal, .syntax-number { color: #f0d699; }
.code-comment, .syntax-comment { color: var(--muted); }
.schema-check, .contract-view {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--point-color) 5%, #140e12);
}
.schema-check { padding: 1rem clamp(1rem, 3vw, 2rem); }
.schema-check p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.schema-check code { color: var(--point-color); font-family: ui-monospace, monospace; }
.point-proofs h2 { text-wrap: balance; }
.point-proofs .point-copy p:not(.point-name) { max-width: 39rem; }
.proof-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.journal-law { background: #211c16; border-bottom: 1px solid var(--line); }
.proof-example pre { padding-block: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 56rem) {
  .proof-examples { grid-template-columns: minmax(0, 1fr); }
}
.proof-value { color: #b6e3d4; font-weight: 700; }
.proof-example pre .proof-value { background: #b6e3d418; border-radius: .2rem; }
.proof-example[data-mismatch] .proof-value { color: #ff9aab; }
.proof-example[data-mismatch] pre .proof-value { background: #ff9aab18; }
@media (prefers-reduced-motion: no-preference) {
  .proof-example[data-playing] pre .proof-value { animation: proof-edit .65s ease-out; }
}
@keyframes proof-edit {
  from { box-shadow: 0 0 0 .18em currentColor; }
  to { box-shadow: 0 0 0 0 transparent; }
}
.htmx-showcase { display: grid; min-width: 0; gap: .75rem; }
.htmx-demo, .htmx-markup { --htmx-inset: clamp(1rem, 3vw, 1.8rem); }
.htmx-demo-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin: 0;
  padding: .9rem var(--htmx-inset);
  color: var(--muted);
  font-size: .875rem;
}
.htmx-demo-foot [role='status'] { margin-inline-start: auto; color: var(--point-color); }
.htmx-demo { container-type: inline-size; }
#htmx-results {
  --title-lines: 1;
  --title-height: 1.35rem;
  block-size: 17rem;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-color: #576a74 transparent;
  margin-top: .65rem;
  padding: 1rem var(--htmx-inset);
}
@container (max-width: 25rem) {
  #htmx-results { --title-lines: 2; --title-height: 2.7rem; }
}
.htmx-search-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; }
.htmx-search label { color: var(--muted); font-size: .875rem; }
.htmx-search { padding: 1rem var(--htmx-inset) 0; }
.htmx-search input {
  width: 100%;
  min-width: 0;
  padding: .6rem .65rem;
  color: var(--ink);
  font: inherit;
  background: #1b171e;
  border: 1px solid #576067;
  border-radius: .25rem;
}
.htmx-chapters { margin: 0; padding: 0; list-style: none; }
.htmx-chapters li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.htmx-chapters a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--title-lines);
  block-size: var(--title-height); overflow: hidden; line-height: 1.35rem;
  color: var(--point-color); font-weight: 700; text-underline-offset: .2em; }
.htmx-chapters a:hover { text-decoration: underline; }
.htmx-chapters p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.htmx-empty { margin: .75rem 0; color: var(--muted); }
.htmx-chapters .htmx-more { min-height: 1px; padding: 0; border: 0; }
.htmx-more a { display: inline-flex; align-items: center; block-size: auto; min-height: 2.75rem; }
.htmx-more.htmx-request::before {
  content: ""; display: inline-block; width: .9rem; height: .9rem;
  border: 2px solid #45606a; border-top-color: currentColor; border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .htmx-more.htmx-request::before { animation: search-spin .7s linear infinite; }
}
.htmx-demo-foot { border-top: 1px solid var(--line); }
.htmx-demo:not(:has(.htmx-more)) .htmx-demo-foot span:first-child { visibility: hidden; }
#htmx-loading {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  visibility: hidden;
  opacity: 0;
  transition: none;
  white-space: nowrap;
  color: var(--point-color);
  font-size: .8rem;
}
#htmx-loading::before {
  content: "";
  width: .95rem;
  height: .95rem;
  border: 2px solid #45606a;
  border-top-color: currentColor;
  border-radius: 50%;
}
#htmx-loading.htmx-request, [data-search-pending] #htmx-loading { visibility: visible; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  #htmx-loading.htmx-request::before, [data-search-pending] #htmx-loading::before {
    animation: search-spin .7s linear infinite;
  }
}
@keyframes search-spin { to { transform: rotate(1turn); } }
@property --search-split {
  syntax: '<number>';
  inherits: true;
  initial-value: .38;
}
.htmx-markup {
  --search-react-accent: #f0a3ab;
  --search-htmx-accent: #a3e6ba;
}
.search-comparison-header {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem var(--htmx-inset);
  color: var(--search-htmx-accent); font-size: .86rem;
}
.search-comparison-header select {
  max-inline-size: 75%; min-block-size: 2.75rem;
  padding-inline: .5rem;
  border: 1px solid transparent; border-radius: .25rem;
  background: #140e12; color: var(--search-react-accent); font: inherit; cursor: pointer;
  color-scheme: dark;
}
.search-comparison-header select:hover { border-color: var(--line); }
.search-comparison-header span { font-weight: 700; }
.search-comparison-surface {
  --search-split: .38;
  --search-grip-inset: 1.75rem;
  --search-seam: calc(var(--search-grip-inset) + (100% - 2 * var(--search-grip-inset)) * var(--search-split));
  position: relative; display: grid;
  grid-template-columns: minmax(0, var(--search-seam)) minmax(0, 1fr);
  overflow: hidden; border-top: 1px solid var(--line);
}
.search-comparison-left, .search-comparison-right { min-width: 0; overflow: hidden; }
.search-comparison-left { background: color-mix(in srgb, var(--search-react-accent) 15%, #140e12); }
.search-comparison-right { background: color-mix(in srgb, var(--search-htmx-accent) 15%, #140e12); }
.search-comparison-surface > [inert] { visibility: hidden; }
.search-comparison-left[inert] + .search-comparison-right { padding-inline-start: .75rem; }
.search-comparison-left:has(+ .search-comparison-right[inert]) { padding-inline-end: var(--search-grip-inset); }
.htmx-markup pre { block-size: 19rem; padding: .85rem 1rem; font-size: .82rem; }
.search-comparison-divider::before {
  content: ''; position: absolute; inset-block: 0; inset-inline-start: 50%;
  width: 2px; transform: translateX(-50%); pointer-events: none;
  background: var(--search-htmx-accent); box-shadow: 0 0 .85rem color-mix(in srgb, var(--search-htmx-accent) 50%, transparent);
}
.search-comparison-divider {
  position: absolute; z-index: 1; inset-block: 0;
  inset-inline-start: var(--search-seam);
  display: grid; place-items: center; inline-size: calc(2 * var(--search-grip-inset));
  transform: translateX(-50%); cursor: ew-resize; touch-action: none; user-select: none;
}
.search-comparison-divider span {
  position: relative; display: grid; place-items: center; inline-size: 2.5rem; block-size: 2.5rem;
  border: 1px solid currentColor; border-radius: 50%;
  background: #15251c; color: var(--search-htmx-accent); font-size: 1.25rem;
  box-shadow: 0 0 1.15rem #091014b0;
}
.search-comparison-divider:focus-visible { outline: none; }
.search-comparison-divider:is(:hover, :focus-visible) span {
  background: var(--search-htmx-accent); color: #15251c;
}
.search-comparison-divider:focus-visible span { outline: 2px solid var(--search-htmx-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .search-comparison-surface[data-drag-preview] { animation: search-divider-nudge 1.8s var(--ease-in-out); }
}
@keyframes search-divider-nudge {
  28% { --search-split: .58; }
  65% { --search-split: .28; }
}
.htmx-markup .code-tag { color: #b7ddeb; }
.sql-layout, .openapi-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.sql-intro, .openapi-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 7.5vw, 7rem);
  align-items: end;
}
:is(.sql-intro, .openapi-intro) h2 { margin-bottom: 0; }
:is(.sql-intro, .openapi-intro) .point-copy p:not(.point-name) { max-width: 34rem; margin-bottom: .85rem; }
.openapi-demo { position: relative; --contract-inset: clamp(1rem, 2vw, 1.5rem); display: grid; gap: clamp(1rem, 2vw, 1.4rem); padding: 0; border: 0; background: none; box-shadow: none; }
.openapi-contract, .openapi-box {
  --box-color: var(--line);
  min-width: 0;
  border: 1px solid var(--box-color);
  border-radius: .7rem;
  background: #140e12;
  overflow: hidden;
  transition: border-color .4s, box-shadow .4s;
}
.openapi-contract { --box-color: color-mix(in srgb, #ffc0ab 40%, var(--line)); box-shadow: 0 0 40px #ffc0ab14; }
.openapi-contract-code { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.openapi-contract-code pre + pre { border-left: 1px solid var(--line); }
.openapi-demo pre { margin: 0; padding: 1rem var(--contract-inset); font-size: clamp(.8rem, 1.1vw, .9375rem); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.openapi-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.openapi-box { display: flex; flex-direction: column; }
.openapi-box > pre { flex: 1; }
.openapi-demo[data-playing] .openapi-checked { --box-color: color-mix(in srgb, #b6e3d4 55%, var(--line)); box-shadow: 0 0 28px #b6e3d41c; }
.openapi-demo[data-mismatch] .openapi-checked:has([data-invalid]) { --box-color: color-mix(in srgb, #ff9aab 60%, var(--line)); box-shadow: 0 0 28px #ff9aab24; }

.openapi-swagger iframe { display: block; flex: 1; width: 100%; min-height: 22rem; border: 0; background: #f7faf8; }
.openapi-editor { padding: 1rem var(--contract-inset); background: #1e181b; }
.openapi-editor fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.openapi-editor legend { padding: 0; margin-bottom: .7rem; color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.openapi-editor label { display: grid; gap: .25rem; margin-bottom: .55rem; color: var(--muted); font-size: .78rem; }
.openapi-editor label:last-child { margin-bottom: 0; }
.openapi-editor :is(input, textarea) {
  min-width: 0;
  width: 100%;
  padding: .42rem .55rem;
  border: 1px solid #634b4d;
  border-radius: .25rem;
  background: #140e12;
  color: var(--ink);
  font: inherit;
  opacity: 1;
  resize: none;
}
.openapi-form-code { border-top: 1px solid var(--line); }
.form-diagnostic { margin: 0; padding: .5rem var(--contract-inset); visibility: hidden; color: #ff9aab; font: .8rem/1.5 ui-monospace, monospace; }
.openapi-form:has([data-invalid]) .form-diagnostic { visibility: visible; }
.sql-demo .contract-source pre { max-height: 41rem; line-height: 1.55; }
.sql-projection-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .46fr); }
.projection-record { padding: 1.2rem clamp(.8rem, 1.6vw, 1.4rem); border-left: 1px solid var(--line); background: #1a141b; }
.projection-record .file-name { padding: 0; border: 0; }
.projection-type { margin: .45rem 0 1.1rem; font-size: 1.1rem; }
.projection-record dl { margin: 0; font: .84rem/1.55 ui-monospace, monospace; }
.projection-field { display: flex; justify-content: space-between; gap: .45rem; align-items: baseline; border-top: 1px solid var(--line); padding: .42rem 0; }
.projection-field dt { --trace: #dac5f3; overflow-wrap: anywhere; color: var(--trace); }
.projection-field dd { margin: 0; color: #b6e3d4; }
.projection-notes { display: grid; }
.projection-note { grid-area: 1 / 1; margin: 1rem 0 0; line-height: 1.5; font-size: .9rem; color: var(--muted); }
.projection-error, [data-alias-swap] .projection-correct { visibility: hidden; }
[data-alias-swap] .projection-error { visibility: visible; color: #ff9aab; }
.sql-demo[data-alias-swap] :is(.contract-status, [data-link^="article.author."], [data-link-source^="article.author."]) { --trace: #ff9aab; color: var(--trace); }
@media (max-width: 56rem) {
  .sql-projection-layout { grid-template-columns: minmax(0, 1fr); }
  .projection-record { grid-row: 1; border-left: 0; border-bottom: 1px solid var(--line); }
}
.contract-demo:not(.openapi-demo) { --contract-inset: clamp(1rem, 3vw, 2rem); }
[data-feature-animation] { --trace: var(--point-color); --trace-delay: 0ms; }
.contract-demo [data-type='request'] { --trace: #ffc0ab; --trace-delay: 0ms; }
.contract-demo [data-type='response'] { --trace: #dac5f3; --trace-delay: 880ms; }
.contract-demo [data-type='form'] { --trace: #b6e3d4; --trace-delay: 440ms; }
.contract-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding: .8rem var(--contract-inset);
  border-bottom: 1px solid var(--line);
}
.contract-heading .file-name { padding: 0; border: 0; font-size: .8125rem; }
.contract-demo pre { font-size: clamp(.8rem, 1.25vw, .9375rem); }
.contract-source pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.contract-token {
  color: var(--trace);
  background: color-mix(in srgb, var(--trace) 11%, transparent);
  border-radius: .2rem;
  white-space: nowrap;
}
.contract-flow {
  display: grid;
  gap: .65rem;
  padding: .8rem var(--contract-inset);
  border-block: 1px solid var(--line);
  background: #1d141a;
  font-size: .875rem;
}
.contract-flow > p { margin: 0; color: var(--muted); }
.contract-pair {
  display: grid;
  grid-template-columns: minmax(0, .85fr) clamp(.65rem, 3vw, 2.5rem) minmax(0, 1.15fr);
  align-items: center;
  gap: .28rem .55rem;
  font-size: .82rem;
}
.contract-flow .contract-pair {
  grid-template-columns: max-content clamp(.65rem, 3vw, 2.5rem) minmax(0, 1fr);
}
.contract-pair-label { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; }
.contract-pair .contract-token {
  justify-self: start;
  padding: .08rem .25rem;
  white-space: normal;
  overflow-wrap: anywhere;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
}
.contract-track {
  position: relative;
  height: 1px;
  background: color-mix(in srgb, var(--trace) 45%, transparent);
}
.contract-track::before {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--trace);
  border-right: 1px solid var(--trace);
  transform: rotate(45deg);
}
.contract-track::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--trace);
  box-shadow: 0 0 8px var(--trace);
  opacity: 0;
}
.contract-demo .contract-input[data-invalid] { --trace: #ff9aab; }
.contract-demo[data-mismatch] .contract-status { color: #ff9aab; }
.contract-demo[data-playing]:not([data-mismatch]) .contract-input { --trace: #b6e3d4; }
.contract-status {
  color: #b6e3d4;
  margin-inline-start: auto;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.contract-status::before {
  content: '';
  display: inline-block;
  width: .44rem;
  height: .44rem;
  margin: 0 .45rem .12rem 0;
  border-radius: 50%;
  background: currentColor;
}
.contract-view summary {
  padding: .9rem var(--contract-inset);
  color: var(--light);
  font-size: .875rem;
  cursor: pointer;
}
.contract-view summary:focus-visible { outline-offset: -3px; }
.contract-view[open] .file-name { border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: no-preference) {
  [data-feature-animation][data-playing] :is(.contract-source .contract-token, .contract-origin) {
    animation: contract-highlight 720ms var(--trace-delay) both;
  }
  [data-feature-animation][data-playing] .contract-track::after {
    animation: contract-transfer 440ms calc(340ms + var(--trace-delay)) both;
  }
  [data-feature-animation][data-playing] :is(.contract-target .contract-token:not(.contract-origin), .contract-destination) {
    animation: contract-highlight 760ms calc(760ms + var(--trace-delay)) both;
  }
  .openapi-demo[data-playing] .openapi-box {
    animation: openapi-box-in 700ms both;
  }
  .openapi-demo[data-playing] .openapi-box:nth-child(2) { animation-delay: 440ms; }
  .openapi-demo[data-playing] .openapi-box:nth-child(3) { animation-delay: 880ms; }
  .openapi-demo[data-playing] .openapi-editor label:first-of-type input {
    animation: feature-spotlight 760ms 1200ms both;
    --trace: #b6e3d4;
  }
  [data-feature-animation][data-playing] .feature-result {
    animation: contract-verified 460ms 1340ms both;
  }
  .refresh-demo[data-playing] .collab-author .collab-cursor {
    animation: collab-point 750ms calc(var(--send-at) - 750ms) var(--ease) both;
  }
  .refresh-demo[data-playing] .collab-post {
    animation: collab-click 300ms var(--send-at) both;
  }
  .refresh-demo[data-playing] .collab-draft-sent {
    animation: collab-send-draft 250ms var(--send-at) both;
  }
  .refresh-demo[data-playing] .collab-placeholder {
    animation: collab-receive 270ms calc(var(--send-at) + 170ms) both;
  }
  .refresh-demo[data-playing] .collab-message {
    animation: collab-receive 460ms var(--message-at) var(--ease) both;
  }
  .refresh-demo[data-playing] .collab-wire::after {
    animation: contract-transfer 800ms calc(var(--send-at) + 290ms) both;
  }
  .refresh-demo[data-playing] .collab-status strong,
  .refresh-demo[data-playing] .collab-draft-label {
    animation: collab-receive 400ms calc(var(--receive-at) + 420ms) both;
  }
}
@keyframes openapi-box-in {
  45% { transform: translateY(-3px); box-shadow: 0 0 36px color-mix(in srgb, var(--box-color) 45%, transparent); }
}
@keyframes contract-highlight {
  48% {
    color: #140e12;
    background: var(--trace);
    box-shadow: 0 0 10px color-mix(in srgb, var(--trace) 60%, transparent);
  }
}
@keyframes contract-transfer {
  0% { left: 0; opacity: 0; }
  22%, 78% { opacity: 1; }
  100% { left: calc(100% - 5px); opacity: 0; }
}
@keyframes contract-verified {
  from { opacity: .48; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes feature-spotlight {
  46% { background-color: color-mix(in srgb, var(--trace) 15%, transparent); }
}
@keyframes collab-click {
  35% { transform: scale(.9); background-color: #b6e3d4; color: #11191a; }
}
@keyframes collab-send-draft {
  from { visibility: visible; opacity: 1; }
  to { visibility: hidden; opacity: 0; }
}
@keyframes collab-receive {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.refresh-demo { --send-at: 1500ms; --receive-at: 2580ms; }
.refresh-rule {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .45rem .85rem;
  margin: 0;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  font-size: .94rem;
}
.refresh-rule dt { color: var(--point-color); font-weight: 700; }
.refresh-rule dd { margin: 0; }
.collab-demo {
  container-type: inline-size;
  margin: 0;
  padding: clamp(.65rem, 2vw, 1.25rem);
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 100%, #243830, transparent 80%), #191818;
}
.collab-windows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.45rem, 1.5vw, .9rem); }
@container (max-width: 20rem) {
  .collab-windows { grid-template-columns: minmax(0, 1fr); }
}
.collab-window {
  --person: #b6e3d4;
  --message-at: calc(var(--send-at) + 180ms);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid #3c534a;
  border-radius: .38rem;
  background: #141819;
}
.collab-reader {
  --person: #dac5f3;
  --message-at: var(--receive-at);
  border-color: #51475e;
}
.collab-tab, .collab-body { padding: .55rem clamp(.42rem, 1.4vw, .85rem); }
.collab-tab {
  margin: 0;
  color: var(--person);
  border-bottom: 1px solid color-mix(in srgb, var(--person) 25%, #141819);
  font-size: .8125rem;
  font-weight: 700;
}
.collab-body { display: grid; grid-template-rows: auto 1fr auto auto; align-items: start; gap: .5rem; }
.collab-title { margin: 0; font-size: clamp(.8125rem, 2.5vw, 1rem); font-weight: 700; line-height: 1.2; }
.collab-message {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: .4rem .45rem;
  border-left: 2px solid #82b698;
  border-radius: .2rem;
  background: #1f3029;
  font-size: .8125rem;
  line-height: 1.35;
}
.collab-message strong { color: #b6e3d4; font-size: .75rem; }
.collab-compose {
  display: grid;
  align-items: center;
  min-height: 2.65rem;
  padding: .38rem .45rem;
  border: 1px solid #534b58;
  border-radius: .23rem;
  background: #1c1b21;
  font-size: .8125rem;
  line-height: 1.3;
}
.collab-compose > :is(.collab-placeholder, .collab-draft-sent) { grid-area: 1 / 1; }
.collab-draft-sent { visibility: hidden; }
.collab-placeholder { color: var(--muted); }
.collab-post, .collab-draft-label {
  justify-self: end;
  min-height: 1.35rem;
  padding: .23rem .4rem;
  border-radius: .2rem;
  font-size: .6875rem;
  line-height: 1.15;
}
.collab-post { border: 1px solid #5c8b73; background: #22372c; color: #b6e3d4; }
.collab-draft-label { color: var(--person); }
.collab-cursor {
  position: absolute;
  z-index: 1;
  right: .1rem;
  top: 55%;
  width: .85rem;
  height: 1rem;
  filter: drop-shadow(0 1px 1px #101112);
  pointer-events: none;
}
.collab-cursor::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--person);
  clip-path: polygon(0 0, 100% 51%, 60% 58%, 78% 86%, 57% 100%, 38% 68%, 8% 93%);
}
.collab-cursor > span {
  position: absolute;
  left: calc(100% + .2rem);
  top: .75rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  white-space: nowrap;
  padding: .13rem .32rem;
  border-radius: .22rem;
  background: var(--person);
  color: #141819;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.2;
}
.collab-actions { min-height: 2.75rem; }
.collab-post-target { position: relative; display: inline-block; }
.collab-post { display: inline-block; padding-right: 1.35rem; }
.collab-reader .collab-compose {
  display: block;
  padding-bottom: 1.95rem;
  font: .75rem/1.45 ui-monospace, monospace;
}
.collab-word { display: inline-block; box-sizing: content-box; width: 9ch; padding-right: 3.4rem; white-space: nowrap; vertical-align: top; }
.collab-typed { position: relative; display: inline-block; width: 100%; }
.collab-letters { display: block; overflow: hidden; }
.collab-typed::after {
  content: '';
  position: absolute;
  left: 100%; top: .16em; bottom: .12em;
  border-left: 1px solid var(--person);
}
.collab-reader .collab-cursor { left: 100%; right: auto; top: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .refresh-demo[data-playing] .collab-typed {
    animation: collab-type 960ms calc(var(--receive-at) - 480ms) steps(5, end) both;
  }
}
@keyframes collab-type { from { width: 4ch; } to { width: 9ch; } }
.collab-status {
  display: grid;
  grid-template-columns: auto minmax(.65rem, 1fr) auto;
  gap: .5rem;
  align-items: center;
  margin-top: .95rem;
  color: var(--muted);
  font-size: .8125rem;
}
.collab-status strong { color: var(--point-color); }
.collab-wire { position: relative; height: 1px; background: #526f61; }
.collab-wire::after {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--trace);
  box-shadow: 0 0 11px var(--trace);
  opacity: 0;
}

@media (min-width: 53.01rem) {
  .selling-point:nth-of-type(even) { --point-origin: left; }
  .selling-point:nth-of-type(even) .point-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .selling-point:nth-of-type(even) .point-layout > .point-copy { grid-area: 1 / 2; }
  .selling-point:nth-of-type(even) .point-layout > :is(.example, .htmx-showcase) { grid-area: 1 / 1; }
}
.journal {
  border-block: 1px solid var(--line);
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: radial-gradient(ellipse at 100% 100%, #371920, transparent 75%), #110d11;
}
.journal-inner { display: grid; grid-template-columns: 1fr minmax(0, .9fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.journal h2 { font-size: clamp(2.8rem, 5.4vw, 5.4rem); margin-bottom: 1.25rem; }
.journal p { max-width: 29rem; line-height: 1.6; color: var(--muted); }
.journal a:not(.button) { color: var(--light); text-decoration: underline; text-underline-offset: .2em; }
.journal-comparison { min-width: 0; padding: .9rem 1.05rem; border: 1px solid var(--line); border-radius: .45rem; background: #140e12; font-size: .9rem; }
.journal-comparison table { width: 100%; border-collapse: collapse; }
.journal-comparison caption { padding-bottom: .65rem; color: var(--light); font-weight: 700; text-align: left; }
.journal-comparison :is(th, td) { padding: .4rem 0; border-top: 1px solid var(--line); text-align: left; }
.journal-comparison tbody th { font-weight: 500; }
.journal-comparison :is(th, td):last-child { padding-left: .5rem; text-align: right; font-variant-numeric: tabular-nums; }
.site-footer { padding-block: 1.7rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; flex-wrap: wrap; }
.site-footer p, .site-footer a:last-child { margin: 0; color: var(--muted); font-size: .9rem; }

@media (min-width: 105rem) {
  .scene { right: max(-7.5vw, calc((100vw - 108rem) * .33)); }
}
@media (max-width: 67rem) {
  .openapi-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .openapi-swagger { grid-column: 1 / -1; }
}
@media (max-width: 53rem) {
  .hero { min-height: max(44rem, calc(100svh - 5rem)); }
  .scene { width: 94vw; right: -19vw; top: 37%; }
  .hero-inner { align-items: end; padding-bottom: 6rem; }
  .singularity::after {
    background: linear-gradient(90deg, var(--space), #09080970 23%, transparent 66%),
      linear-gradient(0deg, var(--space) 7%, #090809cd 22%, transparent 64%);
  }
  .point-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sql-intro, .openapi-intro, .openapi-contract-code { grid-template-columns: minmax(0, 1fr); }
  .sql-demo .contract-source pre { max-height: 42rem; }
  .journal-inner { gap: 2rem; }
}
@media (max-width: 39rem) {
  .site-nav { min-height: 4rem; }
  .site-nav nav { font-size: .875rem; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: clamp(16.8rem, 76vw, 29rem) 5.15rem; }
  .scene { top: -.9rem; right: -13%; width: 126%; transform: none; }
  .singularity::after {
    background: linear-gradient(0deg, var(--space) 42%, transparent 70%);
  }
  .framework-name { margin-bottom: .95rem; font-size: .875rem; }
  h1 { font-size: clamp(2.6rem, 11.4vw, 4.7rem); margin-bottom: 1.25rem; }
  .hero-summary { max-width: 23rem; margin-bottom: 1.35rem; }
  .journal-inner { grid-template-columns: minmax(0, 1fr); }
  .openapi-boxes { grid-template-columns: minmax(0, 1fr); }
  .example pre { font-size: .84rem; }
  .contract-flow .contract-pair { font-size: .75rem; }
  .footer-inner p { order: 1; width: 100%; }
}
@media (max-width: 22.5rem) {
  .contract-flow .contract-pair { grid-template-columns: .85rem minmax(0, 1fr); }
  .contract-flow :is(.contract-origin, .contract-destination) { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ── Motion polish ─────────────────────────────────────────── */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1); }
.scene-canvas { transition: opacity 1.4s var(--ease-out); }
.contract-token { transition: color .35s var(--ease-out), background-color .35s var(--ease-out); }
.example:not(.openapi-demo), .openapi-box, .openapi-contract { position: relative; isolation: isolate; }
.example:not(.openapi-demo)::after, .openapi-box::after, .openapi-contract::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(28rem circle at var(--mx, 50%) var(--my, -30%), color-mix(in srgb, var(--point-color, var(--light)) 9%, transparent), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease-out);
}
:is(.example:not(.openapi-demo), .openapi-box, .openapi-contract):hover::after { opacity: 1; }
.contract-track::after, .collab-wire::after {
  top: -1px;
  width: 1.4rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--trace));
}
.button-primary { position: relative; overflow: hidden; isolation: isolate; }
.button-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, #ffffffa0 50%, transparent 65%);
  transform: translateX(-120%);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.97); }
.point-link::after {
  content: '→';
  display: inline-block;
  margin-left: .45rem;
  text-decoration: none;
  transition: transform .35s var(--ease-out);
}
.point-link:hover::after { transform: translateX(.3rem); }
.feature-result::before { content: '✓ '; }

@media (prefers-reduced-motion: no-preference) {
  /* hero entrance */
  .singularity { animation: hero-singularity 2.2s var(--ease-out) both; }
  .hero-copy > * { animation: hero-rise 1.1s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 120ms; }
  .hero-copy > :nth-child(3) { animation-delay: 260ms; }
  .hero-copy > :nth-child(4) { animation-delay: 380ms; }
  .button-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease-out); }

  /* scroll reveal */
  .motion [data-reveal] {
    opacity: 0;
    transform: translateY(2rem);
    filter: blur(6px);
    transition:
      opacity .9s var(--ease-out) var(--reveal-delay, 0ms),
      transform 1.1s var(--ease-out) var(--reveal-delay, 0ms),
      filter .9s var(--ease-out) var(--reveal-delay, 0ms),
      border-color .4s, box-shadow .4s;
  }
  /* Keep arrow endpoints stationary as these cards fade in. */
  .motion .openapi-demo [data-reveal] { transform: none; }
  .motion [data-reveal][data-revealed] { opacity: 1; transform: none; filter: none; }

  /* contract traces */
  [data-feature-animation][data-playing] .contract-track { animation: track-draw 420ms var(--ease-in-out) var(--trace-delay) both; }
  [data-feature-animation][data-playing] .contract-status::before { animation: status-ping 1.1s 2.3s var(--ease-out) both; }
  .openapi-demo[data-playing] .openapi-contract { animation: contract-breathe 1.6s var(--ease-out) both; }
}
.contract-track { transform-origin: left center; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(1.6rem); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes hero-singularity {
  from { opacity: 0; filter: blur(14px) brightness(1.6); }
  to { opacity: 1; filter: none; }
}
@keyframes track-draw {
  from { transform: scaleX(0); opacity: .2; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes status-ping {
  0% { box-shadow: 0 0 0 0 currentColor; }
  100% { box-shadow: 0 0 0 .55rem transparent; }
}
@keyframes contract-breathe {
  35% { box-shadow: 0 0 60px #ffc0ab30; border-color: color-mix(in srgb, #ffc0ab 70%, var(--line)); }
}
@keyframes contract-highlight {
  0% { animation-timing-function: var(--ease-out); }
  38%, 58% {
    color: #140e12;
    background: var(--trace);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--trace) 22%, transparent), 0 0 18px color-mix(in srgb, var(--trace) 55%, transparent);
    animation-timing-function: var(--ease-in-out);
  }
}
@keyframes contract-transfer {
  0% { left: 0; opacity: 0; animation-timing-function: var(--ease-in-out); }
  20%, 80% { opacity: 1; }
  100% { left: calc(100% - 1.4rem); opacity: 0; }
}
@keyframes contract-verified {
  from { opacity: .4; transform: translateY(6px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes feature-spotlight {
  0% { animation-timing-function: var(--ease-out); }
  45% { background-color: color-mix(in srgb, var(--trace) 16%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--trace) 40%, transparent); }
}
@keyframes collab-point {
  from { transform: translate(.8rem, -.55rem); animation-timing-function: cubic-bezier(.45, 0, .15, 1); }
}
@keyframes collab-click {
  35% { transform: scale(.88); background-color: #b6e3d4; color: #11191a; box-shadow: 0 0 0 4px #b6e3d433; }
}
@keyframes collab-receive {
  from { opacity: 0; transform: translateY(8px) scale(.98); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes openapi-box-in {
  0% { animation-timing-function: var(--ease-out); }
  40% { box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--box-color) 60%, transparent); }
}

.browser-tabs {
  display: flex; align-items: center; gap: 1rem;
  padding: .45rem .8rem 0; background: #2a2429;
}
.browser-tab {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .75rem; border-radius: .5rem .5rem 0 0;
  background: #393239; color: var(--ink); font-size: .79rem;
}
.browser-tab img { width: .9rem; height: .9rem; }
.browser-toolbar { padding: .38rem .6rem .45rem; background: #393239; }
.browser-lights {
  width: .45rem;
  height: .45rem;
  margin-right: 1rem;
  border-radius: 50%;
  background: #c58e89;
  box-shadow: .65rem 0 #c1a575, 1.3rem 0 #83a492;
}
.browser-address {
  text-decoration: none;
  display: flex; justify-content: space-between; align-items: center; gap: .4rem;
  padding: .35rem .65rem;
  border-radius: .25rem;
  background: #282125;
  color: var(--muted);
  font: .75rem ui-monospace, monospace;
}
.browser-address:hover { color: var(--ink); }
.browser-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.type-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: hidden; }
.type-link { color: var(--link-color); fill: currentColor; }
.type-link-path, .type-link-comet, .type-link-glow { fill: none; stroke: currentColor; }
.type-link-path { stroke-width: 1.25; }
.type-link-glow { stroke-width: 4; opacity: .12; }
.type-link-comet { stroke-width: 2.5; stroke-dasharray: .045 1; }
.link-token { cursor: pointer; text-decoration: underline dotted; text-underline-offset: .18em; }
.link-token.is-linked { outline: 1px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  [data-playing]:not([data-link-focus]) .type-link { animation: trace-edge 1.3s var(--link-delay) both; }
  .type-links:not(.is-static) .type-link-comet { animation: trace-comet .8s var(--link-delay) both; }
}
@keyframes trace-edge { 0%, 100% { opacity: 0; } 20%, 78% { opacity: .9; } }
@keyframes trace-comet { from { stroke-dashoffset: .05; } to { stroke-dashoffset: -1; } }
