@import url("overlay.css");
:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #e8ece8;
  background: #101a1c;
  color-scheme: dark;
}
body {
  background: #101a1c;
  min-height: 100vh;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
nav {
  max-width: 1180px;
  margin: auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff1a;
}
nav strong {
  font-family: ui-monospace, monospace;
  font-size: 21px;
  letter-spacing: -1px;
}
nav strong span {
  color: #ff7564;
}
nav a:last-child {
  font-size: 13px;
  color: #b7c6c1;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 56px 24px 70px;
}
.eyebrow {
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 2px;
  color: #e4bd70;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
h1 {
  font-family: inherit;
  color: #f0f2e8;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -3px;
  line-height: 1.05;
  margin: 20px 0;
}
h1 em {
  font-style: normal;
  color: #ff7564;
}
p {
  color: #afc0bb;
  line-height: 1.7;
  font-size: 15px;
}
.lead {
  font-size: 18px;
  max-width: 520px;
}
.demo-frame {
  background: #263537;
  border: 1px solid #405252;
  border-radius: 16px;
  padding: 16px;
  position: relative;
}
.demo-frame iframe {
  border: 0;
  width: 100%;
  height: 450px;
  display: block;
}
.demo-label {
  font:
    11px ui-monospace,
    monospace;
  color: #dbbc77;
  padding: 8px;
}
.section {
  border-top: 1px solid #ffffff1a;
  padding-top: 32px;
  margin-top: 40px;
}
h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 17px;
}
input,
select,
button,
.button {
  font: inherit;
  border-radius: 6px;
  padding: 12px 14px;
  border: 1px solid #485b58;
  background: #1b2b2c;
  color: #eaf0eb;
}
button,
.button {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
button:hover,
.button:hover {
  background: #304540;
}
button.primary,
.button.primary {
  background: #f27663;
  border-color: #f27663;
  color: #172221;
}
input {
  min-width: 0;
}
label {
  font-size: 13px;
  color: #b9c8c3;
  display: block;
  margin: 14px 0 8px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.row input {
  flex: 1;
}
.url-row {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.url-row input {
  flex: 1;
  width: 0;
  font:
    11px ui-monospace,
    monospace;
}
.muted {
  color: #a7b8b2;
  font-size: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #182729;
  border: 1px solid #344744;
  border-radius: 10px;
  padding: 24px;
}
.card .number {
  color: #f27663;
  font:
    12px ui-monospace,
    monospace;
}
.formula {
  font:
    14px ui-monospace,
    monospace;
  color: #e9c381;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
th {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #92a8a0;
  text-transform: uppercase;
}
td,
th {
  padding: 16px 12px;
  border-bottom: 1px solid #ffffff16;
  vertical-align: top;
}
td {
  color: #d1ded7;
}
code {
  font-family: ui-monospace, monospace;
  color: #efbf80;
}
footer.page-footer {
  font-size: 12px;
  color: #92a8a0;
  max-width: 1132px;
  margin: 0 auto;
  padding: 24px 0 40px;
}
.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.catalog-head h1 {
  font-size: 44px;
}
.live-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  margin: 30px 0;
}
.live-card {
  background: #eee8d9;
  color: #34372e;
  border-radius: 10px;
  padding: 24px;
}
.live-card canvas {
  height: 155px;
}
.live-card .row {
  justify-content: space-between;
  font:
    11px ui-monospace,
    monospace;
  margin-bottom: 15px;
}
.big-number {
  font:
    64px ui-monospace,
    monospace;
  color: #ff826c;
  margin: 14px 0;
}
.toolbar {
  margin: 25px 0;
}
.empty {
  text-align: center;
  padding: 48px;
  color: #9cb1a8;
}
#notice {
  min-height: 24px;
  font-size: 13px;
  color: #edc588;
}
#status {
  color: #e6bb6e;
}
.samples {
  max-width: 230px;
  min-width: 160px;
  overflow-wrap: anywhere;
}
.epicenter img {
  height: 24px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #edc588;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .hero,
  .live-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 20px;
  }
  .demo-frame iframe {
    height: 450px;
  }
  .catalog-head {
    align-items: start;
    flex-direction: column;
  }
  main {
    padding-top: 32px;
  }
  h1 {
    letter-spacing: -2px;
  }
}

.stream-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  padding-top: 48px;
  /* Match the child document's scheme so Chrome preserves iframe alpha. */
  color-scheme: light;
  background:
    radial-gradient(ellipse at 75% 18%, #577a8744, transparent 45%),
    linear-gradient(145deg, #101d32 0%, #22323f 45%, #112c29 100%);
  border: 1px solid #526766;
}
.stream-preview:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 35% -30% -15%;
  background:
    repeating-linear-gradient(90deg, transparent 0 49px, #5dc4b423 50px 51px),
    repeating-linear-gradient(0deg, transparent 0 39px, #5dc4b423 40px 41px);
  transform: perspective(260px) rotateX(30deg);
}
.demo-frame .stream-preview iframe {
  height: 740px;
  background: transparent;
  color-scheme: light;
  position: relative;
}
.live-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #cd453e;
  color: white;
  padding: 5px 9px;
  font:
    bold 10px ui-monospace,
    monospace;
  border-radius: 4px;
  letter-spacing: 1px;
}
.scene-label {
  position: absolute;
  top: 22px;
  right: 12px;
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #abc5c8;
}
.try-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin-top: 18px;
  color: #bccdc6;
}
.try-demo a {
  color: #edc588;
  text-decoration: underline;
  text-underline-offset: 4px;
}
