:root {
  --bg: #fbf8f3;
  --bg-2: #f3eee6;
  --ink: #0f1729;
  --ink-2: #2a3142;
  --muted: #646b7a;
  --line: #e9e2d6;
  --card: #ffffff;
  --navy: #1c294a;
  --midnight: #0f1629;
  --amber: #fbb033;
  --orange: #f2731f;
  --grad: linear-gradient(135deg, var(--amber), var(--orange));
  --shadow: 0 30px 60px -20px rgba(15, 22, 41, .28);
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1e; --bg-2: #0f1629; --ink: #f4f1ea; --ink-2: #d6d9e0; --muted: #9aa1b0;
    --line: #1f2740; --card: #121a2f; --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav .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: 18px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--midnight); color: #fff; box-shadow: 0 10px 25px -10px rgba(15, 22, 41, .6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-dark { background: #fff; color: var(--midnight); } }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.1; }
.btn .big { display: block; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -200px -20% auto; height: 760px; z-index: -1;
  background: radial-gradient(600px 380px at 20% 30%, rgba(251, 176, 51, .30), transparent 70%),
              radial-gradient(520px 360px at 85% 20%, rgba(28, 41, 74, .18), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-cta { justify-content: center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 18px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
@media (max-width: 900px) { .lead { margin-left: auto; margin-right: auto; } }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Phones */
.phones { position: relative; height: 620px; }
/* Screenshots sit in neutral rounded cards – no drawn Apple devices (Apple marketing guidelines). */
.phone { position: absolute; width: 270px; border-radius: 32px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.phone.front { left: 50%; top: 0; transform: translateX(-62%) rotate(-4deg); z-index: 2; }
.phone.back { left: 50%; top: 60px; transform: translateX(8%) rotate(6deg); opacity: .96; }
@media (max-width: 900px) { .phones { height: 560px; max-width: 520px; margin: 0 auto; } .phone { width: 230px; } }
@media (max-width: 480px) { .phones { height: 470px; } .phone { width: 190px; border-radius: 24px; } }

/* Sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.03em; margin: 12px 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 700;
  background: var(--midnight); color: var(--amber); margin-bottom: 18px; }
.step h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .ico { font-size: 26px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-2); margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .showcase { grid-template-columns: repeat(2, 1fr); } }
.shot { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.shot-cap { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }

.privacy-band { background: var(--midnight); color: #f4f1ea; border-radius: 32px; padding: 56px; position: relative; overflow: hidden; }
.privacy-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 176, 51, .35), transparent 70%); }
.privacy-band h2 { color: #fff; }
.privacy-band p { color: #b9bfcc; max-width: 640px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 600; }
@media (max-width: 560px) { .privacy-band { padding: 36px 24px; } }

.siri { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .siri { grid-template-columns: 1fr; } }
.bubble { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.bubble span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 6px; letter-spacing: 0; }

.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

.cta-final { text-align: center; }
.cta-final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; box-shadow: var(--shadow); }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 20px 40px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 24px; margin-top: 40px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc .updated { color: var(--muted); }
.doc .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer .legal { flex-basis: 100%; margin: 8px 0 0; font-size: 12px; line-height: 1.5; opacity: .8; }

/* Official App Store badge: Apple artwork only, unmodified, ≥ 40px tall, clear space = ¼ of its height. */
.store-badge { display: inline-block; padding: 12px; margin: -12px; }
.store-badge img { height: 52px; width: auto; }
footer a:hover { color: var(--ink); }

/* Small screens */
.btn, .eyebrow { white-space: nowrap; }
@media (max-width: 560px) {
  .nav .wrap { height: 58px; }
  .brand { font-size: 17px; }
  .nav .btn-sm { padding: 8px 14px; font-size: 13px; }
  .eyebrow { font-size: 12px; }
  .hero { padding-top: 40px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  section { padding: 64px 0; }
}
.hero-grid > * { min-width: 0; }
@media (max-width: 420px) {
  .eyebrow { white-space: normal; text-align: left; }
  h1 { font-size: 38px; }
  .nav .btn-sm { display: none; }
}
