:root {
  --ink: #111827;
  --muted: #526174;
  --soft: #eaf3ff;
  --surface: #ffffff;
  --line: #dce5f2;
  --blue: #2563eb;
  --teal: #14b8a6;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --shadow: 0 18px 46px rgba(17, 24, 39, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f6f8fb;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 251, .94);
  border-bottom: 1px solid rgba(220, 229, 242, .85);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1160px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--ink);
  padding: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .24);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--soft);
}

.hero:before {
  display: none;
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 22px 86px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

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

.hero-visual {
  justify-self: center;
  width: min(100%, 430px);
  transform: rotate(1.5deg);
}

.hero-visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: block;
}

section {
  padding: 76px 22px;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.policy h1,
.support h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.policy p,
.support p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  min-height: 184px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .08);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.blue { background: var(--blue); }
.teal { background: var(--teal); }
.green { background: var(--green); }
.amber { background: var(--amber); }
.red { background: var(--red); }

.feature h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

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

.showcase {
  background: #fff;
}

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

.screens img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(17, 24, 39, .14);
}

.privacy-band {
  background: var(--ink);
  color: #fff;
}

.privacy-band .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.privacy-band p {
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.6;
}

.downloads {
  background: #eef6ff;
}

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

.download {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  min-height: 142px;
}

.download strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

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

.download a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.video-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .45fr);
  gap: 28px;
  align-items: center;
}

.video-panel video {
  width: 100%;
  max-width: 380px;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.site-footer {
  background: #0b1220;
  color: #dbeafe;
  padding: 34px 22px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 22px 82px;
}

.policy,
.support {
  background: #fff;
}

.policy h2,
.support h2 {
  margin-top: 38px;
  font-size: 26px;
}

.policy ul,
.support ul {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}

.notice {
  background: #eef6ff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero-inner,
  .video-panel,
  .privacy-band .section-inner {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .screens,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-visual {
    max-width: 320px;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 64px;
  }
  .nav-links {
    gap: 10px;
    font-size: 13px;
  }
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3) {
    display: none;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding-top: 46px;
  }
  h1 {
    font-size: 46px;
  }
  .feature-grid,
  .screens,
  .download-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
