@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.logo {
  font: 800 1rem "Manrope";
  letter-spacing: -0.03em;
}
.back {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: 0.25s;
}
.back:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  font: 800 clamp(3rem, 7vw, 6.7rem) / 0.93 "Manrope";
  letter-spacing: -0.065em;
  margin: 20px 0;
}
.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 590px;
  line-height: 1.7;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  padding: 13px 18px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--button);
  font-weight: 800;
}
.device {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);
  transform: rotate(2deg);
  animation: float 5s ease-in-out infinite;
}
.bar {
  height: 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.screen {
  min-height: 390px;
  padding: 32px;
  border-radius: 0 0 16px 16px;
  background: var(--screen);
  color: var(--screenText);
}
.screen small {
  font-weight: 800;
  letter-spacing: 0.12em;
}
.screen h2 {
  font: 800 2.4rem/1 "Manrope";
  letter-spacing: -0.05em;
  margin: 62px 0 14px;
}
.line {
  height: 8px;
  background: var(--screenLine);
  border-radius: 9px;
  margin: 9px 0;
  width: 78%;
}
.line.short {
  width: 55%;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 48px;
}
.tiles i {
  height: 82px;
  border-radius: 10px;
  background: var(--tile);
}
.details {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.details-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.details h2 {
  font: 800 clamp(2.4rem, 5vw, 4.5rem) / 1 "Manrope";
  letter-spacing: -0.055em;
  margin: 12px 0;
}
.details p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 35px;
}
.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.feature b,
.feature span {
  display: block;
}
.feature span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 7px;
}
.note {
  margin-top: 45px;
  padding: 20px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: up 0.7s ease forwards;
}
.reveal:nth-child(2) {
  animation-delay: 0.15s;
}
@keyframes up {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  50% {
    transform: rotate(-1deg) translateY(-10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .device,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 800px) {
  .hero,
  .details-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 45px;
  }
  .features {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .hero {
    padding: 55px 0;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .screen {
    min-height: 330px;
    padding: 24px;
  }
  .screen h2 {
    font-size: 2rem;
  }
}
