:root {
  --ink: #18202b;
  --muted: #657081;
  --soft: #f5f7f9;
  --panel: #ffffff;
  --line: #dce2ea;
  --accent: #19715f;
  --accent-2: #2f65d7;
  --amber: #b06413;
  --shadow: 0 24px 70px rgba(27, 36, 48, 0.14);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(47, 101, 215, 0.14), transparent 32rem),
    linear-gradient(180deg, #fbfbfa 0%, #f2f5f4 45%, #eef2f7 100%);
  line-height: 1.5;
}

a { color: inherit; }

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(20, 26, 35, 0.18);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a,
.site-footer nav a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--ink);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0 82px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.label,
.badge {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 790;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.lede {
  color: #3f4a58;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  max-width: 58ch;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  text-decoration: none;
  font-weight: 720;
}

.button.primary {
  border-color: transparent;
  background: var(--ink);
  color: white;
}

.vault-visual {
  min-width: 0;
}

.window {
  overflow: hidden;
  border: 1px solid rgba(114, 126, 145, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ff5f57;
}

.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }
.window-bar strong { margin-left: 8px; color: var(--muted); font-size: 0.88rem; }

.vault-grid {
  display: grid;
  min-height: 470px;
  grid-template-columns: 150px 220px minmax(0, 1fr);
}

.vault-grid aside,
.catalog,
.preview {
  padding: 18px;
}

.vault-grid aside {
  border-right: 1px solid var(--line);
  background: rgba(245, 247, 249, 0.7);
}

.side-row,
.artifact {
  border-radius: 11px;
  padding: 10px 11px;
}

.side-row {
  color: var(--muted);
  font-weight: 680;
}

.side-row.active {
  color: var(--accent-2);
  background: rgba(47, 101, 215, 0.1);
}

.catalog {
  border-right: 1px solid var(--line);
}

.artifact {
  margin-bottom: 9px;
  border: 1px solid transparent;
  background: rgba(246, 248, 250, 0.86);
}

.artifact.selected {
  border-color: rgba(25, 113, 95, 0.38);
  background: rgba(25, 113, 95, 0.1);
}

.artifact strong,
.artifact span {
  display: block;
}

.artifact span {
  color: var(--muted);
  font-size: 0.83rem;
}

.preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(25, 113, 95, 0.14), transparent 14rem),
    #f8faf8;
}

.preview-card {
  max-width: 310px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: white;
  box-shadow: 0 18px 50px rgba(27, 36, 48, 0.1);
}

.preview-card h2 {
  font-size: 2rem;
}

.split,
.boundary,
.roadmap,
.capsules {
  padding: 74px 0;
  border-top: 1px solid rgba(112, 126, 145, 0.2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 42px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li,
.approach-grid article,
.boundary-grid article,
.roadmap-list article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.steps li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
}

.steps strong {
  color: var(--accent);
}

.steps span,
.approach-grid p,
.boundary-grid p,
.roadmap-list p,
.section-head p,
.site-footer {
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.approach-grid,
.boundary-grid,
.roadmap-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.boundary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(25, 113, 95, 0.09);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 46px;
  border-top: 1px solid rgba(112, 126, 145, 0.2);
}

.site-footer p {
  max-width: 560px;
}

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

  .hero {
    min-height: auto;
  }

  .vault-grid {
    grid-template-columns: 128px 1fr;
  }

  .preview {
    grid-column: 1 / -1;
    min-height: 260px;
    border-top: 1px solid var(--line);
  }

  .approach-grid,
  .roadmap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-header nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .vault-grid,
  .approach-grid,
  .boundary-grid,
  .roadmap-list,
  .steps li {
    grid-template-columns: 1fr;
  }

  .vault-grid aside,
  .catalog {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
  }
}
