:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --ink: #141a22;
  --muted: #5f6977;
  --faint: #8b94a1;
  --line: #e3e7ed;
  --tint: #eef2f6;
  --accent: #d9653b;
  --on-accent: #ffffff;
  --sky-a: #d7e8f5;
  --sky-b: #f8f1e4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1217;
    --surface: #171b22;
    --ink: #eef1f5;
    --muted: #9ba4b1;
    --faint: #6f7886;
    --line: #262c36;
    --tint: #1e232c;
    --accent: #ef8a62;
    --on-accent: #16110d;
    --sky-a: #1d2540;
    --sky-b: #2a2f3d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--sky-a), var(--sky-b));
  border-radius: 28px;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 650; }
.hero p { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 30em; }
.hero .icon { width: 200px; height: 200px; border-radius: 44px; box-shadow: 0 18px 40px rgba(20, 26, 34, 0.18); }
.teaser { margin: 0; position: relative; width: 270px; }
.teaser video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 34px; background: var(--sky-a);
  box-shadow: 0 18px 40px rgba(20, 26, 34, 0.18);
}
.teaser button {
  display: block; margin: 14px auto 0;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  background: var(--surface); color: var(--ink);
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer; white-space: nowrap;
}
.teaser button:hover { border-color: var(--faint); }
.teaser button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 15px;
}
[hidden] { display: none !important; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); }

/* Launch list */
.notify { max-width: 30em; }
.notify-label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.notify-row { display: flex; gap: 8px; }
.notify input[type="email"] {
  flex: 1; min-width: 0;
  font: 16px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* 16px keeps iPhones from zooming in */
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.notify input[type="email"]::placeholder { color: var(--faint); }
.notify input[type="email"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.notify button {
  padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer; white-space: nowrap;
  background: var(--ink); color: var(--bg);
  font: 600 16px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.notify button:hover { opacity: 0.88; }
.notify button:disabled { opacity: 0.55; cursor: default; }
.notify button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hero .notify-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.hero .notify-done { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.hero .notify-error { font-size: 14px; color: var(--accent); margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.pro { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--on-accent); background: var(--accent); border-radius: 99px; padding: 2px 7px; vertical-align: 2px; margin-left: 6px; }

/* Text pages */
.doc { max-width: 680px; padding: 8px 0 40px; }
.doc h1 { font-size: 34px; letter-spacing: -0.01em; margin: 12px 0 4px; }
.doc h2 { font-size: 19px; margin: 30px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc .muted { color: var(--muted); }
.doc ul { padding-left: 22px; }
.doc .q { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px 14px; margin: 14px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 40px; color: var(--faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 36px 24px; text-align: left; }
  .hero .icon { width: 120px; height: 120px; border-radius: 28px; order: -1; }
  .teaser { width: 100%; max-width: 320px; justify-self: center; }
  .features { grid-template-columns: 1fr; }
  .top nav a { margin-left: 12px; }
}
@media (max-width: 400px) {
  .notify-row { flex-direction: column; }
  .notify button { padding: 15px 22px; }
}

/* Launch: App Store badge (Apple's official artwork, unaltered; keep clear space around it) */
.get { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.badge-link { display: inline-block; line-height: 0; border-radius: 12px; }
.badge-link img { display: block; height: 60px; width: auto; }
.badge-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.hero .get-note { font-size: 15px; margin: 0; color: var(--muted); }

/* Launch: screenshots */
.shots { margin: 34px 0 0; }
.shots-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.shots h2 { font-size: 22px; letter-spacing: -0.01em; margin: 0; }
.shots-nav button {
  width: 40px; height: 40px; margin-left: 6px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 17px; line-height: 1;
}
.shots-nav button:hover { border-color: var(--faint); }
.shots-nav button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.shots-row {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 2px 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.shots-row:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 22px; }
.shots-row img {
  flex: 0 0 auto; width: 236px; height: auto; scroll-snap-align: start;
  border-radius: 22px; border: 1px solid var(--line); background: var(--surface);
}
@media (hover: none) { .shots-nav { display: none; } }

/* Launch: Free and Pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 0; }
.plan .price { color: var(--ink); font-weight: 650; font-size: 16.5px; margin: 0 0 8px; }
.plan-pro { border-color: var(--accent); }
.plans-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--faint); margin: 0; }

/* Launch: closing call to action */
.cta {
  text-align: center; margin-top: 28px; padding: 44px 24px;
  background: linear-gradient(135deg, var(--sky-a), var(--sky-b)); border-radius: 28px;
}
.cta h2 { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 auto 22px; max-width: 18em; }
.doc .badge-link { margin: 6px 0 4px; }

@media (max-width: 760px) {
  .shots-row img { width: min(68vw, 250px); }
  .plans { grid-template-columns: 1fr; }
}
