:root {
  color-scheme: dark;
  --blue-main: #0A1628;
  --blue-card: #0D1F3C;
  --blue-line: rgba(255, 255, 255, 0.12);
  --gold: #C8A55A;
  --gold-light: #D4B76A;
  --white: #FFFFFF;
  --text-soft: rgba(255, 255, 255, 0.74);
  --text-muted: rgba(255, 255, 255, 0.56);
  --shadow: rgba(0, 0, 0, 0.32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.94)),
    radial-gradient(circle at 82% 8%, rgba(200, 165, 90, 0.16), transparent 34%),
    linear-gradient(135deg, #07101d, var(--blue-main) 46%, #081120);
  color: var(--white);
}

button, input, select { font: inherit; }
a { color: inherit; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 264px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px;
  border-right: 1px solid var(--blue-line);
  background: rgba(10, 22, 40, 0.86);
  backdrop-filter: blur(18px);
}

.brand { display: grid; gap: 12px; text-decoration: none; }
.brand img {
  width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.26));
}
.brand span {
  width: fit-content;
  border: 1px solid rgba(200, 165, 90, 0.48);
  border-radius: 7px;
  padding: 6px 10px;
  color: var(--gold-light);
  background: rgba(200, 165, 90, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav { display: grid; gap: 8px; }
.nav a {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 11px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 650;
}
.nav a:hover {
  border-color: rgba(200, 165, 90, 0.34);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.domain-card {
  margin-top: auto;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(200, 165, 90, 0.36);
  border-radius: 8px;
  padding: 15px;
  background: rgba(13, 31, 60, 0.74);
  box-shadow: 0 20px 46px var(--shadow);
}

.domain-card span,
.domain-card small,
.eyebrow,
.toolbar label,
.metrics span,
.card-meta,
.status,
.roadmap span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
}
.domain-card strong { color: var(--white); overflow-wrap: anywhere; }
.domain-card small { color: var(--text-soft); }

.page { margin-left: 264px; padding: 26px; }

.hero {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 24px;
  border: 1px solid rgba(200, 165, 90, 0.28);
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.78)),
    linear-gradient(135deg, rgba(200, 165, 90, 0.12), rgba(13, 31, 60, 0.38)),
    var(--blue-card);
  box-shadow: 0 30px 80px var(--shadow);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 65%, rgba(200, 165, 90, 0.08)),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, 0.025) 78px 79px);
}

.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold-light); }
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 860px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}
h2 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
}
h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}
.hero p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.55;
}

.hero-panel {
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}
.hero-panel span, .hero-panel small {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 750;
}
.hero-panel strong { color: var(--gold-light); font-size: 30px; }

.toolbar,
.metrics,
.platform-grid,
.split,
.roadmap-grid {
  display: grid;
  gap: 14px;
}

.toolbar {
  grid-template-columns: minmax(0, 1fr) 240px;
  margin: 18px 0;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(13, 31, 60, 0.76);
}
.toolbar label { display: grid; gap: 7px; color: var(--gold-light); }
input, select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: #0A1628;
  padding: 0 12px;
  outline: none;
}
input:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 165, 90, 0.18);
}

.metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics article,
.panel,
.platform-card {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: rgba(13, 31, 60, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}
.metrics article { min-height: 96px; padding: 16px; }
.metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 27px;
}

.section { margin-top: 30px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.section-head.compact { align-items: start; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
}
.pill {
  border: 1px solid rgba(200, 165, 90, 0.34);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(200, 165, 90, 0.08);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platform-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}
.platform-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.platform-card p { color: var(--text-soft); line-height: 1.48; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.card-meta span,
.status {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.07);
  align-self: flex-start;
  white-space: nowrap;
}
.status.live {
  color: #ffffff;
  background: rgba(200, 165, 90, 0.26);
}
.status.ready {
  color: var(--gold-light);
  background: rgba(212, 183, 106, 0.12);
}
.status.draft {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}
.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.source {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 7px;
  padding: 0 13px;
  background: var(--gold);
  color: var(--blue-main);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.split { grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); }
.panel { padding: 18px; }
.timeline,
.connector-list,
.quick-link-list { display: grid; gap: 10px; }
.timeline article,
.connector-list article,
.quick-link-list article {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
}
.timeline article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
}
.timeline time {
  color: var(--gold-light);
  font-weight: 850;
}
.timeline p,
.connector-list p,
.roadmap p {
  margin-top: 5px;
  color: var(--text-soft);
  line-height: 1.45;
}
.connector-list article,
.quick-link-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.connector-list strong,
.quick-link-list strong { display: block; color: var(--white); }
.link-pill {
  text-decoration: none;
  color: var(--gold-light);
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.agent-grid article {
  min-height: 142px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(13, 31, 60, 0.82);
}
.agent-grid strong {
  display: block;
  color: var(--gold-light);
  font-size: 18px;
  margin-bottom: 8px;
}
.agent-grid p {
  color: var(--text-soft);
  line-height: 1.45;
}
.roadmap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roadmap-grid div {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.roadmap span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 12px;
  color: var(--blue-main);
  background: var(--gold);
}

@media (max-width: 1080px) {
  .sidebar {
    position: static;
    width: auto;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--blue-line);
  }
  .page { margin-left: 0; }
  .hero, .split { grid-template-columns: 1fr; }
  .platform-grid, .metrics, .roadmap-grid, .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .page, .sidebar { padding: 16px; }
  .hero { min-height: auto; padding: 20px; }
  .toolbar, .platform-grid, .metrics, .roadmap-grid, .agent-grid { grid-template-columns: 1fr; }
  .section-head, .card-footer, .connector-list article, .quick-link-list article {
    align-items: stretch;
    flex-direction: column;
  }
  .timeline article { grid-template-columns: 1fr; }
}
