/* Deliberately light-only: the app has a single pink canvas and no dark theme, so honouring a dark
   system preference here would make the policy look like it belongs to a different product. */
:root {
  color-scheme: light;
  --canvas:#F7CFD8; --grid:rgba(106,114,130,0.30); --surface:#FFFFFF; --border:#000000;
  --ink:#000000; --secondary:#4A5565; --muted:#6A7282; --primary:#73C7C7; --primary-dark:#004040;
}

@font-face {
  font-family: "Amatic SC";
  src: url("/fonts/amatic-sc-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 28px 16px 72px;
  color: var(--ink);
  font: 16.5px/1.62 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  /* The app paints a 50pt grid over the canvas with hairline rules (GridBackground.tsx). Two
     repeating gradients reproduce it without shipping an image. */
  background-color: var(--canvas);
  background-image:
    repeating-linear-gradient(to right, var(--grid) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(to bottom, var(--grid) 0 1px, transparent 1px 50px);
}

main { max-width: 44rem; margin: 0 auto; }

/* The app's card: white, 2px black rule, 16px radius, no shadow. */
.card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px 30px;
}

h1 {
  font-family: "Amatic SC", -apple-system, sans-serif;
  font-weight: 700;
  font-size: 3.1rem;
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 .3rem;
}

/* Section headings use the app's eyebrow treatment, not a bigger serif. */
h2 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 2.4rem 0 .8rem;
}

h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 .3rem; }

p { margin: 0 0 .9rem; }
.updated { color: var(--muted); font-size: .93rem; margin: 0 0 1.5rem; }
.why { color: var(--muted); font-size: .93rem; margin: .35rem 0 0; }

ul { padding-left: 1.15rem; margin: 0 0 .9rem; }
li { margin: .4rem 0; }
strong { font-weight: 600; }
em { font-style: normal; font-weight: 600; }

a { color: var(--primary-dark); text-underline-offset: 2px; }

/* The pale teal chip the app uses for status badges. */
.note {
  background: rgba(115,199,199,0.22);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 1.6rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.item { padding: 1.1rem 0; border-bottom: 1px solid rgba(0,0,0,0.10); }
.item:last-of-type { border-bottom: 0; }
.item p { margin: 0; }

footer {
  margin: 2.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0,0,0,0.10);
  color: var(--muted);
  font-size: .9rem;
}