:root {
  --ink: #1b2734;
  --ink-2: rgba(27, 39, 52, 0.62);
  --ink-3: rgba(27, 39, 52, 0.12);
  --page: #ffffff;
  --tile: #ffffff;
  --frame: #1b2734;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceff3;
    --ink-2: rgba(236, 239, 243, 0.6);
    --ink-3: rgba(236, 239, 243, 0.14);
    --page: #111113;
    --tile: #1c1c1e;
    --frame: #2c2c2e;
  }
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background: var(--page);
  color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

a { color: inherit; }

/* The app icon: the marks on their tile, as on the Home Screen. */
.icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--tile) url(marks.png) center / cover;
  box-shadow: 0 0 0 1px var(--ink-3), 0 6px 20px rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) {
  .icon { background-image: url(marks-dark.png); }
}

/* The icon and the name beside it, at the top of every page. */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .icon { width: 32px; height: 32px; border-radius: 7px; }
.brand span { font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }

/* ——— Landing ——— */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 32px;
}

.copy { max-width: 440px; }

.copy h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 28px;
}

.copy p {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 16px;
  text-wrap: pretty;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.store:hover { opacity: 0.85; }
.store svg {
  width: 20px;
  height: 20px;
  margin-top: -3px;
  fill: currentColor;
}

/* The phone: a plain frame round the recording, drawn rather than pictured. */
.phone {
  position: relative;
  height: min(78vh, 640px);
  aspect-ratio: 1320 / 2868;
  padding: 10px;
  border-radius: 54px;
  background: var(--frame);
  box-shadow: 0 30px 80px rgba(27, 39, 52, 0.18);
}
.phone video,
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 44px;
  background: var(--tile);
}

footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 32px 32px;
  font-size: 14px;
  color: var(--ink-2);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 48px;
    padding: 40px 16px;
  }
  .copy { max-width: 400px; }
  .copy .brand { justify-content: center; }
  .copy h1 { font-size: 44px; }
  .copy p { font-size: 18px; }
  .phone { height: auto; width: min(280px, 72vw); border-radius: 46px; }
  .phone video, .phone img { border-radius: 37px; }
}

/* ——— Privacy and support ——— */

.page {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}
.page header { margin-bottom: 40px; }
.page h1 { font-size: 36px; letter-spacing: -0.02em; line-height: 1.15; }
.page .updated { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.page h2 { font-size: 18px; margin-top: 32px; }
.page p { margin-top: 10px; }
.page > a { text-decoration: none; }
