:root {
  --green: #1f8f43;
  --green-dark: #187438;
  --ink: #243024;
  --muted: #3d4a3d;
  --line: #e3e8e3;
  --page: #eef2f0;
  --card: #f4faf6;
  --footer: #1b1f1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.45;
}

.shell {
  max-width: 1120px;
  margin: 1.25rem auto 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(20, 40, 24, 0.08);
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  height: 68px;
  padding-left: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
}

.brand img,
.site-footer img {
  height: 42px;
  width: auto;
  display: block;
}

.tabs {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.tabs a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.15rem;
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 600;
}

.tabs a[aria-current="page"] {
  background: var(--green);
  color: #fff;
}

main {
  padding: 1rem 1rem 1.25rem;
}

.home-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
  gap: 0.9rem;
  align-items: stretch;
}

.home-top > * {
  min-width: 0;
}

.hero {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.resources {
  border: 1px solid #edf1ee;
  border-radius: 12px;
  padding: 0.85rem 0.85rem 0.7rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.resources h2,
.notice h2,
h1 {
  margin: 0;
  color: #2c3330;
}

.resources h2 {
  font-size: 1.15rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--green);
  width: max-content;
  margin-bottom: 0.8rem;
}

.resource {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.55rem;
  padding: 0.75rem 0.8rem;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.resource:hover {
  background: var(--green-dark);
}

.resource-icon {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
}

.resource-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-label {
  flex: 1;
}

.resource-chevron {
  font-size: 1.3rem;
  font-weight: 500;
}

.notice {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--card);
  border-radius: 12px;
}

.notice-icon {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  font-family: Georgia, serif;
}

.notice-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
}

.notice h2 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.notice-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.notice ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.notice li + li {
  margin-top: 0.35rem;
}

.notice strong {
  color: var(--green-dark);
}

#contact {
  padding: 0.5rem 0.4rem 0.8rem;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

a {
  color: var(--green-dark);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 0.5rem;
}

caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: #e7f2ea;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  margin: 0.2rem 1rem 1rem;
  padding: 1rem 1.1rem;
  background: var(--footer);
  color: #f2f2f2;
  border-radius: 10px;
}

.site-footer img {
  height: 48px;
  filter: drop-shadow(0 0 0 transparent);
}

.site-footer strong {
  display: block;
  margin-bottom: 0.2rem;
}

.site-footer p {
  margin: 0;
  color: #d5d5d5;
  font-size: 0.92rem;
}

.site-footer a {
  color: #7dcea0;
}

.footer-help {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 1.25rem;
}

@media (max-width: 860px) {
  .home-top,
  .notice-columns,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-help {
    border-left: 0;
    padding-left: 0;
  }

  .site-header {
    flex-wrap: wrap;
    padding-bottom: 0.4rem;
  }
}
