/* Restore - Burn and Wound Research: holding page styles.
   Site rule: no inline CSS in pages - all styles live here. */

:root {
  --paper: #F5F9F8;
  --ink: #14343C;
  --muted: #54707A;
  --teal: #0E7B6F;
  --ember: #DFA05A;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
main { max-width: 36rem; width: 100%; }
h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 4.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.sub {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--teal);
  margin-top: 0.35rem;
}
.heal { display: block; width: 100%; height: 12px; margin: 2rem 0; overflow: visible; }
.heal line {
  stroke: var(--ember);
  stroke-width: 2.5;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: no-preference) {
  .heal .l { stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawL 1.4s 0.3s ease-out forwards; }
  .heal .r { stroke-dasharray: 300; stroke-dashoffset: -300; animation: drawR 1.4s 0.3s ease-out forwards; }
  @keyframes drawL { to { stroke-dashoffset: 0; } }
  @keyframes drawR { to { stroke-dashoffset: 0; } }
}
p { color: var(--muted); }
p + p { margin-top: 1rem; }
strong { color: var(--ink); font-weight: 600; }
.follow {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.follow a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.15s, color 0.15s;
}
.follow a:hover { background: var(--ink); color: var(--paper); }
.follow a:focus-visible, footer a:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 999px;
}
footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid #D6E2E0;
  font-size: 0.85rem;
  color: var(--muted);
}
footer a { color: var(--teal); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer a i { margin-right: 0.35rem; }
