:root {
  color-scheme: dark;
  --bg: #050c0f;
  --bg-soft: #0b181b;
  --panel: #102126;
  --panel-2: #152c31;
  --text: #eef7f8;
  --muted: #abc0c4;
  --line: #27444b;
  --accent: #35d5c2;
  --accent-2: #9ff4e8;
  --warn: #f0c05f;
  --danger: #ef7676;
  --shadow: 0 22px 80px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 154, 145, .30), transparent 28rem),
    radial-gradient(circle at 95% 18%, rgba(50, 92, 146, .32), transparent 24rem),
    linear-gradient(180deg, #050c0f, #081316 42rem, #050c0f);
  color: var(--text);
  font: 16px/1.62 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .95em; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  backdrop-filter: blur(18px);
  background: rgba(5, 12, 15, .74);
  border-bottom: 1px solid rgba(82, 130, 138, .24);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; letter-spacing: .01em; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0d3236, #164e52);
  border: 1px solid #39cabc;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand-mark svg { width: 25px; height: 25px; }
.navlinks { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; }
.navlinks a { color: var(--muted); font-size: 14px; }
.navlinks a:hover { color: var(--text); }

.hero { padding: 74px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 34px; align-items: center; }
.eyebrow { color: var(--accent-2); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .12em; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(44px, 7vw, 82px); max-width: 820px; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { font-size: clamp(19px, 2.2vw, 25px); max-width: 760px; color: #d9e9eb; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  background: rgba(17, 37, 42, .72);
}
.button.primary { background: var(--accent); color: #031010; border-color: var(--accent); }
.button:hover { text-decoration: none; transform: translateY(-1px); }

.visual {
  min-height: 420px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(19, 44, 49, .92), rgba(6, 18, 21, .95));
  border: 1px solid rgba(97, 158, 166, .34);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.visual:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -80px;
  bottom: -90px;
  background: rgba(63, 128, 186, .34);
}
.diagram { position: relative; display: grid; gap: 22px; padding: 16px 0; }
.node {
  min-height: 92px;
  border-radius: 22px;
  background: rgba(9, 22, 25, .86);
  border: 1px solid rgba(71, 119, 126, .7);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
}
.node strong { display: block; font-size: 18px; }
.node span { color: var(--muted); font-size: 14px; }
.icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #12383d;
  color: var(--accent-2);
}
.arrow { color: var(--accent); font-weight: 900; font-size: 34px; text-align: center; line-height: .7; }

section { padding: 38px 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: rgba(16, 33, 38, .82);
  border: 1px solid rgba(71, 119, 126, .42);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 34px rgba(0,0,0,.18);
}
.card p:last-child, .page-section p:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.checklist li { padding-left: 28px; position: relative; }
.checklist li:before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.x li:before { content: "×"; color: var(--danger); }

.page-header { padding: 54px 0 24px; }
.page-section {
  background: rgba(16, 33, 38, .78);
  border: 1px solid rgba(71, 119, 126, .42);
  border-radius: 22px;
  padding: 26px;
  margin: 18px 0;
}
.meta { color: var(--muted); font-size: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(53, 213, 194, .55);
  color: var(--accent-2);
  background: rgba(20, 72, 72, .42);
  font-size: 13px;
  font-weight: 800;
}
.footer { border-top: 1px solid rgba(82, 130, 138, .24); padding: 28px 0 52px; margin-top: 38px; color: var(--muted); }

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .navlinks { justify-content: flex-start; }
  .hero { padding-top: 42px; }
  .hero-grid, .grid, .grid.two { grid-template-columns: 1fr; }
  .visual { min-height: 0; }
}
