/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-1: #fafafa;
  --grey-2: #f2f2f2;
  --grey-3: #e6e6e6;
  --text-soft: #555;
  --text-muted: #888;
  --cyan: #00ffff;
  --cyan-deep: #00b8c4;
}

html, body { background: var(--white); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
  max-width: 1200px; margin: 0 auto;
}
.nav-logo img {
  height: 32px; width: auto;
}
.nav-links {
  display: flex; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--black); }

/* ---------- Hero ---------- */
.hero {
  max-width: 720px;
  margin: 80px auto 100px;
  padding: 0 24px;
  text-align: center;
}
.hero-icon {
  width: 144px; height: 144px;
  margin: 0 auto 48px;
  border-radius: 32px; /* iOS-style squircle approximation */
  overflow: hidden;
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
}
.hero-icon::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  pointer-events: none;
}
.hero-icon img { width: 100%; height: 100%; object-fit: cover; }

.hero h1 {
  font-size: 64px; line-height: 1.05;
  font-weight: 800; letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero h1 span.accent {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px; color: var(--text-soft);
  max-width: 540px; margin: 0 auto 40px;
  line-height: 1.55;
}

/* ---------- Download buttons ---------- */
.download-row {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}
.download-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 14px;
  min-width: 200px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  cursor: not-allowed;
  opacity: 0.92;
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0,255,255,0.55);
}
.download-stack { display: flex; flex-direction: column; align-items: flex-start; }
.download-tiny { font-size: 10px; opacity: 0.7; letter-spacing: 0.5px; }
.download-big {
  font-size: 17px; font-weight: 700; line-height: 1.1; letter-spacing: -0.3px;
}
.badge-mini {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--cyan);
  color: var(--black);
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 120px;
  padding: 0 40px;
}
.feature {
  background: var(--grey-1);
  border-radius: 24px;
  padding: 36px 28px;
  border: 1px solid var(--grey-3);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.feature-num {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--cyan-deep);
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 15px; color: var(--text-soft); line-height: 1.55;
}

/* ---------- CTA bar ---------- */
.cta-bar {
  background: var(--black);
  color: var(--white);
  margin: 0 40px 80px;
  border-radius: 32px;
  max-width: 1080px;
  margin-left: auto; margin-right: auto;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bar::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(0,255,255,0.15), transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-bar h2 {
  font-size: 46px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 14px;
}
.cta-bar p { font-size: 18px; color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--grey-3);
  padding: 48px 40px 56px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
}
.footer-logo { height: 22px; opacity: 0.6; }
.footer-links {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--cyan-deep); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ---------- Legal page typography ---------- */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-wrap h1 {
  font-size: 44px; font-weight: 800; letter-spacing: -1.2px;
  margin-bottom: 6px;
}
.legal-wrap .updated {
  font-size: 13px; color: var(--text-muted); margin-bottom: 36px;
}
.legal-wrap section {
  margin-bottom: 28px;
}
.legal-wrap section h2 {
  font-size: 17px; font-weight: 700; letter-spacing: -0.2px;
  margin-bottom: 10px; color: var(--black);
}
.legal-wrap section p {
  font-size: 15px; color: #333; line-height: 1.7;
}
.legal-wrap .intro {
  font-size: 16px; font-weight: 600; color: var(--black);
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
  margin-bottom: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .hero { margin: 48px auto 64px; }
  .hero h1 { font-size: 42px; letter-spacing: -1.2px; }
  .hero-sub { font-size: 17px; }
  .hero-icon { width: 112px; height: 112px; border-radius: 26px; margin-bottom: 36px; }
  .features { grid-template-columns: 1fr; padding: 0 24px; margin-bottom: 80px; }
  .cta-bar { padding: 56px 28px; border-radius: 24px; margin: 0 20px 56px; }
  .cta-bar h2 { font-size: 32px; letter-spacing: -1px; }
  .nav { padding: 18px 24px; }
  .nav-logo img { height: 26px; }
  .download-btn { min-width: 180px; padding: 11px 18px; }
  footer { padding: 36px 24px 44px; }
  .legal-wrap { padding: 24px 20px 56px; }
  .legal-wrap h1 { font-size: 32px; }
}
