:root {
  --bg: #edf3ff;
  --surface: #ffffff;
  --ink: #1f294d;
  --muted: #667085;
  --primary: #467bdc;
  --primary-dark: #315fb5;
  --line: #dbe5f4;
  --red: #f65056;
  --green: #28a164;
  --yellow: #f0a714;
  --shadow: 0 18px 50px rgba(42, 70, 126, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(237, 243, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 244, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(70, 123, 220, 0.22);
}

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

.nav-links a:hover {
  color: var(--primary);
}

.download-link {
  color: #ffffff !important;
  background: var(--primary);
  border-radius: 999px;
  padding: 10px 16px;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
  background: #dfeaff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/screenshots/home.png");
  background-position: center top;
  background-size: min(72vw, 840px) auto;
  background-repeat: no-repeat;
  opacity: 0.32;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(237, 243, 255, 0.78);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 86px;
}

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

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
}

.app-badge img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

h1 {
  margin: 26px 0 18px;
  max-width: 800px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #3f4f73;
  font-size: 21px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(70, 123, 220, 0.28);
}

.button.secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.hero-strip {
  width: min(1120px, calc(100% - 40px));
  margin: -160px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

main {
  position: relative;
  z-index: 5;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  min-height: 190px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(42, 70, 126, 0.08);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 900;
}

.feature:nth-child(2) .feature-icon,
.feature:nth-child(5) .feature-icon {
  background: var(--red);
}

.feature:nth-child(3) .feature-icon,
.feature:nth-child(6) .feature-icon {
  background: var(--green);
}

.feature h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

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

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

.screen {
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.screen img {
  width: 100%;
}

.screen caption,
.screen-label {
  display: block;
  padding: 14px 16px 18px;
  font-weight: 800;
}

.info-band {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.support-panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.support-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.support-panel p,
.support-panel li {
  color: var(--muted);
}

.support-panel ul {
  margin: 0;
  padding-left: 20px;
}

.footer {
  padding: 34px 0;
  background: #17233d;
  color: #dce6fb;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: #ffffff;
  font-weight: 700;
}

.page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 90px;
}

.page article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.page h1 {
  font-size: clamp(36px, 6vw, 58px);
  margin-top: 0;
}

.page h2 {
  font-size: 26px;
  margin-top: 34px;
}

.page p,
.page li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    padding-top: 78px;
  }

  .hero-strip,
  .features,
  .screens,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: -96px;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.download-link) {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero::before {
    background-size: 118vw auto;
    background-position: center 80px;
    opacity: 0.24;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }
}
