:root {
  color-scheme: light;
  --bg: #ffffff;
  --canvas: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --max: 1080px;
  font-family:
    "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei UI", "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 48px));
  height: 52px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 108px 24px 80px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(52px, 7.2vw, 88px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 540px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-hover);
}

.button-quiet {
  color: var(--blue);
  border: 1px solid var(--line);
  background: transparent;
}

.button-quiet:hover {
  border-color: var(--blue);
}

.hero-meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 28px;
  background: var(--bg);
}

.product-media {
  height: 470px;
  padding: 26px 26px 0;
  background: var(--bg);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  box-shadow:
    0 24px 50px -24px rgba(33, 49, 75, 0.28),
    0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-copy {
  padding: 30px 32px 32px;
}

.product-copy h2 {
  margin-bottom: 7px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.product-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: min(var(--max), calc(100% - 48px));
  margin: 84px auto 0;
  padding: 42px 44px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 28px;
  background: var(--bg);
}

.download h2 {
  margin-bottom: 7px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.download-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.download-all {
  color: var(--blue);
  font-size: 12px;
}

.download-all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px !important;
}

.download-meta span + span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.footer {
  margin-top: 84px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 11px;
}

.footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

/* Privacy */

.legal {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.legal h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 67px);
}

.legal-lede {
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.legal h2 {
  margin: 34px 0 9px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal-foot {
  margin-top: 48px;
  font-size: 11px !important;
}

.text-link {
  color: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .products {
    grid-template-columns: 1fr;
  }

  .product-media {
    height: 430px;
  }

  .download {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
    margin-top: 56px;
    padding: 34px 30px;
  }

  .download-actions {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .nav-inner,
  .products,
  .download,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .nav-links {
    gap: 18px;
  }

  .hero {
    padding: 72px 20px 58px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .product-media {
    height: 340px;
    padding: 18px 18px 0;
  }

  .product-copy {
    padding: 0 24px 26px;
  }

  .download {
    padding: 28px 24px;
  }

  .download h2 {
    font-size: 26px;
  }

  .legal {
    width: calc(100% - 36px);
    padding-top: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
