/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:        #000000;
  --text:      #ffffff;
  --text-dim:  #9aa1ab;
  --text-mute: #6b727c;
  --line:      rgba(255, 255, 255, 0.08);
  --accent:    #8db9dc;
  --accent-dim: rgba(141, 185, 220, 0.14);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --col: 560px;   /* text column */
}

/* ── Base ───────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

p, ul { margin: 0; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Everything is one centred column ---------------------------- */
main {
  max-width: 960px;
  margin-inline: auto;
  padding: 0 24px;
  text-align: center;
}

section, footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Shared type ------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.brand-mark {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.lede {
  max-width: var(--col);
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.62;
  text-wrap: balance;
}

.lede a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(141, 185, 220, 0.4);
  transition: text-decoration-color 0.18s ease;
}

.lede a:hover { text-decoration-color: var(--accent); }

.caption {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--text-mute);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 64px;
}

/* soft bloom behind the top of the page */
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 820px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(141, 185, 220, 0.15), transparent 72%);
  pointer-events: none;
}

.hero > * { position: relative; }

.hero h1 {
  margin-top: 26px;
  font-size: clamp(40px, 7vw, 62px);
}

.hero .lede { margin-top: 20px; }

.hero .caption { margin-top: 26px; }

/* ── Store badges ───────────────────────────────────────── */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

a.store-badge:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.store-badge svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.store-text small {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 3px;
}

.store-badge.is-soon {
  cursor: default;
  color: var(--text-dim);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.13);
}

/* ── Phone frame ────────────────────────────────────────── */
.phone {
  width: 100%;
  border-radius: 34px;
  padding: 7px;
  background: linear-gradient(170deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03) 42%, rgba(255,255,255,0.07));
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.95);
}

.phone img,
.phone video {
  border-radius: 28px;
  width: 100%;
  background: #000;
}

/* hero pair: still shot, and the room finder in motion beside it */
.pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-top: 52px;
}

.pair .phone { max-width: 246px; }

/* ── Screens row ────────────────────────────────────────── */
.screens {
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  padding-top: 84px;
}

.shot { margin: 0; max-width: 186px; }

.shot figcaption {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}

/* ── Privacy ────────────────────────────────────────────── */
.privacy { padding-top: 96px; }

.privacy h2 {
  margin-top: 20px;
  font-size: clamp(30px, 4.4vw, 40px);
}

.privacy .lede { margin-top: 22px; }

/* Source-code link ------------------------------------------- */
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 10px 20px;
  border: 1px solid rgba(141, 185, 220, 0.3);
  border-radius: 13px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.source-link:hover {
  border-color: rgba(141, 185, 220, 0.6);
  background: rgba(141, 185, 220, 0.2);
  transform: translateY(-1px);
}

.source-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: none;
}

.endpoints {
  width: 100%;
  max-width: 420px;
  margin-top: 38px;
  padding: 22px 24px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.endpoints-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.endpoints ul { list-style: none; padding: 0; }

.endpoints li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.endpoints li:last-child { border-bottom: 0; }

.endpoints code {
  display: block;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
}

.endpoints span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-mute);
}

.fineprint {
  max-width: var(--col);
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 2;
  color: var(--text-mute);
}

.fineprint code { font-size: 11px; word-break: break-all; }
.fineprint a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.fineprint a:hover { color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  margin-top: 88px;
  padding: 34px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.disclaimer {
  max-width: 62ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

.disclaimer strong { color: var(--text-dim); font-weight: 600; }

.copyright {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #4e545d;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 620px) {
  body { font-size: 16px; }
  main { padding-inline: 20px; }

  .hero { padding-top: 52px; }

  /* on a phone the pair stacks: still shot, clip underneath */
  .pair {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
  }

  .pair .phone { max-width: 240px; }

  .screens {
    gap: 14px;
    padding-top: 64px;
  }

  .shot { max-width: none; flex: 1; }
  .shot figcaption { font-size: 10px; letter-spacing: 0.04em; }

  /* small screenshots get a proportionally smaller frame */
  .shot .phone { border-radius: 18px; padding: 4px; }
  .shot .phone img { border-radius: 14px; }

  .privacy { padding-top: 76px; }
  .stores { width: 100%; }
  .store-badge { flex: 1; justify-content: center; min-width: 148px; }

  footer { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
