:root {
  --ink: #1b1530;
  --muted: #7c7488;
  --cream: #f5f0e5;
  --violet: #6d4aff;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(109, 74, 255, 0.34), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(255, 122, 89, 0.2), transparent 34%),
    linear-gradient(145deg, #1b1533, #0f0c1e 70%);
  overflow-x: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 22px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.brand span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #7b5cff, #5434d6);
  font-size: 15px;
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.back {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
}

.back:hover {
  color: #fff;
}

main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 86px) 32px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b9a8ff;
}

.copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.copy h1 em {
  font-style: italic;
  color: #c8b9ff;
}

.lead {
  max-width: 470px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.64);
}

.checks {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.checks span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(101, 226, 180, 0.15);
  color: #8ff0c9;
  font-size: 10px;
}

.note {
  max-width: 470px;
  margin-top: 30px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

.note strong {
  color: #ffc9b6;
}

.device-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device {
  position: relative;
  width: 390px;
  height: 780px;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(160deg, #39344f, #0a0813 55%);
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.device iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 38px;
  background: #f8f4ec;
}

.device-notch {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 18px;
  width: 92px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0a0813;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device-caption {
  margin: 19px 0 0;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 980px) {
  main {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .device-stage {
    width: 100%;
    justify-self: center;
  }
  .copy {
    max-width: 620px;
  }
}

@media (max-width: 500px) {
  .topbar {
    padding: 16px;
  }
  .badge {
    display: none;
  }
  main {
    padding: 34px 16px 50px;
  }
  .device {
    width: 100%;
    max-width: 390px;
    height: min(780px, 78vh);
    border-radius: 38px;
    padding: 7px;
  }
  .device iframe {
    border-radius: 31px;
  }
  .device-notch {
    top: 13px;
    width: 74px;
    height: 18px;
  }
}
