/* Mimi's web pages — the app's look, on the web.
 *
 * Same palette as Mimi/DesignSystem.swift ("Meadow"): cocoa ink on parchment, with cream
 * cards and a warm hairline. Text clears WCAG AA on both: ink 8.9:1 and subtle 5.2:1 on
 * the parchment, higher on the cards. Josefin Sans is the app's face; the stack falls back
 * to the system sans if the font can't be reached, which App Review's network
 * occasionally can't. Shared by the landing page, support and privacy; landing.css adds
 * what only the landing page needs.
 */

:root {
  --paper: #f1e9d0;
  --ink: #4a3b2e;
  --hairline: #d9ccae;
  --subtle: #6e5d48;
  --card: #fbf6e6;
  --cream: #fbf6e6;
  --moss: #56702f;
  --grass: #9ab25e;
  --sage: #dce4bf;
  --clay: #e7b09c;
  --teal: #a9d3c6;
  --sky-top: #c3e2d8;
  --butter: #f2dfa7;
  --wood: #e6cfa2;
  --oak: #d3b583;
  --dusk: #3f5a57;
  --dusk-top: #2c423f;
  --night: #172120;
  --biscuit: #ddae6b;
  --lamp: #f4c672;
  --moon: #f6edcf;
  --radius: 22px;
  --stroke: 1.5px;
  --face: "Josefin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Patrick Hand", "Josefin Sans", cursive;
}

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

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

body {
  margin: 0;
  padding: 0 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face);
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding-block: 56px 80px;
}

/* Brand bar: the mark and her name, linking home. ------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
}

.brand img { width: 30px; height: 30px; border-radius: 8px; }

.brand:hover { color: var(--ink); }

.page-head { margin-top: 28px; }

/* Header ------------------------------------------------------------------ */

header { text-align: center; margin-bottom: 44px; }

header .mark {
  display: block;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
}

h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.tagline {
  color: var(--subtle);
  font-size: 15px;
  margin: 0;
}

.updated {
  color: var(--subtle);
  font-size: 14px;
  font-style: italic;
  margin: 10px 0 0;
}

/* Body ------------------------------------------------------------------- */

h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}

h3 { font-size: 17px; font-weight: 600; margin: 26px 0 6px; }

p { margin: 0 0 14px; }

ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 9px; }

strong { font-weight: 600; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--subtle); }

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

/* The one card treatment, matching the app's Card view. */
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 22px;
}

.card h3:first-child { margin-top: 0; }

.lede {
  font-size: 18px;
  margin-bottom: 26px;
}

.contact {
  font-size: 19px;
  font-weight: 600;
  word-break: break-word;
}

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

footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  color: var(--subtle);
  font-size: 14px;
  text-align: center;
}

footer a { color: var(--subtle); }

nav.pagelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .wrap { padding-block: 40px 60px; }
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
  body { font-size: 16px; }
  .card { padding: 18px 20px; }
}
