:root {
  --sun: #ECD66E;
  --pine: #283C35;
  --day: #D6E6EA;
  --dusk: #E7B98C;
  --night: #16233A;
  --space: #04070D;
  --frost: #EEF1EA;
  --muted-light: #4A5C55;
  --muted-dark: #A9B6C4;
  --gutter: clamp(16px, 5vw, 64px);
  --measure: 34rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--space);
  color: var(--pine);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.125rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

img, video { display: block; width: 100%; height: auto; }

.bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.mark img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px rgb(40 60 53 / 0.15); }

.status { font-size: 0.95rem; color: var(--muted-light); }

/* The page climbs: sunlit ground, open sky, dusk, night, orbit. */
.sky {
  background: linear-gradient(to bottom,
    var(--sun) 0,
    var(--sun) 9%,
    var(--day) 17%,
    var(--day) 27%,
    var(--dusk) 35%,
    var(--night) 43%,
    var(--space) 58%);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: 110px var(--gutter) 64px;
}

h1 {
  margin: 0 0 0.3em;
  font-size: clamp(4rem, 13vw, 11.5rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 96;
}

.lede {
  margin: 0 0 1em;
  max-width: 20ch;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.note { margin: 0; max-width: var(--measure); color: var(--muted-light); }

.phone {
  margin: 0;
  padding: 9px;
  border-radius: 48px;
  background: #1C2422;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.06) inset,
    0 30px 60px -20px rgb(20 30 26 / 0.45),
    0 10px 20px -10px rgb(20 30 26 / 0.3);
  width: min(100%, 320px);
}

.phone img, .phone video {
  border-radius: 39px;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  background: #0A0F14;
}

.phone-hero { justify-self: center; width: min(100%, 340px); transform: rotate(3deg); }

.leg {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  grid-template-areas: "alt copy shots";
  align-items: start;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(72px, 12vh, 140px) var(--gutter);
  border-top: 1px solid rgb(40 60 53 / 0.18);
}

.alt {
  grid-area: alt;
  margin: 0;
  font-size: 1rem;
  color: var(--muted-light);
  white-space: nowrap;
}

.alt span {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--pine);
}

.copy { grid-area: copy; max-width: var(--measure); }

h2 {
  margin: 0 0 0.6em;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.copy p { margin: 0 0 1em; }

.shots { grid-area: shots; display: flex; align-items: flex-start; gap: 20px; }
.shots .phone { width: clamp(200px, 22vw, 300px); }
.pair .phone-low { margin-top: 64px; }

.trio .phone { width: clamp(180px, 16vw, 240px); }
.trio .phone:last-child { margin-top: 128px; }

.community {
  padding: clamp(96px, 16vh, 180px) var(--gutter) clamp(48px, 8vh, 96px);
  border-top: 1px solid rgb(238 241 234 / 0.14);
}

.community h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 14ch; }
.community .intro { max-width: var(--measure); color: var(--muted-dark); margin: 0 0 2.5em; }

.sources {
  list-style: none;
  margin: 0 0 2.5em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 28px 48px;
  max-width: 72rem;
}

.sources li { padding-top: 16px; border-top: 2px solid var(--sun); color: var(--muted-dark); }
.sources strong { color: var(--frost); font-weight: 700; }
.sources a { color: var(--frost); }

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--pine);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #F3E28F; }
.button:focus-visible { outline-color: var(--sun); }

.dark { color: var(--frost); border-top-color: rgb(238 241 234 / 0.14); }
.dark .alt { color: var(--muted-dark); }
.dark .alt span { color: var(--frost); }
.dark .phone { background: #2A3340; }

.promise {
  padding: clamp(96px, 16vh, 180px) var(--gutter) clamp(72px, 12vh, 140px);
  border-top: 1px solid rgb(238 241 234 / 0.14);
}

.promise h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 16ch; }
.promise p { max-width: var(--measure); color: var(--muted-dark); margin: 0 0 1em; }
.promise a { color: var(--sun); }

.foot {
  padding: 48px var(--gutter) 56px;
  background: var(--space);
  color: var(--muted-dark);
  font-size: 0.95rem;
  border-top: 1px solid rgb(238 241 234 / 0.1);
}

.foot p { margin: 0 0 0.8em; max-width: 46rem; }
.foot .credits { font-size: 0.85rem; opacity: 0.8; }
.foot .legal a { color: var(--frost); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; min-height: 0; }
  .phone-hero { width: min(78%, 300px); transform: rotate(2deg); }
  .leg {
    grid-template-columns: 1fr;
    grid-template-areas: "alt" "copy" "shots";
    gap: 20px;
  }
  .alt span { display: inline; margin-right: 0.15em; }
  .shots { justify-content: center; }
  .shots .phone { width: min(72vw, 280px); }
  .pair .phone { width: min(44vw, 240px); }
  .pair .phone-low { margin-top: 40px; }
  .trio { flex-wrap: wrap; }
  .trio { justify-content: center; }
  .trio .phone { width: min(42vw, 240px); }
  .trio .phone:last-child { margin-top: 0; }
  .phone { border-radius: 36px; padding: 7px; }
  .phone img, .phone video { border-radius: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  .phone-hero { transform: none; }
}

/* Privacy and other reading pages. */
.doc { background: var(--frost); }
.doc .foot { background: var(--pine); color: #C9D3CC; }
.page { max-width: 42rem; padding: 110px var(--gutter) 96px; margin: 0; }
.page h1 { font-size: clamp(3rem, 9vw, 5.5rem); }
.page .lede { max-width: 30ch; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.page .updated { color: var(--muted-light); font-size: 0.95rem; }
.page h2 { font-size: 1.6rem; margin-top: 2em; }
.page p, .page li { max-width: var(--measure); }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 0.4em; }
