/* Photo Restore Unlimited support site. No web fonts, no scripts, no third-party requests.
   Large type and AA contrast: many readers are older. Colours pass WCAG AA (4.5:1) on both themes. */
:root {
  color-scheme: light dark;
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1f1b16;
  --muted: #554c42;
  --accent: #7a3e12;
  --accent-text: #ffffff;
  --rule: #d9cfc1;
  --focus: #0b57d0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171411;
    --surface: #221e19;
    --text: #f3eee6;
    --muted: #cdc3b6;
    --accent: #f2b880;
    --accent-text: #1c1206;
    --rule: #4a4238;
    --focus: #9cc2ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.1875rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 1rem; z-index: 1; }

header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 700; text-decoration: none; }
.brand svg { width: 2rem; height: 2rem; flex: none; }
nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
nav a { display: inline-block; padding: 0.6rem 0; }
nav a[aria-current="page"] { color: var(--text); font-weight: 700; text-decoration-thickness: 0.14em; }

main { padding: 2.5rem 0 3.5rem; }
h1, h2, h3 { font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: 1.65rem; margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.3rem; margin: 2rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.5rem; }
.lead { font-size: 1.35rem; line-height: 1.5; }
.muted { color: var(--muted); }
.button {
  display: inline-block; margin: 0.5rem 0 0.25rem; padding: 0.9rem 1.5rem; border-radius: 0.75rem;
  background: var(--accent); color: var(--accent-text); font-weight: 700; text-decoration: none;
}
.button:hover { text-decoration: underline; }
.facts { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.facts li { margin: 0; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 0.75rem; }
.facts strong { display: block; font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 1.25rem; margin-bottom: 0.2rem; }
.note { padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 0.75rem; }
.note > :last-child { margin-bottom: 0; }

footer.site { border-top: 1px solid var(--rule); padding: 1.75rem 0 2.5rem; color: var(--muted); font-size: 1.05rem; }
footer.site ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; padding: 0; margin: 0 0 0.9rem; }
footer.site a { display: inline-block; padding: 0.4rem 0; }
footer.site p { margin: 0 0 0.5rem; }
@media print { header.site nav, footer.site ul, .skip, .button { display: none; } body { background: #fff; color: #000; } }
