/* Landing page (R3: mock B): clean modern split layout, cool slate by day, black with amber by night.
   Full-width tappable rows instead of centered buttons. System fonts only. */
:root {
  --bg: #e9f0f5;
  --card: #ffffff;
  --text: #0e1f2b;
  --muted: #3f5566;
  --line: #9db3c3;
  --accent: #0b5ea8;
  --accent-text: #ffffff;
  --badge: #0e1f2b;
  --badge-text: #ffffff;
  --focus: #b45309;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05080c;
    --card: #0f161d;
    --text: #f1f5f8;
    --muted: #a9b8c4;
    --line: #2b3a47;
    --accent: #f5b942;
    --accent-text: #161000;
    --badge: #f5b942;
    --badge-text: #161000;
    --focus: #8fd3ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px 24px;
}
.top { display: block; text-align: left; }
.hero {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 0 12px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 12px;
  border: 1px solid var(--line);
}
h1 {
  margin: 0 0 8px;
  font-size: 2.6rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lede { margin: 0 0 4px; font-size: 1.1rem; }
.code-note {
  margin: 18px 0 20px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--badge);
  color: var(--badge-text);
  font-weight: 800;
  font-size: 0.95rem;
}
.step-label { margin: 0 0 10px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.row {
  display: block;
  min-height: 72px;
  margin: 0 0 12px;
  padding: 14px 16px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 12px;
  position: relative;
  padding-right: 48px;
}
.row::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  transform: rotate(45deg);
}
.row:active { background: var(--bg); }
.row-title { display: block; font-size: 1.3rem; font-weight: 800; }
.row-note { text-wrap: balance; }
.row-note { display: block; margin-top: 2px; font-size: 0.95rem; color: var(--muted); }
a:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 4px; }
.version { font-size: 0.85rem; color: var(--muted); }
@media (min-width: 760px) {
  .page { padding: 56px 32px; }
  .top { display: flex; gap: 40px; align-items: center; }
  .hero { width: 280px; height: 280px; flex: none; margin: 0; border-radius: 16px; }
  h1 { font-size: 4rem; }
  .get { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
  .get .step-label { grid-column: 1 / -1; margin-bottom: 0; }
  .get .row { margin: 0; }
  .page { padding-top: 40px; }
}
/* A row that is not a link yet (iPhone until the TestFlight public link exists). */
.row-soon { border-style: dashed; opacity: 0.75; cursor: default; }
.row-soon::after { display: none; }
