:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #596579;
  --line: #d9e0e8;
  --paper: #f8fafc;
  --panel: #ffffff;
  --green: #1d6f5f;
  --green-2: #e6f3ef;
  --blue: #244f9e;
  --amber: #b26b18;
  --coral: #c9533f;
  --shadow: 0 18px 48px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--green-2);
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 64px) clamp(32px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.12rem;
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(23, 32, 42, 0.05), rgba(29, 111, 95, 0.14)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80") center / cover;
  box-shadow: var(--shadow);
}

.console-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.82);
  color: #eef7f4;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.console-card p {
  margin: 8px 0 0;
  color: #c7d8d4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
}

.section {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 64px);
}

.section-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 32, 42, 0.09);
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.tag {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.band {
  background: #eef4f7;
}

.article {
  max-width: 850px;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 64px);
}

.article h1 {
  font-size: clamp(2.15rem, 5vw, 4.4rem);
}

.article h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1.05rem;
}

.article a {
  color: var(--blue);
  font-weight: 750;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.callout {
  margin: 28px 0;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: #fff;
}

.related-block {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-link {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.mini-link span {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-link strong {
  color: var(--ink);
  line-height: 1.2;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 850px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .nav {
    margin-right: -16px;
    padding-right: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 340px;
  }

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

  .link-grid {
    grid-template-columns: 1fr;
  }
}
