:root {
  --bg: #080d0c;
  --panel: #101916;
  --line: #283b32;
  --blue: #00bfff;
  --green: #a2b56e;
  --text: #f0f5ed;
  --muted: #a3b2a9;
  --mono: ui-monospace,SFMono-Regular,Consolas,monospace;
  --sans: Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,textarea {
  font: inherit;
}
button,a,input,textarea {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:focus-visible,a:focus-visible {
  outline: 2px solid var(--blue);
}
[hidden] {
  display: none!important;
}
#network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .45;
  pointer-events: none;
}
body:before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 80% 10%,#142b25 0,transparent 55%),linear-gradient(#13231b55 1px,transparent 1px),linear-gradient(90deg,#13231b55 1px,transparent 1px);
  background-size: auto,48px 48px,48px 48px;
}
.shell {
  width: min(1180px,calc(100% - 64px));
  margin-inline: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px max(32px,calc((100vw - 1180px)/2));
  background: #080d0ce8;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.brand strong {
  color: var(--blue);
}
.mark {
  font: 800 25px var(--mono);
  color: var(--blue);
}
.mark b {
  color: var(--green);
}
nav {
  display: flex;
  gap: 27px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
nav a {
  color: var(--muted);
  transition: color .2s;
}
nav a:hover,nav a.active {
  color: var(--blue);
}
.motion {
  font: 12px var(--mono);
  background: #12211a;
  border: 1px solid #41553a;
  color: var(--green);
  padding: 7px 11px;
  border-radius: 4px;
  white-space: nowrap;
}
.motion span {
  color: var(--blue);
}
#menu {
  display: none;
}
.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  background: var(--blue);
  color: #000;
  z-index: 99;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  position: relative;
  padding-block: 75px 90px;
  gap: 28px;
}
.signal,.micro,.section-label,.hud {
  font: 11px/1.5 var(--mono);
  letter-spacing: .11em;
  color: var(--green);
}
.signal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.signal i,.live-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.signal span,.micro span {
  color: var(--blue);
}
h1,h2,h3,p {
  margin: 0;
}
h1 {
  font-size: clamp(58px,7.1vw,105px);
  line-height: .99;
  letter-spacing: -.085em;
  margin: 28px 0;
  font-weight: 800;
}
em {
  font-style: normal;
  color: var(--blue);
}
h1 em {
  color: var(--text);
  background: linear-gradient(105deg,#b5c389 0%,#00bfff 78%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h1 em span {
  -webkit-text-fill-color: var(--blue);
}
p {
  color: var(--muted);
}
.hero p {
  max-width: 520px;
  font-size: 18px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 20px;
  border: 1px solid #47614c;
  background: #111d18;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  border-radius: 7px;
  transition: transform .2s,border-color .2s,box-shadow .2s;
}
.btn:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 0 24px #00bfff22;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #051018;
}
.btn.small {
  padding: 9px 13px;
  font-size: 12px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-width: 0;
}
.orbit {
  position: absolute;
  border: 1px solid #536b3f75;
  border-radius: 50%;
  inset: 7%;
  z-index: -1;
}
.o1 {
  border-style: dashed;
  animation: spin 38s linear infinite;
}
.o2 {
  inset: 14%;
  border-color: #00bfff55;
  animation: spin 24s linear infinite reverse;
  border-top: 3px solid var(--blue);
}
.o3 {
  inset: 1%;
  border-color: #00bfff22;
  border-bottom: 2px solid #556b2f;
}
.axis {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,transparent 49.9%,#00bfff22 50%,transparent 50.2%),linear-gradient(transparent 49.9%,#00bfff22 50%,transparent 50.2%);
  z-index: -1;
}
.logo-frame {
  width: 86%;
  filter: drop-shadow(0 0 24px #00bfff22);
  animation: float 5s ease-in-out infinite;
}
.logo-frame img {
  width: 100%;
  display: block;
}
.hud {
  position: absolute;
  color: #8caa8b;
  font-size: 10px;
}
.tl {
  top: 9%;
  left: 2%;
}
.br {
  bottom: 9%;
  right: 0;
}
.bl {
  bottom: 9%;
  left: 0;
}
.scrollhint {
  position: absolute;
  bottom: 22px;
  left: 0;
  font: 11px var(--mono);
  color: var(--muted);
  letter-spacing: .13em;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  50% {
    transform: translateY(-9px);
  }
}
.ticker {
  border-block: 1px solid var(--line);
  background: #101c15a8;
}
.ticker .shell {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  padding: 19px 0;
  font: 11px var(--mono);
  color: #c1cfbf;
  letter-spacing: .06em;
}
.ticker b {
  color: var(--blue);
  margin-right: 6px;
}
.section {
  padding-block: 78px;
  border-bottom: 1px solid var(--line);
}
.section-label {
  margin-bottom: 13px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head p {
  max-width: 400px;
}
h2 {
  font-size: clamp(35px,4.5vw,61px);
  line-height: 1.08;
  letter-spacing: -.06em;
}
h3 {
  font-size: 24px;
  letter-spacing: -.035em;
  line-height: 1.25;
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.project,.lab,.terminal,.price-panel,form {
  background: linear-gradient(145deg,#14211b,#0b1210);
  border: 1px solid #304439;
  border-radius: 15px;
  overflow: hidden;
}
.project {
  transition: transform .2s,border-color .2s;
  transform-style: preserve-3d;
}
.project:hover {
  border-color: var(--blue);
}
.windowbar {
  height: 36px;
  background: #101a16;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
}
.windowbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #546859;
}
.windowbar i:first-child {
  background: var(--blue);
}
.windowbar span {
  margin-left: 8px;
  font: 11px var(--mono);
  color: var(--muted);
}
.project-art {
  height: 240px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse,#34462d,#0a100e 70%);
  padding: 20px;
}
.project-art img {
  max-width: 90%;
  max-height: 190px;
  object-fit: contain;
}
.project-art.dw {
  background: radial-gradient(ellipse,#0c3440,#0a100e 70%);
}
.project-body {
  padding: 25px;
  display: grid;
  gap: 12px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags span {
  border: 1px solid #3c5140;
  padding: 4px 8px;
  border-radius: 4px;
  font: 10px var(--mono);
  color: var(--green);
}
.text-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  width: fit-content;
}
.text-link:hover {
  text-decoration: underline;
}
.lab {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 350px;
}
.lab-controls {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line);
}
.lab-controls label {
  margin-top: 6px;
}
.lab-controls output {
  float: right;
  color: var(--blue);
  font: 12px var(--mono);
}
.swatches {
  display: flex;
  gap: 10px;
}
.swatches button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--swatch);
  border: 3px solid #101916;
}
.swatches button[aria-pressed=true] {
  outline: 2px solid var(--swatch);
}
input[type=range] {
  width: 100%;
  accent-color: var(--blue);
}
.lab-stage {
  --accent: #00bfff;
  --radius: 18px;
  --glow: 25px;
  display: grid;
  place-items: center;
  padding: 35px;
  background: radial-gradient(ellipse at center,color-mix(in srgb,var(--accent) 14%,#0a100d),#0a100d 75%);
  min-width: 0;
}
.demo-card {
  padding: 28px;
  text-align: center;
  width: min(100%,360px);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 0 var(--glow) color-mix(in srgb,var(--accent) 38%,transparent);
  background: #111b17;
  display: grid;
  gap: 12px;
}
.demo-icon {
  font: 800 40px var(--mono);
  color: var(--accent);
}
.demo-card button {
  background: var(--accent);
  border: 0;
  border-radius: calc(var(--radius)/2);
  color: #08120e;
  font-weight: 800;
  padding: 10px;
}
.demo-card #demo-status {
  font: 10px var(--mono);
  color: var(--accent);
}
.about-grid,.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.about-grid p {
  margin: 20px 0;
  font-size: 17px;
}
.terminal-body {
  padding: 25px;
  font: 14px/1.7 var(--mono);
  color: var(--blue);
}
.terminal-result {
  color: #c8d8c4;
  margin: 3px 0 15px;
}
.cursor {
  animation: blink 1s steps(2,start) infinite;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
.price-panel,form {
  padding: 26px;
}
.price {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 10px 0;
}
.price small {
  font: 12px var(--mono);
  color: var(--green);
  padding-bottom: 12px;
}
.price strong {
  font-size: 76px;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -.08em;
}
.price-panel p {
  margin-top: 12px;
}
.price-panel ul {
  padding-left: 20px;
  color: #cad5c7;
}
.fine {
  font-size: 12px;
  color: var(--muted);
}
form {
  display: grid;
  gap: 15px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  display: block;
  font-size: 13px;
  color: #dbe5d9;
  font-weight: 650;
}
input:not([type=range]),textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: #09110e;
  border: 1px solid #374b3e;
  border-radius: 6px;
  color: var(--text);
  padding: 11px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
input:focus,textarea:focus {
  outline: 1px solid var(--blue);
  outline-offset: 0;
}
.github {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}
.github p {
  margin-top: 12px;
}
.github-mark {
  margin-left: auto;
  font: 800 80px var(--mono);
  color: #476344;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  font-size: 12px;
  color: var(--muted);
}
footer .brand {
  color: var(--text);
}
#toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #172a21;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 14px 20px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .2s;
  z-index: 30;
  max-width: calc(100vw - 44px);
}
#toast.visible {
  opacity: 1;
  transform: none;
}
.no-motion *, .no-motion *:before,.no-motion *:after {
  animation: none!important;
  transition: none!important;
  scroll-behavior: auto!important;
}
.no-motion {
  scroll-behavior: auto!important;
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }
}
@media(max-width:900px) {
  header {
    padding: 15px 22px;
    gap: 12px;
  }
  nav {
    gap: 14px;
  }
  .shell {
    width: calc(100% - 44px);
  }
  .hero {
    min-height: 540px;
    gap: 12px;
  }
  .hero p {
    font-size: 16px;
  }
  .ticker .shell {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding-block: 55px;
  }
  .project-art {
    height: 190px;
  }
}
@media(max-width:700px) {
  header {
    flex-wrap: wrap;
  }
  .brand {
    font-size: 15px;
  }
  .mark {
    font-size: 22px;
  }
  #menu {
    display: block;
    margin-left: auto;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 5px 10px;
  }
  nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 11px 4px;
    border-top: 1px solid var(--line);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 55px 65px;
    min-height: 0;
  }
  .hero-visual {
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .hero h1 {
    font-size: clamp(54px,12vw,86px);
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 13px;
  }
  .projects,.about-grid,.contact-grid,.lab {
    grid-template-columns: 1fr;
  }
  .lab-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .lab-stage {
    padding: 24px;
  }
  .github-mark {
    display: none;
  }
  .github,footer {
    flex-wrap: wrap;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .ticker .shell {
    font-size: 10px;
  }
  .project-art {
    height: 210px;
  }
}
@media(max-width:365px) {
  header {
    padding-inline: 12px;
  }
  .shell {
    width: calc(100% - 28px);
  }
  .brand {
    gap: 5px;
  }
  .motion {
    padding: 5px;
  }
  .hero h1 {
    font-size: 48px;
  }
}
.pricing-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.plan {
  display: grid;
  gap: 12px;
}
.plan p,.plan ul {
  margin: 0;
}
.plan li {
  margin-block: 5px;
}
.plan.managed {
  border-color: #007fa8;
  box-shadow: 0 0 24px #00bfff12;
}
.plan-cost {
  font-size: clamp(30px,4vw,44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.04em;
  color: var(--blue);
}
.plan-cost span {
  font: 12px var(--mono);
  color: var(--muted);
  letter-spacing: 0;
}
.plan-cost.monthly {
  color: var(--green);
}
.plan-select {
  justify-self: start;
}
.pricing-intro .price strong {
  font-size: clamp(48px,7vw,76px);
}
#inquiry {
  scroll-margin-top: 110px;
}
select {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: #09110e;
  border: 1px solid #374b3e;
  border-radius: 6px;
  color: var(--text);
  padding: 11px;
  min-width: 0;
  font: inherit;
}
select:focus {
  outline: 1px solid var(--blue);
}
.lab-stage {
  --demo-scale: 1;
  --demo-width: 360px;
  min-height: 350px;
}
.demo-card {
  width: min(100%,var(--demo-width));
  min-width: 0;
  overflow-wrap: anywhere;
}
.demo-card h3 {
  font-size: calc(24px * var(--demo-scale));
}
.demo-card p {
  font-size: calc(16px * var(--demo-scale));
  white-space: pre-wrap;
}
.demo-card button {
  font-size: calc(14px * var(--demo-scale));
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
}
.lab-controls input:not([type=range]),.lab-controls textarea {
  margin-top: 0;
}
.lab-controls {
  min-width: 0;
}
.lab-controls label {
  margin-top: 2px;
}
.hello-world {
  display: flex;
  align-items: center;
  gap: .35ch;
  color: var(--blue,#00bfff);
  font: 600 16px/1.6 monospace;
  margin: 14px 0 8px;
  min-height: 26px;
  white-space: nowrap;
}
.hello-text {
  display: inline-block;
  width: 13ch;
  overflow: hidden;
  animation: hello-type 1.1s steps(13,end) both;
}
.hello-cursor {
  animation: hello-blink 1s step-end infinite;
}
@keyframes hello-type {
  from {
    width: 0;
  }
  to {
    width: 13ch;
  }
}
@keyframes hello-blink {
  50% {
    opacity: 0;
  }
}
.no-motion .hello-text,.no-motion .hello-cursor {
  animation: none!important;
}
@media(prefers-reduced-motion:reduce) {
  .hello-text,.hello-cursor {
    animation: none!important;
  }
}
#lab .lab-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 30px;
}
#lab .lab-intro h2 {
  max-width: none;
}
#lab .lab-intro-copy {
  display: grid;
  gap: 9px;
  max-width: 760px;
}
#lab .lab-intro-copy p {
  max-width: none;
  margin: 0;
  line-height: 1.6;
}
#lab .lab-intro-copy p:last-child {
  color: var(--green);
}
@media(max-width:700px) {
  #lab .lab-intro {
    gap: 12px;
    margin-bottom: 24px;
  }
  #lab .lab-intro-copy {
    gap: 8px;
  }
}
.demo-card .hello-world {
  justify-content: center;
  margin: 0;
  min-height: 20px;
  font: 600 13px/1.5 var(--mono);
  color: var(--accent);
  letter-spacing: .04em;
}
#works {
  padding-block: 48px;
}
.works-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.works-intro p {
  max-width: 760px;
}
.repo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  margin-bottom: 12px;
  border: 1px solid #304439;
  border-radius: 10px;
  background: linear-gradient(110deg,#14211b,#0b1210);
  transition: border-color .2s,background .2s;
}
.repo-link:hover {
  border-color: var(--blue);
  background: #142521;
}
.repo-link svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--blue);
}
.repo-link strong,.index-title strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}
.repo-link small,.index-title small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.repo-arrow {
  margin-left: auto;
  color: var(--blue);
  font-size: 22px;
  flex: none;
}
.works-index {
  border: 1px solid #304439;
  border-radius: 10px;
  background: #101916;
  overflow: hidden;
}
.works-index summary {
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  padding: 14px 18px;
  list-style: none;
  user-select: none;
}
.works-index summary::-webkit-details-marker {
  display: none;
}
.works-index summary:hover {
  background: #16251d;
}
.works-index summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -3px;
}
.index-icon {
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
  flex: none;
  transition: transform .2s;
}
.works-index[open] .index-icon {
  transform: rotate(90deg);
}
.index-title {
  min-width: 0;
}
.index-count {
  margin-left: auto;
  color: var(--green);
  font: 11px var(--mono);
  white-space: nowrap;
}
#works .projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  border-top: 1px solid var(--line);
}
#works .project-row {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
}
#works .project-row+.project-row {
  border-top: 1px solid var(--line);
}
.project-row img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #080d0c;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.project-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.project-info h3 {
  font-size: 18px;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.project-info p {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.project-action {
  white-space: nowrap;
  font-size: 13px;
}
@media(max-width:700px) {
  #works {
    padding-block: 36px;
  }
  .repo-link,.works-index summary {
    padding: 12px;
  }
  .repo-link small {
    line-height: 1.4;
  }
  #works .project-row {
    grid-template-columns: 48px minmax(0,1fr);
    gap: 8px 12px;
    padding: 12px;
  }
  .project-row img {
    width: 48px;
    height: 48px;
    align-self: start;
  }
  .project-action {
    grid-column: 2;
    white-space: normal;
  }
}
.playground-link {
  margin: 12px 0 0;
}
.play-icon {
  font: 700 24px var(--mono);
  color: var(--blue);
  flex: none;
}
.experiment-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}
.experiment {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  background: linear-gradient(145deg,#14211b,#0b1210);
  border: 1px solid #304439;
  border-radius: 15px;
  padding: 22px;
}
.experiment h3 {
  font-size: 25px;
}
.experiment p {
  font-size: 14px;
}
.experiment-controls {
  display: grid;
  gap: 9px;
  margin-top: auto;
}
.experiment-controls label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.experiment-controls input[type=range] {
  width: 100%;
  accent-color: var(--blue);
}
.experiment-controls output {
  color: var(--blue);
  font: 12px var(--mono);
}
.experiment-controls code {
  font: 12px/1.6 var(--mono);
  overflow-wrap: anywhere;
  color: var(--green);
  background: #080d0c;
  padding: 10px;
  border-radius: 6px;
}
.experiment-controls .btn {
  justify-self: start;
}
.color-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.color-pair input[type=color] {
  width: 42px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px;
  background: #080d0c;
  cursor: pointer;
}
.gradient-preview,.tilt-stage,.motion-stage,.device-stage {
  min-height: 200px;
  border-radius: 9px;
  border: 1px solid #35483b;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #080d0c;
  overflow: hidden;
}
.gradient-preview strong {
  padding: 8px 14px;
  background: #080d0cde;
  color: #fff;
  border-radius: 5px;
  text-align: center;
}
.device-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.device-buttons [aria-pressed=true] {
  border-color: var(--blue);
  color: var(--blue);
}
.device-stage {
  min-height: 228px;
  padding: 12px;
}
.device-frame {
  width: 100%;
  max-width: 100%;
  container-type: inline-size;
  border: 1px solid #52695b;
  border-radius: 7px;
  overflow: hidden;
  background: #121e19;
  transition: width .25s;
}
.device-frame[data-device=tablet] {
  width: 76%;
}
.device-frame[data-device=phone] {
  width: 46%;
}
.mini-site {
  padding: 12px;
  display: grid;
  gap: 12px;
}
.mini-nav {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font: 8px var(--mono);
  color: var(--green);
}
.mini-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 6px;
}
.mini-content h4 {
  font-size: 19px;
  line-height: 1.1;
  margin: 0;
}
.mini-content p {
  font-size: 10px;
  margin: 4px 0;
}
.mini-button {
  display: inline-block;
  background: var(--blue);
  color: #080d0c;
  font: 700 9px var(--sans);
  padding: 4px 8px;
  border-radius: 3px;
}
.mini-art {
  display: grid;
  place-items: center;
  min-height: 65px;
  border: 1px solid #385140;
  border-radius: 5px;
  background: #0a1713;
  color: var(--blue);
  font: 700 19px var(--mono);
}
.mini-tiles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 5px;
}
.mini-tiles i {
  height: 15px;
  border-radius: 3px;
  background: #324638;
}
@container(max-width:310px) {
  .mini-content {
    grid-template-columns: 1fr;
  }
  .mini-art {
    min-height: 32px;
  }
  .mini-nav span {
    display: none;
  }
  .mini-tiles {
    grid-template-columns: 1fr;
  }
  .mini-tiles i {
    height: 5px;
  }
}
.tilt-stage {
  perspective: 700px;
  background: radial-gradient(ellipse,#263a26,#080d0c 80%);
}
.depth-card {
  width: min(230px,100%);
  min-height: 135px;
  display: grid;
  place-items: center;
  padding: 15px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: linear-gradient(145deg,#243b29,#101916);
  box-shadow: 0 10px 30px #00bfff28;
  transform-style: preserve-3d;
  transition: transform .12s;
}
.depth-card strong {
  font: 800 clamp(23px,5vw,40px) var(--mono);
  color: var(--blue);
  transform: translateZ(28px);
}
.depth-card span {
  font: 9px var(--mono);
  color: var(--green);
  transform: translateZ(16px);
  text-align: center;
}
.motion-object {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 20px;
  color: var(--blue);
  background: #142b25;
  box-shadow: 0 0 20px #00bfff38;
  font: 700 30px var(--mono);
  animation-duration: var(--duration,1.5s);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.motion-stage {
  min-height: 200px;
}
@keyframes demo-bounce {
  0%,100% {
    transform: translateY(20px);
  }
  50% {
    transform: translateY(-30px);
  }
}
@keyframes demo-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes demo-pulse {
  50% {
    transform: scale(1.28);
    box-shadow: 0 0 32px #00bfff80;
  }
}
.playground-end {
  padding-block: 40px;
  display: grid;
  justify-items: start;
  gap: 10px;
}
.experiment button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.motion {
  min-width: 79px;
}
.motion span {
  display: inline-block;
  min-width: 3ch;
  text-align: left;
}
@media(max-width:700px) {
  .experiment-grid {
    grid-template-columns: 1fr;
  }
  .experiment {
    padding: 16px;
  }
  .play-icon {
    font-size: 20px;
  }
}
