:root {
  color-scheme: light;
  --ink: #1f2a2f;
  --muted: #66757c;
  --line: #d6e1df;
  --paper: #f3f7f5;
  --white: #ffffff;
  --green: #007a5a;
  --green-dark: #005f47;
  --green-soft: #e6f4ef;
  --aqua: #16a3a1;
  --gold: #b07a18;
  --gold-soft: #fff6de;
  --red: #b42318;
  --shadow: 0 14px 34px rgba(23, 48, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 74, 56, 0.05);
}

.utility-bar,
.brand-row,
.channel-nav,
.hero,
.notice-strip,
.service-panel,
.section,
.toolbar,
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(18px, 5vw, 42px);
  padding-right: clamp(18px, 5vw, 42px);
}

.utility-bar {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #5f6f6b;
  font-size: 13px;
  border-bottom: 1px solid #edf2f0;
}

.utility-bar nav,
.channel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.utility-bar a,
.channel-nav a,
.button,
.filter {
  text-decoration: none;
  font-weight: 700;
}

.utility-bar a {
  padding: 6px 10px;
}

.utility-bar a:hover {
  color: var(--green);
}

.brand-row {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 4px;
  background: var(--green);
  color: white;
  font-size: 24px;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 22px;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.site-search {
  display: grid;
  width: min(100%, 410px);
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus {
  outline: 2px solid rgba(0, 122, 90, 0.22);
  border-color: var(--green);
}

.channel-nav {
  min-height: 44px;
  align-items: center;
  background: var(--green);
  color: white;
}

.channel-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
}

.channel-nav a:hover {
  background: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: stretch;
  padding-top: 38px;
  padding-bottom: 30px;
}

.hero-copy {
  min-height: 310px;
  padding: clamp(28px, 5vw, 48px);
  color: white;
  background:
    linear-gradient(110deg, rgba(0, 81, 61, 0.95), rgba(0, 122, 90, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #d7f3e5;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

h3 a {
  text-decoration: none;
}

h3 a:hover {
  color: var(--green);
}

.summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 9px 18px;
  cursor: pointer;
}

.button.primary {
  background: #f2c14e;
  color: #19352f;
}

.button.primary:hover {
  background: #ffd66b;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.status-panel {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.status-panel div {
  display: grid;
  align-content: center;
  min-height: 100px;
  padding: 18px 20px;
  background: var(--white);
}

.metric,
.label {
  display: block;
}

.metric {
  color: var(--green);
  font-size: 28px;
  font-weight: 850;
  line-height: 1.1;
}

.label {
  color: var(--muted);
  margin-top: 4px;
}

.notice-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  margin-bottom: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

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

.notice-strip span {
  flex: 1;
  color: var(--muted);
}

.notice-strip a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.service-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.service-panel a {
  display: grid;
  min-height: 94px;
  align-content: center;
  gap: 3px;
  padding: 18px;
  background: var(--white);
  text-decoration: none;
}

.service-panel a:hover {
  background: var(--green-soft);
}

.service-panel strong {
  color: var(--green-dark);
  font-size: 18px;
}

.service-panel span {
  color: var(--muted);
}

.toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.section {
  padding-top: 46px;
  padding-bottom: 46px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 22px;
}

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

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.source-card {
  min-height: 294px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(23, 48, 42, 0.05);
}

.source-card:hover {
  border-color: rgba(0, 122, 90, 0.45);
  box-shadow: var(--shadow);
}

.source-card.is-hidden {
  display: none;
}

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

.tag,
.state {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 800;
}

.tag {
  background: var(--green-soft);
  color: var(--green);
}

.state {
  background: var(--gold-soft);
  color: var(--gold);
}

.answer {
  min-height: 76px;
  margin: 0 0 16px;
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
}

dd a {
  color: var(--green);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 36px;
  align-items: start;
}

.split p {
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.checklist span {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
}

.machine-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.machine-links a {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
}

.machine-links a:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.machine-links strong {
  color: var(--green);
  font-size: 20px;
}

.machine-links span {
  color: var(--muted);
}

.submit {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 36px;
}

.submit p {
  color: var(--muted);
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

form label:nth-child(4),
form button,
output {
  grid-column: 1 / -1;
}

output {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 34px;
  border-top: 3px solid var(--green);
  color: var(--muted);
  background: var(--white);
}

@media (max-width: 920px) {
  .brand-row,
  .hero,
  .section-head,
  .split,
  .submit {
    grid-template-columns: 1fr;
  }

  .brand-row {
    align-items: stretch;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .source-grid,
  .machine-links,
  .service-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .utility-bar,
  .notice-strip,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .channel-nav a {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 10px;
  }

  .source-grid,
  .machine-links,
  .service-panel,
  form {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-copy {
    min-height: 0;
  }

  h1 {
    font-size: 34px;
  }
}
