:root {
  color-scheme: dark;
  --ink: #f7f1e8;
  --muted: #b9b1a4;
  --paper: #0e0e0f;
  --panel: rgba(9, 9, 10, 0.72);
  --line: rgba(247, 241, 232, 0.16);
  --gold: #e0b15a;
  --mint: #54d4a0;
  --dark: #09090a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.screen {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  padding: 86px clamp(20px, 4vw, 64px) 22px;
  background: #0e0e0f;
}

#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.68;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 14, 15, 0.98), rgba(14, 14, 15, 0.75) 48%, rgba(14, 14, 15, 0.28)),
    linear-gradient(180deg, rgba(14, 14, 15, 0.3), rgba(14, 14, 15, 0.98));
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: rgba(9, 9, 10, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 950;
  text-decoration: none;
}

.brand small {
  color: var(--gold);
  font-size: 16px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sample-link {
  min-width: 118px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 14px;
  font-weight: 900;
  text-decoration: none;
}

.sample-link {
  color: #111;
  background: var(--gold);
}

.hero {
  position: relative;
  z-index: 2;
  height: calc(100dvh - 174px);
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
}

.hero-copy {
  max-width: 920px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(76px, 15vw, 224px);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-line {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: clamp(20px, 2.1vw, 34px);
  line-height: 1.28;
}

.cn {
  color: #e2dacd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #111;
  background: var(--gold);
}

.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(247, 241, 232, 0.07);
}

.info-panel {
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.info-panel.is-changing {
  opacity: 0.32;
  transform: translateY(4px);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 950;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(84, 212, 160, 0.14);
}

.info-panel p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 950;
}

.tab-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.tab {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0 18px;
  color: var(--muted);
  background: rgba(9, 9, 10, 0.84);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.tab span {
  color: var(--gold);
  font-size: 12px;
}

.tab.is-active {
  color: var(--ink);
  background: rgba(224, 177, 90, 0.16);
  box-shadow: inset 0 3px 0 var(--gold);
}

@media (max-width: 1020px) {
  .screen {
    min-height: 720px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
  }

  .info-panel {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .screen {
    height: 100dvh;
    min-height: 680px;
    padding: 78px 18px 16px;
  }

  .site-header {
    height: 58px;
    padding-inline: 18px;
  }

  .brand {
    font-size: 22px;
  }

  .sample-link {
    min-width: auto;
    min-height: 34px;
    padding: 7px 11px;
  }

  .hero {
    height: calc(100dvh - 154px);
    min-height: 500px;
    align-content: center;
  }

  h1 {
    font-size: clamp(70px, 22vw, 116px);
  }

  .hero-line {
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    min-height: 43px;
    padding: 11px 13px;
    font-size: 14px;
  }

  .info-panel {
    padding: 18px;
  }

  .info-panel p {
    font-size: 15px;
    line-height: 1.55;
  }

  h2 {
    font-size: 24px;
  }

  .tab-strip {
    height: 60px;
  }

  .tab {
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 8px 4px;
    font-size: 12px;
    text-align: center;
  }
}
