:root {
  color-scheme: light;
  --background: #f4f6f5;
  --surface: #ffffff;
  --text: #14201d;
  --muted: #586763;
  --line: #d8dfdc;
  --brand: #47b1e4;
  --brand-dark: #176f99;
  --facebook: #1877f2;
  --facebook-hover: #0f62d6;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--brand);
  content: "";
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgb(20 32 29 / 14%);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.main-content,
.site-footer {
  width: min(100%, 920px);
  margin-inline: auto;
}

.site-header {
  padding: 24px 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  object-fit: contain;
}

.main-content {
  display: flex;
  align-items: center;
  padding: 34px 32px 48px;
}

.closure {
  width: min(100%, 790px);
}

.announcement {
  min-width: 0;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-mark {
  width: 30px;
  height: 2px;
  background: var(--brand);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 56px;
  font-weight: 750;
  line-height: 1.08;
  text-wrap: balance;
}

.intro {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.community {
  max-width: 670px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.community h2 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.35;
}

.community > p:not(.external-note) {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
}

.contact-options {
  display: grid;
  margin-bottom: 18px;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-link {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 62px;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.contact-link:hover {
  border-color: var(--brand);
  box-shadow: 0 7px 20px rgb(23 111 153 / 10%);
  color: var(--brand-dark);
}

.contact-link:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

.contact-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--brand-dark);
}

.contact-link span {
  display: grid;
  min-width: 0;
}

.contact-link small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 12px;
  padding: 12px 20px;
  border: 2px solid var(--facebook);
  border-radius: 6px;
  background: var(--facebook);
  box-shadow: 0 8px 22px rgb(24 119 242 / 18%);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.facebook-link:hover {
  border-color: var(--facebook-hover);
  background: var(--facebook-hover);
  box-shadow: 0 10px 26px rgb(15 98 214 / 24%);
  transform: translateY(-1px);
}

.facebook-link:focus-visible,
.brand:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 4px;
}

.facebook-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.external-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 18px 32px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .site-header {
    padding: 24px 20px;
  }

  .main-content {
    align-items: flex-start;
    padding: 48px 20px 64px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.12;
  }

  .intro {
    font-size: 17px;
    line-height: 1.65;
  }

  .community {
    margin-top: 36px;
    padding-top: 28px;
  }

  .community h2 {
    font-size: 21px;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .facebook-link {
    width: 100%;
  }

  .site-footer {
    padding: 22px 20px 26px;
  }
}

@media (min-width: 860px) {
  .site-header,
  .main-content,
  .site-footer {
    width: min(100%, 1180px);
  }

  .site-header {
    padding: 28px 48px;
  }

  .main-content {
    align-items: flex-start;
    padding: 72px 48px 76px;
  }

  .closure {
    display: grid;
    width: 100%;
    align-items: center;
    gap: 56px;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

  h1 {
    margin-bottom: 26px;
    font-size: 52px;
  }

  .intro {
    font-size: 18px;
  }

  .community {
    max-width: none;
    margin-top: 0;
    padding-top: 0;
    padding-left: 48px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .facebook-link {
    width: 100%;
  }

  .external-note {
    text-align: center;
  }

  .site-footer {
    padding: 18px 48px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
