/* Quiet Clean site — brand tokens from the iOS app Theme.swift */
:root {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #fdbc07;
  --on-gold: #000000;
  --tile-videos: #30b94d;
  --tile-recordings: #d61f2c;
  --tile-screenshots: #9b2fe0;
  --tile-similar: #f2711c;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 68rem;
  --prose: 42rem;
  --header-h: 4.25rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe08a; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--on-gold);
  padding: 0.5rem 1rem;
  z-index: 20;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.prose-wrap { width: min(var(--prose), calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.wordmark:hover { color: var(--text); }
.wordmark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.15rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
  padding-bottom: 0.1rem;
}

/* Hero */
main { flex: 1; }
.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -2rem 0 auto;
  height: 22rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(253, 188, 7, 0.16), transparent 58%);
  pointer-events: none;
}
.hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 16px 32px rgba(253, 188, 7, 0.22));
  position: relative;
}
.hero-icon img { width: 112px; height: 112px; display: block; }
.eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 auto 1rem;
  max-width: 18ch;
  position: relative;
}
.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  position: relative;
}
.store-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}
.store-note .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Feature tiles */
.section { padding: 1rem 0 3.25rem; }
.section h2 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 40rem) {
  .grid { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.3rem;
}
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--muted); }
.card .swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.45rem;
  vertical-align: 0.1rem;
}

/* Stylized home grid — labels only, no photos, no real people */
.phone {
  margin: 0 auto 3rem;
  width: min(22.5rem, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 1.15rem 1.05rem 1.25rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.9rem;
  padding: 0 0.15rem;
}
.phone-top strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.phone-top span { color: var(--faint); font-size: 0.85rem; }
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.tile {
  aspect-ratio: 1;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
  color: #fff;
  font-weight: 650;
  letter-spacing: -0.01em;
  min-height: 7.5rem;
}
.tile small {
  font-weight: 500;
  opacity: 0.86;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
.tile-videos { background: var(--tile-videos); }
.tile-similar { background: var(--tile-similar); }
.tile-screenshots { background: var(--tile-screenshots); }
.tile-recordings { background: var(--tile-recordings); }
.caption {
  text-align: center;
  color: var(--faint);
  font-size: 0.88rem;
  margin: 0.85rem 0 0;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0;
}
.band .wrap { display: grid; gap: 1.4rem; }
@media (min-width: 50rem) {
  .band .wrap { grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
}
.band h2 { margin-top: 0; }
.band p { color: var(--muted); margin: 0 0 0.8rem; }
.band p:last-child { margin-bottom: 0; }

/* Legal / support typography */
.page {
  padding: 2.4rem 0 4rem;
}
.page h1 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.meta { color: var(--faint); margin: 0 0 1.4rem; font-size: 0.95rem; }
.lead-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  margin: 0 0 1.75rem;
}
.lead-card p { margin: 0 0 0.8rem; }
.lead-card p:last-child { margin: 0; }
.page h2 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.page h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.3rem;
}
.page p, .page ul { margin: 0 0 1rem; }
.page ul { padding-left: 1.2rem; }
.page li { margin: 0.28rem 0; }
.page p, .page li { color: rgba(255, 255, 255, 0.88); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin: 0 0 2rem;
}
.contact-card p { margin: 0.35rem 0 0; color: var(--muted); }
.contact-card a { font-weight: 650; font-size: 1.15rem; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--faint);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; }
.site-footer a { color: var(--faint); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 40rem) {
  .wrap, .prose-wrap { width: min(var(--max), calc(100% - 1.6rem)); }
  .hero { padding: 2.4rem 0 2rem; }
  .hero-icon, .hero-icon img { width: 88px; height: 88px; }
  .page { padding-top: 1.8rem; }
  .site-header .bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-height: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.7rem;
  }
  .wordmark { white-space: nowrap; }
  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem 1rem;
  }
}
