:root {
  --bg: #f6f8f5;
  --surface: #ffffff;
  --surface-2: #eef5ef;
  --text: #14221f;
  --muted: #5b6b66;
  --line: #d7e2dd;
  --primary: #087d68;
  --primary-dark: #075f51;
  --accent: #d79a2b;
  --danger: #b34036;
  --shadow: 0 18px 48px rgba(20, 34, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(8, 125, 104, 0.35);
  outline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 26px rgba(8, 125, 104, 0.25);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav a,
.side-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.top-nav a:hover,
.side-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.hero-section,
.section,
.page-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 20px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 42px;
  min-height: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 8vw, 76px);
}

h2 {
  font-size: clamp(28px, 5vw, 44px);
}

h3 {
  font-size: 20px;
}

.hero-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.trust-row div,
.feature-grid article,
.category-card,
.article-item,
.sidebar-box,
.signal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.trust-row div {
  padding: 16px;
}

.trust-row dt {
  font-weight: 900;
}

.trust-row dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.signal-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  box-shadow: var(--shadow);
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 125, 104, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(8, 125, 104, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.panel-top,
.route-card,
.route-grid {
  position: relative;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 800;
}

.panel-top strong {
  color: var(--primary-dark);
}

.route-card {
  display: grid;
  grid-template-columns: 1fr 70px 1.4fr;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 8px;
  background: #12231f;
  color: #fff;
}

.route-card i {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #fff, var(--primary));
}

.route-card span {
  color: #b7c8c3;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.route-grid div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(238, 245, 239, 0.92);
}

.route-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.route-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.band {
  max-width: none;
  background: #11231f;
  color: #fff;
}

.band .section-head,
.band .feature-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.band .eyebrow {
  color: #8ed8c6;
}

.section-head {
  margin-bottom: 24px;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.feature-grid,
.category-grid,
.article-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  padding: 22px;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: #8ed8c6;
  font-weight: 900;
}

.feature-grid p,
.article-item p,
.category-card span {
  color: var(--muted);
}

.band .feature-grid p {
  color: #c8d8d3;
}

.category-card,
.article-item {
  min-height: 150px;
  padding: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card:hover,
.article-item:hover {
  border-color: rgba(8, 125, 104, 0.35);
  box-shadow: 0 14px 32px rgba(20, 34, 31, 0.08);
}

.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-item h3 {
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(215, 154, 43, 0.14);
  color: #7a4e08;
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  min-height: 44px;
  color: var(--primary-dark);
  font-weight: 900;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.page-main,
.sidebar-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.page-main {
  padding: 34px;
}

.page-main h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.sidebar-box {
  position: sticky;
  top: 18px;
  padding: 20px;
}

.side-nav {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.content-body {
  margin-top: 30px;
}

.content-body h2,
.content-body h3 {
  margin-top: 34px;
}

.content-body p,
.content-body li {
  color: #33423e;
}

.content-body a {
  color: var(--primary-dark);
  font-weight: 800;
}

.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.links-section {
  padding-top: 20px;
}

.links-section nav,
.site-links {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 44px;
  color: var(--muted);
  font-weight: 700;
}

.empty-box {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header,
  .section-head.split,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 28px;
  }

  .feature-grid,
  .category-grid,
  .article-list,
  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar-box {
    position: static;
  }
}

@media (max-width: 620px) {
  .top-nav {
    justify-content: flex-start;
  }

  .hero-section,
  .section,
  .page-layout {
    padding: 34px 16px;
  }

  h1 {
    font-size: 40px;
  }

  .feature-grid,
  .category-grid,
  .article-list,
  .trust-row,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    grid-template-columns: 1fr;
  }

  .route-card i {
    width: 100%;
  }

  .page-main {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
