:root {
  color-scheme: light dark;
  --accent: #3578f6;
  --ink: #12213a;
  --muted: #62708a;
  --paper: rgba(255, 255, 255, 0.84);
  --line: rgba(70, 92, 130, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(85, 150, 255, 0.25), transparent 30rem),
    radial-gradient(circle at 92% 78%, rgba(118, 199, 255, 0.20), transparent 32rem),
    #f5f8ff;
}

main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 8vh, 72px) 0;
}

.card {
  padding: clamp(26px, 6vw, 58px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(41, 72, 126, 0.12);
  backdrop-filter: blur(24px);
}

.mark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 58px;
  height: 58px;
  padding: 14px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #5ca4ff, #245de2);
  box-shadow: 0 12px 28px rgba(38, 99, 226, 0.28);
}

.mark span {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.mark span:nth-child(2) { width: 78%; }
.mark span:nth-child(3) { width: 55%; }

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

h1 {
  margin: 0 0 18px;
  max-width: 620px;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin: 36px 0 10px;
  font-size: 21px;
  letter-spacing: -0.015em;
}

p, li {
  color: var(--muted);
  line-height: 1.65;
}

ul { padding-left: 22px; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.lede {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: clamp(17px, 3vw, 20px);
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 9px 17px;
  color: white;
  border-radius: 16px;
  background: #101216;
  box-shadow: 0 10px 30px rgba(18, 33, 58, 0.16);
  cursor: default;
  user-select: none;
}

.store-link:hover { text-decoration: none; }

.store-link .apple {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
}

.store-link span:last-child {
  display: grid;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.05;
}

.store-link small {
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.promises {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.promises span::before {
  content: "✓";
  margin-right: 6px;
  color: var(--accent);
  font-weight: 800;
}

.meta {
  font-size: 13px;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

footer {
  padding: 24px 8px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f7ff;
    --muted: #a9b5c9;
    --paper: rgba(17, 25, 40, 0.82);
    --line: rgba(173, 196, 236, 0.16);
  }

  body {
    background:
      radial-gradient(circle at 12% 8%, rgba(47, 107, 220, 0.28), transparent 30rem),
      radial-gradient(circle at 92% 78%, rgba(37, 115, 183, 0.20), transparent 32rem),
      #09101d;
  }

  .links a { background: rgba(255, 255, 255, 0.04); }
  .store-link { background: #f3f6fc; color: #101216; }
}

@media (max-width: 520px) {
  main {
    width: min(100% - 20px, 760px);
    padding: 10px 0 20px;
  }

  .card {
    min-height: calc(100svh - 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 26px;
  }

  .mark {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
  }

  .links {
    margin-top: 30px;
    gap: 6px;
  }

  .links a { padding: 9px 12px; }

  footer { padding-top: 14px; }
}
