:root {
  color-scheme: light;
  --ink: #151521;
  --muted: #646676;
  --line: rgba(27, 29, 45, 0.1);
  --surface: rgba(255, 255, 255, 0.82);
  --blue: #5148e5;
  --blue-dark: #3830bd;
  --red: #ff4254;
  --shadow: 0 28px 80px rgba(34, 31, 78, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 15%, rgba(86, 76, 231, 0.15), transparent 25rem),
    radial-gradient(circle at 12% 32%, rgba(255, 66, 84, 0.09), transparent 24rem),
    #f6f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { border-radius: 11px; box-shadow: 0 7px 18px rgba(44, 36, 141, 0.16); }
nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
nav a:hover, footer a:hover { color: var(--ink); }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 54px 0 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--red); }

h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 760;
}

.lede { max-width: 560px; margin: 28px 0 0; color: var(--muted); font-size: 19px; line-height: 1.58; letter-spacing: -0.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 21px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, #5f55ea, #433bcf); box-shadow: 0 13px 30px rgba(74, 64, 214, 0.26); }
.button.primary:hover { box-shadow: 0 17px 34px rgba(74, 64, 214, 0.34); }
.button.secondary { background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); }
.release-meta { margin: 17px 0 0; color: #858796; font-size: 12px; }

.app-preview { overflow: hidden; border: 1px solid rgba(44, 46, 70, 0.18); border-radius: 22px; background: #fafafa; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.window-titlebar { height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 17px; border-bottom: 1px solid #dddde2; background: rgba(249, 249, 249, 0.92); }
.window-titlebar strong { font-size: 13px; color: #50515a; }
.traffic-lights { display: flex; gap: 8px; }
.traffic-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; border: 1px solid rgba(0, 0, 0, 0.08); }
.traffic-lights i:nth-child(2) { background: #febc2e; }
.traffic-lights i:nth-child(3) { background: #28c840; }
.drop-area { height: 360px; display: grid; place-items: center; background: #f7f7f7; }
.drop-target { width: 165px; height: 165px; display: grid; place-items: center; border: 3px dashed #d5d5da; border-radius: 24px; }
.arrow { color: #c7c7cd; font-size: 70px; font-weight: 180; line-height: 1; transform: translateY(-5px); }
.window-footer { min-height: 52px; padding: 9px 14px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #d8d8dc; background: rgba(250, 250, 250, 0.96); font-size: 11px; color: #555660; }
.small-button, .again { min-height: 28px; padding: 0 11px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #ececef; }
.small-button { min-width: 34px; padding-inline: 8px; }
.footer-copy { flex: 1; white-space: nowrap; }
.checkbox { white-space: nowrap; display: flex; gap: 5px; align-items: center; }
.checkbox i { width: 13px; height: 13px; border-radius: 4px; background: #e0e0e4; }
.again { color: #b0b0b6; white-space: nowrap; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 42px 0 110px; }
.features article { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); backdrop-filter: blur(16px); }
.feature-number { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.features h2 { margin: 42px 0 12px; font-size: 22px; letter-spacing: -0.035em; }
.features p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.install-card { padding: 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; border-radius: 30px; color: white; background: linear-gradient(135deg, #232134, #35314f); box-shadow: 0 30px 80px rgba(24, 22, 46, 0.2); }
.install-card .eyebrow { color: #c7c1ff; }
.install-card h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.05em; }
.install-card p:not(.eyebrow) { max-width: 590px; margin: 20px 0 0; color: #c7c5d2; line-height: 1.65; }
.install-card ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.install-card li { min-height: 52px; padding: 0 17px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.06); font-size: 14px; }
.install-card li span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #242136; background: #bcb6ff; font-size: 11px; font-weight: 800; }

.closing { padding: 130px 20px 110px; text-align: center; }
.closing img { border-radius: 25px; box-shadow: 0 18px 50px rgba(70, 57, 192, 0.18); }
.closing h2 { margin: 30px 0 8px; font-size: clamp(42px, 6vw, 70px); letter-spacing: -0.06em; }
.closing p { color: var(--muted); }
.centered { justify-content: center; }

footer { min-height: 90px; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: #7a7c89; font-size: 12px; }
footer div { display: flex; gap: 22px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 70px; }
  .app-preview { transform: none; }
  .features { grid-template-columns: 1fr; }
  .features h2 { margin-top: 24px; }
  .install-card { grid-template-columns: 1fr; gap: 42px; padding: 42px; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 24px, 1160px); }
  .site-header nav { gap: 15px; }
  .brand span { display: none; }
  .hero { min-height: auto; padding-top: 50px; }
  h1 { font-size: 54px; }
  .lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .drop-area { height: 260px; }
  .drop-target { width: 130px; height: 130px; }
  .window-footer { gap: 8px; }
  .checkbox, .again { display: none; }
  .features { padding-bottom: 70px; }
  .install-card { padding: 32px 24px; border-radius: 22px; }
  .closing { padding: 90px 10px 80px; }
  footer { align-items: flex-start; gap: 18px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
