/* Better Evidence for Clinical Care — static notice page.
   Mirrors the betterevidencenetwork.com/better-evidence render. */

:root {
  --page-bg: #f7f9fb;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --heading: #0f1c3c;
  --body: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --brand: #1b6fb3;
  --brand-hover: #155a93;
  --on-brand: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--page-bg);
  color: var(--body);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 72px;
}

/* Main */
.site-main {
  width: 100%;
  padding: 56px 24px 0;
}

.notice {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 28px;
  text-align: center;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.notice-body {
  text-align: left;
  font-size: 15px;
  line-height: 1.625;
  color: var(--body);
}

.notice-body p {
  margin: 0;
}

.notice-body p + p {
  margin-top: 16px;
}

.notice-body a:not(.cta) {
  color: var(--brand);
  font-weight: 500;
  text-decoration: underline;
}

.notice-body a:not(.cta):hover {
  color: var(--brand-hover);
}

/* CTA */
.notice-body .cta-wrap {
  margin: 36px 0 0;
  text-align: center;
}

.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background-color: var(--brand);
  color: var(--on-brand);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.cta:hover {
  background-color: var(--brand-hover);
}

.cta:focus-visible,
.notice-body a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* Footer */
/* Footer grows to fill the viewport so the line sits just under the card. */
.site-footer {
  flex: 1;
  padding: 40px 24px 56px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

/* Screen-reader-only text */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .site-main {
    padding-top: 80px;
  }

  .notice {
    padding: 48px;
  }

  .notice-body {
    font-size: 16px;
  }

  .site-footer {
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
