:root {
  color-scheme: light;
  /* V2 Church web design palette. */
  --white: #ffffff;
  --navy: #06213e;
  --brick: #ac321f;
  --black: #020a13;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--brick); outline-offset: 4px; }
.skip-link { position: absolute; top: -60px; left: 16px; padding: 12px; background: var(--white); }
.skip-link:focus { top: 12px; }
.page { width: min(100% - 40px, 440px); margin: 0 auto; padding: 44px 0 28px; }
.profile { text-align: center; margin-bottom: 28px; }
.logo { display: block; width: 80px; height: auto; margin: 0 auto 22px; }
h1 { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 600; }
.profile p { margin: 9px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 18px; line-height: 1.5; }
.links { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.links a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 15px 20px; border: 1px solid var(--navy); border-radius: 10px; background: var(--navy); color: var(--white); font-size: 14px; line-height: 1.5; font-weight: 500; text-align: center; }
.links .featured { background: var(--brick); border-color: var(--brick); }
footer { margin-top: 22px; text-align: center; font-size: 12px; line-height: 1.6; }
footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
footer p { margin: 0; }

@media (hover: hover) {
  .links a:hover { background: var(--black); border-color: var(--black); }
  footer a:hover { color: var(--brick); }
}

@media (max-width: 420px) {
  .page { width: calc(100% - 32px); padding-top: 32px; }
  h1 { font-size: 20px; }
}
