@font-face {
  font-family: "Sora";
  src: url("/fonts/sora.fa26406eeda9a3c6.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* The brand palette (brand/BRAND.md in the app repo). Cream is the marketing
   surface; forest is the light-mode accent and sage the dark-mode accent.
   Terracotta is warmth only, never a warning. */
:root {
  --ink: #1E1E1E;
  --terracotta: #C47C5A;
  --cream: #F6EFE6;
  --sage: #A8B29A;
  --forest: #3E5244;

  --page: var(--cream);
  --text: var(--ink);
  --quiet: #5E5A55;
  --rule: #E3D9CC;
  --card: #FBF7F1;
  --accent: var(--forest);
  --band: var(--forest);
  --band-text: var(--cream);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #161616;
    --text: var(--cream);
    --quiet: #B5ADA3;
    --rule: #2E2C2A;
    --card: #1E1E1E;
    --accent: var(--sage);
    --band: #22302A;
    --band-text: var(--cream);
  }
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 32px, 960px); margin-inline: auto; }
.narrow { width: min(100% - 32px, 680px); margin-inline: auto; }

/* Header and footer, the same on every page. */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.home-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.home-link { gap: 0.75rem; }
.home-link img { width: 36px; height: 36px; }
.site-header nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--accent); }

.wordmark {
  display: block;
  aspect-ratio: 1179 / 413;
  background: var(--text);
  mask: url("/images/wordmark.0167048c250b214a.svg") center / contain no-repeat;
}
/* Blackletter needs size to stay legible: below ~30px the a, r and o blur together. */
.home-link .wordmark { height: 32px; }

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  font-size: 0.85rem;
  color: var(--quiet);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
}
.site-footer p { margin: 0; }
.site-footer .company { color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer a { color: var(--quiet); }
.site-footer .notice { grid-column: 1 / -1; font-size: 0.78rem; text-wrap: pretty; }

/* Home. */
.hero { text-align: center; padding: 4.5rem 0 3.5rem; }
.hero .app-icon {
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 10px 24px rgb(30 30 30 / 0.18));
}
.hero h1 { margin: 1.75rem auto 0; width: min(84vw, 440px); }

/* Jackie's lockup as drawn: the tagline tucked into the p's descender band. */
.lockup {
  display: block;
  width: 100%;
  aspect-ratio: 1179 / 413;
  background: var(--text);
  mask: url("/images/lockup.fa730e215b3cda63.svg") center / contain no-repeat;
}
.lede { font-size: 1.3rem; line-height: 1.5; margin: 2rem auto 0; max-width: 34ch; }
/* The lede is a pair; it breaks between its sentences, never inside one. */
.lede span { display: inline-block; }
.availability {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
}

.idea { padding: 2rem 0 1rem; text-align: center; }
.idea p { color: var(--quiet); }

.collections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}
.collections article {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 1.5rem;
}
.collections p { margin: 0; color: var(--quiet); font-size: 0.97rem; }
.collections .kind {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.promise {
  background: var(--band);
  color: var(--band-text);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}
.promise p { max-width: 52ch; margin-inline: auto; opacity: 0.9; }
.promise p:last-child { margin-bottom: 0; }
.promise a { color: var(--band-text); }

/* Prose pages: privacy and support. */
.prose { padding: 3.5rem 0 0; }
.prose h1 { font-size: 2.2rem; margin: 0 0 0.5rem; }
.prose h2 { font-size: 1.25rem; margin: 2.5rem 0 0.6rem; }
.prose .updated { color: var(--quiet); font-size: 0.9rem; margin-bottom: 2rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.4rem; }

.contact {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1.5rem 0 1rem;
}
.contact p:last-child { margin-bottom: 0; }
.contact .address { font-size: 1.2rem; font-weight: 500; }

.prose dt { font-weight: 600; margin-top: 1.5rem; }
.prose dd { margin: 0.35rem 0 0; color: var(--quiet); }

@media (max-width: 520px) {
  .hero { padding-top: 3rem; }
  .lede { font-size: 1.15rem; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .promise { padding: 2rem 1.25rem; border-radius: 22px; }
}

.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
