:root {
  color-scheme: light;
  --background: #f3f7f5;
  --surface: #ffffff;
  --surface-soft: #eaf4ef;
  --text: #142a22;
  --muted: #475f55;
  --border: #cbdcd3;
  --brand: #176147;
  --brand-dark: #0f4935;
  --focus: #9b4d00;
  --notice-background: #fff7df;
  --notice-border: #a85d00;
  --shadow: 0 12px 32px rgba(20, 42, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--brand-dark);
  border-radius: 6px;
  transform: translateY(-180%);
}

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

.page-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid var(--brand);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 1.25rem;
  font-weight: 800;
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

main {
  padding: 48px 0 56px;
}

.hero {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow,
.card-label,
.notice-label {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  margin-bottom: 14px;
  font-size: 2.5rem;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

p,
ul {
  margin-top: 0;
}

.intro {
  max-width: 710px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 2px solid var(--brand);
  border-radius: 7px;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button-secondary {
  background: var(--surface);
  color: var(--brand-dark);
}

.support-card,
.content-card,
.notice-card {
  margin-top: 20px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.support-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow-wrap: anywhere;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.content-card ul,
.emergency-card ul {
  margin-bottom: 0;
  padding-left: 1.3rem;
}

li + li {
  margin-top: 10px;
}

.notice-card {
  background: var(--notice-background);
  border: 2px solid var(--notice-border);
}

.notice-card h2 {
  color: #713d00;
}

.notice-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 30px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-content p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
}

.footer-content nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 700px) {
  body {
    font-size: 1rem;
  }

  main {
    padding: 28px 0 40px;
  }

  .hero,
  .support-card,
  .content-card,
  .notice-card {
    padding: 22px;
  }

  h1 {
    font-size: 2rem;
  }

  .intro {
    font-size: 1.08rem;
  }

  .actions,
  .support-card,
  .footer-content {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .email-link {
    width: 100%;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .button,
  .email-link,
  .hero,
  .support-card,
  .content-card,
  .notice-card {
    border: 2px solid CanvasText;
  }
}
