:root {
  color-scheme: dark;
  --bg: #080a0d;
  --panel: #11161d;
  --ink: #f4f7fb;
  --muted: #9aa6b5;
  --line: #26303b;
  --accent: #14c8a2;
  --accent-2: #f4c95d;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  min-height: 100vh;
}

.hero {
  min-height: 92vh;
  padding: 28px clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, .95), rgba(8, 10, 13, .74) 52%, rgba(8, 10, 13, .9)),
    url("/assets/bg.png") center / cover no-repeat;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.download,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
}

.download,
.primary {
  background: var(--accent);
  color: #001d17;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  max-width: 1180px;
  min-height: calc(92vh - 94px);
}

.copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(68px, 12vw, 154px);
  line-height: .86;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: #d4dbe4;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

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

.device {
  aspect-ratio: 9 / 16;
  width: min(100%, 420px);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  padding: 14px;
  background: #050608;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .46);
}

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20, 200, 162, .2), transparent 38%),
    linear-gradient(135deg, #151b22, #07090c);
}

.frame-top {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 92px;
  height: 18px;
  border-radius: 20px;
  background: #030405;
  transform: translateX(-50%);
}

.play {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(244, 247, 251, .12);
  border: 1px solid rgba(244, 247, 251, .28);
  transform: translate(-50%, -50%);
}

.play::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 29px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 23px solid var(--ink);
}

.room-row {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(0, 0, 0, .38);
  color: #d7dde6;
  font-size: 14px;
}

.section {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  padding: 64px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 14px;
  font-size: 34px;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.status-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.status-grid span {
  color: var(--accent);
  font-weight: 800;
}

.status-grid h3 {
  margin: 22px 0 10px;
}

code {
  color: #dfe8f2;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .nav,
  .hero-grid,
  .section,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-grid {
    display: grid;
    min-height: auto;
    padding-top: 76px;
  }

  .device {
    width: min(100%, 320px);
    margin: 20px auto 0;
  }
}
