:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #ffffff;
  --text: #111827;
  --muted: #5b6577;
  --line: rgba(17, 24, 39, 0.12);
  --brand: #0b4dd8;
  --brand-deep: #083aa4;
  --accent: #c94900;
  --shadow: 0 28px 60px rgba(13, 27, 59, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(11, 77, 216, 0.04), rgba(11, 77, 216, 0)),
    linear-gradient(90deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 34px 34px, 34px 34px, auto;
  color: var(--text);
}

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(11, 77, 216, 0.07), transparent 42%),
    linear-gradient(315deg, rgba(201, 73, 0, 0.06), transparent 38%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.status-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9ca3af;
  box-shadow: 0 0 0 4px rgba(156, 163, 175, 0.16);
}

.status-dot.ok {
  background: #1f9d55;
  box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.16);
}

.status-dot.bad {
  background: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.16);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  padding: 34px 20px 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.section-head h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(42px, 4.8vw, 68px);
  max-width: 11.5ch;
}

.lede {
  max-width: 68ch;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 77, 216, 0.14);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: white;
  border-color: transparent;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

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

.stats div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.stats dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats dd {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.hero-shot {
  margin: 0;
  justify-self: center;
  width: min(100%, 396px);
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-shot img {
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-shot figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.band {
  margin-top: 16px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.band.slim {
  padding: 18px 20px;
}

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

.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  max-width: 12ch;
}

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

.feature-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.config-grid > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.mono {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  color: #182033;
  word-break: break-word;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    width: min(100%, 540px);
  }

  .feature-grid,
  .config-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 22px 12px 18px;
  }

  .band {
    padding: 18px 12px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .lede {
    font-size: 16px;
  }
}
