/* Shared chrome for every page that is not the landing page: support,
   account deletion, privacy, terms, 404. Same tokens as index.html, so a
   reviewer following the Privacy link stays in the same app. */
:root {
  --green:      #5B8F3A;
  --green-ink:  #3F6B27;   /* 5.1:1 on the cream as text */
  --green-soft: #DCECD0;
  --pink:       #E9A3B4;
  --cream:      #FFF3E6;
  --paper:      #FFFAF4;
  --ink:        #2B2622;
  --muted:      #6B625B;
  --faint:      #857B73;
  --line:       #EADFD1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 80px; }

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(760px, 100% - 40px); margin-inline: auto; }

/* nav */
nav { border-bottom: 1px solid var(--line); background: var(--cream); }
nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; width: min(1080px, 100% - 40px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; text-decoration: none; color: var(--ink); font-size: 18px;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav .home { color: var(--muted); text-decoration: none; font-weight: 700; }
nav .home:hover { color: var(--green-ink); text-decoration: underline; }

/* page body */
main { padding: 56px 0 88px; }

h1 {
  font-family: 'Bricolage Grotesque', 'Nunito', system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.5px;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--green-ink); }

.lead { margin-top: 16px; font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); }
.updated { margin-top: 10px; font-size: 14px; color: var(--faint); }

h2 {
  font-family: 'Bricolage Grotesque', 'Nunito', system-ui, sans-serif;
  font-size: 24px; font-weight: 700; margin: 44px 0 12px; letter-spacing: -0.3px;
}
h3 { font-size: 17px; font-weight: 800; margin: 26px 0 8px; }

p, li { color: var(--muted); }
p + p { margin-top: 14px; }
ul, ol { margin: 12px 0 0 22px; }
li { margin-bottom: 8px; }
strong, b { color: var(--ink); font-weight: 700; }

/* Underlined, not colour-only. */
main a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }

.btn {
  display: inline-block;
  background: var(--green); color: #fff;
  font-weight: 800; text-decoration: none;
  padding: 13px 26px; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(91, 143, 58, .28);
}
main a.btn { color: #fff; text-decoration: none; }
.btn:hover { background: var(--green-ink); }

.panel {
  margin-top: 28px; padding: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
}
.panel h2 { margin-top: 0; font-size: 20px; }

.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding-left: 38px; margin-bottom: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
}

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; }
footer .wrap {
  width: min(1080px, 100% - 40px);
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.links { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--green-ink); text-decoration: underline; }
.fine { color: var(--faint); font-size: 14px; }

/* Skip link, visible only once focused. */
.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; z-index: 50; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
