:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --text: #14161c;
  --muted: #5a6072;
  --line: #e2e6ef;
  --blue: #0b4e96;
  --blue-deep: #07264f;
  --magenta: #a3185f;
  --card: #ffffff;
  --radius: 16px;
  --max: 1040px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1017;
    --bg-soft: #141926;
    --text: #eef0f6;
    --muted: #a3a9bb;
    --line: #262d3f;
    --blue: #5aa2f0;
    --card: #141926;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav { white-space: nowrap; flex-shrink: 0; }
nav a { margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

/* hero */
.hero-banner { background: #0a0420; padding: 0; }
.hero-banner img { width: 100%; height: auto; display: block; }
.hero { background: linear-gradient(180deg, #0a0420 0%, #1d0b45 100%); color: #fff; padding: 56px 0 64px; text-align: center; }
.hero .wrap { max-width: 760px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.88); margin: 0 auto 24px; max-width: 34em; }
.store-badge-link { display: block; width: max-content; margin: 0 auto; }   /* placeholder link: point it at the App Store page once there is one */
.store-badge { display: block; margin: 0 auto; height: 72px; width: auto; }       /* Apple's badge: not altered, not smaller than 40px high */
.rotator { margin-top: 28px; min-height: 2.2em; font-size: 1.05rem; color: rgba(255,255,255,.8); }
.rotator span { display: inline-block; transition: opacity .4s; }
.rotator .tag { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-right: 8px; }

/* sections */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.01em; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.quote { font-size: 1.15rem; border-left: 4px solid var(--magenta); padding-left: 16px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shots img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pills li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .92rem; }
.note { color: var(--muted); font-size: .92rem; }
.regions h3 { margin: 22px 0 0; font-size: 1.05rem; }
.regions h3:first-child { margin-top: 14px; }
.regions h3 span { margin-left: 6px; font-weight: 400; font-size: .9rem; color: var(--muted); }
.regions .pills { margin-top: 8px; }

/* faq */
details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; background: var(--card); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* documents (privacy / support) */
.doc { max-width: 760px; padding: 48px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 8px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc .muted { color: var(--muted); }
.doc ul { padding-left: 22px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); margin-right: 18px; }

@media (max-width: 820px) {
  .two { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero { padding: 48px 0; }
  nav a { margin-left: 10px; font-size: .84rem; }
  .brand img { width: 28px; height: 28px; }
  .brand { font-size: 1rem; }
  .site-header .wrap { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rotator span { transition: none; } }
