@charset "utf-8";

:root {
  color-scheme: dark;
  --ink: #f3eff7;
  --muted: #aaa2b4;
  --quiet: #746d7f;
  --night: #0b0b12;
  --night-raised: #11111b;
  --panel: #151520;
  --line: rgb(239 229 255 / 12%);
  --line-bright: rgb(239 229 255 / 22%);
  --plum: #cf7cf5;
  --lilac: #a895ff;
  --mint: #85f2d4;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Noto Sans TC", system-ui, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: var(--night);
  color: var(--ink);
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

::selection {
  color: var(--night);
  background: var(--mint);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--mint);
  color: var(--night);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.nav-shell {
  width: min(1220px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(11 11 18 / 90%);
  backdrop-filter: blur(16px);
}

.nav-shell {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.wordmark-light {
  color: var(--muted);
  font-weight: 440;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
}

.brand-mark i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--plum);
  border-radius: 50%;
  transform: rotate(40deg) scaleX(0.45);
}

.brand-mark i:nth-child(2) {
  transform: rotate(-40deg) scaleX(0.45);
  border-color: var(--mint);
}

.brand-mark i:nth-child(3) {
  width: 5px;
  height: 5px;
  border: 0;
  background: var(--ink);
  box-shadow: 0 0 10px var(--plum);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--mint);
}

.nav-links .nav-github {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--line-bright);
  border-radius: 5px;
  color: var(--ink);
}

.mobile-nav {
  display: none;
}

.mobile-menu-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  cursor: pointer;
  list-style: none;
}

.mobile-menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-glyph,
.menu-glyph::before,
.menu-glyph::after {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--ink);
}

.menu-glyph {
  position: relative;
}

.menu-glyph::before,
.menu-glyph::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-glyph::before {
  top: -5px;
}

.menu-glyph::after {
  top: 5px;
}

.mobile-menu-panel {
  position: absolute;
  z-index: 11;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  width: min(250px, calc(100vw - 32px));
  padding: 7px;
  border: 1px solid var(--line-bright);
  border-radius: 5px;
  background: #151520;
  box-shadow: 0 15px 35px rgb(0 0 0 / 38%);
}

.mobile-menu-panel a {
  display: flex;
  min-height: 43px;
  align-items: center;
  padding-inline: 11px;
  border-radius: 3px;
  color: #d0c8d7;
  font-size: 13px;
}

.mobile-menu-panel a:hover {
  background: rgb(207 124 245 / 8%);
  color: var(--mint);
}

.nav-github span {
  color: var(--plum);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 74px));
  grid-template-columns: minmax(0, 1.04fr) minmax(410px, 0.96fr);
  align-items: center;
  gap: 30px;
  overflow: clip;
  padding-block: 86px 105px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 2%;
  right: -26%;
  width: 82%;
  height: 105%;
  background: radial-gradient(ellipse at 50% 48%, rgb(105 51 136 / 17%), transparent 66%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 18px;
}

.eyebrow,
.section-index,
.card-topline,
.control-label,
.window-bar,
.window-caption,
.window-kicker,
.window-overline,
.demo-card-kicker,
.demo-overline,
.demo-axis,
.playground-footer,
.roadmap-state,
.copyright {
  font-family: var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: #cbc1d5;
  font-size: 10px;
  letter-spacing: 0.105em;
}

.status-pip,
.toolbar-status i,
.preview-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 13px rgb(133 242 212 / 55%);
}

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

.hero h1 {
  max-width: 730px;
  margin-bottom: 22px;
  font-size: clamp(64px, 8.5vw, 112px);
  font-weight: 610;
  letter-spacing: -0.095em;
  line-height: 0.92;
}

.hero h1 em,
.closing-section h2 em {
  color: var(--plum);
  font-style: normal;
  font-weight: 460;
}

.hero-lede {
  max-width: 470px;
  margin-bottom: 29px;
  color: #c2b9ca;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 680;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--plum);
  color: #190e20;
}

.button-primary:hover {
  background: #dda0f8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  transition: color 160ms ease;
}

.text-link span {
  color: var(--mint);
}

.hero-footnote {
  margin: 24px 0 0;
  color: var(--quiet);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 485px;
  margin: 0;
  overflow: clip;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: -2;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(89 53 126 / 18%), transparent 68%);
  content: "";
}

.orbit {
  position: absolute;
  z-index: -1;
  width: 94%;
  height: 76%;
  border: 1px solid rgb(221 194 244 / 11%);
  border-radius: 50%;
  transform: rotate(-29deg);
}

.orbit-two {
  width: 77%;
  height: 102%;
  border-style: dashed;
  border-color: rgb(221 194 244 / 9%);
  transform: rotate(35deg);
}

.orbit-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.orbit-dot-one {
  top: 17%;
  right: 23%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
}

.orbit-dot-two {
  bottom: 17%;
  left: 23%;
  background: var(--plum);
  box-shadow: 0 0 14px var(--plum);
}

.orbit-dot-three {
  top: 28%;
  left: 9%;
  width: 3px;
  height: 3px;
  background: #d8c7e8;
}

.hero-window {
  width: min(395px, 77%);
  overflow: hidden;
  border: 1px solid rgb(236 218 247 / 22%);
  border-radius: 7px;
  background: linear-gradient(148deg, #1b1927 0%, #11121b 72%);
  box-shadow: 0 30px 90px rgb(0 0 0 / 45%), 0 0 55px rgb(174 95 223 / 9%);
  transform: rotate(2deg);
}

.window-bar {
  display: flex;
  height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  color: #8e8599;
  font-size: 8px;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #695d71;
}

.window-dots i:first-child {
  background: var(--plum);
}

.window-status {
  color: var(--mint);
  text-transform: lowercase;
}

.window-status i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--mint);
  vertical-align: 2px;
}

.window-content {
  padding: 35px 36px 31px;
  background-image: radial-gradient(rgb(238 221 251 / 11%) 0.65px, transparent 0.65px);
  background-size: 17px 17px;
}

.window-kicker,
.window-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-kicker {
  margin-bottom: 45px;
  color: #968ca3;
  font-size: 8px;
}

.window-kicker span:first-child {
  color: var(--mint);
}

.window-overline {
  margin: 0 0 9px;
  color: var(--plum);
  font-size: 9px;
}

.window-content h2 {
  margin: 0 0 38px;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 1.09;
}

.window-content h2 span {
  color: #a69cac;
}

.window-content h2 b {
  color: var(--mint);
  font-weight: 540;
}

.window-bottom {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #a69cac;
  font-size: 10px;
}

.window-arrow {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgb(133 242 212 / 42%);
  border-radius: 50%;
  color: var(--mint);
}

.window-caption {
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  color: #746d7f;
  font-size: 8px;
}

.window-caption span {
  color: var(--plum);
}

.floating-note {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  background: #13121b;
  box-shadow: 0 8px 25px rgb(0 0 0 / 22%);
  color: #bbb2c4;
  font-family: var(--mono);
  font-size: 9px;
}

.floating-note span {
  color: var(--mint);
}

.note-top {
  top: 15%;
  left: -2%;
}

.note-bottom {
  right: -1%;
  bottom: 17%;
}

.tiny-wave {
  color: var(--plum) !important;
  font-size: 17px;
}

.visual-caption {
  position: absolute;
  right: 3%;
  bottom: 0;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.principles {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(50px, 12vw, 165px);
  padding-block: 92px 102px;
  border-top: 1px solid var(--line);
}

.section-index {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 9px;
}

.principles h2,
.section-heading h2,
.closing-section h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 530;
  letter-spacing: -0.065em;
  line-height: 1.17;
}

.principle-list {
  display: grid;
  align-content: start;
}

.principle-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 18px 0 19px;
  border-top: 1px solid var(--line);
}

.principle-number {
  padding-top: 2px;
  color: var(--plum);
  font-family: var(--mono);
  font-size: 11px;
}

.principle-list h3,
.language-card h3,
.roadmap-copy h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.principle-list p,
.language-card > p,
.roadmap-copy > p:last-of-type {
  max-width: 50ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.language-section {
  padding-block: 97px 91px;
  background: #101019;
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 39px;
}

.section-heading > p {
  max-width: 340px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

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

.language-card {
  position: relative;
  display: flex;
  min-height: 324px;
  flex-direction: column;
  overflow: clip;
  padding: 19px 19px 17px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(150deg, rgb(255 255 255 / 2.5%), transparent 65%), #14141f;
}

.language-card::after {
  position: absolute;
  right: -30px;
  top: 44px;
  width: 130px;
  height: 130px;
  border: 1px solid rgb(207 124 245 / 8%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8f8798;
  font-size: 8px;
}

.candidate-tag {
  padding: 4px 6px;
  border: 1px solid rgb(207 124 245 / 23%);
  border-radius: 3px;
  color: #d28ef1;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.primitive-stack {
  display: grid;
  height: 125px;
  align-content: center;
  justify-items: start;
  gap: 5px;
  padding-left: 11px;
}

.primitive-stack span {
  position: relative;
  min-width: 79px;
  padding: 2px 10px;
  border: 1px solid rgb(207 124 245 / 32%);
  background: rgb(207 124 245 / 5%);
  color: #e5c6f1;
  font-family: var(--mono);
  font-size: 10px;
}

.primitive-stack span:nth-child(2) {
  margin-left: 22px;
  border-color: rgb(133 242 212 / 30%);
  color: var(--mint);
}

.primitive-stack span:nth-child(3) {
  margin-left: 43px;
}

.language-card h3 {
  margin-bottom: 8px;
}

.language-card > p {
  min-height: 67px;
  font-size: 12px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 13px;
}

.card-meta span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #9c93a5;
  font-family: var(--mono);
  font-size: 8px;
}

.behavior-mark {
  position: relative;
  display: flex;
  height: 125px;
  align-items: center;
  gap: 11px;
  padding-left: 24px;
}

.behavior-mark::before {
  position: absolute;
  left: 32px;
  width: 147px;
  height: 1px;
  background: linear-gradient(90deg, rgb(133 242 212 / 50%), rgb(207 124 245 / 20%));
  content: "";
}

.behavior-mark i,
.behavior-mark b {
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  background: #151520;
}

.behavior-mark i:nth-child(2) {
  width: 22px;
  height: 22px;
  border-color: var(--plum);
}

.behavior-mark i:nth-child(3) {
  width: 10px;
  height: 10px;
}

.behavior-mark b {
  width: 7px;
  height: 7px;
  margin-left: 29px;
  border: 0;
  background: var(--plum);
  box-shadow: 0 0 18px var(--plum);
}

.scene-mark {
  position: relative;
  display: grid;
  width: 130px;
  height: 90px;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  justify-items: center;
  gap: 7px;
  margin: 18px 0 17px 17px;
}

.scene-mark span {
  width: 29px;
  height: 17px;
  border: 1px solid rgb(207 124 245 / 55%);
  border-radius: 2px;
  background: rgb(207 124 245 / 11%);
}

.scene-mark span:nth-child(2),
.scene-mark span:nth-child(3) {
  border-color: rgb(133 242 212 / 43%);
  background: rgb(133 242 212 / 7%);
}

.scene-mark i {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  color: var(--mint);
  font-size: 12px;
  font-style: normal;
  transform: translate(-50%, -50%);
}

.candidate-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #918899;
  font-size: 11px;
}

.candidate-note p {
  margin: 0;
}

.note-mark {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(133 242 212 / 42%);
  border-radius: 50%;
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 11px;
}

.playground-section {
  padding-block: 111px 119px;
}

.playground-heading {
  margin-bottom: 37px;
}

.playground-intro {
  display: grid;
  max-width: 360px;
  gap: 12px;
  margin-bottom: 3px;
}

.playground-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bcb3c4;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.preview-label i {
  width: 5px;
  height: 5px;
  background: var(--plum);
  box-shadow: 0 0 10px rgb(207 124 245 / 55%);
}

.playground-frame {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: #11111a;
  box-shadow: 0 28px 80px rgb(0 0 0 / 20%);
}

.playground-toolbar,
.playground-footer {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-inline: 19px;
}

.playground-toolbar {
  border-bottom: 1px solid var(--line);
  background: #15151f;
}

.toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9d1df;
  font-size: 11px;
}

.toolbar-glyph {
  color: var(--plum);
  font-size: 16px;
}

.toolbar-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #978e9f;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.toolbar-status i {
  width: 5px;
  height: 5px;
  background: var(--plum);
  box-shadow: none;
}

.playground-body {
  display: grid;
  min-height: 440px;
  grid-template-columns: minmax(0, 1.42fr) minmax(245px, 0.58fr);
}

.demo-area {
  position: relative;
  display: grid;
  min-height: 440px;
  overflow: hidden;
  place-items: center;
  background-color: #10101a;
  background-image: linear-gradient(rgb(235 221 252 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(235 221 252 / 3%) 1px, transparent 1px);
  background-size: 34px 34px;
  isolation: isolate;
}

.demo-area::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(ellipse at 50% 52%, rgb(111 70 150 / 15%), transparent 55%);
  content: "";
}

.demo-orbit {
  position: absolute;
  z-index: -1;
  width: 72%;
  height: 64%;
  border: 1px solid rgb(212 187 232 / 10%);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.demo-orbit-b {
  width: 52%;
  height: 95%;
  border-style: dashed;
  transform: rotate(38deg);
}

.demo-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 11px var(--mint);
}

.demo-spark-a {
  top: 24%;
  left: 27%;
}

.demo-spark-b {
  right: 25%;
  bottom: 22%;
  background: var(--plum);
  box-shadow: 0 0 11px var(--plum);
}

.demo-card {
  width: min(300px, 64%);
  padding: 18px 19px 15px;
  border: 1px solid rgb(234 217 248 / 23%);
  border-radius: 4px;
  background: linear-gradient(145deg, #20202c, #14141f 82%);
  box-shadow: 0 22px 65px rgb(0 0 0 / 45%);
}

.demo-card-kicker,
.demo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-card-kicker {
  color: #887f92;
  font-size: 7px;
}

.demo-card-kicker span:first-child {
  color: var(--mint);
}

.demo-card-art {
  position: relative;
  display: grid;
  height: 126px;
  overflow: hidden;
  margin: 14px 0 15px;
  place-items: center;
  border: 1px solid rgb(232 214 247 / 9%);
  background: radial-gradient(circle at 50% 49%, rgb(172 91 222 / 17%), transparent 44%), #11111a;
}

.art-ring {
  position: absolute;
  width: 112px;
  height: 112px;
  border: 1px solid rgb(207 124 245 / 48%);
  border-radius: 50%;
  transform: scaleX(0.44) rotate(48deg);
}

.art-ring::before,
.art-ring::after {
  position: absolute;
  inset: -1px;
  border: 1px solid rgb(133 242 212 / 43%);
  border-radius: 50%;
  content: "";
  transform: rotate(80deg) scaleX(0.78);
}

.art-ring::after {
  border-color: rgb(237 203 255 / 42%);
  transform: rotate(-80deg) scaleX(0.78);
}

.art-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 21px 5px rgb(133 242 212 / 45%);
}

.art-label {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: #80778b;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.35;
  text-align: right;
}

.demo-overline {
  margin: 0 0 5px;
  color: var(--plum);
  font-size: 7px;
}

.demo-card h3 {
  margin: 0 0 17px;
  font-size: 24px;
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.demo-card-footer {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #a49baa;
  font-size: 8px;
}

.demo-card-footer span:last-child {
  color: var(--mint);
  font-size: 12px;
}

.demo-axis {
  position: absolute;
  right: 17px;
  bottom: 14px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #787181;
  font-size: 7px;
}

.demo-axis i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgb(207 124 245 / 40%), rgb(133 242 212 / 40%));
}

.demo-controls {
  display: flex;
  flex-direction: column;
  padding: 25px 22px 21px;
  border-left: 1px solid var(--line);
  background: #14141e;
}

.control-block + .control-block {
  margin-top: 27px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.control-label {
  margin: 0 0 12px;
  color: #928999;
  font-size: 8px;
}

.motion-choices {
  display: grid;
  gap: 6px;
}

.motion-choices button {
  display: flex;
  min-height: 37px;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #898192;
  font-family: var(--mono);
  font-size: 9px;
  text-align: left;
}

.motion-choices button span {
  color: #d4cdda;
  font-family: var(--sans);
  font-size: 11px;
}

.motion-choices button[aria-pressed="true"] {
  border-color: rgb(207 124 245 / 31%);
  background: rgb(207 124 245 / 8%);
  color: var(--plum);
}

.motion-choices button[aria-pressed="true"] span {
  color: var(--ink);
}

.control-actions {
  display: grid;
  align-content: start;
}

.replay-button {
  width: 100%;
  justify-content: space-between;
}

.stop-button {
  min-height: 38px;
  margin-top: 8px;
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  background: transparent;
  color: #ccc3d3;
  font-size: 10px;
}

.stop-button:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.motion-status {
  margin: auto 0 0;
  padding-top: 24px;
  color: var(--mint);
  font-size: 10px;
  line-height: 1.7;
}

.motion-footnote {
  margin: 11px 0 0;
  color: #817989;
  font-size: 9px;
  line-height: 1.65;
}

.playground-footer {
  min-height: 40px;
  border-top: 1px solid var(--line);
  color: #807887;
  font-size: 7px;
}

.playground-footer b {
  padding-inline: 4px;
  color: var(--plum);
  font-weight: 400;
}

.roadmap-section {
  padding-block: 94px 106px;
  border-top: 1px solid var(--line);
  background: #101019;
}

.roadmap-heading {
  margin-bottom: 41px;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-step {
  position: relative;
  display: grid;
  grid-template-rows: 47px 1fr;
  padding-right: 28px;
}

.roadmap-marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #827a8a;
  font-family: var(--mono);
  font-size: 9px;
}

.roadmap-marker i {
  position: absolute;
  z-index: 0;
  top: 23px;
  right: -1px;
  left: 27px;
  height: 1px;
  background: var(--line-bright);
}

.roadmap-marker i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid #827a8a;
  border-right: 1px solid #827a8a;
  content: "";
  transform: rotate(45deg);
}

.roadmap-marker span {
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: #101019;
}

.roadmap-current .roadmap-marker span {
  border-color: var(--mint);
  color: var(--mint);
}

.roadmap-copy {
  padding-top: 11px;
}

.roadmap-state {
  min-height: 21px;
  margin: 0 0 8px;
  color: #8a8291;
  font-size: 8px;
}

.roadmap-current .roadmap-state {
  color: var(--mint);
}

.roadmap-copy h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.roadmap-copy > p:last-of-type {
  min-height: 67px;
  max-width: 37ch;
  font-size: 11px;
}

.roadmap-badge {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #9d94a5;
  font-size: 9px;
}

.roadmap-current .roadmap-badge {
  border-color: rgb(133 242 212 / 26%);
  color: var(--mint);
}

.closing-section {
  position: relative;
  display: grid;
  min-height: 380px;
  grid-template-columns: 1fr 0.65fr;
  align-items: center;
  gap: 45px;
  overflow: clip;
  padding-block: 77px;
  isolation: isolate;
}

.closing-section::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: -16vw;
  bottom: 0;
  left: -16vw;
  background: linear-gradient(105deg, #17121e, #201329 55%, #17121e);
  content: "";
}

.closing-orbit {
  position: absolute;
  z-index: -1;
  top: -58%;
  right: 1%;
  width: 490px;
  height: 590px;
  border: 1px solid rgb(207 124 245 / 16%);
  border-radius: 50%;
  transform: rotate(37deg) scaleX(0.6);
}

.closing-orbit::before,
.closing-orbit::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(133 242 212 / 11%);
  border-radius: 50%;
  content: "";
  transform: rotate(63deg) scaleX(0.83);
}

.closing-orbit::after {
  border-color: rgb(207 124 245 / 11%);
  transform: rotate(-63deg) scaleX(0.83);
}

.closing-section h2 {
  font-size: clamp(43px, 6.3vw, 75px);
  line-height: 0.99;
}

.closing-copy p {
  max-width: 330px;
  margin: 0 0 23px;
  color: #c2b8ca;
  font-size: 14px;
  line-height: 1.75;
}

.button-light {
  background: var(--ink);
  color: #17111b;
}

.button-light:hover {
  background: #fff;
}

.site-footer {
  display: grid;
  min-height: 112px;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 25px;
  color: #958c9e;
}

.footer-wordmark {
  color: var(--ink);
  font-size: 16px;
}

.footer-wordmark .brand-mark {
  transform: scale(0.86);
}

.site-footer > p {
  margin: 0;
  font-size: 10px;
}

.footer-links {
  display: flex;
  gap: 17px;
  font-size: 10px;
}

.footer-links a span {
  color: var(--plum);
}

.copyright {
  color: #6c6574;
  font-size: 8px;
}

@media (max-width: 980px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 48px, 760px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    padding-block: 75px 78px;
  }

  .hero h1 {
    font-size: clamp(60px, 9vw, 84px);
  }

  .hero-visual {
    min-height: 405px;
  }

  .window-content {
    padding: 27px 27px 24px;
  }

  .window-kicker {
    margin-bottom: 34px;
  }

  .principles {
    gap: 60px;
  }

  .language-card {
    min-height: 355px;
    padding-inline: 15px;
  }

  .demo-controls {
    padding-inline: 17px;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
  }

  .site-footer > p {
    display: none;
  }
}

@media (max-width: 700px) {
  .section-shell,
  .nav-shell {
    width: calc(100% - 40px);
  }

  .nav-shell {
    min-height: 64px;
  }

  .wordmark {
    font-size: 18px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links > a:not(.nav-github) {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: -8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 65px 55px;
  }

  .hero::before {
    top: 20%;
    right: -70%;
    width: 140%;
    height: 75%;
  }

  .hero h1 {
    font-size: clamp(61px, 13.2vw, 91px);
  }

  .hero-lede {
    max-width: 470px;
    font-size: 17px;
  }

  .hero-footnote {
    margin-top: 19px;
  }

  .hero-visual {
    min-height: 405px;
    margin-top: 13px;
  }

  .hero-window {
    width: min(360px, 77%);
  }

  .note-top {
    left: 0;
  }

  .note-bottom {
    right: 0;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 33px;
    padding-block: 65px 72px;
  }

  .principles h2,
  .section-heading h2 {
    font-size: clamp(34px, 8.3vw, 46px);
  }

  .language-section {
    padding-block: 69px 67px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 27px;
  }

  .section-heading > p {
    max-width: 480px;
  }

  .mobile-break {
    display: none;
  }

  .language-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .language-card {
    min-height: 300px;
    padding-inline: 18px;
  }

  .primitive-stack,
  .behavior-mark {
    height: 103px;
  }

  .scene-mark {
    height: 68px;
    margin-block: 16px;
  }

  .language-card > p {
    min-height: auto;
  }

  .candidate-note {
    align-items: start;
    line-height: 1.6;
  }

  .playground-section {
    padding-block: 76px 81px;
  }

  .playground-heading {
    margin-bottom: 28px;
  }

  .playground-body {
    grid-template-columns: 1fr;
  }

  .demo-area {
    min-height: 385px;
  }

  .demo-card {
    width: min(286px, 72%);
  }

  .demo-controls {
    min-height: auto;
    padding: 21px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .motion-choices button {
    justify-content: center;
    gap: 6px;
    padding-inline: 5px;
  }

  .control-actions {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 9px;
  }

  .control-actions .control-label {
    grid-column: 1 / -1;
  }

  .stop-button {
    min-height: 48px;
    margin-top: 0;
  }

  .motion-status {
    margin-top: 16px;
    padding-top: 0;
  }

  .playground-footer {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-block: 10px;
  }

  .roadmap-section {
    padding-block: 70px 75px;
  }

  .roadmap-list {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .roadmap-step {
    grid-template-columns: 39px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 13px;
    padding-right: 0;
  }

  .roadmap-marker {
    align-items: start;
  }

  .roadmap-marker i {
    top: 30px;
    right: auto;
    bottom: -34px;
    left: 13px;
    width: 1px;
    height: auto;
    background: var(--line-bright);
  }

  .roadmap-marker i::after {
    top: auto;
    right: -2px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .roadmap-copy {
    padding-top: 0;
  }

  .roadmap-state {
    min-height: 0;
  }

  .roadmap-copy > p:last-of-type {
    min-height: auto;
  }

  .closing-section {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 65px;
  }

  .closing-section h2 {
    font-size: clamp(49px, 12vw, 67px);
  }

  .closing-copy p {
    margin-bottom: 17px;
  }

  .closing-orbit {
    top: -37%;
    right: -49%;
    width: 390px;
    height: 480px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-block: 21px;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
  }

  .copyright {
    justify-self: end;
  }
}

@media (max-width: 390px) {
  .section-shell,
  .nav-shell {
    width: calc(100% - 32px);
  }

  .nav-github {
    min-height: 34px !important;
    padding-inline: 9px !important;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-visual {
    min-height: 370px;
  }

  .hero-window {
    width: 79%;
  }

  .window-content {
    padding: 25px 23px 22px;
  }

  .window-content h2 {
    font-size: 31px;
  }

  .floating-note {
    font-size: 8px;
  }

  .note-top {
    left: -3px;
  }

  .note-bottom {
    right: -4px;
  }

  .demo-area {
    min-height: 345px;
  }

  .demo-card {
    width: 76%;
    padding-inline: 14px;
  }

  .motion-choices button {
    flex-direction: column;
    gap: 0;
    font-size: 8px;
  }

  .motion-choices button span {
    font-size: 10px;
  }

  .footer-links {
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
