:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5e6b75;
  --line: #dbe3ea;
  --bg: #f7f9fb;
  --panel: #ffffff;
  --teal: #0f8b8d;
  --blue: #2f5d8c;
  --green: #5aa469;
  --amber: #d6a84f;
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--teal);
  border-radius: 8px;
  font-size: 13px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 48px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 210px);
  margin: 0 auto;
  padding: 48px 0 68px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.02;
  font-weight: 760;
}

.hero p:not(.eyebrow),
.page p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.media-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15,139,141,0.12), transparent 45%),
    linear-gradient(225deg, rgba(214,168,79,0.14), transparent 48%),
    #ffffff;
}

.wave {
  position: absolute;
  left: 42px;
  right: 42px;
  height: 112px;
  border: 2px solid transparent;
  border-top-color: var(--teal);
  border-radius: 50%;
}

.wave-a {
  top: 92px;
  transform: rotate(-8deg);
}

.wave-b {
  top: 178px;
  border-top-color: var(--blue);
  transform: rotate(7deg);
}

.node-grid {
  position: absolute;
  inset: auto 44px 48px 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.node-grid span {
  display: block;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.node-grid span:nth-child(3n) {
  background: rgba(15,139,141,0.12);
}

.node-grid span:nth-child(4n) {
  background: rgba(214,168,79,0.16);
}

.content-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-band article {
  min-height: 190px;
  padding: 34px;
  background: var(--panel);
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.content-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.page {
  width: min(920px, calc(100% - 40px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 82px 0;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

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

  nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .media-panel {
    min-height: 300px;
  }

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