:root {
  --navy: #0b1433;
  --navy-2: #121e4a;
  --card: rgba(255, 255, 255, 0.06);
  --card-edge: rgba(150, 180, 255, 0.18);
  --text: #f4f6ff;
  --muted: #b4bddb;
  --blue: #3d7bf5;
  --cyan: #5fe0ff;
  --gold: #f5c04a;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(1200px 700px at 50% -10%, #23317a 0%, var(--navy-2) 40%, var(--navy) 100%) fixed, var(--navy);
  color: var(--text);
  font: 17px/1.6 "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--cyan); }
a:hover { color: #fff; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header and footer */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

.site-footer { margin-top: 72px; padding: 32px 0 48px; border-top: 1px solid var(--card-edge); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--muted); }

/* Home */
.hero { text-align: center; padding: 36px 0 24px; }
.hero .logo-glow { display: inline-block; padding: 10px 0; background: radial-gradient(closest-side, rgba(61, 123, 245, 0.28), transparent); }
.hero .logo { width: min(520px, 90%); height: auto; display: block; margin: 0 auto; }
.hero .tagline { margin: 10px 0 0; color: var(--muted); font-size: 20px; font-weight: 600; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 28px auto 14px; max-width: 760px; }
.hero .lede { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 19px; }
/* Apple's badge, shown as supplied: no effects, at least 40px tall, clear space of a quarter of its height. */
.app-store { margin: 14px 0 0; text-align: center; }
.app-store a { display: inline-block; padding: 14px; line-height: 0; }
.app-store img { height: 56px; width: auto; }
section > .app-store { margin: 8px 0 0; }
.badge-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-edge); font-size: 14px; font-weight: 600; color: var(--text); }
.pill.gold { color: var(--gold); border-color: rgba(245, 192, 74, 0.4); }
.store-note { margin-top: 14px; color: var(--muted); font-size: 15px; }

section.wrap { padding-top: 88px; padding-bottom: 8px; }
section > h2 { font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 8px; text-align: center; }
section > .sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 28px; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--card-edge); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); display: block; }
.shots figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.features.pricing { max-width: 760px; margin: 0 auto; }
section > .sub.fine { margin: 18px auto 0; font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.card .icon { font-size: 26px; line-height: 1; margin-bottom: 10px; display: block; }

.quests { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.quest { display: flex; gap: 14px; align-items: flex-start; }
.quest .icon { flex: none; }
.quest .tag { display: inline-block; margin-left: 6px; font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 0.02em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.split-shot { width: 100%; max-width: 340px; justify-self: center; }
.split-shot img { display: block; width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--card-edge); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.split ul { padding-left: 20px; color: var(--muted); }
.split li { margin: 6px 0; }
.split li strong { color: var(--text); }

/* Text pages */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); margin: 28px 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: #dfe4f7; }
.doc ul { padding-left: 22px; }
.doc .card { margin: 18px 0; }
.contact { font-size: 18px; }
.contact a { font-weight: 700; }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .shots img { transition: transform 0.2s ease; }
  .shots img:hover { transform: translateY(-4px); }
}
