:root {
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --paper: #ffffff;
  --wash: #f3f6fa;
  --green: #0f8f72;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --amber: #c87917;
  --red: #d13b4c;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f1c27d 0 16%, transparent 17%),
    radial-gradient(circle at 62% 68%, #7a4b24 0 12%, transparent 13%),
    linear-gradient(135deg, #c87917, #5d371e);
  box-shadow: inset 0 -3px 8px rgba(0, 0, 0, 0.22);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: #e8edf5;
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #121722;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 20, 0.88) 0%, rgba(10, 13, 20, 0.72) 38%, rgba(10, 13, 20, 0.15) 100%),
    linear-gradient(0deg, rgba(10, 13, 20, 0.24), rgba(10, 13, 20, 0.1));
}

.hero-content {
  position: relative;
  width: min(100%, 760px);
  min-width: 0;
  padding: 84px 32px 92px;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0f8f72;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee2c7;
}

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: min(640px, 100%);
  margin: 22px 0 0;
  color: #e5edf7;
  font-size: 19px;
  overflow-wrap: normal;
}

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

.primary-action,
.secondary-action,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--green);
  color: #ffffff;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: #0b745d;
  outline: none;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.overview {
  width: min(1180px, calc(100% - 32px));
  margin: -48px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.overview article {
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.metric {
  display: block;
  color: var(--green);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.overview article span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.content-band,
.process,
.server-note {
  width: min(1180px, calc(100% - 32px));
  margin: 80px auto 0;
}

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

.section-head.compact {
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.search-box {
  width: min(420px, 100%);
}

.search-box span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.search-box input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(15, 143, 114, 0.16);
}

.result-count {
  min-height: 24px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.knowledge-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--indigo);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.knowledge-card[hidden] {
  display: none;
}

.accent-amber {
  border-top-color: var(--amber);
}

.accent-green {
  border-top-color: var(--green);
}

.accent-red {
  border-top-color: var(--red);
}

.accent-blue {
  border-top-color: var(--blue);
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.knowledge-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
}

.knowledge-card p:not(.card-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
}

.knowledge-card ul {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: #304055;
}

.knowledge-card li + li {
  margin-top: 6px;
}

.card-link {
  margin-top: auto;
  background: #edf2f8;
  color: var(--ink);
}

.card-link:hover,
.card-link:focus-visible {
  background: var(--ink);
  color: #ffffff;
  outline: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-steps article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.process-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8f6f1;
  color: var(--green);
  font-weight: 900;
}

.process-steps h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

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

.server-note {
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.server-note p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 16px;
  }

  .topnav {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(10, 13, 20, 0.86) 0%, rgba(10, 13, 20, 0.74) 58%, rgba(10, 13, 20, 0.54) 100%);
  }

  .hero-content {
    padding: 70px 20px 88px;
  }

  .overview,
  .card-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 36px;
  }

  .lead {
    font-size: 17px;
    max-width: 34ch;
  }

  .hero-content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .overview {
    margin-top: -28px;
  }

  .content-band,
  .process,
  .server-note {
    margin-top: 56px;
  }
}
