:root {
  --ink: #1c1c1e;
  --muted: #6e6e73;
  --bg: #fff;
  --bg-alt: #f2f2f7;
  --brand: #305f66;
  --rule: rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f7;
    --muted: #98989d;
    --bg: #0b0b0b;
    --bg-alt: #1c1c1e;
    --rule: rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text',
               'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 32px 20px 80px;
  max-width: 680px;
  margin: 0 auto;
}

header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

header a.home {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 8px;
}

.last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}

p, li {
  color: var(--ink);
}

p { margin: 12px 0; }

ul { padding-left: 22px; margin: 12px 0; }
li { margin: 6px 0; }

a { color: var(--brand); }

.contact-block {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--muted); margin-right: 16px; }

.product-page {
  max-width: 920px;
  padding-top: 20px;
}

.product-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.company-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  padding: 48px 0 64px;
  text-align: center;
}

.app-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  border-radius: 25px;
  box-shadow: 0 14px 40px rgba(48, 95, 102, 0.18);
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(44px, 9vw, 72px);
  line-height: 1;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 22px);
}

.app-store-button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.feature-section,
.legal-section {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}

.feature-section > h2,
.legal-section > h2 {
  margin-top: 0;
  font-size: 28px;
}

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

.feature-grid article {
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-alt);
}

.feature-grid h3 {
  margin-top: 0;
}

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

.document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
}

.document-links a {
  font-weight: 600;
}

.product-page footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 680px) {
  .product-page {
    padding-top: 16px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .app-icon {
    width: 92px;
    height: 92px;
    border-radius: 21px;
  }

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