/* Air Quality Index 2.0 — apparentlogic.com/aqi */

:root {
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #58585c;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.11);
  --line-soft: rgba(0, 0, 0, 0.06);
  --accent: #14803a;
  --accent-fill: #27bd4a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 6px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.06), 0 26px 70px rgba(0, 0, 0, 0.14);
  --nav-bg: rgba(255, 255, 255, 0.78);

  /* The smoke colormap, used as the page's signature hairline. */
  --smoke: linear-gradient(90deg, #a8dadc, #4895ef, #2a9d8f, #90be6d,
      #f9c74f, #f3722c, #d62828, #6a040f);

  --measure: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0b0b0d;
    --card: #141416;
    --ink: #f5f5f7;
    --ink-2: #a8a8ad;
    --ink-3: #86868b;
    --line: rgba(255, 255, 255, 0.14);
    --line-soft: rgba(255, 255, 255, 0.08);
    --accent: #67e95a;
    --accent-fill: #34c759;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.7);
    --nav-bg: rgba(12, 12, 14, 0.72);
  }
}

/* Sections that stay dark in either theme. */
.on-dark {
  --bg: #07080a;
  --bg-alt: #0d0f12;
  --card: rgba(255, 255, 255, 0.055);
  --ink: #f5f5f7;
  --ink-2: #b0b4bb;
  --ink-3: #8a8f97;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --accent: #67e95a;
  --accent-fill: #34c759;
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.6);
  background: var(--bg);
  color: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

::selection {
  background: rgba(39, 189, 74, 0.24);
}

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

/* ---------- Layout primitives ---------- */

.wrap {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-wide {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
}

.band {
  padding-block: clamp(72px, 11vw, 140px);
}

.band-tight {
  padding-block: clamp(52px, 7vw, 88px);
}

.alt {
  background: var(--bg-alt);
}

/* The signature: a hairline rendered in the app's own smoke colormap. */
.scale-rule {
  height: 3px;
  border: 0;
  margin: 0;
  background: var(--smoke);
  opacity: 0.9;
}

.scale-rule--thin {
  height: 2px;
  opacity: 0.55;
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}

.eyebrow--muted {
  color: var(--ink-3);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.06;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
}

h4 {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.0625rem, 1.9vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 34ch;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.lead--wide {
  max-width: 52ch;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.body-2 {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.55;
}

.small {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
}

/* The three centered contexts on the page. Grouped so that anything which has
   to opt in to centering — the lead measure, the button rows — stays in step
   with them instead of being re-centered ad hoc per section. */
.centered,
.hero-in,
.closer {
  text-align: center;
}

.centered .lead,
.hero-in .lead,
.closer .lead {
  margin-inline: auto;
}

/* Provenance tag — the ornament of this page is attribution. */
.src {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-in {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  color: var(--ink-2);
  font-size: 0.8125rem;
  letter-spacing: -0.005em;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-cta {
  flex: 0 0 auto;
  margin-left: 26px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent) !important;
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: block;
    margin-left: auto;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--accent-fill);
  color: #fff;
  border: 1px solid transparent;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.btn:active {
  transform: scale(0.985);
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  filter: none;
  border-color: var(--ink-3);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.centered .cta-row,
.hero-in .cta-row,
.closer .cta-row {
  justify-content: center;
}

/* ---------- Hero ---------- */

/* The hero is dark in either theme, so it carries the same token overrides as
   .on-dark — otherwise .btn-ghost and .hero-note resolve against the page
   theme and need per-element color overrides to look right. */
.hero {
  --bg: #07080a;
  --ink: #f5f5f7;
  --ink-2: #b7bcc4;
  --ink-3: #7f858e;
  --line: rgba(255, 255, 255, 0.2);
  --accent: #67e95a;
  --accent-fill: #34c759;
  position: relative;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  padding-block: clamp(64px, 10vw, 128px) clamp(76px, 8vw, 124px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90%;
  background: radial-gradient(60% 55% at 50% 0%,
      rgba(53, 130, 200, 0.28), rgba(7, 8, 10, 0) 70%);
  pointer-events: none;
}

.hero-in {
  position: relative;
}

.hero h1 {
  max-width: 20ch;
  margin-inline: auto;
}

.hero .lead {
  max-width: 46ch;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.hero-stage {
  position: relative;
  margin: clamp(48px, 7vw, 84px) auto 0;
  max-width: 1440px;
  padding-inline: var(--gutter);
}

/* A full-bleed atmospheric plate; the devices stand on it. */
.hero-plate {
  position: absolute;
  inset: 0 var(--gutter);
  border-radius: clamp(18px, 2vw, 28px);
  overflow: hidden;
}

.hero-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.hero-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.5) 0%,
      rgba(7, 8, 10, 0.12) 40%, rgba(7, 8, 10, 0.66) 100%);
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 44px);
  padding: clamp(44px, 6vw, 92px) 0 0;
}

.hero-phones .phone {
  width: clamp(136px, 23vw, 250px);
  margin-bottom: clamp(-56px, -5vw, -28px);
}

.hero-phones .phone--lift {
  margin-bottom: clamp(-12px, 1.4vw, 22px);
}

/* ---------- Device treatment ---------- */

.phone,
.slab {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0c0e;
}

.slab {
  border-radius: 18px;
}

.frame {
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ---------- WWDC band ---------- */

.wwdc {
  border-block: 1px solid var(--line);
}

.wwdc-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 860px) {
  .wwdc-in {
    grid-template-columns: 1fr;
  }
}

.wwdc h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 28px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.stat dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}

.stat dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- Feature grid ---------- */

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(40px, 5vw, 64px);
}

/* A grid that opens its own section, so it doesn't need the leading gap that
   separates a grid from the copy above it. */
.grid--flush {
  margin-top: 0;
}

/* Vertical rhythm between stacked blocks inside one section. */
.stack {
  margin-top: clamp(32px, 4vw, 56px);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.on-dark .card {
  box-shadow: none;
}

.card h3 {
  font-size: 1.1875rem;
}

.card p {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

.card .src {
  margin-top: auto;
  align-self: flex-start;
}

.glyph {
  width: 34px;
  height: 34px;
  stroke: var(--accent-fill);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ---------- Split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.split--media-first .split-copy {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split--media-first .split-copy {
    order: 0;
  }
}

.split-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

.split-copy h2 + p,
.split-copy h2 + .body-2 {
  margin-top: 22px;
}

.checks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.checks svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  stroke: var(--accent-fill);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checks strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Full-bleed showcase ---------- */

.showcase {
  position: relative;
  min-height: clamp(460px, 68vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #07080a;
  color: #f5f5f7;
}

.showcase-bg {
  position: absolute;
  inset: 0;
}

.showcase-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Two scrims: a vertical one for depth, and a stronger left-hand one so the
   copy always clears the brightest part of the forecast behind it. */
.showcase-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(6, 7, 9, 0.9) 0%, rgba(6, 7, 9, 0.7) 30%,
      rgba(6, 7, 9, 0.3) 56%, rgba(6, 7, 9, 0) 80%),
    linear-gradient(180deg, rgba(6, 7, 9, 0.34) 0%, rgba(6, 7, 9, 0.06) 34%,
      rgba(6, 7, 9, 0.76) 100%);
}

@media (max-width: 760px) {
  .showcase-bg::after {
    background: linear-gradient(180deg, rgba(6, 7, 9, 0.62) 0%,
        rgba(6, 7, 9, 0.5) 30%, rgba(6, 7, 9, 0.94) 100%);
  }
}

.showcase-copy {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px);
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.showcase-copy h2,
.showcase-copy .lead,
.showcase-copy .eyebrow {
  text-shadow: 0 1px 24px rgba(6, 7, 9, 0.8);
}

.showcase-copy .lead {
  color: #c9ced6;
  max-width: 46ch;
}

.showcase-copy .eyebrow {
  color: #67e95a;
}

.showcase--vision .showcase-bg img {
  object-position: 50% 24%;
}

/* ---------- Room-scale immersive band ---------- */

/* The planet's limb runs edge to edge; the copy sits on the black below it. */
.immersive-band {
  padding-bottom: clamp(56px, 7vw, 96px);
}

.immersive-band > img {
  width: 100%;
  height: clamp(170px, 25vw, 360px);
  object-fit: cover;
  object-position: 50% 22%;
}

.immersive-copy {
  padding-top: clamp(30px, 3.6vw, 52px);
}

.immersive-copy > * {
  max-width: 62ch;
}

.immersive-copy h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.025em;
}

.immersive-copy h3 + .body-2 {
  margin-top: 16px;
}

/* ---------- Layer table ---------- */

.layers {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.layer-group {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(24px, 3vw, 36px);
}

@media (max-width: 780px) {
  .layer-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.layer-group h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.layer-group > div > .small {
  margin-top: 8px;
}

.layer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.layer-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.layer-list b {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.layer-list span {
  color: var(--ink-2);
  font-size: 0.9375rem;
  flex: 1 1 min(100%, 300px);
}

/* ---------- AQI scale ---------- */

.aqi-scale {
  margin-top: clamp(36px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
}

.aqi-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 0 16px;
  align-items: center;
  padding: 14px clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line-soft);
}

.aqi-row:first-child {
  border-top: 0;
}

.aqi-chip {
  width: 12px;
  height: 34px;
  border-radius: 3px;
}

.aqi-row b {
  font-size: 0.9375rem;
  font-weight: 600;
  display: block;
  letter-spacing: -0.01em;
}

.aqi-row .small {
  margin-top: 2px;
}

.aqi-range {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- Platforms ---------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(40px, 5vw, 60px);
}

@media (max-width: 900px) {
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .platforms {
    grid-template-columns: 1fr;
  }
}

.platform {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.on-dark .platform {
  box-shadow: none;
}

.platform h4 {
  margin: 14px 0 6px;
}

.platform p {
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.platform .small {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

/* ---------- Promise ---------- */

.promise h2 {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  max-width: 24ch;
}

.promise-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  .promise-pair {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.promise-pair h3 + .body-2 {
  margin-top: 14px;
}

.promise-pair .body-2 + p {
  margin-top: 16px;
}

/* ---------- Sources ---------- */

.sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 5vw, 60px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sources {
    grid-template-columns: 1fr;
  }
}

.source {
  background: var(--bg);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source h4 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.source h4 a {
  color: inherit;
}

.source h4 svg {
  width: 11px;
  height: 11px;
  stroke: var(--ink-3);
  fill: none;
  stroke-width: 2.2;
  flex: 0 0 auto;
}

.source p {
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Languages ---------- */

.lang-list {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-top: 26px;
  word-spacing: 0.2em;
}

/* ---------- Closing CTA ---------- */

.closer img.appicon {
  width: 104px;
  height: 104px;
  margin: 0 auto 24px;
}

.closer h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

/* ---------- Footer ---------- */

footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: 44px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}

.foot-in p {
  margin: 0;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-links a {
  color: var(--ink-2);
}

.disclaimer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  max-width: 76ch;
  line-height: 1.6;
}

/* ---------- Long-form prose (privacy policy) ---------- */

.page-head {
  padding-block: clamp(48px, 7vw, 88px) clamp(24px, 3vw, 36px);
}

.page-head h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 24ch;
}

.page-head .small {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.prose {
  max-width: 68ch;
  padding-bottom: clamp(56px, 8vw, 104px);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-2);
}

.prose > h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--ink);
  margin-top: clamp(38px, 4.5vw, 60px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--line-soft);
}

.prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose > h3 {
  font-size: 1.0625rem;
  color: var(--ink);
  margin-top: 26px;
}

.prose p {
  margin: 14px 0 0;
}

.prose ul,
.prose ol {
  margin: 16px 0 0;
  padding-left: 1.25em;
}

.prose li {
  margin-top: 9px;
}

.prose li::marker {
  color: var(--ink-3);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose .callout {
  margin-top: 20px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-fill);
  border-radius: 14px;
  background: var(--bg-alt);
  font-size: 1rem;
}

.prose .callout p:first-child {
  margin-top: 0;
}

/* Host list: the endpoints the app actually contacts. */
.endpoints {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.endpoints li {
  margin: 0;
  display: grid;
  gap: 3px;
}

.endpoints code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink);
  word-break: break-all;
}

.endpoints span {
  font-size: 0.9375rem;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}

@media print {
  .nav,
  .hero-plate,
  .showcase-bg {
    display: none;
  }
}
