:root {
  --bg: #ffffff;
  --bg-soft: #f4f9ff;
  --text: #08111f;
  --muted: #4f5b6d;
  --subtle: #e2e8f0;
  --blue: #095fd3;
  --blue-strong: #0359d8;
  --blue-soft: #eaf4ff;
  --shadow: 0 24px 80px rgba(13, 58, 120, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

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

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 700;
}

.site-header .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid var(--blue-strong);
  border-radius: var(--radius);
  background: var(--blue-strong);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(3, 89, 216, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(3, 89, 216, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  border-color: #cbd5e1;
  box-shadow: none;
}

.apple-mark {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: #fff;
  font-size: 14px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  min-height: 710px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  gap: 18px;
}

.hero::after {
  content: none;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: clamp(56px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #344154;
  font-size: 14px;
  font-weight: 750;
}

.trust-list span::before {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 640px;
  margin-left: -34px;
  overflow: visible;
}

.hero-visual::after {
  position: absolute;
  right: 15%;
  bottom: 64px;
  left: 19%;
  z-index: -1;
  height: 80px;
  content: "";
  border-radius: 999px;
  background: rgba(21, 70, 126, 0.12);
  filter: blur(30px);
}

.hero-mockup {
  width: min(660px, 122%);
  max-width: none;
  justify-self: center;
  filter: drop-shadow(0 24px 54px rgba(13, 58, 120, 0.18));
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.features {
  width: min(1120px, calc(100% - 48px));
  margin: 12px auto 72px;
}

.features h2,
.product-band h2,
.download h2 {
  margin-bottom: 30px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.feature-grid article {
  min-height: 150px;
  padding: 26px 26px 24px;
  border: 1px solid #dfe7f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 24px;
  font-weight: 900;
}

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

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.product-band {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 56px;
  padding: 76px max(24px, calc((100% - 1120px) / 2));
  background: linear-gradient(120deg, #f7fbff, #e7f4ff);
}

.band-copy p {
  max-width: 480px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 800;
}

.device-row {
  display: grid;
  align-items: center;
}

.ipad-mockup {
  width: min(760px, 115%);
  max-width: none;
  justify-self: center;
  filter: drop-shadow(0 24px 54px rgba(13, 58, 120, 0.18));
}

.download {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 44px;
  text-align: center;
}

.download h2 {
  margin-bottom: 10px;
}

.download p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.store-badge {
  display: inline-grid;
  min-width: 190px;
  padding: 10px 18px 12px;
  border-radius: 8px;
  background: #05070a;
  color: #fff;
  text-align: left;
}

.store-badge span {
  font-size: 11px;
}

.store-badge strong {
  font-size: 24px;
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--subtle);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span {
  color: var(--text);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-links a,
.legal-page a {
  color: var(--blue-strong);
  font-weight: 700;
}

.legal-page {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 88px;
}

.legal-page h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(44px, 6vw, 68px);
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.legal-page .legal-date {
  margin-bottom: 36px;
  color: #344154;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .product-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: unset;
    padding: 48px 0 28px;
    gap: 18px;
  }

  .hero::after {
    inset: 48% -32px auto -32px;
    height: 500px;
  }

  .hero-visual {
    min-height: 560px;
    margin-left: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-band {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .features,
  .download,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    padding: 18px 0;
  }

  .brand {
    font-size: 23px;
  }

  .site-header .button {
    display: none;
  }

  h1 {
    font-size: 50px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-list {
    gap: 14px;
  }

  .hero-visual {
    min-height: 430px;
    overflow: hidden;
  }

  .hero-visual::after {
    right: 8%;
    bottom: 22px;
    left: 8%;
  }

  .hero-mockup {
    width: 108%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-band {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .ipad-mockup {
    width: 128%;
  }

  .site-footer {
    display: grid;
    gap: 10px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-page {
    width: min(100% - 32px, 820px);
    padding: 48px 0 64px;
  }

  .legal-page p {
    font-size: 16px;
  }
}
