:root {
  --bg: #0c0c0c;
  --bg2: #141414;
  --fg: #e8e8e8;
  --dim: #8a8a8a;
  --line: #2a2a2a;
  --hit: #ff7a00;
  --hit-dim: #c45e00;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(1100px 640px at 8% -8%, #1a1510 0%, transparent 55%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 50%, #090909 100%);
  color: var(--fg);
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--hit);
  z-index: 3;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-1.5%, 1%); }
  100% { transform: translate(1%, -1%); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
}

.home {
  padding-bottom: 2.75rem;
  animation: rise 520ms ease-out both;
}

.brand-title {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  line-height: 0.95;
  color: var(--hit);
}

.product {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas:
    "copy device"
    "listen listen";
  gap: 1.75rem 3rem;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  animation: rise 620ms ease-out 80ms both;
}

.product-copy {
  grid-area: copy;
}

.device {
  grid-area: device;
  position: relative;
  border: 1px solid var(--line);
  background: #0a0a0a;
  min-height: 9rem;
}

.listen {
  grid-area: listen;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}

.product-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hit);
  margin-bottom: 0.85rem;
}

.product-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin-bottom: 0.9rem;
  color: #f3f3f3;
}

.product-line {
  max-width: 26rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: #bdbdbd;
  margin-bottom: 1.6rem;
}

.cta-wrap {
  margin-bottom: 1.15rem;
}

.cta {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0a0a;
  background: var(--hit);
  border: 1px solid var(--hit);
  padding: 0.95rem 1.55rem;
  transition: background 120ms linear, color 120ms linear, border-color 120ms linear;
}

.cta:hover,
.cta:focus-visible {
  background: transparent;
  color: var(--hit);
  outline: none;
}

.cta:active {
  border-color: var(--hit-dim);
  color: var(--hit-dim);
}

.install {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--dim);
  max-width: 22rem;
  line-height: 1.5;
}

.device-photo {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.device-photo.is-missing {
  display: none;
}

.device-fallback {
  display: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #666;
  padding: 2.5rem 1rem;
  text-align: center;
}

.device.is-empty .device-fallback {
  display: block;
}

.demos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  max-width: 44rem;
}

.demo-title {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.65rem;
}

.listen-lbl {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.85rem;
}

.ab {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ab-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  font: inherit;
  color: var(--fg);
  background: #101010;
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 120ms linear, background 120ms linear;
}

.ab-btn:hover,
.ab-btn:focus-visible {
  border-color: #444;
  outline: none;
}

.ab-btn.is-playing {
  border-color: var(--hit);
  background: #16120e;
}

.ab-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ab-key {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--hit);
}

.ab-name {
  font-size: 0.98rem;
}

.ab-state {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.ab-btn.is-playing .ab-state {
  color: var(--hit);
}

.listen-note {
  margin-top: 0.75rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #6e6e6e;
}

.soon {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
  animation: rise 700ms ease-out 140ms both;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 1.75rem, 640px);
    padding: 3.25rem 0 3rem;
  }

  .home {
    padding-bottom: 2.25rem;
  }

  .brand-title {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .product {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "device"
      "listen";
    gap: 1.5rem;
    padding-top: 2rem;
  }

  .product-title {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .demos {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .noise {
    animation: none;
  }

  .home,
  .product,
  .soon {
    animation: none;
  }
}
