:root {
  --bg: #faf9f7;
  --ink: #18181b;
  --muted: #5d5d66;
  --card: #ffffff;
  --line: #e7e5e0;
  /* Chrome: a bright "sky" fading to a sharp dark "horizon" line just below the middle, then a
     lighter "ground" reflection. Darker overall in light mode so it holds up on a white page. */
  --silver: linear-gradient(180deg,
    #5c626a 0%, #959ba3 24%, #cfd3d8 45%, #3a3f46 49%, #24282d 53%,
    #555b63 66%, #8c929a 84%, #60666e 100%);
  /* The small logo has no room for the horizon line, which reads as a strikethrough there. */
  --silver-small: linear-gradient(180deg, #8a9098 0%, #4a4f57 55%, #6c727a 100%);
  --sheen: linear-gradient(105deg, transparent 42%, rgb(255 255 255 / 0.85) 50%, transparent 58%);
  --silver-depth: drop-shadow(0 0 0.5px rgb(0 0 0 / 0.45)) drop-shadow(0 3px 4px rgb(0 0 0 / 0.2));
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --ink: #f1f0ed;
    --muted: #a2a2ab;
    --card: #1b1b1f;
    --line: #2b2b31;
    --silver: linear-gradient(180deg,
      #ffffff 0%, #e9ecef 26%, #c4c9cf 46%, #5f656d 49%, #8a9098 54%,
      #d3d7dc 70%, #f7f8f9 86%, #bfc4ca 100%);
    --silver-small: linear-gradient(180deg, #ffffff 0%, #b4b9c0 55%, #e4e7ea 100%);
    --silver-depth: drop-shadow(0 -1px 0 rgb(255 255 255 / 0.15)) drop-shadow(0 4px 8px rgb(0 0 0 / 0.6));
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Home */

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 12vw, 128px) 16px clamp(40px, 7vw, 72px);
  text-align: center;
}

.wordmark {
  margin: 0;
  font-size: clamp(3.4rem, 15vw, 8.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.wordmark, .brand {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The big logo also gets depth and a light sweeping across it once on load. */
.wordmark {
  display: inline-block;
  padding: 0 0.04em 0.06em;
  background: var(--sheen), var(--silver);
  background-size: 300% 100%, 100% 100%;
  background-position: 0% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  filter: var(--silver-depth);
  animation: sheen 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

@keyframes sheen {
  from { background-position: 100% 0, 0 0; }
  to { background-position: 0% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark { animation: none; }
}

.tagline {
  margin: 20px auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

.app {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--app);
  color: var(--app-fg);
  border-radius: 20px;
}

.app img {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 20%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.18);
}

.app h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.app p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.app .play {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  background: var(--app-fg);
  color: var(--app);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.app .play:hover { opacity: 0.85; }

.app .legal {
  margin-top: 12px;
  font-size: 0.85rem;
}


/* Policy and terms pages */

.bar {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 0;
}

.brand {
  background-image: var(--silver-small);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  overflow-wrap: anywhere;
}

.doc h1 {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.doc h2 {
  margin: 36px 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.doc p, .doc ul { margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }

/* Shared */

.foot {
  padding: 28px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
