:root {
  color-scheme: light;
  --paper: #fafafa;
  --white: #fff;
  --ink: #101010;
  --muted: #525252;
  --line: #dedede;
  --canvas: #f0f0f0;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
html { scroll-padding-top: 6rem; }
body { background: var(--paper); color: var(--ink); font-family: "Inter", "Helvetica Neue", Arial, sans-serif; }
a, button, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
button, summary, select { cursor: pointer; }
code, pre, .mono-type { font-family: var(--mono); }
code { font-size: .88em; }
.skip { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .75rem; color: white; background: black; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.shell { width: min(100% - 5rem, 78rem); margin-inline: auto; }
.site-header { position: sticky; z-index: 2; top: 0; border-bottom: 1px solid var(--line); background: #fafafaf2; backdrop-filter: blur(14px); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.45rem; font-weight: 750; letter-spacing: -.08em; line-height: 1; white-space: nowrap; }
.brand-mark { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .4rem; color: white; background: var(--ink); font-size: 1.12rem; letter-spacing: -.12em; padding-right: .12rem; }
.brand-css { color: var(--muted); font: 600 .63rem var(--mono); letter-spacing: .08em; align-self: end; margin: 0 0 .3rem .06rem; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.85rem, 3vw, 2.25rem); font-size: .9rem; font-weight: 600; }
nav a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.button { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: .65rem 1.15rem; border: 1px solid var(--ink); border-radius: .4rem; background: var(--ink); color: white; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.button:hover { background: #343434; }
.button-small { min-height: 2.45rem; padding: .38rem .88rem; }
.button-outline { background: transparent; color: var(--ink); border-color: #c7c7c7; }
.button-outline:hover { background: #e9e9e9; }
.button-light { background: white; color: var(--ink); border-color: white; }
.button-light:hover { background: #d9d9d9; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5.25rem); padding-block: clamp(3.25rem, 7vw, 6.75rem); }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.15rem; font: 650 .75rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.version-dot { width: .48rem; height: .48rem; border-radius: 50%; background: currentColor; }
h1, h2, h3 { font-weight: 750; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 5.6vw, 5.65rem); letter-spacing: -.087em; }
h1 span { color: #5d5d5d; }
.hero-intro { max-width: 32rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1.05rem, 1.65vw, 1.23rem); line-height: 1.63; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }
.hero-visual { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 26rem; overflow: hidden; border: 1px solid #272727; border-radius: .65rem; color: white; background: #131313; box-shadow: 0 14px 38px #0002; }
.visual-bar { z-index: 1; display: flex; justify-content: space-between; gap: .7rem; padding: .95rem 1.1rem; border-bottom: 1px solid #333; color: #d5d5d5; font-size: .7rem; letter-spacing: .07em; }
.visual-footer { border-top: 1px solid #333; border-bottom: 0; }
.visual-grid, .motion-stage { background-image: radial-gradient(#5b5b5b 1px, transparent 1px); background-size: 18px 18px; background-position: center; }
.visual-grid { position: relative; display: grid; min-height: 17rem; place-items: center; overflow: hidden; isolation: isolate; }
.axis { position: absolute; background: #626262; opacity: .5; }
.axis-x { width: 100%; height: 1px; }
.axis-y { width: 1px; height: 100%; }
.orbit { position: absolute; width: min(74%, 20rem); aspect-ratio: 1; border: 1px solid #515151; border-radius: 50%; }
.orbit-middle { transform: rotate(-31deg) scaleY(.48); border-color: #8b8b8b; }
.orbit-inner { transform: rotate(31deg) scaleY(.48); border-color: #8b8b8b; }
.visual-logo { display: grid; z-index: 1; width: clamp(6.5rem, 12vw, 10rem); aspect-ratio: 1; place-items: center; padding: 0 .15em .13em 0; border-radius: 18%; background: white; box-shadow: 0 0 0 9px #131313, 0 0 0 10px #909090; color: #111; font-size: clamp(5rem, 10vw, 8.75rem); font-weight: 900; letter-spacing: -.16em; line-height: 1; }
.register { position: absolute; color: #a9a9a9; font: 1rem var(--mono); }
.register-tl { top: .6rem; left: 1rem; }.register-tr { top: .6rem; right: 1rem; }
.register-bl { bottom: .6rem; left: 1rem; }.register-br { bottom: .6rem; right: 1rem; }
.metrics { border-block: 1px solid var(--line); background: var(--white); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metrics-grid > div { display: grid; gap: .45rem; min-width: 0; padding: 1.5rem 1.25rem; border-inline-start: 1px solid var(--line); }
.metrics-grid > div:last-child { border-inline-end: 1px solid var(--line); }
.metrics-grid dt { color: var(--muted); font-size: .87rem; }
.metrics-grid dd { order: -1; font-size: 2rem; line-height: 1; font-weight: 750; letter-spacing: -.07em; }
.section { padding-block: clamp(3.5rem, 7vw, 6.1rem); }
.section-head { max-width: 40rem; }
.section-head h2 { font-size: clamp(2.15rem, 4.25vw, 4rem); letter-spacing: -.075em; }
.section-head > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 2rem; }
.steps h3 { font-size: 1.27rem; letter-spacing: -.035em; }
.steps p { margin-top: .55rem; color: var(--muted); }
.tinted { border-block: 1px solid var(--line); background: #f2f2f2; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 6vw, 6rem); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.3rem; }
.chips code { border: 1px solid #ccc; padding: .28rem .48rem; border-radius: .24rem; background: white; }
.example-panel { overflow: hidden; border: 1px solid #d2d2d2; border-radius: .65rem; background: white; }
.panel-top, .terminal-top, .play-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .85rem 1rem; }
.panel-top { border-bottom: 1px solid var(--line); font-weight: 700; }
.panel-top code { color: var(--muted); font-weight: 400; }
.responsive-grid { padding: 1rem; }
.responsive-grid > div { display: grid; min-height: 5rem; place-items: center; border: 1px solid #ccc; border-radius: .3rem; background: #f1f1f1; font-size: .93rem; }
.responsive-grid > div:nth-child(2) { background: #151515; border-color: #151515; color: white; }
.panel-note { padding: 0 1rem 1rem; color: var(--muted); font-size: .9rem; }
.dark-section { background: #111; color: #fff; }
.dark-section .eyebrow, .dark-section .section-head > p:not(.eyebrow) { color: #c0c0c0; }
.motion-note code { color: #fff; }
.playground, .terminal { overflow: hidden; border: 1px solid #414141; border-radius: .65rem; background: #171717; color: #f8f8f8; }
.play-controls, .terminal-top { border-bottom: 1px solid #414141; }
.preset { display: flex; gap: .65rem; align-items: center; font-size: .87rem; }
.preset-field { position: relative; display: inline-grid; min-width: 0; align-items: center; }
.preset select { appearance: none; max-width: 100%; padding: .48rem 2.2rem .48rem .7rem; border: 1px solid #707070; border-radius: .3rem; background: #272727; color: #fff; }
.preset-field > .site-icon { position: absolute; inset-inline-end: .65rem; pointer-events: none; }
.preset option { color: #fff; background: #272727; }
.motion-stage { display: grid; min-height: 12.75rem; place-items: center; overflow: hidden; }
.motion-icon { display: grid; width: 4.7rem; aspect-ratio: 1; place-items: center; padding: 0 .16em .14em 0; border-radius: .8rem; background: white; color: #121212; font-size: 3.7rem; font-weight: 900; letter-spacing: -.14em; line-height: 1; }
.play-code { padding: .75rem 1rem; border-top: 1px solid #414141; color: #d0d0d0; overflow-wrap: anywhere; }
.terminal-top { color: #ddd; font: .81rem var(--mono); }
.terminal-top button { padding: .3rem .55rem; border: 1px solid #626262; border-radius: .3rem; color: white; }
.terminal-top button:hover { background: #3a3a3a; }
.terminal pre { overflow-x: auto; padding: 1.05rem 1rem 1.2rem; line-height: 1.65; }
.steps article { min-width: 0; padding: 1.2rem; border: 1px solid #d6d6d6; border-radius: .55rem; background: white; }
.steps pre { margin-top: 1rem; padding: .65rem .75rem; overflow-x: auto; border-radius: .3rem; background: #eee; }
.steps pre code { font-size: .8rem; }
.build-terminal { margin-top: .9rem; }
.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { min-height: 6rem; }
.footer-version { color: var(--muted); font-size: .8rem; }
@media (max-width: 60rem) {
  .shell { width: min(100% - 3rem, 78rem); }
  .hero { gap: 1.8rem; }
  .hero-visual { min-height: 22rem; }
}
@media (max-width: 47rem) {
  html { scroll-padding-top: 8rem; }
  .shell { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; padding-block: .65rem; gap: .6rem; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; }
  .header-inner > .button { grid-column: 2; grid-row: 1; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-visual { min-height: 20rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid > div { padding: 1.1rem .75rem; }
  .metrics-grid > div:nth-child(2) { border-inline-end: 1px solid var(--line); }
  .metrics-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; padding-block: 1rem; }
}
@media (max-width: 24rem) {
  h1 { font-size: 2.55rem; }
  .visual-bar { font-size: .62rem; }
  .actions .button { flex: 1; }
}
.visual-grid:has(.swarm-layer[data-active]) .visual-logo { visibility: hidden; }
.visual-bar { align-items: center; }
.visual-footer { min-height: 3.4rem; padding-block: .6rem; }
.visual-footer button { border: 1px solid #666; border-radius: .3rem; padding: .32rem .52rem; color: white; white-space: nowrap; }
.visual-footer button:hover { background: #363636; }
.preset { min-width: 0; }
.preset select { min-width: 0; }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.closing h2 { font-size: clamp(1.85rem, 3.6vw, 3.1rem); letter-spacing: -.066em; }
.closing p { margin-top: .65rem; color: #c0c0c0; }
.crew-actions, .viewport-picker { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.text-link { display: inline-block; margin-block-start: .85rem; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
.viewport-picker { padding: .85rem 1rem 0; }
.viewport-picker button, .footer-brand button { background: transparent; border: 1px solid #c9c9c9; border-radius: .32rem; padding: .35rem .66rem; font-size: .85rem; }
.viewport-picker button[aria-pressed="true"] { background: #171717; color: #fff; border-color: #171717; }
.viewport-stage { overflow: hidden; position: relative; margin: 1rem; height: 9rem; background: #f4f4f4; border: 1px solid #d4d4d4; border-radius: .35rem; }
.viewport-stage iframe { position: absolute; inset: 0 auto auto 0; display: block; margin: 0; border: 0; transform-origin: top left; pointer-events: none; }
.footer-map { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-block: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: start; gap: .75rem; }
.footer-map nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.footer-map nav div { display: flex; flex-direction: column; gap: .45rem; }
.footer-map nav h2 { font-size: .94rem; margin-bottom: .3rem; letter-spacing: -.02em; }
.footer-map nav a { width: fit-content; font-weight: 450; color: #484848; }
@media (max-width: 47rem) {
  .footer-map { grid-template-columns: 1fr; }
  .footer-map nav { gap: .8rem; }
  .footer-brand { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

/* Utility reference specimens */
.index-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2rem; }
.index-heading h2 { font-size: clamp(3rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.08em; }
.index-heading .eyebrow { margin-bottom: .85rem; }
.index-heading > div:last-child { max-width: 23rem; color: var(--muted); }
.index-heading .text-link { color: var(--ink); margin-top: .45rem; }
.specimen-grid { display: grid; grid-template-columns: 1.14fr .72fr .72fr; grid-template-rows: minmax(9.5rem,auto) minmax(10rem,auto); gap: .8rem; }
.specimen { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; border: 1px solid #cacaca; border-radius: .55rem; overflow: hidden; }
.specimen:hover h3, .specimen:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.specimen:focus-visible { outline: 3px solid #5b5b5b; outline-offset: 2px; }
.specimen-copy { position: relative; z-index: 1; padding: 1.2rem 1.45rem; }
.specimen h3 { font-size: clamp(1.45rem, 2.7vw, 2.6rem); letter-spacing: -.065em; }
.specimen-copy p { font-size: .93rem; margin-top: .5rem; }
.specimen code { display: inline-block; margin-top: .75rem; font-size: .78rem; }
.specimen-layout { grid-row: span 2; color: white; background: #151515; border-color: #151515; }
.specimen-layout .specimen-copy p, .specimen-layout code { color: #ccc; }
.blueprint { position: relative; display: grid; place-items: center; flex: 1; overflow: hidden; min-height: 12rem; background-image: radial-gradient(#555 1px, transparent 1px); background-size: 13px 13px; }
.blueprint-stack { width: 41%; min-width: 7.25rem; aspect-ratio: 1.33; position: relative; transform: rotateX(48deg) rotateZ(-36deg); transform-style: preserve-3d; }
.blueprint-stack > * { position: absolute; inset: 0; border: 1px solid #eee; }
.blueprint-stack > i:first-child { background: #242424; transform: translateZ(-38px); border-style: dashed; }
.blueprint-stack > i:nth-child(2) { background: #555; transform: translateZ(-19px); }
.blueprint-plane { display: grid; gap: 4px; padding: 5px; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr; background: #151515; }
.blueprint-plane b { background: #e1e1e1; }
.blueprint-plane b:nth-child(3n + 1) { background: repeating-linear-gradient(45deg,#222 0 1px,#ddd 1px 5px); }
.specimen-type { grid-column: span 2; flex-direction: row; align-items: center; background: #fff; }
.type-proof { position: relative; display: grid; padding: .4rem .16em 0; align-self: stretch; align-items: center; font: italic clamp(5.5rem,10vw,10rem)/.9 Georgia,serif; letter-spacing: -.13em; background: repeating-linear-gradient(to bottom,transparent 0 21%,#ccc 21% 21.5%,transparent 21.5% 43%); }
.type-proof span { transform: translateX(-.08em); }
.specimen-state { background: #efefef; }
.state-proof { display: flex; gap: .6rem; align-items: center; padding: 1.35rem 1.45rem 0; }
.state-proof i { width: 1.6rem; aspect-ratio: 1; border: 1px solid #888; border-radius: 50%; }
.state-proof i:nth-child(2) { background: #333; border: 3px solid #efefef; outline: 1px solid #333; }
.state-proof i:last-child { background: #151515; border-color: #151515; }
.specimen-motion { background: #dedede; }
.motion-proof { display: flex; gap: .36rem; padding: 1.35rem 1.45rem 0; min-height: 3rem; align-items: flex-end; }
.motion-proof i { width: 1rem; height: 1rem; border: 1px solid #333; border-radius: 50%; }
.motion-proof i:nth-child(2) { transform: translateY(-.65rem); opacity: .7; }
.motion-proof i:nth-child(3) { transform: translateY(-.9rem); opacity: .72; }
.motion-proof i:nth-child(4) { transform: translateY(-.65rem); }
.motion-proof i:last-child { background: #111; }
.index-tools { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .85rem 2rem; align-items: center; border-block: 1px solid #bbb; padding: 1rem 0; }
.index-tools h3 { flex: 1; font-size: 1.05rem; letter-spacing: -.04em; }
.index-tools a { display: flex; align-items: center; gap: .65rem; font-size: .9rem; }
.index-tools code { border: 1px solid #ccc; background: white; border-radius: .25rem; padding: .2rem .4rem; }
.index-tools a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .blueprint-stack > i, .blueprint-plane { transition: transform 250ms ease; }
  .specimen-layout:is(:hover,:focus-visible) .blueprint-plane { transform: translateZ(8px); }
  .specimen-layout:is(:hover,:focus-visible) .blueprint-stack > i:first-child { transform: translateZ(-48px); }
}
@media (max-width: 47rem) {
  .index-heading { display: grid; gap: 1rem; }
  .specimen-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .specimen-layout, .specimen-type { grid-column: span 2; grid-row: auto; }
  .blueprint { min-height: 12rem; }
  .specimen-copy { padding: 1rem; }
  .state-proof, .motion-proof { padding-inline: 1rem; }
  .index-tools { flex-direction: column; align-items: flex-start; }
}

.icon-shelf {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: clamp(1rem, 2.6vw, 2rem); margin-top: 1rem;
  border: 1px solid var(--line); border-radius: .55rem; background: var(--white);
}
.icon-shelf h3 { font-size: 1.45rem; letter-spacing: -.05em; }
.icon-shelf p { max-width: 24rem; margin-top: .4rem; color: var(--muted); font-size: .92rem; }
.icon-shelf-samples { display: flex; align-items: center; gap: clamp(.55rem, 1.7vw, 1.6rem); }
.icon-shelf-samples img { width: clamp(1.25rem, 2.5vw, 1.9rem); flex: none; }
.icon-shelf-open { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.icon-shelf:hover .icon-shelf-open, .icon-shelf:focus-visible .icon-shelf-open { text-decoration: underline; text-underline-offset: .2rem; }
@media (max-width: 49rem) {
  .icon-shelf { display: grid; grid-template-columns: 1fr auto; }
  .icon-shelf > div { grid-column: 1 / -1; }
}
@media (max-width: 26rem) {
  .icon-shelf { gap: .75rem; }
  .icon-shelf-samples { gap: .45rem; }
}

.site-icon, .site-disclosure::after {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--site-icon) center / contain no-repeat;
  mask: var(--site-icon) center / contain no-repeat;
  vertical-align: -.125em;
}
.site-icon--arrow-left { --site-icon: url("./curated/arrow-left.svg"); }
.site-icon--arrow-right { --site-icon: url("./curated/arrow-right.svg"); }
.site-icon--arrow-up { --site-icon: url("./curated/arrow-up.svg"); }
.site-icon--arrow-down { --site-icon: url("./curated/arrow-down.svg"); }
.site-icon--chevron-right, .site-disclosure::after { --site-icon: url("./curated/chevron-right.svg"); }
.site-icon--chevron-down { --site-icon: url("./curated/chevron-down.svg"); }
.site-icon--download { --site-icon: url("./curated/download.svg"); }
.site-icon--copy { --site-icon: url("./curated/copy.svg"); }
.site-icon--file { --site-icon: url("./curated/file.svg"); }
.site-icon--x { --site-icon: url("./curated/x.svg"); }

summary.site-disclosure {
  display: flex;
  align-items: center;
  gap: .65rem;
  list-style: none;
}
.site-disclosure::-webkit-details-marker { display: none; }
.site-disclosure::after {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-inline-start: auto;
}
details[open] > .site-disclosure::after { transform: rotate(90deg); }
@media (prefers-reduced-motion: no-preference) {
  .site-disclosure::after { transition: transform 140ms ease-out; }
}
@media (forced-colors: active) {
  .site-icon, .site-disclosure::after { forced-color-adjust: preserve-parent-color; }
}
