:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #07090d;
  color: #f6f8fb;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 0%, #153c5f 0, transparent 34rem),
    radial-gradient(circle at 100% 18%, #3a165f 0, transparent 30rem),
    #07090d;
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 14px;
  height: 18px;
  background:
    linear-gradient(#d92532 0 0) 2px 0 / 10px 3px,
    linear-gradient(#d92532 0 0) 0 3px / 14px 2px,
    linear-gradient(#d92532 0 0) 1px 5px / 3px 12px,
    linear-gradient(#d92532 0 0) 10px 5px / 3px 12px,
    linear-gradient(#d92532 0 0) 0 16px / 14px 2px,
    linear-gradient(#8fd3eb 0 0) 4px 5px / 6px 11px;
  background-repeat: no-repeat;
  image-rendering: pixelated;
}

.repository-link {
  padding: 8px 12px;
  border: 1px solid #303846;
  border-radius: 999px;
  color: #cad3df;
  font-size: 13px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.repository-link:hover {
  border-color: #5d6c80;
  background: #ffffff0a;
  color: #ffffff;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: end;
  padding: clamp(64px, 11vw, 128px) 0 clamp(72px, 10vw, 112px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #55c9f4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #aab5c4;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.hero-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid #28313d;
  border-radius: 14px;
  background: #0d121acc;
  box-shadow: 0 24px 70px #00000040;
}

.hero-note p {
  margin: 0;
  color: #9eabba;
  font-size: 13px;
  line-height: 1.6;
}

.hero-note strong {
  color: #e9eef5;
}

.status-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #00c8ff;
  box-shadow: 0 0 14px #00c8ff;
}

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

.section-heading > p {
  max-width: 320px;
  margin: 0 0 4px;
  color: #7f8b9a;
  font-size: 13px;
  text-align: right;
}

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

.frame {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 14px;
  border: 1px solid #222a35;
  border-radius: 14px;
  background: linear-gradient(145deg, #10151dcc, #0a0d12e6);
  box-shadow:
    0 20px 48px #0000002e,
    inset 0 1px #ffffff08;
}

.frame-label {
  color: #c8d1df;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canvas-shell {
  width: 304px;
  max-width: 100%;
  justify-self: center;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #29313d;
  border-radius: 8px;
  background: #020305;
  box-shadow:
    inset 0 0 18px #000000,
    0 10px 28px #00000066;
}

canvas {
  display: block;
  width: 288px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 72 / 16;
  border-radius: 2px;
  background: #000000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 36px;
  color: #6f7b89;
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer a {
  color: #aab5c4;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .frames {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .section-heading > p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1120px);
  }

  .repository-link {
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero {
    padding-top: 48px;
  }
}
