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

body,
h1,
h2,
h3,
p,
figure {
  margin: 0;
}

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

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

/* Tokens */
:root {
  --ink: #eeede9;
  --muted: #8f8e89;
  --surface: #0b0b0c;
  --raised: #131316;
  --line: #27272c;
  --accent: #ecebe7;
  --on-accent: #0c0c0d;

  --font-body: "Instrument Sans", "Instrument Sans Fallback", system-ui, sans-serif;
  --font-heading: var(--font-body);
  --font-code: var(--mono);
  --heading-weight: 540;
  --tracking: -0.035em;
  --scale: 1;
  --radius: 0px;

  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 40px);
  --section: var(--space-12);
  --step-1: var(--type-lg);
  --step-2: var(--type-xl);
  --step-3: var(--type-2xl);
  --step-4: var(--type-3xl);

  --type-sm: 0.875rem;
  --type-base: 1rem;
  --type-lg: 1.25rem;
  --type-xl: 1.5rem;
  --type-2xl: 2.25rem;
  --type-3xl: 3rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --line-strong: #34343a;
  --paper: #f3f1ec;
  --paper-ink: #1d1d1f;
  --agent: #a394ff;
  --bg: #0b0b0c;
  --check: #3ddc97;
  --dim: #9d9c97;
  --eye: #ffb547;
  --fail: #ff5d5d;
  --faint: #868580;
  --grade: #b8913a;
  --line-2: #34343a;
  --mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, monospace;
  --nav: 56px;
  --text: #d6d5d0;
  --undo: #f1f0ec;
  --w0: #0e0e10;
  --w1: #131316;
  --w2: #1a1a1e;
  --w3: #222227;
  --who: var(--agent);
  --blur: blur(16px) saturate(1.35);
  --glass: rgba(20, 20, 24, 0.55);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.09);
  --glow-a: radial-gradient(900px 600px at 12% 0%, rgba(163, 148, 255, 0.11), transparent 62%);
  --glow-b: radial-gradient(800px 600px at 92% 22%, rgba(184, 145, 58, 0.06), transparent 62%);
  --glow-c: radial-gradient(1100px 700px at 50% 112%, rgba(61, 220, 151, 0.05), transparent 60%);
  --type-code: 0.8125rem;
  --type-h1: clamp(2.5rem, 1.3rem + 3.2vw, 4.5rem);
  --type-h2: clamp(1.75rem, 1.1rem + 1.9vw, 2.75rem);
  --type-md: 1.125rem;
  --type-xs: 0.75rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--type-base);
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  background-attachment: fixed;
  background-color: #0b0b0c;
  background-image: radial-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1.5px);
  background-size: 22px 22px;
  font-weight: 450;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans/latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans/latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans/latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans/latin-ext-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The same for JetBrains Mono: 0.6 em advance, 1.02 em ascent, 0.3 em descent. */
@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Liberation Mono"), local("Courier New"), local("Cousine"), local("Menlo");
  size-adjust: 100%;
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
}
/* A local face scaled to Instrument Sans's width and line box, so the swap to the web font barely moves text. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica"), local("Arimo");
  size-adjust: 101.02%;
  ascent-override: 96.02%;
  descent-override: 24.75%;
  line-gap-override: 0%;
}

html {
  background: var(--surface);
  color-scheme: dark;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.62);
  backdrop-filter: var(--blur);
  border-bottom-color: var(--glass-line);
}

.wordmark {
  font-size: var(--type-md);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--type-sm);
  color: var(--muted);
}

.site-links a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
}

/* Phone: one row, the brand, Menu and Download; the page links move into the family Menu panel. */
@media (max-width: 760px) {
  .site-nav {
    gap: 10px;
  }

  .site-links a:not(.nav-cta) {
    display: none;
  }

  .site-links {
    flex: none;
  }

  .site-nav .nav-cta {
    align-items: center;
    display: inline-flex;
    height: 44px;
    padding: 0 14px;
  }
}


@media (prefers-reduced-motion: reduce) {

  .studio .hist li {
    animation: none;
  }

  .studio .x-card.rise {
    animation: none;
  }

  #win *, #win *::before, #win *::after {
    animation: none;
    transition: none;
  }

  .card, .dock, .cursor {
    transition: none;
  }

  #hero .cursor.click::before {
    animation: none;
  }
}


@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces/latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces/latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces/latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces/latin-ext-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo/latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo/latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo/latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo/latin-ext-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque/latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque/latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono/JetBrainsMono-VF.woff2") format("woff2");
  font-display: swap;
}

button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

code, kbd, pre {
  font-family: var(--mono);
}

.site-links a[aria-current="page"] {
  color: var(--ink);
}

.wrap {
  margin-inline: auto;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
}

.page {
  padding-top: var(--nav);
}

/* The opening block keeps the same space above the first section rule as every section does. */
.page > .wrap:has(+ .sec) {
  padding-bottom: clamp(48px, 6vw, 88px);
}

.page-head {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px);
}

/* Measured facts beside an inner page's title; under it on narrow screens. */
.head-facts {
  border-top: 1px solid var(--line);
  display: grid;
  margin: 8px 0 0;
  width: 100%;
}

.head-facts > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px 20px;
  grid-template-columns: 8rem minmax(0, 1fr);
  padding: 14px 0;
}

.head-facts dt {
  color: var(--muted);
  font: 600 0.72rem var(--mono);
  grid-row: span 2;
  letter-spacing: 0.14em;
  padding-top: 0.35em;
  text-transform: uppercase;
}

.head-facts dd {
  color: var(--ink);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  font-weight: 540;
  letter-spacing: -0.015em;
  margin: 0;
}

.head-facts dd.sub {
  color: var(--muted);
  font-size: var(--type-sm);
  font-weight: 400;
  letter-spacing: 0;
}

@media (min-width: 1000px) {
  .page-head:has(> .head-facts) {
    column-gap: clamp(48px, 6vw, 96px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  }

  .page-head:has(> .head-facts) > :not(.head-facts) {
    grid-column: 1;
  }

  .page-head > .head-facts {
    align-self: end;
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0;
  }
}

.page-head h1 {
  font-size: var(--type-h1);
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 15ch;
  text-wrap: balance;
}

.sub {
  color: var(--dim);
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.5;
  max-width: 48ch;
  text-wrap: pretty;
}

.label {
  color: var(--dim);
  font: 500 var(--type-xs)/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.who {
  align-items: center;
  color: var(--c, var(--ink));
  display: inline-flex;
  font: 600 11.5px/1 var(--mono);
  gap: 8px;
  letter-spacing: 0.02em;
}

.who::before {
  background: var(--c, var(--ink));
  content: '';
  height: 8px;
  width: 8px;
}

.c-eye {
  --c: var(--eye);
}

.c-check {
  --c: var(--check);
}

.c-grade {
  --c: var(--grade);
}

.c-fail {
  --c: var(--fail);
}

.sec {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 88px);
  border-top-color: rgba(255, 255, 255, 0.06);
}

.sec-head {
  align-items: baseline;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.sec-head h2 {
  font-size: var(--type-h2);
  font-weight: var(--heading-weight);
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 24ch;
  text-wrap: balance;
}

.sec-head p {
  color: var(--dim);
  font-size: var(--type-md);
  grid-column: 1;
  line-height: 1.55;
  margin-top: 2px;
  max-width: 58ch;
}

.boxes {
  background: transparent;
  border: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
}

.box {
  align-content: start;
  background: var(--glass);
  display: grid;
  gap: 12px;
  padding: 26px 24px 28px;
  position: relative;
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-hi), 0 20px 50px rgba(0, 0, 0, 0.25);
}

.box::before {
  background: var(--c, transparent);
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  top: 0;
  width: 44px;
}

.box h3 {
  color: var(--ink);
  font-size: var(--type-lg);
  font-weight: 560;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.box p {
  color: var(--dim);
  font-size: var(--type-base);
  line-height: 1.55;
}

.box code {
  color: var(--text);
  font-size: var(--type-code);
}

.code {
  background: rgba(14, 14, 16, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
  display: block;
  font: 13px/1.65 var(--mono);
  overflow-x: auto;
  padding: 14px 16px;
  white-space: pre;
  backdrop-filter: var(--blur);
  border-color: var(--glass-line);
}

.code .p {
  color: var(--faint);
  user-select: none;
}

.code .k {
  color: var(--dim);
}

.facts {
  background: transparent;
  border: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
}

.fact {
  align-content: start;
  background: var(--glass);
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-hi);
}

.fact b {
  color: var(--ink);
  font-size: var(--type-xl);
  font-weight: 550;
  letter-spacing: -0.02em;
}

.fact span {
  color: var(--dim);
  font-size: var(--type-sm);
  line-height: 1.45;
}

.btn {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--bg);
  display: inline-flex;
  font-size: var(--type-sm);
  font-weight: 500;
  gap: 8px;
  height: 42px;
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
}

.btn:hover {
  background: #ffffff;
}

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

.btn.quiet:hover {
  background: var(--w2);
}

.btn[aria-disabled="true"],
.btn[aria-disabled="true"]:hover {
  background: transparent;
  border-color: var(--line-2);
  color: var(--dim);
  cursor: default;
}

.row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

details.q {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details.q:last-of-type {
  border-bottom: 1px solid var(--line);
}

details.q summary {
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: var(--type-md);
  font-weight: 500;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
}

details.q summary::after {
  color: var(--dim);
  content: '+';
  font-family: var(--mono);
}

details.q[open] summary::after {
  content: '−';
}

details.q p {
  color: var(--dim);
  font-size: var(--type-base);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 68ch;
}

.site-foot {
  background: rgba(14, 14, 16, 0.62);
  border-top: 1px solid var(--line);
  padding-block: 44px 40px;
  backdrop-filter: var(--blur);
  border-top-color: var(--glass-line);
}

.foot-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
}

.foot-grid p {
  color: var(--dim);
  font-size: var(--type-sm);
  line-height: 1.55;
  margin-top: 10px;
  max-width: 34ch;
}

.foot-grid a {
  color: var(--dim);
  display: block;
  font-size: var(--type-sm);
  padding-block: 4px;
}

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

.foot-grid .label {
  margin-bottom: 8px;
}

.site-foot .foot-grid {
  padding-bottom: 32px;
}

.foot-note {
  border-top: 1px solid var(--line);
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  font: 12px/1.4 var(--mono);
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
}

.built {
  align-items: center;
  border: 1px solid var(--line-2);
  color: var(--dim);
  display: inline-flex;
  font: 12px/1 var(--mono);
  gap: 8px;
  padding: 7px 10px;
}

.built::before {
  background: var(--agent);
  content: '';
  height: 7px;
  width: 7px;
}

@media (max-width: 860px) {
  .sec-head {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
  }

  .sec-head p {
    grid-column: 1;
  }

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

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .win {
    grid-template-rows: 40px minmax(0, 1fr);
  }

  .w-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .w-tools, .w-right, .scopes, .seg, .w-writes, .widths, .modes .st, .corner, .rx, .ry {
    display: none;
  }

  .w-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .dock .hint {
    display: none;
  }

  .studio .win {
    grid-template-rows: 40px minmax(0, 1fr);
  }

  .studio .w-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio :is(.w-tools, .w-right, .scopes, .seg, .w-writes, .widths, .st, .corner, .rx, .ry) {
    display: none;
  }

  .studio .w-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 0 0;
  }

  .page .entry {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
  }

  .page table.spec th {
    width: 38%;
  }

  .studio .modes .st {
    display: none;
  }

  .ex .ex-row {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  .ex .ex-row:nth-child(even) > .ex-copy {
    order: 0;
  }

  .ex .ex-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ex .ex-vis {
    aspect-ratio: 4 / 3;
  }
}

.studio {
  background: var(--bg);
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  position: relative;
  max-height: 1040px;
  view-timeline-name: --hero;
}

.win {
  background: var(--w0);
  color: var(--text);
  display: grid;
  font-size: 12px;
  grid-template-rows: 44px minmax(0, 1fr);
  inset: var(--nav) 0 0 0;
  line-height: 1.3;
  position: absolute;
  user-select: none;
  grid-template-columns: minmax(0, 1fr);
}

.w-bar {
  align-items: center;
  background: #0b0b0d;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 0 8px 0 14px;
  white-space: nowrap;
  position: relative;
}

.w-el {
  color: var(--ink);
  font-weight: 600;
  min-width: 84px;
}

.seg {
  border: 1px solid var(--line-2);
  display: inline-flex;
}

.seg b {
  border-right: 1px solid var(--line-2);
  color: var(--dim);
  font-weight: 500;
  padding: 4px 9px;
  transition: background 0.25s, color 0.25s;
}

.seg b:last-child {
  border-right: 0;
}

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

.w-label {
  color: var(--faint);
  margin-right: 6px;
}

.w-writes code {
  background: var(--w0);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 11px;
  padding: 3px 7px;
  transition: border-color 0.25s, color 0.25s;
}

.w-writes.hot code {
  border-color: var(--who);
  color: var(--who);
}

.w-sp {
  flex: 1;
}

.w-zoom {
  color: var(--dim);
  font: 11px var(--mono);
}

.w-btn {
  border: 1px solid var(--line-2);
  color: var(--ink);
  height: 24px;
  padding: 0 11px;
  transition: border-color 0.2s, background 0.2s;
}

.w-btn:hover {
  background: var(--w3);
}

.w-btn.flash {
  background: rgba(241, 240, 236, 0.14);
  border-color: var(--undo);
}

.w-body {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr) 256px;
  min-height: 0;
}

.w-tools {
  align-content: start;
  background: var(--w1);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 4px;
  justify-items: center;
  padding-top: 8px;
}

.tool {
  color: var(--dim);
  display: grid;
  height: 28px;
  place-items: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  width: 28px;
}

.tool svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 16px;
}

.tool.on {
  background: var(--w3);
  box-shadow: inset 2px 0 0 var(--who);
  color: var(--ink);
}

.panel {
  background: var(--w1);
  display: grid;
  grid-template-rows: 30px minmax(0, 1fr);
  min-height: 0;
}

.w-left {
  border-right: 1px solid var(--line);
  grid-template-rows: auto 32px auto minmax(0, 1fr);
}

.w-right {
  border-left: 1px solid var(--line);
  grid-template-rows: 36px minmax(0, 1fr);
}

.ptabs {
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  display: flex;
  padding: 0 4px;
}

.ptabs b {
  border-right: 0;
  color: var(--dim);
  display: grid;
  font-weight: 500;
  padding: 0 6px;
  place-items: center;
  flex: 1 1 auto;
  transition: box-shadow 0.25s, color 0.25s;
}

.ptabs b.on {
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--ink);
  color: var(--ink);
}

.layers {
  overflow: hidden;
  padding: 6px 0;
}

.layer {
  align-items: center;
  color: var(--text);
  cursor: pointer;
  display: flex;
  gap: 7px;
  height: 22px;
  opacity: 0;
  padding: 0 10px 0 calc(10px + var(--d, 0) * 13px);
  position: relative;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.35s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.layer.on {
  opacity: 1;
  transform: none;
}

.layer i {
  background: var(--line-2);
  flex: none;
  height: 13px;
  transition: background 0.25s;
  width: 3px;
}

.layer em {
  color: var(--faint);
  font: normal 10px var(--mono);
  margin-left: auto;
}

.layer.sel {
  background: color-mix(in oklab, var(--who) 16%, transparent);
  color: var(--ink);
}

.layer.sel i {
  background: var(--who);
}

.layer.sel em {
  color: var(--who);
}

.w-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto 28px;
  min-height: 0;
  min-width: 0;
}

.corner {
  background: var(--w1);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.rx, .ry {
  background-color: var(--w1);
  overflow: hidden;
  position: relative;
}

.rx {
  background-image: repeating-linear-gradient(90deg, #45454c 0 1px, transparent 1px var(--major, 100px)), repeating-linear-gradient(90deg, #2f2f35 0 1px, transparent 1px calc(var(--major, 100px) / 10));
  background-position: var(--ox, 0) 100%, var(--ox, 0) 100%;
  background-repeat: repeat-x;
  background-size: 100% 10px, 100% 5px;
  border-bottom: 1px solid var(--line);
}

.ry {
  background-image: repeating-linear-gradient(180deg, #45454c 0 1px, transparent 1px var(--major, 100px)), repeating-linear-gradient(180deg, #2f2f35 0 1px, transparent 1px calc(var(--major, 100px) / 10));
  background-position: 100% var(--oy, 0), 100% var(--oy, 0);
  background-repeat: repeat-y;
  background-size: 10px 100%, 5px 100%;
  border-right: 1px solid var(--line);
}

.rmark {
  background: color-mix(in oklab, var(--who) 34%, transparent);
  position: absolute;
  transition: left 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s;
}

.rx .rmark {
  bottom: 0;
  top: 0;
}

.ry .rmark {
  left: 0;
  right: 0;
}

.canvas {
  background-color: #17171a;
  background-image: radial-gradient(#26262b 1px, transparent 1px);
  background-size: 16px 16px;
  overflow: hidden;
  position: relative;
}

.frame {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 90px rgba(0, 0, 0, 0.55);
  container-type: inline-size;
  height: 100%;
  left: 24px;
  position: absolute;
  top: 24px;
  transform-origin: 0 0;
  transition: width 0.9s cubic-bezier(0.6, 0, 0.2, 1), left 0.9s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.5s;
  width: 1280px;
}

.frame.snap {
  transition: none;
}

.frame.gone {
  opacity: 0;
}

.guides {
  background-image: repeating-linear-gradient(90deg, color-mix(in oklab, var(--agent) 30%, transparent) 0 1px, transparent 1px calc(100% / 12));
  inset: 0 48px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.5s;
  z-index: 3;
}

.guides.on {
  opacity: 1;
}

.mark {
  pointer-events: none;
  position: absolute;
  z-index: 6;
}

.sel {
  border: 1.5px solid var(--who);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: left 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s, border-color 0.25s;
  border-width: 1px;
}

.sel.on {
  opacity: 1;
}

.sel i {
  background: #ffffff;
  border: 1px solid var(--who);
  height: 6px;
  position: absolute;
  transition: background 0.25s;
  width: 6px;
}

.sel i:nth-of-type(1) {
  left: -4px;
  top: -4px;
}

.sel i:nth-of-type(2) {
  right: -4px;
  top: -4px;
}

.sel i:nth-of-type(3) {
  bottom: -4px;
  left: -4px;
}

.sel i:nth-of-type(4) {
  bottom: -4px;
  right: -4px;
}

.chip {
  background: #e9e8e4;
  bottom: auto;
  color: #0e0e10;
  font: 500 10.5px/1 var(--mono);
  left: 50%;
  padding: 3px 5px;
  position: absolute;
  transition: background 0.25s;
  white-space: nowrap;
  border-radius: 3px;
  top: calc(100% + 6px);
  transform: translateX(-50%);
}

.sel.low .chip {
  bottom: auto;
  top: calc(100% + 4px);
}

.hover {
  border: 1px dashed rgba(238, 237, 233, 0.6);
  opacity: 0;
  transition: opacity 0.15s;
}

.hover.on {
  opacity: 1;
}

.issue {
  background: repeating-linear-gradient(135deg, rgba(255, 93, 93, 0.16) 0 6px, transparent 6px 12px);
  border: 1.5px solid var(--fail);
  opacity: 0;
  transition: opacity 0.3s;
}

.issue.on {
  opacity: 1;
}

.issue .chip {
  background: var(--fail);
}

.cursor {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M1 1l15 11-7 1-4 7z' fill='%23fff' stroke='%230b0b0c' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  height: 22px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transition: opacity 0.2s, left var(--move, 0.6s) cubic-bezier(0.3, 0.7, 0.2, 1), top var(--move, 0.6s) cubic-bezier(0.3, 0.7, 0.2, 1);
  width: 18px;
  z-index: 12;
}

.cursor.on {
  opacity: 1;
}

.cursor.ew {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 18'%3E%3Cpath d='M1 9l5-5v3h10V4l5 5-5 5v-3H6v3z' fill='%23fff' stroke='%230b0b0c' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  height: 18px;
  margin: -9px 0 0 -11px;
  width: 22px;
}

.insp {
  overflow: hidden;
  padding: 0 0 12px;
  scroll-behavior: smooth;
}

.ih {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 12px;
}

.ih strong {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ih span {
  color: var(--who);
  font: 10.5px var(--mono);
  transition: color 0.25s;
}

.isec {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
  grid-template-columns: minmax(0, 1fr);
}

.isec > header {
  color: var(--dim);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
}

.irow {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 44px 1fr 1fr;
}

.irow .k {
  color: var(--faint);
}

.field {
  align-items: center;
  background: var(--w0);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  font: 11px var(--mono);
  gap: 7px;
  height: 27px;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 8px;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.field small {
  color: var(--faint);
  font-size: 11px;
}

.field small.bad {
  color: var(--fail);
}

.field.wide {
  grid-column: 1 / -1;
}

.field.hot {
  background: color-mix(in oklab, var(--who) 14%, var(--w0));
  border-color: var(--who);
}

.field.scrub {
  cursor: ew-resize;
  touch-action: none;
}

.sw {
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: none;
  height: 12px;
  transition: background 0.3s;
  width: 12px;
}

.hist {
  border-top: 1px solid var(--line);
  max-height: 136px;
  overflow: hidden;
  padding: 6px 0 4px;
}

.hist header {
  color: var(--dim);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  padding: 0 12px 4px;
}

.hist li {
  align-items: center;
  color: var(--text);
  display: grid;
  font: 10.5px var(--mono);
  gap: 7px;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  padding: 3px 12px;
  white-space: nowrap;
  animation: hist-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hist li span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hist li i {
  background: var(--faint);
  height: 7px;
  width: 7px;
  border-radius: 50%;
}

.hist li em {
  color: var(--faint);
  font-style: normal;
}

.hist li.undone {
  color: var(--faint);
  text-decoration: line-through;
}

.tbar {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 40px 1fr 22px;
}

.tbar b {
  background: var(--text);
  height: 5px;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: var(--v, 0%);
}

.tbar span:last-child {
  color: var(--text);
  text-align: right;
}

.modes {
  align-items: stretch;
  background: var(--w1);
  border-top: 1px solid var(--line);
  display: flex;
  overflow: hidden;
}

.modes .st {
  align-items: center;
  color: var(--dim);
  display: flex;
  font: 10.5px var(--mono);
  gap: 8px;
  min-width: 220px;
  padding: 0 12px;
  flex: 1;
}

.modes .st i {
  background: var(--check);
  height: 7px;
  transition: background 0.25s;
  width: 7px;
}

.modes .st.bad i {
  background: var(--fail);
}

.widths {
  align-items: stretch;
  display: flex;
  padding-right: 4px;
}

.widths button {
  border-left: 1px solid var(--line);
  color: var(--dim);
  font: 10.5px var(--mono);
  padding: 0 10px;
}

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

.widths button.on {
  background: var(--w3);
  color: var(--ink);
}

.pg {
  --acc: #9c3d22;
  --bgc: #f6efe4;
  --fgc: #2a1d14;
  --font: "Fraunces", Georgia, serif;
  --hw: 560;
  --i1: #ecc999;
  --i2: #c8743f;
  --i3: #5b2a17;
  --mut: #6b5848;
  --t-scale: 1;
  --title-size: 64px;
  background: #ffffff;
  color: #1d1d1f;
  font-family: system-ui, sans-serif;
  min-height: 100%;
  position: relative;
  transition: none;
}

.pg.styled {
  background: var(--bgc);
  color: var(--fgc);
  font-family: var(--font);
}

.b {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.b.on {
  opacity: 1;
  transform: none;
}

.t {
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.45s, transform 0.45s;
}

.t.on {
  opacity: 1;
  transform: none;
}

.pg.resetting :is(.b, .t), .pg.resetting .art::before, .pg.resetting .art::after {
  transition: none;
}

.pg:not(.styled) .b.on {
  outline: 1px dashed #c4c4c4;
  outline-offset: -1px;
}

.pg:not(.styled) .ph {
  background-color: #e2e2e2;
}

.pg:not(.styled) .art {
  background-color: #ececec;
}

.x-header {
  align-items: center;
  display: flex;
  gap: 24px;
  height: 72px;
  justify-content: space-between;
  padding: 0 calc(48px * var(--density, 1));
}

.x-brand {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.x-menu {
  color: #6b6b6b;
  display: flex;
  font-size: 14px;
  gap: 26px;
}

.pg.styled .x-menu {
  color: var(--mut);
}

.x-cta, .x-button {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  padding: 0 18px;
  transition: opacity 0.35s, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.9s, color 0.9s;
  white-space: nowrap;
  border-radius: var(--radius, 0px);
}

.x-cta {
  min-width: 96px;
}

.x-button {
  justify-self: start;
  min-width: 150px;
}

.pg.styled .x-cta, .pg.styled .x-button {
  background-color: var(--acc);
  color: var(--bgc);
  border-radius: var(--radius, 0px);
  box-shadow: var(--shadow, none);
  transition: border-radius 0.5s, box-shadow 0.5s, background-color 0.9s;
}

.x-hero {
  display: grid;
  gap: calc(28px * var(--density, 1));
  grid-template-columns: var(--tracks, 5fr 2fr 5fr);
  min-height: 360px;
  padding: calc(18px * var(--density, 1)) calc(48px * var(--density, 1)) calc(28px * var(--density, 1));
  transition: opacity 0.35s, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), grid-template-columns 1.2s cubic-bezier(0.5, 0, 0.2, 1);
}

.x-copy {
  align-content: center;
  display: grid;
  gap: calc(18px * var(--density, 1));
}

.x-title {
  font-size: calc(var(--title-size) * var(--t-scale));
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.pg.styled .x-title {
  font-weight: var(--hw);
}

.x-text {
  color: #6b6b6b;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 30ch;
}

.pg.styled .x-text {
  color: var(--mut);
  font-size: calc(var(--body, 17) * 1px);
}

.art {
  --art-a: radial-gradient(55% 48% at 66% 34%, color-mix(in oklab, var(--i2) 70%, white) 0%, var(--i2) 16%, transparent 58%);
  --art-b: radial-gradient(95% 70% at 8% 112%, var(--i3) 0%, transparent 62%);
  --art-c: radial-gradient(80% 60% at 104% 104%, color-mix(in oklab, var(--i3) 55%, black) 0%, transparent 66%);
  --art-d: linear-gradient(168deg, var(--i1) 0%, color-mix(in oklab, var(--i1) 50%, var(--i2)) 52%, color-mix(in oklab, var(--i3) 65%, black) 100%);
  min-height: 120px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius, 0px);
}

.art::before, .art::after {
  clip-path: inset(100% 0 0 0);
  content: '';
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.5s, clip-path 1s cubic-bezier(0.6, 0, 0.2, 1);
}

.art::before {
  background-image: var(--photo, none), var(--art-a), var(--art-b), var(--art-c), var(--art-d);
  background-position: center;
  background-size: cover;
}

.art::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.art.lit::before {
  clip-path: inset(0);
  opacity: 1;
}

.art.lit::after {
  clip-path: inset(0);
  opacity: 0.12;
}

.x-side {
  --art-a: radial-gradient(70% 40% at 50% 28%, color-mix(in oklab, var(--acc) 55%, white) 0%, transparent 70%);
  --art-b: linear-gradient(180deg, var(--acc), color-mix(in oklab, var(--acc) 45%, black));
  --art-c: none;
  --art-d: none;
}

.x-cards {
  display: grid;
  gap: calc(28px * var(--density, 1));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 calc(48px * var(--density, 1)) calc(40px * var(--density, 1));
}

.x-cards.fixed {
  grid-template-columns: repeat(3, 240px);
}

/* The demo page's footer: the site's address and hours, in its own ink. */
.x-foot {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  display: grid;
  font-size: 13px;
  gap: calc(28px * var(--density, 1));
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: calc(26px * var(--density, 1)) calc(48px * var(--density, 1)) calc(30px * var(--density, 1));
}

.pg.styled .x-foot {
  background: var(--fgc);
  border-top: 0;
  color: var(--bgc);
  font-size: calc(var(--body, 17) * 0.8px);
}

.x-foot > :first-child {
  font-weight: 600;
}

.x-card {
  display: grid;
  gap: 6px;
  grid-template-rows: 150px auto auto;
  transition: opacity 0.35s, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}

.x-card .art {
  height: 150px;
  min-height: 0;
}

.x-card span {
  font-size: 15px;
  font-weight: 600;
  margin-top: 6px;
}

.x-card small {
  color: #6b6b6b;
  font-size: 13px;
}

.pg.styled .x-card small {
  color: var(--mut);
  font-size: calc(var(--body, 17) * 0.78px);
}

.x-card.lift {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-8px);
}

.x-card.rise {
  animation: rise 0.6s var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) both;
  animation-delay: var(--delay, 0ms);
}

.card {
  background: rgba(12, 12, 14, 0.76);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 90px rgba(0, 0, 0, 0.5);
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: min(520px, 100vw - 32px);
  z-index: 15;
  backdrop-filter: blur(20px) saturate(1.5);
  border-color: rgba(255, 255, 255, 0.12);
}

.card-body {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 30px clamp(20px, 3vw, 36px) 24px;
}

.card h1 {
  font-size: clamp(2.1rem, 1rem + 2.4vw, 3.3rem);
  font-weight: var(--heading-weight);
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}

.card p {
  color: #cfcec8;
  font-size: var(--type-base);
  line-height: 1.45;
  max-width: 38ch;
  text-wrap: balance;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 2px;
}

.status {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--dim);
  display: flex;
  font: 12px/1.3 var(--mono);
  gap: 10px;
  min-height: 40px;
  padding: 10px 14px;
  text-align: left;
}

.badge {
  align-items: center;
  color: var(--who);
  display: inline-flex;
  flex: none;
  font-weight: 600;
  gap: 7px;
  transition: color 0.25s;
}

.badge::before {
  background: var(--who);
  content: '';
  height: 8px;
  transition: background 0.25s;
  width: 8px;
}

.cmd {
  color: var(--ink);
  min-width: 0;
  opacity: 0.86;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapters {
  display: flex;
  flex: none;
  gap: 3px;
  margin-left: auto;
}

.chapters i {
  background: var(--line-2);
  height: 3px;
  transition: background 0.3s;
  width: 14px;
}

.chapters i.on {
  background: var(--ink);
}

.dock {
  align-items: center;
  background: rgba(12, 12, 14, 0.62);
  border: 1px solid var(--line-2);
  bottom: 48px;
  color: var(--dim);
  display: flex;
  font-size: 12.5px;
  gap: 14px;
  left: 50%;
  opacity: 0;
  padding: 8px 8px 8px 14px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, 12px);
  transition: opacity 0.35s, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  z-index: 16;
  backdrop-filter: var(--blur);
  border-color: var(--glass-line);
}

.dock b {
  color: var(--ink);
  font-weight: 600;
}

.dock kbd {
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 10.5px;
  padding: 1px 5px;
}

.dock .btn {
  font-size: 13px;
  height: 30px;
  padding: 0 12px;
}

.hands .card {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%);
}

.hands .dock {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@container (max-width: 700px) {
  .x-header {
    height: 60px;
    padding: 0 20px;
  }

  .x-menu {
    display: none;
  }

  .x-hero {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 12px 20px 24px;
  }

  .x-side {
    display: none;
  }

  .x-image {
    height: 180px;
  }

  .x-title {
    font-size: calc(var(--title-size) * var(--t-scale) * 0.62);
  }

  .x-cards {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 20px 30px;
  }

  .x-foot {
    gap: 6px;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }
}

.hands .frame [data-layer] {
  cursor: pointer;
}

#win.ff *, #win.ff *::before, #win.ff *::after {
  animation: none;
  transition: none;
}

@media (max-width: 1180px) {
  .w-body {
    grid-template-columns: minmax(0, 1fr) 256px;
  }

  .w-left {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  .win {
    grid-template-rows: 40px minmax(0, 1fr);
  }
}

@keyframes rise {
  0% { opacity: 0; transform: translateY(26px); }
}

@keyframes hist-in {
  0% { opacity: 0; transform: translateY(-6px); }
}

body::before {
  background-image: var(--glow-a), var(--glow-b), var(--glow-c);
  content: '';
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

@media (max-height: 760px) {
  .card h1 {
    font-size: clamp(2rem, 1rem + 2vw, 2.7rem);
  }

  .card-body {
    gap: 13px;
    padding: 24px 28px 20px;
  }
}

.boxes.n2 {
  --n: 2;
}

.boxes.n4 {
  --n: 4;
}

.boxes.n5 {
  --n: 5;
}

.facts.n3 {
  --n: 3;
}

.row.after {
  margin-top: 28px;
}

.note {
  color: var(--dim);
  font: 12.5px/1.7 var(--mono);
  margin-top: 16px;
}

.stack > .row + .note {
  margin-top: 0;
}

.note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.note a:hover {
  text-decoration-color: var(--ink);
}

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

.offer-code {
  border: 1px dashed currentColor;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  user-select: all;
}

.box > code {
  color: var(--dim);
  font-size: 12px;
  line-height: 1.75;
  word-spacing: normal;
  display: block;
  white-space: pre-line;
}

.num {
  color: var(--dim);
  font: 500 12px/1 var(--mono);
}

.panelbox {
  backdrop-filter: var(--blur);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-hi);
}

.stack {
  display: grid;
  gap: 12px;
}

.price {
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: var(--heading-weight);
  letter-spacing: -0.025em;
  line-height: 1;
}

.price small {
  color: var(--dim);
  font-size: var(--type-sm);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 6px;
}

.tag {
  border: 1px solid var(--line-2);
  color: var(--dim);
  font: 11px/1 var(--mono);
  justify-self: start;
  padding: 4px 7px;
}

.ticks {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.ticks li {
  color: var(--text);
  font-size: var(--type-sm);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.ticks li::before {
  background: var(--c, var(--check));
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  top: 0.62em;
  width: 8px;
}

.box .btn {
  justify-self: stretch;
  margin-top: 8px;
}

.qa {
  max-width: 860px;
}

.code.big {
  font-size: var(--type-base);
  padding: 18px 20px;
}

.code.big.cmd {
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}

.code.big.cmd span {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .code.big.cmd {
    font-size: 11.5px;
  }
}

table.spec {
  border-collapse: collapse;
  font-size: var(--type-sm);
  width: 100%;
}

table.spec th, table.spec td {
  border-top: 1px solid var(--glass-line);
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
}

table.spec tr:first-child th, table.spec tr:first-child td {
  border-top: 0;
}

table.spec th {
  color: var(--dim);
  font-weight: 500;
  width: 230px;
}

table.spec td {
  color: var(--text);
  line-height: 1.55;
}

table.spec code {
  color: var(--ink);
  font-size: var(--type-code);
  overflow-wrap: anywhere;
}

.pill {
  align-items: center;
  border: 1px solid var(--line-2);
  color: var(--text);
  display: inline-flex;
  font: 12px/1 var(--mono);
  gap: 8px;
  padding: 6px 9px;
}

.pill::before {
  background: var(--c, var(--faint));
  content: '';
  height: 7px;
  width: 7px;
}

/* The pager hides items with the hidden attribute; a display rule here must not show them again. */
.entry[hidden] {
  display: none;
}

.entry {
  border-top: 1px solid var(--glass-line);
  display: grid;
  gap: 24px;
  grid-template-columns: 200px minmax(0, 1fr);
  padding-block: 30px;
}

.entry time {
  color: var(--dim);
  font: 12px/1.7 var(--mono);
}

.entry h3 {
  font-size: var(--type-lg);
  font-weight: 550;
  letter-spacing: -0.012em;
  margin-bottom: 12px;
}

.entry ul {
  display: grid;
  gap: 9px;
}

.entry ul + ul {
  margin-top: 18px;
}

.entry li {
  color: var(--text);
  font-size: var(--type-base);
  line-height: 1.55;
  max-width: 36em;
  padding-left: 18px;
  position: relative;
}

.entry li::before {
  background: var(--faint);
  content: '';
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.6em;
  width: 6px;
}

.entry li b {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--dim);
  display: inline-block;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.04em;
  margin-right: 8px;
  padding: 2px 5px;
  text-transform: uppercase;
  vertical-align: 1px;
}

.entry li b.k-new {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--paper-ink);
}

.entry li b.k-changed {
  color: var(--ink);
}

.entry li b.k-fix {
  border-color: var(--check);
  color: var(--check);
}

.entry li b.k-limit {
  border-color: var(--eye);
  color: var(--eye);
}

.gd {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.gd-stage {
  background-color: #17171a;
  background-image: radial-gradient(#26262b 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--glass-line);
  height: 540px;
  overflow: hidden auto;
  position: relative;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

.gd-frame {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  container-type: inline-size;
  left: 0;
  position: relative;
  top: 0;
  transform-origin: 0 0;
  width: 1280px;
  margin: 20px;
}

.gd-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.dial {
  display: grid;
  gap: 8px;
}

.dial label {
  color: var(--text);
  display: flex;
  font-size: var(--type-sm);
  gap: 12px;
  justify-content: space-between;
}

.dial output {
  color: var(--grade);
  font: 12px var(--mono);
}

.dial input {
  accent-color: var(--grade);
  width: 100%;
  height: 24px;
}

.gd-cmd {
  background: var(--w0);
  border: 1px solid var(--line);
  color: var(--dim);
  font: 12px/1.6 var(--mono);
  min-height: 60px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  white-space: pre-line;
}

.gd-cmd b {
  color: var(--grade);
  font-weight: 600;
}

.gd-swatches {
  display: flex;
  gap: 4px;
}

.gd-swatches i {
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex: 1;
  height: 22px;
}

@media (max-width: 1100px) {
  .boxes.n5, .boxes.n4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .gd {
    grid-template-columns: minmax(0, 1fr);
  }

  .gd-stage {
    height: min(380px, 42svh);
    position: sticky;
    top: calc(var(--nav) + 8px);
    z-index: 3;
  }

  .gd-panel > * {
    scroll-margin-top: calc(var(--nav) + min(380px, 42svh) + 24px);
  }
}

.gd-stage .pg {
  min-height: 0;
}


.site-links a {
  padding-block: 8px;
}

.box:has(> .ticks) {
  align-content: stretch;
  grid-template-rows: auto auto auto 1fr auto;
}

.box:has(> .ticks) > .ticks {
  align-content: start;
}



@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {

    .sec-head, .boxes > *, .facts > *, .entry, .panelbox {
      animation-fill-mode: both;
      animation-name: rise;
      animation-range: entry 0% entry 70%;
      animation-timeline: view();
      animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .boxes > :nth-child(2), .facts > :nth-child(2) {
      animation-range: entry 10% entry 80%;
    }

    .boxes > :nth-child(3), .facts > :nth-child(3) {
      animation-range: entry 20% entry 90%;
    }

    .boxes > :nth-child(4), .facts > :nth-child(4) {
      animation-range: entry 30% entry 100%;
    }

    .boxes > :nth-child(5), .facts > :nth-child(5) {
      animation-range: entry 35% entry 100%;
    }
  }
}

@keyframes click-ring {
  0% { opacity: 0.95; transform: scale(0.4); }
  100% { transform: scale(1.6); }
}



.cursor::before {
  border: 2px solid var(--who);
  border-radius: 50%;
  box-sizing: border-box;
  content: '';
  height: 20px;
  left: -9px;
  opacity: 0;
  position: absolute;
  top: -9px;
  width: 20px;
}

.cursor.click::before {
  animation: click-ring 0.45s ease-out;
}

.cursor.ew::before {
  left: 1px;
  top: -1px;
}

.cursor.drag {
  transition: opacity 0.2s;
}

.hands :is(#f-weight, #f-line, #f-track, #f-tracks, #type-bars, #space-cols) {
  cursor: ew-resize;
  touch-action: none;
}

.hands :is(#f-font, #f-color, .tool, .seg b) {
  cursor: pointer;
}

.pg [contenteditable] {
  cursor: text;
  outline: 1.5px solid var(--who);
  outline-offset: 4px;
}

.ex-row {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 96px);
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  padding-block: clamp(40px, 6vw, 88px);
  view-timeline-name: --row;
}

.ex-row:nth-child(even) > .ex-copy {
  order: 2;
}

.ex-copy {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 440px;
}

.ex-copy h2 {
  font-size: var(--type-h2);
  font-weight: var(--heading-weight);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

.ex-copy p {
  color: #b9b8b2;
  font-size: var(--type-md);
  line-height: 1.5;
  text-wrap: pretty;
}

.ex-link {
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font: 500 12.5px/1.3 var(--mono);
  padding-block: 8px 4px;
  transition: border-color 0.2s;
}

.ex-link:hover {
  border-bottom-color: var(--ink);
}

.ex-vis {
  aspect-ratio: 16 / 10;
  background: var(--w0);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  container-type: inline-size;
  overflow: hidden;
  position: relative;
}








.ex-row:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ex-copy {
      animation-fill-mode: both;
      animation-name: rise;
      animation-range: cover 8% cover 28%;
      animation-timeline: --row;
      animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .ex .ex-vis {
      animation-fill-mode: both;
      animation-name: ex-tilt;
      animation-range: entry 5% cover 42%;
      animation-timeline: --row;
      animation-timing-function: linear;
      transform-origin: 50% 100%;
    }
  }
}

.xw {
  color: #d8d7d2;
  display: grid;
  font-family: var(--font-body);
  font-size: calc(100cqw / 72);
  grid-template-rows: 3.2em minmax(0, 1fr) 2.6em;
  height: 100%;
  position: relative;
}

.xw-bar {
  align-items: center;
  background: #0b0b0d;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.6em;
  padding: 0 1.2em;
}

.xw-bar i {
  background: #2c2c32;
  border-radius: 50%;
  height: 0.85em;
  width: 0.85em;
  display: none;
}

.xw-file {
  color: var(--text);
  font: 1.15em/1 var(--font-body);
  margin-left: 0.2em;
}

.xw-tag {
  border: 1px solid var(--line-2);
  color: var(--ink);
  font: 500 1.05em/1 var(--font-body);
  margin-left: auto;
  padding: 0.4em 0.7em;
  background: var(--w3);
  border-color: transparent;
  border-radius: 0.45em;
}

.xw-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 23em;
  min-height: 0;
}

.xw-canvas {
  background-color: var(--w0);
  background-image: radial-gradient(#26262b 1px, transparent 1px);
  background-size: 1.6em 1.6em;
  overflow: hidden;
  padding: 2em 2em 0;
  position: relative;
}

.xw-panel {
  align-content: start;
  background: var(--w1);
  border-left: 1px solid var(--line);
  display: grid;
  gap: 0.35em;
  overflow: hidden;
  padding: 1.3em 1.4em;
  position: relative;
}

.xw-status {
  align-items: center;
  background: var(--w1);
  border-top: 1px solid var(--line);
  color: #8d8c86;
  display: flex;
  font: 1.05em/1 var(--mono);
  gap: 0.7em;
  padding: 0 1.2em;
}

.xw-status i {
  background: var(--check);
  height: 0.6em;
  width: 0.6em;
}

.xw-status span {
  margin-right: auto;
}

.xw-status b {
  color: #8a8983;
  font-weight: 400;
  padding: 0.5em 0.7em;
}

.xw-status b.on {
  background: var(--w3);
  color: var(--ink);
}

.xs {
  --acc: #9c3d22;
  --bgc: #f6efe4;
  --fgc: #2a1d14;
  --i1: #ecc999;
  --i2: #c8743f;
  --i3: #5b2a17;
  --mut: #6b5848;
  background: var(--bgc);
  box-shadow: 0 1.2em 3em rgba(0, 0, 0, 0.45);
  color: var(--fgc);
  font-family: "Fraunces", Georgia, serif;
  min-height: 100%;
  padding: 0 2.4em 2.4em;
}

.xs-head {
  align-items: center;
  display: flex;
  gap: 1.5em;
  height: 4.6em;
}

.xs-head b {
  font-size: 1.45em;
  font-weight: 600;
  margin-right: auto;
}

.xs-head span {
  color: var(--mut);
  font-size: 1.05em;
}

.xs-head em, .xs-btn {
  background: var(--acc);
  color: #fff8ef;
  font-size: 1em;
  font-style: normal;
  font-weight: 600;
  padding: 0.75em 1.1em;
}

.xs-hero {
  align-items: center;
  display: grid;
  gap: 2em;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  padding: 2em 0 2.2em;
}

.xs-copy {
  display: grid;
  gap: 1.1em;
  justify-items: start;
}

.xs-title {
  color: var(--acc);
  font-size: 3.6em;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  outline: 1.5px solid var(--eye);
  outline-offset: 0.2em;
  position: relative;
}

.xs-chip {
  background: #e9e8e4;
  bottom: auto;
  color: #0b0b0c;
  font: 600 calc(100cqw / 72 * 0.95)/1 var(--mono);
  left: 50%;
  letter-spacing: 0;
  padding: 0.3em 0.5em;
  position: absolute;
  transform: translate(-50%, 0.8em);
  white-space: nowrap;
  border-radius: 0.3em;
  font-weight: 500;
  top: 100%;
}

.xs-text {
  color: var(--mut);
  font-size: 1.15em;
  line-height: 1.5;
  margin: 0;
  max-width: 22em;
}

.xs-img {
  aspect-ratio: 5 / 6;
  margin: 0;
  min-height: 0;
}

.xs-cards {
  display: grid;
  gap: 1.6em;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xs-cards figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  min-height: 0;
}

.xs-cards b {
  display: block;
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 0.6em;
}

.xs-cards small {
  color: var(--mut);
  font-size: 0.95em;
}

.xp-empty {
  align-items: center;
  border: 1px dashed #2c2c32;
  color: #8f8e97;
  display: grid;
  font: 1.2em/1.4 var(--font-body);
  inset: 1.3em;
  justify-items: center;
  opacity: 0;
  padding: 2em;
  position: absolute;
  text-align: center;
}

.xp-head {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.7em;
  margin-bottom: 0.3em;
  padding-bottom: 1em;
}

.xp-head b {
  color: var(--ink);
  font-size: 1.35em;
  font-weight: 600;
}

.xp-head code {
  color: var(--eye);
  font: 1.1em var(--mono);
}

.xp-sec {
  color: #8f8e97;
  display: flex;
  font: 1em/1 var(--mono);
  justify-content: space-between;
  padding: 0.9em 0 0.3em;
}

.xp-row {
  align-items: center;
  color: #8d8c86;
  display: grid;
  font: 1.1em/1 var(--mono);
  gap: 0.7em;
  grid-template-columns: 4.4em minmax(0, 1fr) auto;
}

.xp-row i {
  background: var(--w0);
  border: 1px solid #2a2a30;
  color: #e6e5e0;
  display: block;
  font-style: normal;
  height: 2.3em;
  line-height: 2.3em;
  overflow: hidden;
  padding: 0 0.7em;
}

.xp-size .xp-num {
  border-color: var(--eye);
}

.xp-roll {
  display: grid;
  font-weight: 400;
  transform: translateY(-9.2em);
}

.xp-sw::before {
  background: #9c3d22;
  content: '';
  display: inline-block;
  height: 0.9em;
  margin-right: 0.6em;
  vertical-align: -0.1em;
  width: 0.9em;
}

.xp-hist {
  align-items: center;
  color: #cfcec8;
  display: flex;
  font: 1.05em/1 var(--mono);
  gap: 0.6em;
  padding: 0.45em 0;
}

.xp-hist::before {
  background: var(--eye);
  content: '';
  flex: none;
  height: 0.6em;
  width: 0.6em;
}

.xp-hist span {
  color: #8a8983;
  margin-left: auto;
}

.ex-vis .cursor {
  --who: var(--eye);
  opacity: 1;
  transition: none;
}

.ex-vis .cursor::after {
  border: 2px solid var(--who);
  border-radius: 50%;
  box-sizing: border-box;
  content: '';
  height: 20px;
  left: -9px;
  opacity: 0;
  position: absolute;
  top: -9px;
  width: 20px;
}

.xv-eye .cursor {
  left: 85%;
  top: 31%;
}

@keyframes x-show {
  0% { opacity: 0; }
}

@keyframes x-hide {
  0% { opacity: 1; }
}

@keyframes x-in {
  0% { opacity: 0; translate: 0 0.7em; }
}

@keyframes x-unmark {
  0% { outline-color: transparent; }
}

@keyframes x-font {
  0% { font-size: var(--f0); }
}

@keyframes x-roll {
  0% { transform: none; }
}

@keyframes x-border {
  0% { border-color: var(--b0); }
}

@keyframes ex-tilt {
  0% { opacity: 0; transform: perspective(1600px) rotateX(16deg) translateY(12%) scale(0.92); }
}

@keyframes x-cur1 {
  0% { translate: -30cqw 35.6cqw; }
  8% { translate: -30cqw 35.6cqw; }
  27% { translate: -66.7cqw 2.6cqw; }
  34% { translate: -66.7cqw 2.6cqw; }
  52% { translate: -5cqw 0; }
  58% { translate: -5cqw 0; }
  81% { translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .xv-eye .cursor {
    animation: x-cur1 5.2s cubic-bezier(0.45, 0, 0.2, 1) both;
  }

  .xv-eye .cursor::before {
    animation: click-ring 0.45s 1.5s ease-out;
  }

  .xv-eye .cursor::after {
    animation: click-ring 0.45s 2.95s ease-out;
  }

  .xv-eye .xs-title {
    --f0: 3.15em;
    animation: x-unmark 0.2s 1.5s both, x-font 1.2s 3s cubic-bezier(0.3, 0, 0.2, 1) both;
  }

  .xv-eye .xs-chip {
    animation: x-show 0.2s 1.5s both;
  }

  .xv-eye .xp-empty {
    animation: x-hide 0.25s 1.5s both;
  }

  .xv-eye .xw-panel > :not(.xp-empty) {
    animation: x-in 0.35s 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-eye .xw-panel > :nth-child(n+6) {
    animation-delay: 1.72s;
  }

  .xv-eye .xw-panel > .xp-new {
    animation-delay: 4.4s;
  }

  .xv-eye .xp-num {
    --b0: #2a2a30;
    animation: x-border 0.2s 2.95s both;
  }

  .xv-eye .xp-roll {
    animation: x-roll 1.2s 3s steps(5, jump-none) both;
  }

  .xv-code .xc-old {
    animation: x-plain 0.35s 0.8s ease-out both;
  }

  .xv-code .xc-new {
    animation: x-open 0.3s 1.3s ease-out both, x-wipe 0.9s 1.45s steps(14, end) both;
  }

  .xv-code .xc-toast {
    animation: x-in 0.4s 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-code .xh-new {
    animation: x-in 0.4s 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-code .xc-sum {
    animation: x-in 0.4s 3.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-term .xt > * {
    animation: x-in 0.35s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-term .xt > :nth-child(2) {
    animation-delay: 0.8s;
  }

  .xv-term .xt > :nth-child(3) {
    animation-delay: 1.2s;
  }

  .xv-term .xt > :nth-child(4) {
    animation-delay: 1.6s;
  }

  .xv-term .xt > :nth-child(5) {
    animation-delay: 2s;
  }

  .xv-term .xt > :nth-child(6) {
    animation-delay: 2.4s;
  }

  .xv-term .xt > :nth-child(7) {
    animation-delay: 2.85s;
  }

  .xv-term .xt > :nth-child(8) {
    animation-delay: 3.25s;
  }

  .xv-term .xt > :nth-child(9) {
    animation-delay: 3.7s;
  }

  .xv-term .xt > :nth-child(10) {
    animation-delay: 4.4s;
  }

  .xv-term .xp-empty {
    animation: x-hide 0.25s 3.75s both;
  }

  .xv-term .xr-phone {
    animation: x-in 0.5s 3.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-check .xk-scan {
    animation: x-scan 1s 0.5s ease-in-out;
  }

  .xv-check .xk-r {
    animation: x-in 0.3s 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-check .xk-768 {
    animation-delay: 1.15s;
  }

  .xv-check .xk-390 {
    animation-delay: 1.3s;
  }

  .xv-check .xk-r .xk-bad {
    animation: x-blip 1.6s 1.3s linear both;
  }

  .xv-check .xk-r .xk-fix {
    animation: x-show 0.3s 2.8s both;
  }

  .xv-check .xk-wide::after, .xv-check .xk-tag {
    animation: x-show 0.2s 1.45s both;
  }

  .xv-check .xk-wide {
    animation: x-hide 0.3s 2.75s both;
  }

  .xv-check .xk-stack {
    animation: x-in 0.45s 2.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .xv-check .xk-h1 b {
    animation: x-plain 0.3s 2.75s both;
  }

  .xv-check .xk-done {
    animation: x-in 0.4s 3.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}

@keyframes x-plain {
  0% { background-color: transparent; box-shadow: none; color: #cfcec8; text-decoration-color: transparent; }
}

@keyframes x-open {
  0% { max-height: 0; }
}

@keyframes x-wipe {
  0% { clip-path: inset(0 100% 0 0); }
}

.xw-code {
  background: #0b0b0d;
  display: grid;
  font-family: var(--mono);
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
}

.xc-tabs {
  background: var(--w1);
  border-bottom: 1px solid var(--line);
  display: flex;
}

.xc-tabs span {
  border-right: 1px solid var(--line);
  color: #8a8983;
  font-size: 1.05em;
  padding: 0.85em 1.3em;
}

.xc-tabs .on {
  background: #0b0b0d;
  color: var(--ink);
  margin-bottom: -1px;
}

.xc-lines {
  overflow: hidden;
  padding: 1em 0;
}

.xc-l {
  color: #cfcec8;
  font-size: 1.22em;
  line-height: 1.9;
  margin: 0;
  max-height: 2em;
  overflow: hidden;
  padding-right: 1em;
  white-space: pre;
}

.xc-l i {
  color: #85848c;
  display: inline-block;
  font-style: normal;
  padding-right: 1.2em;
  text-align: right;
  width: 4.2em;
}

.xc-l b {
  color: var(--ink);
  font-weight: 600;
}

.xc-l span {
  color: #9d9ca6;
}

.xc-l.in span {
  margin-left: 2ch;
}

.xc-old {
  background-color: rgba(255, 93, 93, 0.1);
  box-shadow: inset 3px 0 0 var(--fail);
  color: #ff9b9b;
  text-decoration-color: rgba(255, 93, 93, 0.85);
  text-decoration-line: line-through;
}

.xc-new {
  background-color: rgba(61, 220, 151, 0.1);
  box-shadow: inset 3px 0 0 var(--check);
  color: #8af0c2;
}

.xc-old span, .xc-new span {
  color: inherit;
}

.xc-toast {
  align-items: center;
  background: var(--w2);
  border-top: 1px solid var(--line);
  color: #b9b8b2;
  display: flex;
  font-size: 1.1em;
  gap: 1.2em;
  padding: 0.95em 1.3em;
}

.xc-toast b {
  color: var(--check);
  font-weight: 600;
}

.xc-toast span:last-child {
  color: #8a8983;
  margin-left: auto;
}

.xh {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.5em;
  padding: 0.75em 0;
}

.xh-top {
  align-items: center;
  color: #e6e5e0;
  display: flex;
  font: 1.1em/1 var(--mono);
  gap: 0.6em;
}

.xh-top i {
  background: var(--eye);
  flex: none;
  height: 0.6em;
  width: 0.6em;
}

.xh-agent .xh-top i {
  background: var(--agent);
}

.xh-top span {
  color: #8a8983;
  margin-left: auto;
}

.xh-sub {
  align-items: center;
  color: #8a8983;
  display: flex;
  font: 1em/1 var(--mono);
  justify-content: space-between;
  min-height: 1.9em;
  padding-left: 1.2em;
}

.xh-sub em {
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-style: normal;
  padding: 0.4em 0.75em;
}

.xc-sum {
  display: grid;
  gap: 0.5em;
}

.xc-sum p {
  color: #8d8c86;
  display: flex;
  font: 1.05em/1.2 var(--mono);
  justify-content: space-between;
  margin: 0;
}

.xc-sum b {
  color: var(--check);
  font-weight: 500;
}

.xv-term .xw-body {
  grid-template-columns: minmax(0, 1fr) 21em;
}

.xv-term .xw-tag {
  border-color: color-mix(in oklab, var(--agent) 45%, transparent);
  color: var(--agent);
}

.xt {
  align-content: start;
  background: #0b0b0c;
  display: grid;
  font-family: var(--mono);
  gap: 0.6em;
  overflow: hidden;
  padding: 1.5em 1.7em;
}

.xt p {
  color: #cfcec8;
  font-size: 1.28em;
  line-height: 1.45;
  margin: 0;
}

.xt-you {
  background: var(--w2);
  border-left: 2px solid var(--agent);
  color: var(--ink);
  margin-bottom: 0.45em;
  padding: 0.65em 0.9em;
}

.xt-call::before {
  color: var(--agent);
  content: '● ';
}

.xt-call b {
  color: var(--agent);
  font-weight: 500;
}

.xt-call span {
  color: #9d9ca6;
  margin-left: 1ch;
}

.xt-ok {
  color: #8d8c86;
  padding-left: 2.2ch;
}

.xt-ok::before {
  color: #85848c;
  content: '└ ';
}

.xt-say {
  margin-top: 0.5em;
}

.xt .xt-say {
  color: var(--ink);
}

.xr .xp-empty {
  top: 4em;
}

.xr-phone {
  background: #050506;
  border: 1px solid var(--line-2);
  border-radius: 1.8em;
  height: 30em;
  justify-self: center;
  overflow: hidden;
  padding: 0.55em;
  width: 15.5em;
}

.xr-site {
  border-radius: 1.3em;
  font-size: 0.6em;
  height: 100%;
  overflow: hidden;
  padding: 0 1.6em;
}

.xr-site .xs-title {
  font-size: 3em;
  margin: 0.3em 0 0.5em;
  outline: none;
}

.xr-img {
  aspect-ratio: 4 / 3;
  margin: 0 0 1.4em;
  min-height: 0;
}

.xr-wine {
  background: #2a1d14;
  color: #f6efe4;
  display: grid;
  gap: 0.55em;
  margin: 0 -1.6em;
  outline: 2px solid var(--agent);
  outline-offset: -2px;
  padding: 1.6em;
}

.xr-wine b {
  font-size: 1.6em;
  font-weight: 600;
}

.xr-wine span {
  color: #d9c7b0;
  font-size: 1.15em;
}

@keyframes x-blip {
  10% { opacity: 1; }
  90% { opacity: 1; }
}

@keyframes x-scan {
  0% { opacity: 1; }
  100% { opacity: 1; translate: 0 28em; }
}

@keyframes x-cur4 {
  0% { translate: -43cqw 26.9cqw; }
  30% { translate: -43cqw 26.9cqw; }
  50% { translate: 0 0; }
}

.xv-check .xw-canvas {
  padding: 0 2em 0 7em;
  align-content: center;
  display: grid;
}

.xk-phone {
  background: #050506;
  border: 1px solid var(--line-2);
  border-radius: 1.8em;
  padding: 0.55em;
  position: relative;
  width: 15.5em;
}

.xk-site {
  border-radius: 1.3em 1.3em 0 0;
  font-size: 0.62em;
  min-height: 0;
  padding: 0 1.6em 2em;
}

.xk-site .xs-title {
  font-size: 3em;
  margin: 0.2em 0 0.8em;
  outline: none;
}

.xk-cardwrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.xk-cards {
  display: grid;
  gap: 1.2em;
  grid-area: 1 / 1;
}

.xk-wide {
  grid-template-columns: repeat(3, 13em);
  opacity: 0;
  position: relative;
}

.xk-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xk-cards figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  min-height: 0;
}

.xk-cards b {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 0.5em;
}

.xk-wide::after {
  background: repeating-linear-gradient(-45deg, rgba(255, 93, 93, 0.3) 0 0.35em, transparent 0.35em 0.8em);
  bottom: -0.6em;
  content: '';
  left: 100%;
  outline: 1.5px solid var(--fail);
  position: absolute;
  top: -0.6em;
  width: 22em;
}

.xk-tag {
  background: var(--fail);
  bottom: calc(100% + 0.6em);
  color: #0b0b0c;
  font: 600 calc(100cqw / 72 * 0.95)/1 var(--mono);
  left: 100%;
  padding: 0.35em 0.55em;
  position: absolute;
  white-space: nowrap;
}

.xk-scan {
  background: var(--check);
  box-shadow: 0 0 1em var(--check);
  height: 2px;
  left: -0.6em;
  opacity: 0;
  position: absolute;
  right: -0.6em;
  top: 0;
}

.xk-r {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font: 1.1em/1 var(--mono);
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0.6em 0;
}

.xk-r b {
  color: var(--ink);
  font-weight: 500;
}

.xk-r span {
  grid-area: 1 / 2;
  justify-self: end;
}

.xk-r .ok {
  color: var(--check);
}

.xk-r .xk-bad {
  color: var(--fail);
  opacity: 0;
}

.xk-done {
  color: var(--check);
  font: 1.05em/1.4 var(--mono);
  margin: 0.4em 0 0;
}

.xk-h1 b {
  color: #8a8983;
  text-decoration-color: #8a8983;
  text-decoration-line: line-through;
}

.xv-check .cursor {
  left: 94%;
  top: 46.5%;
}

@media (prefers-reduced-motion: no-preference) {
  .xv-check .cursor {
    animation: x-cur4 5s cubic-bezier(0.45, 0, 0.2, 1) both;
  }

  .xv-check .cursor::before {
    animation: click-ring 0.45s 2.6s ease-out;
  }
}

#how.armed .ex-vis *, #how.armed .ex-vis *::before, #how.armed .ex-vis *::after {
  animation-play-state: paused;
}

#how.armed .ex-row.play .ex-vis *, #how.armed .ex-row.play .ex-vis *::before, #how.armed .ex-row.play .ex-vis *::after {
  animation-play-state: running;
}

@keyframes x-bg {
  0% { background-color: var(--bg0); }
}

@keyframes x-col {
  0% { color: var(--c0); }
}

@keyframes x-radius {
  0% { border-radius: 0; }
}

@keyframes x-cur5 {
  0% { translate: -32.5cqw 23.1cqw; }
  8% { translate: -32.5cqw 23.1cqw; }
  24% { translate: 0 -17.7cqw; }
  26% { translate: 0 -17.7cqw; }
  50% { translate: 3cqw -15.5cqw; }
  56% { translate: 3cqw -15.5cqw; }
  68% { translate: 0 0; }
}

.xg-site {
  --acc: #056e67;
  --bgc: #e5f2f9;
  --fgc: #102426;
  --mut: #456268;
}

.xg-site .xs-title {
  outline: none;
}

.xg-site .art, .xg-site .xs-btn, .xg-site .xs-head em {
  border-radius: 0.8em;
}

.xg {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.9em;
  grid-template-columns: 6.5em minmax(0, 1fr) auto;
  padding: 0.75em 0;
}

.xg-dial {
  background: var(--w3);
  border-radius: 1em;
  display: block;
  height: 0.32em;
  position: relative;
  width: 100%;
}

.xg-colour .xg-dial {
  background: linear-gradient(90deg, oklch(0.72 0.14 30), oklch(0.72 0.14 90), oklch(0.72 0.14 150), oklch(0.72 0.14 210), oklch(0.72 0.14 270), oklch(0.72 0.14 330), oklch(0.72 0.14 30));
}

.xg-dial::after {
  background: var(--w1);
  border-radius: 50%;
  content: '';
  inset: 0.42em;
  position: absolute;
  display: none;
}

.xg-knob {
  display: block;
  inset: auto;
  position: absolute;
  z-index: 1;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--w1);
  height: 1em;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
  top: 50%;
  width: 1em;
}

.xg-knob::before {
  background: var(--ink);
  border-radius: 1px;
  content: '';
  height: 1.1em;
  left: 50%;
  margin-left: -1px;
  position: absolute;
  top: 0.15em;
  width: 2px;
  display: none;
}

.xg-colour .xg-knob {
  transform: translateX(2.6em);
}

.xg-shape .xg-knob {
  transform: translateX(1.6em);
}

.xg-name {
  color: var(--ink);
  font: 1.2em/1 var(--font-body);
}

.xg-val {
  color: #8d8c86;
  font: 1.05em/1 var(--mono);
  font-style: normal;
}

.xg .xp-num {
  color: #e6e5e0;
  display: block;
  font: 1.05em/2.2em var(--mono);
  font-style: normal;
  height: 2.2em;
  overflow: hidden;
  text-align: right;
}

.xg-hue {
  transform: translateY(-6.6em);
}

.xg-rad {
  transform: translateY(-4.4em);
}

.xg-sw {
  display: grid;
  gap: 0.35em;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 1.8em;
  margin-top: 0.8em;
}

.xg-sw i:nth-child(1) {
  --bg0: #f6efe4;
  background-color: #e5f2f9;
}

.xg-sw i:nth-child(2) {
  --bg0: #2a1d14;
  background-color: #102426;
}

.xg-sw i:nth-child(3) {
  --bg0: #9c3d22;
  background-color: #056e67;
}

.xg-sw i:nth-child(4) {
  --bg0: #6b5848;
  background-color: #456268;
}

.xg-sw i:nth-child(5) {
  --bg0: #fff8ef;
  background-color: #fff8ef;
}

.xg-done {
  color: #8d8c86;
  font: 1.05em/1.3 var(--mono);
  margin: 0.7em 0 0;
}

.xv-grade .cursor {
  left: 72.5%;
  top: 48%;
}

@media (prefers-reduced-motion: no-preference) {
  .xv-grade .cursor {
    animation: x-cur5 5s cubic-bezier(0.45, 0, 0.2, 1) both;
  }

  .xv-grade .cursor::before {
    animation: click-ring 0.45s 1.25s ease-out;
  }

  .xv-grade .cursor::after {
    animation: click-ring 0.45s 3.45s ease-out;
  }

  .xv-grade .xg-colour .xg-knob {
    animation: x-roll 1.2s 1.3s cubic-bezier(0.4, 0, 0.2, 1) both;
  }

  .xv-grade .xg-hue {
    animation: x-roll 1.2s 1.3s steps(4, jump-none) both;
  }

  .xv-grade .xs {
    --bg0: #f6efe4;
    --c0: #2a1d14;
    animation: x-bg 1.2s 1.3s ease-in-out both, x-col 1.2s 1.3s ease-in-out both;
  }

  .xv-grade .xs-title {
    --c0: #9c3d22;
    animation: x-col 1.2s 1.3s ease-in-out both;
  }

  .xv-grade .xs-btn, .xv-grade .xs-head em {
    --bg0: #9c3d22;
    animation: x-bg 1.2s 1.3s ease-in-out both, x-radius 0.7s 3.5s ease-out both;
  }

  .xv-grade .xs-text, .xv-grade .xs-head span, .xv-grade .xs-cards small {
    --c0: #6b5848;
    animation: x-col 1.2s 1.3s ease-in-out both;
  }

  .xv-grade .xg-sw i {
    animation: x-bg 1.2s 1.3s ease-in-out both;
  }

  .xv-grade .art {
    animation: x-radius 0.7s 3.5s ease-out both;
  }

  .xv-grade .xg-shape .xg-knob {
    animation: x-roll 0.7s 3.5s cubic-bezier(0.4, 0, 0.2, 1) both;
  }

  .xv-grade .xg-rad {
    animation: x-roll 0.7s 3.5s steps(3, jump-none) both;
  }

  .xv-grade .xg-done {
    animation: x-in 0.4s 4.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}

.pg, .xs {
  --p1: url("img/osteria-lume-1.webp");
  --p2: url("img/osteria-lume-2.webp");
  --p3: url("img/osteria-lume-3.webp");
  --p4: url("img/osteria-lume-4.webp");
  --p5: url("img/osteria-lume-5.webp");
}

.pg[data-site="low-tide"] {
  --p1: url("img/low-tide-1.webp");
  --p2: url("img/low-tide-2.webp");
  --p3: url("img/low-tide-3.webp");
  --p4: url("img/low-tide-4.webp");
  --p5: url("img/low-tide-5.webp");
}

.pg[data-site="brandt-okafor"] {
  --p1: url("img/brandt-okafor-1.webp");
  --p2: url("img/brandt-okafor-2.webp");
  --p3: url("img/brandt-okafor-3.webp");
  --p4: url("img/brandt-okafor-4.webp");
  --p5: url("img/brandt-okafor-5.webp");
}

.x-image, .xs-img {
  --photo: var(--p1);
}

.x-side, .xr-img {
  --photo: var(--p2);
}

.x-cards > :nth-child(1) .art, .xs-cards > :nth-child(1) .art, .xk-cards > :nth-child(1) .art {
  --photo: var(--p3);
}

.x-cards > :nth-child(2) .art, .xs-cards > :nth-child(2) .art, .xk-cards > :nth-child(2) .art {
  --photo: var(--p4);
}

.x-cards > :nth-child(3) .art, .xs-cards > :nth-child(3) .art, .xk-cards > :nth-child(3) .art {
  --photo: var(--p5);
}

.win.preview .mark, .win.preview .guides {
  visibility: hidden;
}

.win.preview .pg .b.on {
  outline-color: transparent;
}

.w-btn[aria-pressed="true"] {
  background: rgba(241, 240, 236, 0.14);
  border-color: var(--ink);
}

@media (max-width: 600px) {

  .xw {
    font-size: calc(100cqw / 40);
    grid-template-rows: 3.2em auto 2.6em;
    height: auto;
  }

  .xw-body, .xv-term .xw-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .xw-canvas {
    height: 26em;
  }

  /* The Grade and Element previews end on a whole block: the sample's header and hero. */
  :is(.xv-grade, .xv-eye) .xw-canvas {
    height: auto;
    padding-bottom: 2em;
  }

  :is(.xv-grade, .xv-eye) .xs-cards {
    display: none;
  }

  .xw-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ex-vis .cursor {
    display: none;
  }

  .ex .ex-vis {
    aspect-ratio: auto;
  }

  .xw-status span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .code.big {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
}

.code-wrap {
  position: relative;
  min-width: 0;
}

.code-wrap .code, pre.code {
  padding-right: 96px;
}

/* The block's top margin moves to the wrap, so the Copy button sits inside the block. */
.code-wrap:has(> .code) {
  margin-top: 13px;
}

.code-wrap > .code {
  margin-top: 0;
}

.copy {
  background: rgba(20, 20, 23, 0.92);
  border: 1px solid var(--line-2);
  color: var(--dim);
  font: 500 var(--type-xs)/1 var(--mono);
  letter-spacing: 0.04em;
  padding: 7px 11px;
  position: absolute;
  right: 10px;
  top: 10px;
  transition: color 0.2s, border-color 0.2s;
}

.copy:hover, .copy:focus-visible {
  border-color: #5c5c63;
  color: var(--ink);
}

.copy.done {
  border-color: color-mix(in oklab, var(--check) 55%, transparent);
  color: var(--check);
}

.code-wrap:has(.big) .copy {
  top: 50%;
  translate: 0 -50%;
}

/* The install command is one short line: its block ends after the Copy button instead of running the full width. */
.code-wrap:has(> .code.big.cmd) {
  max-width: 100%;
  width: fit-content;
}

/* On a phone the command takes the block's whole width, so the button sits under it instead of over it. */
@media (max-width: 480px) {
  .code-wrap:has(> .code.big.cmd) > .code {
    padding-right: 20px;
  }

  .code-wrap:has(> .code.big.cmd) .copy {
    display: block;
    margin: 8px 0 0 auto;
    position: static;
    translate: none;
  }
}

.desk {
  padding-block: var(--space-8) var(--space-16);
}

.desk-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 960px) {
  .desk-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

.try-in {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.sheet-win {
  align-content: start;
  background-color: #17171a;
  background-image: radial-gradient(#26262b 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--glass-line);
  display: grid;
  justify-items: center;
  min-height: 540px;
  min-width: 0;
  padding: var(--space-4) var(--space-6) var(--space-8);
  grid-template-columns: minmax(0, 1fr);
}

.win-bar {
  align-items: center;
  color: var(--faint);
  display: flex;
  font-family: var(--mono);
  font-size: var(--type-code);
  justify-content: space-between;
  margin-bottom: var(--space-4);
  width: 100%;
  gap: var(--space-3);
}

.win-widths {
  display: flex;
  gap: var(--space-1);
}

.win-widths i {
  border: 1px solid var(--line);
  font-style: normal;
  padding: var(--space-1) var(--space-2);
  transition: color 0.3s, border-color 0.3s;
  color: var(--dim);
}

.w-1280 {
  border-color: var(--line-strong);
  color: var(--ink);
}

.sheet {
  --t: 40;
  background: #f6efe4;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  color: #2a1d14;
  container-type: inline-size;
  font-family: "Fraunces", Georgia, serif;
  max-width: 760px;
  overflow: hidden;
  transition: max-width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.sh-head {
  align-items: center;
  display: flex;
  font-size: var(--type-sm);
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
}

.sh-brand {
  font-weight: 600;
}

.sh-cta {
  background: #9c3d22;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
}

.sh-title {
  display: grid;
  font-size: calc(var(--t) * 1px);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  transition: font-size 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sh-title > span {
  grid-area: 1 / 1;
  transition: opacity 0.45s, transform 0.45s;
}

.sh-w1 {
  opacity: 0;
  transform: translateY(0.3em);
}

.sh-text {
  color: #6b5848;
  font-size: var(--type-sm);
  line-height: 1.45;
  margin: var(--space-3) 0 0;
  max-width: 30ch;
}

@container (max-width: 420px) {
  .sh-title {
    font-size: calc(var(--t) * 0.7px);
  }
}

.tasks {
  display: grid;
  gap: var(--space-2);
}

.tasks-head {
  color: var(--muted);
  font-size: var(--type-sm);
  margin: 0 0 var(--space-2);
}

.task {
  align-items: center;
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.task:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.task b {
  border: 1px solid var(--line-strong);
  color: var(--muted);
  display: inline-grid;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  height: 24px;
  place-items: center;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
  width: 24px;
}

.task kbd {
  margin-left: auto;
}

.said {
  color: var(--ink);
  display: grid;
  font-size: var(--type-lg);
  line-height: 1.4;
  margin: var(--space-4) 0 0;
  min-height: 4.2em;
}

.said > span {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.desk:has(#try-1:checked, #try-2:checked, #try-3:checked, #try-4:checked) .sheet {
  --t: 54;
}

.desk:has(#try-2:checked, #try-3:checked) .sh-w0 {
  opacity: 0;
  transform: translateY(-0.3em);
}

.desk:has(#try-2:checked, #try-3:checked) .sh-w1 {
  opacity: 1;
  transform: none;
}

.desk:has(#try-3:checked, #try-4:checked) .sheet {
  max-width: 320px;
}

.desk:has(#try-3:checked, #try-4:checked) .w-1280 {
  border-color: var(--line);
  color: var(--faint);
}

.desk:has(#try-3:checked, #try-4:checked) .w-390 {
  border-color: var(--line-strong);
  color: var(--ink);
}

.desk:has(#try-0:checked) .s0, .desk:has(#try-1:checked) .s1, .desk:has(#try-2:checked) .s2, .desk:has(#try-3:checked) .s3, .desk:has(#try-4:checked) .s4 {
  opacity: 1;
}

.desk:has(#try-1:checked) .t1, .desk:has(#try-2:checked) .t2, .desk:has(#try-3:checked) .t3, .desk:has(#try-4:checked) .t4 {
  background: var(--w2);
  border-color: var(--eye);
  color: var(--ink);
}

.desk:has(#try-1:checked) .t1 b, .desk:has(#try-2:checked) .t2 b, .desk:has(#try-3:checked) .t3 b, .desk:has(#try-4:checked) .t4 b {
  background: var(--eye);
  border-color: var(--eye);
  color: var(--on-accent);
}

.desk:has(#try-0:focus-visible) .tasks-head, .desk:has(#try-1:focus-visible) .t1, .desk:has(#try-2:focus-visible) .t2, .desk:has(#try-3:focus-visible) .t3, .desk:has(#try-4:focus-visible) .t4 {
  outline: 2px solid var(--eye);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sheet, .sh-title, .sh-title > span, .said > span, .task, .task b, .win-widths i {
    transition: none;
  }
}

.tasks h1 {
  font-size: clamp(2rem, 1.4rem + 1.4vw, 2.75rem);
  font-weight: var(--heading-weight);
  letter-spacing: var(--tracking);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.tasks .sub {
  color: var(--muted);
  font-size: var(--type-base);
  line-height: 1.5;
  margin: var(--space-3) 0 var(--space-6);
}

.win-file {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-family: var(--font-body);
  gap: 8px;
}

@media (max-width: 959px) {
  .tasks {
    display: contents;
  }

  .desk-grid {
    row-gap: var(--space-2);
  }

  .tasks h1, .tasks .sub {
    order: -1;
  }

  .tasks .sub {
    margin-bottom: var(--space-4);
  }

  .sheet-win {
    margin-bottom: var(--space-4);
    min-height: 0;
    padding: var(--space-3) var(--space-3) var(--space-4);
  }

  .win-widths i {
    padding: var(--space-1) 6px;
  }
}

.sh-body {
  align-items: stretch;
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 5fr 6fr;
  padding: 0 var(--space-8) var(--space-8) 0;
}

.sh-tall {
  display: block;
  height: 100%;
  max-height: 440px;
  min-height: 360px;
  object-fit: cover;
  object-position: 50% 60%;
  width: 100%;
}

.sh-copy {
  align-self: center;
  min-width: 0;
}

.sh-kicker {
  color: #9c3d22;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  margin: var(--space-6) 0 var(--space-2);
  text-transform: uppercase;
}

.sh-menu {
  border-top: 1px solid rgba(42, 29, 20, 0.22);
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-menu li {
  align-items: center;
  border-bottom: 1px solid rgba(42, 29, 20, 0.22);
  column-gap: var(--space-3);
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  padding: var(--space-2) 0;
}

.sh-menu img {
  border-radius: 50%;
  grid-row: span 2;
  height: 40px;
  object-fit: cover;
  width: 40px;
}

.sh-dn {
  font-size: 0.9375rem;
  font-weight: 600;
}

.sh-dd {
  color: #6b5848;
  font-size: 0.75rem;
  font-style: italic;
  grid-column: 2;
}

.sh-pr {
  font-size: 0.9375rem;
  grid-column: 3;
  grid-row: 1 / span 2;
}

@container (max-width: 420px) {
  .sh-body {
    gap: var(--space-6);
    grid-template-columns: minmax(0, 1fr);
    padding: 0 0 var(--space-6);
  }
}

@container (max-width: 420px) {
  .sh-copy {
    order: -1;
    padding: 0 var(--space-6);
  }
}

@container (max-width: 420px) {
  .sh-tall {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }
}

.sh-band {
  position: relative;
}

.sh-band img {
  aspect-ratio: 16 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: 50% 55%;
  width: 100%;
}

.sh-hours {
  bottom: var(--space-4);
  color: #ffffff;
  font-size: 0.875rem;
  left: var(--space-6);
  margin: 0;
  position: absolute;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

@container (max-width: 420px) {
  .sh-band img {
    aspect-ratio: 3 / 2;
  }
}

@container (min-width: 701px) {
  .pg[data-site="osteria-lume"] .x-hero {
    column-gap: calc(48px * var(--density, 1));
    grid-template-columns: 5fr 6fr;
    grid-template-rows: auto auto;
    min-height: 0;
    padding: 0 calc(48px * var(--density, 1)) calc(28px * var(--density, 1)) 0;
    row-gap: calc(20px * var(--density, 1));
  }

  .pg[data-site="osteria-lume"] .x-image {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 440px;
  }

  .pg[data-site="osteria-lume"] .x-copy {
    align-content: end;
    grid-column: 2;
    grid-row: 1;
    padding-top: 32px;
  }

  .pg[data-site="osteria-lume"] .x-side {
    grid-column: 2;
    grid-row: 2;
    height: 150px;
    min-height: 0;
  }

  .pg[data-site="osteria-lume"] .x-cards {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    margin-left: auto;
    max-width: 680px;
    padding: calc(8px * var(--density, 1)) calc(48px * var(--density, 1)) calc(40px * var(--density, 1));
  }

  .pg[data-site="osteria-lume"] .x-card {
    align-items: center;
    border-top: 1px solid color-mix(in oklab, var(--fgc) 20%, transparent);
    column-gap: 16px;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: calc(12px * var(--density, 1)) 0;
    row-gap: 2px;
  }

  .pg[data-site="osteria-lume"] .x-card .art {
    border-radius: 50%;
    grid-row: 1 / span 2;
    height: 56px;
    width: 56px;
  }

  .pg[data-site="osteria-lume"] .x-card span {
    align-self: end;
    margin-top: 0;
  }

  .pg[data-site="osteria-lume"] .x-card small {
    align-self: start;
    font-style: italic;
  }

  .pg[data-site="low-tide"] .x-hero {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 500px;
    min-height: 0;
    padding: 0;
  }

  .pg[data-site="low-tide"] .x-image {
    grid-area: 1 / 1;
    min-height: 0;
  }

  .pg[data-site="low-tide"] .x-copy {
    align-content: end;
    align-self: end;
    background: linear-gradient(180deg, transparent, rgba(4, 22, 26, 0.62));
    grid-area: 1 / 1;
    padding: 140px 40% calc(44px * var(--density, 1)) calc(48px * var(--density, 1));
    z-index: 1;
  }

  .pg.styled[data-site="low-tide"] .x-title, .pg.styled[data-site="low-tide"] .x-text {
    color: #ffffff;
  }

  .pg[data-site="low-tide"] .x-side {
    align-self: start;
    grid-area: 1 / 1;
    height: 150px;
    justify-self: end;
    margin: calc(28px * var(--density, 1));
    min-height: 0;
    outline: 4px solid #ffffff;
    width: 220px;
    z-index: 1;
  }

  .pg[data-site="low-tide"] .x-cards {
    gap: calc(6px * var(--density, 1));
    padding: calc(6px * var(--density, 1)) 0 0;
  }

  .pg[data-site="low-tide"] .x-card {
    gap: 0;
    grid-template-rows: auto;
    position: relative;
  }

  .pg[data-site="low-tide"] .x-card .art {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .pg[data-site="low-tide"] .x-card span, .pg.styled[data-site="low-tide"] .x-card small {
    color: #ffffff;
    left: 20px;
    margin: 0;
    position: absolute;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  }

  .pg[data-site="low-tide"] .x-card span {
    bottom: 40px;
    font-size: 20px;
  }

  .pg.styled[data-site="low-tide"] .x-card small {
    bottom: 18px;
  }

  .pg[data-site="brandt-okafor"] .x-hero {
    column-gap: calc(12px * var(--density, 1));
    grid-template-columns: 2fr 3fr;
    grid-template-rows: auto 320px;
    min-height: 0;
    padding: calc(32px * var(--density, 1)) calc(48px * var(--density, 1)) calc(12px * var(--density, 1));
    row-gap: calc(32px * var(--density, 1));
  }

  .pg[data-site="brandt-okafor"] .x-copy {
    align-items: end;
    column-gap: 48px;
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .pg[data-site="brandt-okafor"] .x-title {
    font-size: calc(var(--title-size) * var(--t-scale) * 1.5);
    grid-row: 1 / span 2;
    letter-spacing: -0.05em;
    line-height: 0.92;
  }

  .pg[data-site="brandt-okafor"] .x-image {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
  }

  .pg[data-site="brandt-okafor"] .x-side {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
  }

  .pg[data-site="brandt-okafor"] .x-cards {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: calc(20px * var(--density, 1)) calc(48px * var(--density, 1)) calc(40px * var(--density, 1));
  }

  .pg[data-site="brandt-okafor"] .x-card {
    align-items: center;
    border-top: 1px solid var(--fgc);
    column-gap: 24px;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    grid-template-rows: auto;
    padding: calc(10px * var(--density, 1)) 0;
  }

  .pg[data-site="brandt-okafor"] .x-card .art {
    height: 56px;
    width: 96px;
  }

  .pg[data-site="brandt-okafor"] .x-card span {
    font-size: 18px;
    margin-top: 0;
  }

  .pg[data-site="brandt-okafor"] .x-card small {
    justify-self: end;
  }
}

.gd-tabs {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gd-tab {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: var(--type-sm);
  padding: var(--space-2) 0;
  transition: color 0.2s, background-color 0.2s;
}

.gd-tab:last-child {
  border-right: 0;
}

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

.gd-tab[aria-selected="true"] {
  background: var(--w3);
  box-shadow: inset 0 -2px 0 var(--grade);
  color: var(--ink);
}

.gd-group {
  align-content: start;
  display: grid;
  gap: var(--space-4);
  min-height: 236px;
}

.gd-group[hidden] {
  display: none;
}

.gd-choice {
  color: var(--text);
  display: grid;
  font-size: var(--type-sm);
  gap: var(--space-2);
}

.gd-seg {
  border: 1px solid var(--line);
  display: flex;
}

.gd-seg button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  flex: 1;
  font: inherit;
  padding: var(--space-2) 0;
}

.gd-seg button:last-child {
  border-right: 0;
}

.gd-seg button[aria-pressed="true"] {
  background: var(--w3);
  color: var(--ink);
}

.gd-select {
  background: var(--w1);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: var(--space-2) var(--space-3);
  width: 100%;
}

.gd-play {
  justify-self: start;
}

.gd-actions {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
}

#gd-apply:disabled {
  cursor: default;
  opacity: 0.45;
}

.dial .gd-out {
  color: var(--grade);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.gd-actions .btn {
  justify-content: center;
  padding-inline: 12px;
}

.pg.styled .x-text, .pg.styled .x-card small, .pg.styled .x-menu {
  font-family: var(--font-text, var(--font));
}

.pg .art {
  box-shadow: var(--shadow, none);
  transition: border-radius 0.5s, box-shadow 0.5s;
}

.gd-stage .x-hero, .gd-stage .x-cards, .gd-stage .x-card, .gd-stage .x-copy, .gd-stage .x-header {
  transition: gap 0.5s, padding 0.5s, row-gap 0.5s, column-gap 0.5s;
}

.gd-stage .pg .rise {
  animation: rise calc(0.7s / var(--speed, 1)) var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) both;
  animation-delay: calc(var(--delay, 0ms) / var(--speed, 1));
}

@media (prefers-reduced-motion: reduce) {
  .gd-stage .pg .rise {
    animation: none;
  }

  .hist li {
    animation: none;
  }

  .x-card.rise {
    animation: none;
  }

  .cursor.click::before {
    animation: none;
  }
}

.w-publish {
  background: var(--ink);
  color: var(--w0);
  font-weight: 600;
}

.wgrade {
  align-content: start;
  display: none;
  min-height: 0;
  overflow: hidden;
  min-width: 0;
}

.w-right.grading .insp {
  display: none;
}

.w-right.grading .wgrade {
  display: grid;
}

.wg-tabs {
  display: flex;
  gap: 0;
  padding: 8px 8px 4px;
  flex-wrap: wrap;
}

.wg-tabs b {
  border-radius: 4px;
  color: var(--dim);
  font-weight: 500;
  padding: 4px 6px;
  transition: background 0.25s, color 0.25s;
  font-size: 11px;
}

.wg-tabs b.on {
  background: var(--w3);
  color: var(--ink);
}

.wg-group {
  display: none;
  gap: 12px;
  padding: 10px 10px 12px;
  min-width: 0;
}

.wg-group.on {
  animation: hist-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: grid;
}

.wg-row {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  row-gap: 7px;
}

.wg-row .k {
  color: var(--dim);
}

.wg-row:has(.wg-seg) {
  grid-template-columns: 56px minmax(0, 1fr);
}

.wg-track {
  background: var(--line-2);
  border-radius: 2px;
  cursor: ew-resize;
  height: 3px;
  position: relative;
  grid-column: 1 / -1;
}

.wg-track::before {
  background: var(--grade);
  border-radius: 2px;
  content: '';
  inset: 0 auto 0 0;
  opacity: 0;
  position: absolute;
  transition: width 0.12s;
  width: var(--p, 50%);
}

.wg-knob {
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--w1);
  height: 11px;
  left: var(--p, 50%);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.12s, transform 0.2s;
  width: 11px;
}

.wg-row.hot .wg-knob {
  transform: translate(-50%, -50%) scale(1.3);
}

.wg-v {
  color: var(--text);
  font: 10.5px var(--mono);
  text-align: right;
}

.wg-seg {
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  overflow: hidden;
}

.wg-seg b {
  color: var(--dim);
  flex: 1;
  font-weight: 500;
  padding: 4px 0;
  text-align: center;
  transition: background 0.25s, color 0.25s;
  font-size: 11px;
}

.wg-seg b + b {
  border-left: 1px solid var(--line);
}

.wg-seg b.on {
  background: var(--w3);
  color: var(--ink);
}

.wg-foot {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  margin-top: auto;
  flex-wrap: wrap;
  row-gap: 6px;
}

.wg-note {
  color: var(--faint);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  flex-basis: 100%;
  order: -1;
}

.cursor[data-key]::after {
  background: var(--w0);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink);
  content: attr(data-key);
  font: 600 10.5px var(--mono);
  left: 20px;
  padding: 2px 6px;
  position: absolute;
  top: 16px;
  white-space: nowrap;
}

.field.stepping {
  box-shadow: inset 0 0 0 1px var(--who);
}

.story {
  padding-block: clamp(24px, 4vw, 56px);
}

.story-head {
  display: grid;
  gap: 14px;
  max-width: 40rem;
  padding-top: clamp(40px, 6vw, 88px);
}

.story-head h2 {
  color: var(--ink);
  font-size: var(--type-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.story-head p {
  color: #b9b8b2;
  font-size: var(--type-md);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}

.ex-vis.leafy {
  aspect-ratio: auto;
  background: radial-gradient(120% 90% at 30% 0%, #1b1a1d, var(--w0));
  display: grid;
  padding: clamp(18px, 3.4vw, 44px);
  place-items: center;
}

.leaf {
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: var(--paper-ink);
  container-type: inline-size;
  font-family: "Fraunces", Georgia, serif;
  margin-inline: auto;
  overflow: hidden;
  padding: clamp(14px, 2.2vw, 26px);
  position: relative;
  width: 100%;
}

.leaf-bar {
  align-items: center;
  border-bottom: 1px solid rgba(29, 29, 31, 0.12);
  display: flex;
  font-size: clamp(12px, 3.4cqw, 15px);
  font-weight: 600;
  justify-content: space-between;
  margin-bottom: clamp(12px, 4cqw, 20px);
  padding-bottom: clamp(10px, 3cqw, 14px);
}

.leaf-bar b {
  background: #9c3d22;
  border-radius: 3px;
  color: #f6efe4;
  font: 600 clamp(9px, 2.4cqw, 11px) "Instrument Sans", sans-serif;
  padding: 0.6em 1em;
}

.leaf-split {
  align-items: center;
  display: grid;
  gap: 5cqw;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.leaf img {
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.leaf-title {
  display: grid;
  font-size: clamp(20px, 7.4cqw, 44px);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 0.4em;
  transform-origin: 0 50%;
}

.leaf-title > span {
  grid-area: 1 / 1;
}

.leaf-text {
  color: #5b5048;
  font: 400 clamp(11px, 2.9cqw, 15px) / 1.5 "Instrument Sans", sans-serif;
  margin: 0;
  max-width: 40ch;
}

.leaf-stamp {
  background: #e3f1e8;
  border-radius: 3px;
  bottom: clamp(10px, 3cqw, 16px);
  color: #22694a;
  font: 500 clamp(9px, 2.4cqw, 11px) var(--mono);
  padding: 0.5em 0.8em;
  position: absolute;
  right: clamp(10px, 3cqw, 16px);
}

.leaf-files {
  display: grid;
  font: 500 clamp(11px, 3cqw, 14px) var(--mono);
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.leaf-files li {
  align-items: center;
  border-radius: 3px;
  display: flex;
  gap: 0.8em;
  padding: 0.55em 0.7em;
}

.leaf-files li:first-child {
  background: rgba(156, 61, 34, 0.1);
  color: #7a2e18;
}

.leaf-files i {
  background: currentColor;
  border-radius: 2px;
  height: 0.8em;
  opacity: 0.45;
  width: 0.7em;
}

.leaf-files em {
  color: #5f554d;
  font-style: normal;
  margin-left: auto;
}

.leaf-keys {
  display: flex;
  gap: 6px;
  margin-top: clamp(12px, 4cqw, 22px);
}

.leaf-keys kbd {
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.18);
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(29, 29, 31, 0.18);
  font: 600 clamp(10px, 2.6cqw, 12px) var(--mono);
  padding: 0.35em 0.7em;
}

.leaf.phone {
  width: 48%;
}

.leaf.phone .leaf-split {
  grid-template-columns: minmax(0, 1fr);
}

.leaf-grid {
  display: grid;
  gap: 4cqw;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leaf-mini {
  background: #fbf7f0;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 3px;
  display: grid;
  gap: 3cqw;
  padding: 3cqw;
}

.leaf-mini i {
  background: var(--acc-mini, #9c3d22);
  border-radius: 2px;
  display: block;
  height: 2.4cqw;
  width: 60%;
}

.leaf-mini i + i {
  background: rgba(29, 29, 31, 0.16);
  width: 90%;
}

.leaf-mini b {
  font-size: 3.6cqw;
  font-weight: 560;
}

.ruled {
  border-top: 1px solid var(--line);
  display: grid;
  margin-top: clamp(24px, 4vw, 44px);
}

.ruled > div {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(12px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  padding: clamp(18px, 2.4vw, 28px) 0;
}

.ruled b {
  color: var(--ink);
  font-size: var(--type-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ruled span {
  color: #b9b8b2;
  font-size: var(--type-md);
  line-height: 1.5;
  max-width: 54ch;
  text-wrap: pretty;
}

.numbers {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 44px);
}

.numbers > div {
  display: grid;
  gap: 8px;
  padding: 28px 24px 8px 0;
}

.numbers > div + div {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.numbers b {
  color: var(--ink);
  font-size: var(--type-h2);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.numbers span {
  color: var(--dim);
  font-size: var(--type-sm);
  line-height: 1.45;
}

.links-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 40px);
}

.leaf-title .w0 {
  opacity: 0;
}

@media (max-width: 700px) {
  .ruled > div {
    gap: 6px;
    grid-template-columns: minmax(0, 1fr);
  }

  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .numbers > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ruled > div {
      animation: x-in linear both;
      animation-range: entry 10% cover 30%;
      animation-timeline: view();
    }

    .numbers > div {
      animation: x-in linear both;
      animation-range: entry 20% cover 35%;
      animation-timeline: view();
    }

    .leaf-files li {
      animation: x-in linear both;
      animation-timeline: --row;
    }

    .leaf-files li:nth-child(1) {
      animation-range: entry 30% cover 34%;
    }

    .leaf-files li:nth-child(2) {
      animation-range: entry 40% cover 38%;
    }

    .leaf-files li:nth-child(3) {
      animation-range: entry 50% cover 42%;
    }

    .leaf-files li:nth-child(4) {
      animation-range: entry 60% cover 46%;
    }

    .leaf-title .w0 {
      animation: x-hide linear both;
      animation-range: cover 30% cover 46%;
      animation-timeline: --row;
    }

    .leaf-title .w1 {
      animation: x-show linear both;
      animation-range: cover 40% cover 54%;
      animation-timeline: --row;
    }

    .leaf-stamp {
      animation: x-in linear both;
      animation-range: cover 50% cover 60%;
      animation-timeline: --row;
    }

    .leaf.phone {
      animation: lf-narrow linear both;
      animation-range: cover 25% cover 55%;
      animation-timeline: --row;
    }

    .leaf-title.pulse {
      animation: lf-pulse linear both;
      animation-range: cover 20% cover 62%;
      animation-timeline: --row;
    }

    .leaf-keys kbd {
      animation: lf-press linear both;
      animation-range: cover 28% cover 36%;
      animation-timeline: --row;
    }

    .leaf-mini i:first-child {
      animation: lf-hue linear both;
      animation-range: cover 25% cover 55%;
      animation-timeline: --row;
    }
  }
}

@keyframes lf-narrow {
  0% { width: 100%; }
}

@keyframes lf-pulse {
  50% { transform: scale(1.12); }
}

@keyframes lf-press {
  50% { background-color: #ffd98a; }
}

@keyframes lf-hue {
  0% { background-color: #2f6f8f; }
}

.docs-grid {
  align-items: start;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: 210px minmax(0, 1fr) 190px;
  padding-block: 40px clamp(56px, 8vw, 112px);
}

.docs-nav {
  display: grid;
  gap: 2px;
  position: sticky;
  top: calc(var(--nav) + 24px);
}

.docs-nav a {
  border-left: 1px solid var(--line);
  color: var(--dim);
  font-size: 13.5px;
  padding: 5px 12px;
  transition: color 0.25s, border-color 0.25s;
}

.docs-nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.vellum {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--text);
  max-width: 880px;
  padding: 0;
}

.vellum h2 {
  border-top: 1px solid var(--line);
  font-family: inherit;
  font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 1.6em 0 0.5em;
  padding-top: 1.1em;
  scroll-margin-top: calc(var(--nav) + 16px);
  color: var(--ink);
}

.vellum h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.vellum h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 1.6em 0 0.4em;
  color: var(--ink);
  scroll-margin-top: calc(var(--nav) + 16px);
}

.vellum p, .vellum li {
  color: #b9b8b2;
  font-size: 17px;
  line-height: 1.62;
  max-width: 66ch;
  text-wrap: pretty;
}

.vellum p {
  margin: 0 0 1em;
}

.vellum ul {
  display: grid;
  gap: 0.4em;
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.vellum code {
  background: var(--w2);
  border-radius: 3px;
  font: 0.86em var(--mono);
  padding: 0.1em 0.35em;
  color: var(--ink);
}

.vellum pre {
  background: var(--w1);
  border-radius: 4px;
  color: var(--text);
  font: 13.5px / 1.6 var(--mono);
  margin: 0 0 1.2em;
  overflow-x: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  position: relative;
}

.vellum table {
  border-collapse: collapse;
  font-size: 15.5px;
  margin: 0 0 1.2em;
  width: 100%;
}

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

.vellum th {
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  width: 32%;
}

.vellum td {
  color: #b9b8b2;
  line-height: 1.5;
}

.vellum kbd {
  background: var(--w2);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--line-strong);
  font: 600 12px var(--mono);
  padding: 1px 6px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .docs-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 20px 64px;
  }

  .docs-nav {
    display: flex;
    flex-wrap: wrap;
    position: static;
    grid-column: auto;
    grid-row: auto;
    order: -1;
  }
}

@media (max-width: 600px) {
  .vellum th {
    white-space: normal;
    width: 40%;
  }
}

.ruled p {
  color: #b9b8b2;
  font-size: var(--type-md);
  line-height: 1.5;
  margin: 0;
  max-width: 54ch;
  text-wrap: pretty;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.chips code {
  background: var(--w2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: 500 13px var(--mono);
  padding: 4px 9px;
  transition: border-color 0.2s, background 0.2s;
}

.ruled > div:hover .chips code {
  background: var(--w3);
  border-color: var(--line-strong);
}

.vellum pre code {
  background: none;
  padding: 0;
}

.vellum strong {
  color: var(--ink);
  font-weight: 500;
}

.docs-nav a[aria-current] {
  border-color: var(--ink);
  color: var(--ink);
}

.docs-side {
  align-content: start;
  display: grid;
  gap: 1px;
  max-height: calc(100vh - var(--nav) - 48px);
  overflow-y: auto;
  padding-right: 8px;
  position: sticky;
  scrollbar-width: thin;
  top: calc(var(--nav) + 24px);
}

.docs-side .docs-group {
  color: var(--muted);
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
  padding: 18px 12px 6px;
  text-transform: uppercase;
}

.docs-side .docs-group:first-child {
  padding-top: 0;
}

.docs-side a {
  border-left: 1px solid var(--line);
  color: var(--dim);
  font-size: 14.5px;
  padding: 6px 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.docs-side a:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.docs-side a[aria-current="page"] {
  background: var(--w1);
  border-color: var(--ink);
  color: var(--ink);
}

.docs-toc-label {
  color: var(--muted);
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
  padding: 0 12px 8px;
  text-transform: uppercase;
}

.vellum h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 1.5rem + 1.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 10px 0 14px;
  text-wrap: balance;
}

.vellum .lede {
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 8px;
  max-width: 60ch;
}

.vellum ol.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
  grid-template-columns: minmax(0, 1fr);
}

.vellum ol.steps > li {
  counter-increment: step;
  max-width: none;
  padding: 0 0 22px 46px;
  position: relative;
  min-width: 0;
}

.vellum ol.steps > li::before {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  content: counter(step);
  display: flex;
  font: 500 12.5px var(--mono);
  height: 28px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: -1px;
  width: 28px;
  z-index: 1;
}

.vellum ol.steps > li::after {
  background: var(--line);
  bottom: 0;
  content: "";
  left: 14px;
  position: absolute;
  top: 28px;
  width: 1px;
}

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

.vellum ol.steps > li > strong:first-child {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.vellum ol.steps pre {
  margin: 10px 0 10px;
}

.vellum ol:not(.steps) {
  display: grid;
  gap: 0.4em;
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.vellum .note {
  border-left: 2px solid var(--line-strong);
  color: var(--text);
  font-size: 16px;
  margin: 0 0 1.2em;
  padding: 2px 0 2px 16px;
}

.vellum .note b {
  color: var(--ink);
  display: block;
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.vellum .note.warn {
  border-color: #c99a4a;
}

.vellum .note.warn b {
  color: #e3b768;
}

.vellum .copy {
  background: var(--w2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--dim);
  cursor: pointer;
  font: 500 11px var(--mono);
  opacity: 0;
  padding: 4px 10px;
  position: absolute;
  right: 8px;
  top: 8px;
  transition: opacity 0.2s, color 0.2s;
  min-height: 26px;
}

.vellum pre:hover .copy, .vellum .copy:focus-visible {
  opacity: 1;
}

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

.vellum td a, .vellum p a, .vellum li a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.vellum td a:hover, .vellum p a:hover, .vellum li a:hover {
  text-decoration-color: var(--ink);
}

.docs-pager {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin-top: 56px;
  padding-top: 24px;
}

.docs-pager a {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: grid;
  font-size: 16px;
  gap: 2px;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}

.docs-pager a:hover {
  background: var(--w1);
  border-color: var(--line-strong);
}

.docs-pager a span {
  color: var(--muted);
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-pager a[rel="next"] {
  grid-column: 2;
  text-align: right;
}

.docs-jump {
  display: none;
}

@media (max-width: 1100px) {
  .docs-grid {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .docs-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    grid-column: 2;
    grid-row: 1;
    position: static;
  }

  .docs-grid > .vellum {
    grid-column: 2;
    grid-row: 2;
  }

  .docs-side {
    grid-row: 1 / span 2;
  }

  .docs-nav a {
    border: 1px solid var(--line);
    font-size: 13px;
    padding: 4px 10px;
  }

  .docs-nav .docs-toc-label {
    padding: 0 6px 0 0;
  }
}

@media (max-width: 860px) {
  .docs-side {
    border-top: 1px solid var(--line);
    max-height: none;
    order: 3;
    padding-top: 24px;
    position: static;
    grid-row: auto;
  }

  .docs-jump {
    color: var(--dim);
    display: inline-block;
    font: 500 12px var(--mono);
    margin-bottom: 6px;
    text-decoration: underline;
    text-underline-offset: 3px;
    min-height: 24px;
    padding-block: 5px;
  }

  main.docs .docs-grid {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-grid > .vellum {
    grid-column: auto;
    grid-row: auto;
  }

  main.docs .docs-nav {
    grid-column: auto;
    grid-row: auto;
    order: -1;
  }

  /* One scrolling row: its height does not change when the web font replaces the fallback. */
  main.docs .docs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  main.docs .docs-nav a, main.docs .docs-nav .docs-toc-label {
    flex: none;
    line-height: 20px;
    white-space: nowrap;
  }

  .card-actions #take {
    display: none;
  }

  .studio :is(.vb-site, .vb-state, .vb-zoom, .vb-more, .vb-mid, .vc, .vm) {
    display: none;
  }
}

@media (max-width: 600px) {
  .docs-pager {
    grid-template-columns: 1fr;
  }

  .docs-pager a[rel="next"] {
    grid-column: 1;
  }
}

.vellum .tag {
  color: var(--muted);
  display: block;
  font: 500 10.5px var(--mono);
  letter-spacing: 0.04em;
  margin-top: 3px;
  white-space: nowrap;
}

.vellum .tag.in {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--dim);
  display: inline-block;
  margin: 0 0 0 4px;
  padding: 0 5px;
  vertical-align: 1px;
}

.vellum th code {
  white-space: nowrap;
}

.vellum em {
  color: var(--ink);
  font-style: normal;
}

@media (max-width: 600px) {
  .vellum th code {
    white-space: normal;
  }

  .vellum th, .vellum td {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wg-group.on {
    animation: none;
  }

  #w-right[data-tab="element"] #insp, #w-right[data-tab="site"] #wsite, #w-right[data-tab="history"] .hist, #w-right[data-tab="publish"] #wpub, #w-right[data-tab="grade"] #wgrade {
    animation: none;
  }

  #w-right[data-tab="element"] #insp, #w-right[data-tab="site"] #wsite, #w-right[data-tab="history"] .hist, #w-right[data-tab="publish"] #wpub {
    animation: none;
  }
}

@media (hover: none) {
  .vellum .copy {
    opacity: 1;
  }
}

.vb-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font: 500 19px/1 "Fraunces", Georgia, serif;
  gap: 8px;
  letter-spacing: -0.01em;
}

.vb-brand::before {
  content: '';
  height: 15px;
  background: url("mark.svg") center / contain no-repeat;
  width: 17px;
}

.vb-site {
  color: var(--text);
  font-size: 12.5px;
}

.vb-mid {
  align-items: center;
  display: flex;
  gap: 12px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.w-bar .widths {
  background: #18181b;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  gap: 2px;
  padding: 2px;
}

.w-bar .widths button {
  align-items: center;
  border-left: 0;
  border-radius: 5px;
  color: var(--dim);
  display: inline-flex;
  font: 500 12px/1 var(--font-body);
  gap: 6px;
  padding: 6px 10px;
  transition: background 0.3s, color 0.3s;
}

.w-bar .widths button::before {
  background: currentColor;
  content: '';
  height: 13px;
  mask: var(--ic) center / contain no-repeat;
  width: 13px;
}

.vb-dev.dk {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Crect x='2' y='3' width='12' height='8.5' rx='1'/%3E%3Cpath d='M6 14h4'/%3E%3C/svg%3E");
}

.vb-dev.tb {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Crect x='3.5' y='2' width='9' height='12' rx='1.2'/%3E%3C/svg%3E");
}

.vb-dev.ph {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Crect x='5' y='2' width='6' height='12' rx='1.2'/%3E%3Cpath d='M7.5 12h1'/%3E%3C/svg%3E");
}

.w-bar .widths button small {
  color: var(--dim);
  font-size: 11px;
}

.w-bar .widths button.on {
  background: var(--w3);
  color: var(--ink);
}

.vb-text {
  border-radius: 5px;
  color: var(--dim);
  font-size: 12px;
  padding: 6px 9px;
  transition: background 0.3s, color 0.3s;
}

.vb-text[aria-pressed="true"], .vb-text.flash {
  background: var(--w3);
  color: var(--ink);
}

.vb-right {
  align-items: center;
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.vb-state {
  color: var(--faint);
  font-size: 11.5px;
  margin-right: 6px;
  transition: color 0.4s;
}

.vb-state.hot {
  color: var(--ink);
}

.vb-zoom {
  border: 1px solid var(--line-2);
  border-radius: 5px;
  color: var(--text);
  font-size: 11.5px;
  padding: 5px 8px;
}

.vb-more {
  color: var(--dim);
  padding: 0 6px;
}

.vb-ic {
  border-radius: 5px;
  color: var(--dim);
  display: grid;
  height: 28px;
  place-items: center;
  transition: background 0.25s, color 0.25s;
  width: 28px;
}

.vb-ic::before {
  background: currentColor;
  content: '';
  height: 15px;
  mask: var(--ic) center / contain no-repeat;
  width: 15px;
}

.vb-ic:hover, .vb-ic.flash, .vb-ic[aria-pressed="true"] {
  background: var(--w3);
  color: var(--ink);
}

.i-play {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M5 3.5v9l7-4.5z'/%3E%3C/svg%3E");
}

.i-undo {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5L2.5 6 5 8.5'/%3E%3Cpath d='M2.5 6h7a3.5 3.5 0 0 1 0 7H7'/%3E%3C/svg%3E");
}

.i-redo {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3.5L13.5 6 11 8.5'/%3E%3Cpath d='M13.5 6h-7a3.5 3.5 0 0 0 0 7H9'/%3E%3C/svg%3E");
}

.vb-publish {
  background: #eeede9;
  border-radius: 6px;
  color: #0e0e10;
  font-size: 12.5px;
  font-weight: 600;
  margin-left: 6px;
  padding: 7px 14px;
  transition: background 0.25s, box-shadow 0.25s;
}

.vb-publish.flash, .vb-publish[aria-pressed="true"] {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.vl-add {
  background: #eeede9;
  border-radius: 6px;
  color: #0e0e10;
  font-size: 12.5px;
  font-weight: 600;
  height: 30px;
  margin: 8px 8px 6px;
  transition: background 0.25s, box-shadow 0.25s;
}

.vl-add[aria-pressed="true"], .vl-add.flash {
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--who);
}

.vl-file {
  background: var(--w0);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  font-size: 11.5px;
  margin: 8px 8px 2px;
  padding: 6px 9px;
}

.layers, .vl-room {
  grid-column: 1;
  grid-row: 4;
  min-height: 0;
}

.vl-room {
  background: var(--w1);
  opacity: 0;
  overflow: hidden;
  padding: 6px 8px;
  pointer-events: none;
  transition: opacity 0.3s;
  position: relative;
  z-index: 2;
}

.w-left.adding .vl-room, .w-left.assets .vl-room {
  opacity: 1;
  pointer-events: auto;
}

.vl-blocks, .vl-assets {
  display: none;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
}

.w-left.adding .vl-blocks, .w-left.assets .vl-assets {
  display: grid;
}

.vl-group {
  color: var(--faint);
  font-size: 10.5px;
  grid-column: 1 / -1;
  letter-spacing: 0.06em;
  padding: 2px 2px 0;
  text-transform: uppercase;
}

.vl-block {
  align-items: flex-end;
  background: linear-gradient(var(--w3), var(--w3)) 7px 7px / calc(100% - 14px) 10px no-repeat, var(--w0);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  display: flex;
  font-size: 11px;
  font-weight: 500;
  height: 44px;
  padding: 0 7px 6px;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.vl-block.hot {
  border-color: var(--who);
  color: var(--ink);
}

.vl-thumb {
  color: var(--dim);
  display: grid;
  font-size: 10.5px;
  font-weight: 400;
  gap: 4px;
  min-width: 0;
}

.vl-thumb i {
  aspect-ratio: 4 / 3;
  background: var(--w3) center / cover;
  border-radius: 4px;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: outline-color 0.25s, opacity 0.3s;
}

.vl-thumb span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vl-thumb.hot i {
  outline-color: var(--who);
}

.vm {
  background: var(--w1);
  border-top: 1px solid transparent;
  display: grid;
  height: 0;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
}

.win.motion .vm {
  border-top-color: var(--line);
  height: 66px;
}

.vm-head {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 7px 12px 4px;
}

.vm-title {
  color: var(--ink);
  font-weight: 600;
}

.vm-trig {
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  overflow: hidden;
}

.vm-trig b {
  color: var(--dim);
  font-weight: 500;
  padding: 2px 8px;
}

.vm-trig b.on {
  background: var(--w3);
  color: var(--ink);
}

.vm-add {
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--dim);
  margin-left: auto;
  padding: 2px 8px;
  transition: border-color 0.25s, color 0.25s;
}

.vm-add.hot {
  border-color: var(--who);
  color: var(--ink);
}

.vm-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 4px 12px 8px;
}

.vm-name {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-lane {
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10%);
  border-radius: 3px;
  height: 20px;
  position: relative;
}

.vm-clip {
  background: color-mix(in oklab, var(--who) 26%, var(--w3));
  border: 1px solid var(--who);
  border-radius: 3px;
  bottom: 2px;
  color: var(--ink);
  font: normal 10px/14px var(--mono);
  left: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 6px;
  position: absolute;
  top: 2px;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
  white-space: nowrap;
  width: 0;
}

.vm.has .vm-clip {
  opacity: 1;
  width: 36%;
}

.vm-head-line {
  background: var(--ink);
  bottom: -3px;
  left: var(--t, 0%);
  opacity: 0;
  position: absolute;
  top: -3px;
  transition: opacity 0.2s;
  width: 1.5px;
}

.vm.playing .vm-head-line {
  opacity: 1;
}

.vc {
  align-items: center;
  background: var(--w1);
  border-top: 1px solid var(--line);
  color: var(--dim);
  display: flex;
  font-size: 11.5px;
  gap: 7px;
  overflow: hidden;
  padding: 0 12px;
  white-space: nowrap;
}

.vc span + span::before {
  color: var(--faint);
  content: '›';
  margin-right: 7px;
}

.vc span:last-child {
  color: var(--ink);
}

.w-right .ptabs b {
  font-size: 12px;
  justify-content: center;
}

.vr-view, .w-right .hist {
  display: none;
  min-height: 0;
  overflow: hidden;
}

#w-right[data-tab="element"] #insp, #w-right[data-tab="site"] #wsite, #w-right[data-tab="history"] .hist, #w-right[data-tab="publish"] #wpub {
  align-content: start;
  animation: hist-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: grid;
}

#w-right[data-tab="grade"] #wgrade {
  animation: hist-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.w-right .hist {
  border-top: 0;
  max-height: none;
  padding: 10px 0;
}

.ih-ic {
  border: 1px solid var(--line-2);
  border-radius: 5px;
  color: var(--dim);
  display: grid;
  flex: none;
  font-size: 12px;
  font-style: normal;
  height: 26px;
  place-items: center;
  width: 26px;
}

.isec h4 {
  color: var(--ink);
  font: 400 15px/1.2 "Fraunces", Georgia, serif;
  margin: 0;
}

.isec.hot h4 {
  color: var(--who);
}

.vi-seg {
  background: var(--w0);
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  gap: 2px;
  padding: 2px;
}

.vi-seg b {
  border-radius: 3px;
  color: var(--dim);
  flex: 1;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 0;
  text-align: center;
  transition: background 0.25s, color 0.25s;
}

.vi-seg b.on {
  background: var(--w3);
  color: var(--ink);
}

.vi-text {
  align-items: flex-start;
  height: auto;
  line-height: 1.35;
  min-height: 30px;
  padding: 6px 8px;
  white-space: normal;
}

.vi-writes {
  color: var(--dim);
  font-size: 12px;
  margin: 0;
}

.vi-writes code {
  color: var(--ink);
  font: 11.5px var(--mono);
  transition: color 0.3s;
}

.vi-writes.hot code {
  color: var(--who);
}

.vi-row {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
}

.vi-fill {
  align-items: center;
  color: var(--text);
  display: grid;
  gap: 8px;
  grid-template-columns: 16px auto 1fr 82px;
}

.vi-fill .sw, .vs-row .sw {
  border-radius: 3px;
  height: 16px;
  width: 16px;
}

.vi-ratio {
  color: var(--dim);
  font-size: 11.5px;
  justify-self: end;
}

.vs-row {
  align-items: center;
  border-radius: 4px;
  color: var(--text);
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr auto;
  height: 27px;
  margin: 0 -6px;
  padding: 0 6px;
  transition: background 0.3s;
}

.vs-row span {
  grid-column: 2;
}

.vs-row code {
  color: var(--dim);
  font: 11px var(--mono);
  grid-column: 3;
  transition: color 0.3s;
}

.vs-row.hot {
  background: color-mix(in oklab, var(--who) 15%, transparent);
}

.vs-row.hot code {
  color: var(--ink);
}

.vg-looks {
  display: grid;
  gap: 8px 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vg-look {
  color: var(--dim);
  display: grid;
  font-size: 11px;
  font-weight: 400;
  gap: 4px;
  transition: color 0.25s;
}

.vg-look i {
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line-2);
  height: 26px;
  transition: box-shadow 0.25s;
}

.vg-look.on {
  color: var(--ink);
}

.vg-look.on i {
  box-shadow: 0 0 0 1.5px var(--ink);
}

.vg-look.hot i {
  box-shadow: 0 0 0 2px var(--who);
}

.vg-more {
  display: flex;
  gap: 14px;
}

.vg-more h4 {
  color: var(--faint);
  font-size: 13.5px;
}

.vg-btn {
  border: 1px solid var(--line-2);
  border-radius: 5px;
  color: var(--text);
  font-size: 12px;
  padding: 5px 10px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.vg-btn:hover, .vg-btn.flash, .vg-btn[aria-pressed="true"] {
  background: var(--w3);
  color: var(--ink);
}

.vg-apply {
  background: #eeede9;
  border-color: transparent;
  color: #0e0e10;
  font-weight: 600;
  margin-left: auto;
}

.vg-apply:hover, .vg-apply.flash {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
  color: #0e0e10;
}

.vp-targets {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
}

.vp-targets b {
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--dim);
  font-size: 11.5px;
  font-weight: 500;
  padding: 7px 8px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.vp-targets b.on {
  background: var(--w3);
  border-color: var(--ink);
  color: var(--ink);
}

.vp-folder {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.vp-folder .field {
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-plan {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 2px 0;
  padding: 0;
}

.vp-plan li {
  align-items: center;
  color: var(--dim);
  display: flex;
  font-size: 12px;
  gap: 8px;
  transition: color 0.3s;
}

.vp-plan li::before {
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  box-sizing: border-box;
  content: '';
  height: 12px;
  transition: background 0.3s, border-color 0.3s;
  width: 12px;
}

.vp-plan li.ok {
  color: var(--ink);
}

.vp-plan li.ok::before {
  background: var(--check);
  border-color: var(--check);
}

.vp-foot {
  align-items: center;
  display: flex;
  gap: 10px;
}

.vp-out {
  color: var(--dim);
  font-size: 11.5px;
  transition: color 0.3s;
}

.vp-out.ok {
  color: var(--check);
}

.sel.high .chip {
  bottom: calc(100% + 6px);
  top: auto;
}

.cursor.carry::before {
  animation: none;
  background: var(--carry) center / cover;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 1.5px var(--who);
  height: 34px;
  left: 14px;
  opacity: 0.92;
  top: 18px;
  width: 46px;
}

.pg.swap .t.on {
  opacity: 0;
  transform: translateY(0.12em);
}

.win.ff .vm {
  transition: none;
}

.field .caret {
  color: var(--who);
  font-weight: 400;
  margin-left: 1px;
}

.xw-bar::before {
  background: var(--ink);
  content: '';
  flex: none;
  height: 1.15em;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 2.5 8 13.5l5.5-11'/%3E%3Cpath d='M6 2.5 8.6 8'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 1.15em;
}

.leaf-title.undo .u1 {
  opacity: 0;
}

.win-file::before {
  background: var(--ink);
  content: '';
  flex: none;
  height: 13px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 2.5 8 13.5l5.5-11'/%3E%3Cpath d='M6 2.5 8.6 8'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 13px;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .leaf-title.undo .u1 {
      animation: x-hide linear both;
      animation-range: cover 33% cover 37%;
      animation-timeline: --row;
    }

    .leaf-title.undo .u0 {
      animation: x-show linear both;
      animation-range: cover 35% cover 39%;
      animation-timeline: --row;
    }

    .leaf-keys + .leaf-stamp {
      animation-range: cover 38% cover 46%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  #w-right[data-tab="grade"] #wgrade {
    animation: none;
  }

  html #w-right[data-tab] .vr-view, html #w-right[data-tab] .hist {
    animation: none;
  }
}

.code.big.soon {
  font-family: var(--font-heading);
  font-size: var(--type-2xl);
  margin: 0;
  padding: 22px 24px;
  font-weight: var(--heading-weight);
  letter-spacing: var(--tracking);
}

.wordmark::before {
  background: url("mark.svg") center / contain no-repeat;
  content: '';
  display: inline-block;
  height: 0.9em;
  margin-right: 0.45em;
  vertical-align: -0.08em;
  width: 1em;
}


/* exoTools family: header brand and footer band (tmp/sites-family-snippets.html), mapped to Velluma's tokens.
   The accent is the brass of the V mark. */
:root {
  --fam-ink: var(--ink);
  --fam-dim: var(--muted);
  --fam-hair: var(--line);
  --fam-font: var(--font-body);
  --fam-mono: var(--mono);
  --fam-accent: #b8913a;
  --fam-tile: var(--raised);
  --fam-ground: var(--surface);
}
/* Family phone menu (tmp/sites-family-snippets.html, 1b). */
.fam-menu { display: none; position: relative; }
.fam-menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--fam-hair); border-radius: 8px; list-style: none; cursor: pointer; font: 600 0.95rem var(--fam-font); color: var(--fam-ink); }
.fam-menu summary::-webkit-details-marker { display: none; }
.fam-menu[open] summary { border-color: var(--fam-accent); }
.fam-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; display: grid; min-width: 12rem; max-width: calc(100vw - 32px); padding: 6px; background: var(--fam-ground); border: 1px solid var(--fam-hair); border-radius: 10px; box-shadow: 0 16px 40px rgb(0 0 0 / 0.28); }
.fam-menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; color: var(--fam-ink); text-decoration: none; font: 600 1rem var(--fam-font); }
.fam-menu-panel a:hover, .fam-menu-panel a:focus-visible { background: var(--fam-tile); }
.fam-menu-panel a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--fam-accent); }
@media (max-width: 760px) {
  .fam-menu { display: block; margin-left: auto; }
}
/* Map these per site: --fam-ink (text), --fam-dim (secondary text), --fam-hair (rules),
   --fam-font (the site's text face), --fam-mono (the site's mono or label face, else its text face). */
.fam-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fam-brand a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.fam-exo svg { width: 24px; height: 18px; flex: none; }
.fam-exo span { font-weight: 700; letter-spacing: -0.01em; }
.fam-sep { color: var(--fam-dim); }
.fam-prod { font-weight: 700; }
.fam-prod img { width: 24px; height: 24px; }
@media (max-width: 560px) { .fam-exo span, .fam-sep { display: none; } }

/* v2 band. Map per site: --fam-ink, --fam-dim, --fam-hair, --fam-font, --fam-mono as before, plus --fam-accent (the
   site accent: the link underline, the signature dash, the current tile's border) and --fam-tile (a tile's hover ground). */
/* the family band: the promise as a signed note, then the nine exoTools products in one row of small links, then the legal row */
.fam-band { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 40px 36px; border-top: 1px solid var(--fam-hair); font-family: var(--fam-font); color: var(--fam-ink); }
.fam-note { margin: 0 0 24px; max-width: 36rem; }
.fam-note blockquote { margin: 0; }
.fam-note p { margin: 0; font-size: 1.22rem; line-height: 1.5; letter-spacing: -0.005em; text-wrap: pretty; }
.fam-note a { color: inherit; text-decoration: underline; text-decoration-color: var(--fam-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fam-sign { margin-top: 14px; font: 600 0.82rem var(--fam-mono); letter-spacing: 0.04em; color: var(--fam-dim); }
.fam-sign::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 10px; vertical-align: 0.3em; background: var(--fam-accent); }
.fam-family { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--fam-hair); }
.fam-label { margin: 0; font: 600 0.72rem var(--fam-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fam-dim); }
.fam-family ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.fam-family li { display: flex; }
.fam-family a, .fam-family [aria-current] { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; font-size: 0.9rem; color: var(--fam-dim); text-decoration: none; }
.fam-family a:hover { color: var(--fam-ink); }
.fam-family a:hover b { text-decoration: underline; }
.fam-family img, .fam-family svg { flex: none; width: 18px; height: 18px; border-radius: 4px; }
.fam-family svg { padding: 1px; }
.fam-family b { font-weight: 500; }
.fam-family [aria-current] { color: var(--fam-ink); }
.fam-family [aria-current] b { text-decoration: underline 2px var(--fam-accent); text-underline-offset: 5px; }
.fam-family [aria-current] small { display: none; }
.fam-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; font-size: 0.9rem; color: var(--fam-dim); }
.fam-base a { color: inherit; text-decoration: none; }
.fam-base a:hover { color: var(--fam-ink); text-decoration: underline; }
.fam-base time { font: inherit; }
.fam-band .legal-id { grid-column: 1 / -1; }
@media (max-width: 760px), (pointer: coarse) {
  /* gap (2026-11-16 19:00): inline-flex drops the space before <time>, which read "2.0.2 ·16 Nov" */
  .fam-base a, .fam-family a { display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; }
  .fam-family a, .fam-family [aria-current] { gap: 7px; }
  .fam-family ul { gap: 0 18px; }
}
/* Touch: the header brand links are at least 44px tall too. */
@media (pointer: coarse), (max-width: 760px) {
  .fam-brand a { display: inline-flex; align-items: center; min-height: 44px; }
  .fam-base { gap: 0 20px; }
}

/* Changelog pages (js/pager.js) */
:is(.releases + .pager, .releases .pager) { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 48px; padding: 0; }
.releases .pager { margin: 16px 0 24px; }
:is(.releases + .pager, .releases .pager) button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--raised); color: var(--ink); font: 600 0.95rem var(--mono); cursor: pointer; }
:is(.releases + .pager, .releases .pager) button:hover:not(:disabled) { border-color: var(--fam-accent); }
:is(.releases + .pager, .releases .pager) button[aria-current="page"] { border-color: var(--fam-accent); color: #d5bf90; }
:is(.releases + .pager, .releases .pager) button:disabled { opacity: 0.45; cursor: default; }
:is(.releases + .pager, .releases .pager) span { align-self: center; color: var(--muted); font-family: var(--mono); }

/* Home: the measured readout under the hero, one ruled strip, label then value */
.readout { position: relative; z-index: 1; border-block: 1px solid var(--line); background: var(--surface); }
.readout dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.readout dl > div { display: grid; align-content: start; gap: 6px; padding: 28px 20px 26px; border-left: 1px solid var(--line); }
.readout dl > div:first-child { border-left: 0; padding-left: 0; }
.readout dt { font: 600 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.readout dd { margin: 0; font-size: 1.3rem; font-weight: 540; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout dd.sub { font-size: var(--type-sm); font-weight: 400; letter-spacing: 0; color: var(--muted); text-wrap: pretty; }
.readout-when { margin: 0; padding: 0 0 22px; font: 500 0.75rem var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.readout-when::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 10px; vertical-align: 0.3em; background: #b8913a; }
/* Two rows of three at every width above phone, so each note has room for its line (site gate 2026-11-17). */
.readout dl > div:nth-child(4) { border-left: 0; padding-left: 0; }
.readout dl > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .readout dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout dl > div { padding: 20px 14px 18px; }
  .readout dl > div:nth-child(4) { border-left: 1px solid var(--line); padding-left: 14px; }
  .readout dl > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .readout dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* Hero demo: marks and the cursor move by transform through registered properties, and the title card and dock
   show once the script has placed them, so the demo never counts as a layout shift. Without the script they show
   after 1.2 s where the stylesheet puts them. */
@property --mx { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --my { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --mw { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --mh { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --cx { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --cy { syntax: "<length>"; inherits: false; initial-value: 0px; }
#hero .mark { left: 0; top: 0; width: var(--mw); height: var(--mh); transform: translate(var(--mx), var(--my)); }
#hero .sel { transition: --mx 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), --my 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), --mw 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), --mh 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s, border-color 0.25s; }
#hero .sel i { left: -4px; top: -4px; right: auto; bottom: auto; }
#hero .sel i:nth-of-type(2) { transform: translateX(calc(var(--mw) - 2px)); }
#hero .sel i:nth-of-type(3) { transform: translateY(calc(var(--mh) - 2px)); }
#hero .sel i:nth-of-type(4) { transform: translate(calc(var(--mw) - 2px), calc(var(--mh) - 2px)); }
/* In the hero the size readout sits inside the box's top-right corner, where left-set copy leaves room. */
#hero .sel .chip, #hero .sel.high .chip, #hero .sel.low .chip { bottom: auto; left: 0; top: 0; transform: translate(calc(var(--mw) - 100% - 8px), 6px); }
#hero .frame { height: auto; overflow: hidden; }
#hero:not(.fonts) .frame { visibility: hidden; animation: card-fallback 0s linear 1.2s forwards; }
@media (max-width: 600px) { .studio { height: min(100svh, 700px); min-height: 600px; } #hero .status .chapters, #hero .sel .chip { display: none; } }
#hero .pg { min-height: 0; }
#hero .cursor { left: 0; top: 0; transform: translate(var(--cx), var(--cy)); transition: opacity 0.2s, --cx var(--move, 0.6s) cubic-bezier(0.3, 0.7, 0.2, 1), --cy var(--move, 0.6s) cubic-bezier(0.3, 0.7, 0.2, 1); }
#hero .card:not(.placed), #hero .dock:not(.placed) { visibility: hidden; animation: card-fallback 0s linear 1.2s forwards; }
@keyframes card-fallback { to { visibility: visible; } }
/* The Grade sample shows once the script has sized it to the stage. */
.gd-frame:not(.fit) { visibility: hidden; animation: card-fallback 0s linear 1.2s forwards; }
@media (prefers-reduced-motion: reduce) {
  #hero .sel, #hero .cursor { transition: opacity 0.2s; }
}
/* The title card is translucent over the demo page; its label keeps 4.5:1 on the lightest page under it. */
#hero .card .label { color: #d2d1cb; }
/* Line measure: running text in answers and docs stays within about 85 characters; in this face 1ch is far wider than an average letter, so the cap is in em. */
.qa details.q p, article.vellum p, article.vellum .lede, article.vellum li { max-width: 36em; }
/* The mono note: in a monospace face 1ch is one character. */
.note { max-width: 84ch; }

/* Skip link: off screen until keyboard focus reaches it. */
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--fam-ground, #111); color: var(--fam-ink, #f2efe7); font: 600 0.95rem var(--font-body); text-decoration: none; }
.skip:focus { top: 16px; outline: 2px solid currentColor; outline-offset: 2px; }

/* Example rows stack on phone on every page, not only on the home (site gate 2026-11-17: 119px text columns at 390). */
@media (max-width: 860px) {
  .ex-row, .ex-row:nth-child(even) { gap: 28px; grid-template-columns: minmax(0, 1fr); }
  .ex-row:nth-child(even) > .ex-copy { order: 0; }
}
