/* CherryBerry — the two pages Apple requires, plus a front door.
   Colours are lifted from CoreDesignSystem/Palette.swift so the web and the app agree.
   No webfonts, no scripts, no third-party anything: a privacy policy that phones a CDN
   to render itself is not one. */

:root {
  --canvas:    #EFE5DA;
  --surface:   #FFFFFF;
  --ink:       #4A3B42;
  --ink-soft:  #6B5B63;
  --cherry:    #E11D48;
  --cherry-ink:#BE123C;
  --cherry-wash:#FCE8ED;
  --lime-ink:  #4D7C0F;
  --lime-wash: #F3FAE8;
  --hairline:  rgba(74, 59, 66, .12);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas:    #241D20;
    --surface:   #2F2529;
    --ink:       #F3E9EC;
    --ink-soft:  #B6A5AB;
    --cherry:    #FB7185;
    --cherry-ink:#FDA4AF;
    --cherry-wash:#3A2A30;
    --lime-ink:  #A3E635;
    --lime-wash: #2A3320;
    --hairline:  rgba(243, 233, 236, .16);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  padding: 0 20px;
}

main { max-width: 44rem; margin: 0 auto; padding: 56px 0 96px; }

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

.brand {
  display: inline-block;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--cherry-ink); text-decoration: none; margin-bottom: 36px;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.12;
  letter-spacing: -.02em; color: var(--cherry-ink);
  margin: 0 0 .35em;
}
h2 {
  font-size: 1.3rem; letter-spacing: -.01em; color: var(--cherry-ink);
  margin: 2.4em 0 .6em;
}
h3 { font-size: 1.05rem; margin: 1.8em 0 .4em; }

.lede { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 1.6em; }
.updated { font-size: .92rem; color: var(--ink-soft); margin: 0 0 2.4em; }

ul { padding-left: 1.15em; }
li { margin: .45em 0; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 1.6em 0;
  box-shadow: 0 1px 2px rgba(74,59,66,.06), 0 8px 24px rgba(74,59,66,.05);
}
.card :first-child { margin-top: 0; }
.card :last-child { margin-bottom: 0; }

.card--good { background: var(--lime-wash); box-shadow: none; }
.card--good h2, .card--good h3 { color: var(--lime-ink); }

.card--note { background: var(--cherry-wash); box-shadow: none; }

.contact {
  display: inline-block; margin-top: .4em;
  background: var(--cherry); color: #fff; text-decoration: none;
  font-weight: 600; padding: 13px 22px; border-radius: 999px;
}
@media (prefers-color-scheme: dark) { .contact { color: #241D20; } }

dl { margin: 0; }
dt { font-weight: 650; margin: 1.5em 0 .25em; }
dd { margin: 0; color: var(--ink-soft); }

footer {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: .92rem; color: var(--ink-soft);
}
footer a { margin-right: 18px; }
