:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07101f;
  color: #eef4ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(74, 132, 255, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(74, 132, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #07101f 0%, #0a1427 50%, #07101f 100%);
  background-size:
    42px 42px,
    42px 42px,
    auto;
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.nav,
.hero,
.section,
.cards,
.steps,
.split,
.footer {
  display: grid;
  gap: 18px;
}

.nav {
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  margin-bottom: 58px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(101, 123, 167, 0.22);
}

.nav strong {
  font-size: 18px;
}

.link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.link {
  color: #cdd8f1;
  background: rgba(17, 29, 52, 0.74);
  border: 1px solid rgba(109, 132, 176, 0.36);
}

.button {
  color: #ffffff;
  background: #4d8eff;
  border: 1px solid #73a8ff;
  box-shadow: 0 14px 34px rgba(40, 118, 255, 0.26);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

p,
li {
  color: #aebad4;
  line-height: 1.58;
}

.hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy p {
  max-width: 680px;
  font-size: 18px;
}

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

.mockup-preview,
.card,
.step,
.callout,
.faq article {
  background: rgba(12, 22, 41, 0.76);
  border: 1px solid rgba(103, 126, 171, 0.32);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.mockup-preview {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #e9eef6 0%, #f8fbff 56%, #dbe3ee 100%);
}

.phone,
.pad,
.watch,
.laptop {
  position: absolute;
  background: #070a10;
  box-shadow: 28px 28px 46px rgba(18, 26, 40, 0.24);
}

.phone {
  width: 150px;
  height: 298px;
  left: 18%;
  top: 54px;
  transform: rotate(-8deg);
  border: 5px solid #101722;
  border-radius: 34px;
}

.pad {
  width: 250px;
  height: 320px;
  left: 18%;
  top: 48px;
  transform: rotate(-4deg);
  border: 7px solid #101722;
  border-radius: 24px;
}

.watch {
  width: 172px;
  height: 202px;
  left: 30%;
  top: 88px;
  transform: rotate(-5deg);
  border: 10px solid #111923;
  border-radius: 54px;
}

.watch::before,
.watch::after {
  position: absolute;
  left: 50%;
  width: 76px;
  height: 112px;
  content: "";
  transform: translateX(-50%);
  background: #161b24;
}

.watch::before {
  bottom: 100%;
  border-radius: 38px 38px 18px 18px;
}

.watch::after {
  top: 100%;
  border-radius: 18px 18px 38px 38px;
}

.laptop {
  width: 330px;
  height: 204px;
  right: 10%;
  bottom: 70px;
  transform: rotate(4deg);
  border: 7px solid #101722;
  border-radius: 16px;
}

.laptop::after {
  position: absolute;
  right: -24px;
  bottom: -17px;
  left: -24px;
  height: 18px;
  content: "";
  background: linear-gradient(180deg, #8a95a4, #5e6878);
  border-radius: 0 0 18px 18px;
}

.screen {
  display: grid;
  gap: 12px;
  align-content: start;
  height: calc(100% - 34px);
  margin: 17px;
  padding: 44px 14px 14px;
  color: #132033;
  background: linear-gradient(135deg, #e5fff8, #ffffff);
  border-radius: 22px;
}

.pad .screen {
  height: calc(100% - 32px);
  margin: 16px;
  padding-top: 34px;
  border-radius: 16px;
}

.watch .screen {
  height: calc(100% - 14px);
  margin: 7px;
  padding: 38px 16px 16px;
  border-radius: 42px;
}

.laptop .screen {
  height: 100%;
  margin: 0;
  padding: 34px 28px;
  border-radius: 8px;
}

.line {
  display: block;
  height: 16px;
  background: #dce6f2;
  border-radius: 999px;
}

.line.accent {
  width: 86%;
  background: linear-gradient(90deg, #2b8dff, #20c8ad);
}

.line.short {
  width: 62%;
}

.section {
  margin-top: 76px;
}

.cards,
.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.step,
.callout,
.faq article {
  padding: 20px;
}

.card {
  min-height: 180px;
}

.card small {
  display: inline-flex;
  margin-top: 14px;
  padding: 5px 8px;
  color: #9fc0ff;
  background: rgba(77, 142, 255, 0.12);
  border: 1px solid rgba(77, 142, 255, 0.28);
  border-radius: 7px;
  font-weight: 850;
}

.step span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  place-items: center;
  background: #2778ff;
  border-radius: 999px;
  font-weight: 900;
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: start;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq article {
  display: grid;
  gap: 8px;
}

.footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(101, 123, 167, 0.22);
  color: #8794af;
  font-size: 13px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .nav,
  .hero,
  .split,
  .cards,
  .cards.four,
  .steps {
    grid-template-columns: 1fr;
  }

  .mockup-preview {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 28px, 1120px);
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .nav {
    align-items: stretch;
  }

  .actions {
    flex-direction: column;
  }
}
