:root {
  color-scheme: light dark;
  --bg: #f6f3ee;
  --ink: #171717;
  --muted: #62605b;
  --line: #d8d0c4;
  --surface: #fffaf2;
  --accent: #315f62;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151413;
    --ink: #f4efe7;
    --muted: #b9b0a5;
    --line: #38332d;
    --surface: #1d1a17;
    --accent: #9ed0c9;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.shell {
  width: min(760px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  min-height: calc(100vh - 144px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.app-icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.12);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  text-transform: lowercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 1.28rem;
  line-height: 1.55;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
}

.note {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.document {
  max-width: 680px;
}

.document h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  margin-top: 22px;
}

.document h2 {
  margin: 42px 0 10px;
  font-size: 1.1rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
}

.document p,
.document li {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--muted);
}

.document ul {
  padding-left: 1.25rem;
}

.back-link,
.updated,
.fineprint {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.back-link {
  font-size: 0.95rem;
}

.updated,
.fineprint {
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .shell {
    width: min(100vw - 28px, 760px);
    padding: 42px 0;
  }

  .hero {
    min-height: calc(100vh - 84px);
  }

  .app-icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
  }

  .lede {
    font-size: 1.12rem;
  }
}
