:root {
  --storm-indigo: #18076b;
  --electric-blue: #3124ff;
  --signal-cyan: #18c8ff;
  --pipeline-amber: #ffb84d;
  --cloud: #eaf2ff;
  --ink: #101828;
  --slate: #475467;
  --mist: #f6f8fc;
  --success: #17b26a;
  --gutter: clamp(20px, 4vw, 56px);
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

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

.hero {
  min-height: 92vh;
  background: var(--storm-indigo);
  color: white;
  padding: 24px var(--gutter) 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.topbar img {
  width: min(320px, 64vw);
  height: auto;
}

.navlinks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlinks a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(234, 242, 255, 0.24);
  border-radius: 8px;
  color: var(--cloud);
  font-size: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: end;
}

.eyebrow,
.type-label {
  margin: 0 0 12px;
  color: var(--signal-cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Sora, Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(56px, 9vw, 124px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lede {
  max-width: 760px;
  color: #d8e4ff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.signal-panel {
  border: 1px solid rgba(234, 242, 255, 0.22);
  border-radius: 8px;
  padding: 20px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(16, 24, 40, 0.28);
}

.signal-panel img {
  width: 80px;
}

.signal-panel span,
.asset-grid p,
.rules p,
.body-sample {
  color: var(--slate);
  line-height: 1.6;
}

.signal-panel span {
  color: #c7d7ff;
  font-size: 14px;
}

.signal-panel strong {
  display: block;
  margin-top: 6px;
  color: white;
  font-size: 28px;
}

.section {
  padding: 80px var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.band {
  background: white;
}

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

.logo-swatch {
  min-height: 230px;
  padding: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e2f0;
}

.logo-swatch.dark {
  background: var(--storm-indigo);
}

.logo-swatch.light {
  background: var(--mist);
}

.logo-swatch.mark img {
  max-width: 180px;
}

.rules,
.asset-grid,
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.rules > div,
.asset-grid article,
.type-grid > div {
  border: 1px solid #d9e2f0;
  border-radius: 8px;
  background: white;
  padding: 22px;
}

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

.palette article {
  min-height: 160px;
  border-radius: 8px;
  padding: 18px;
  background: var(--swatch);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.palette span {
  font-weight: 800;
}

.palette strong,
.mono-sample {
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.display-sample {
  color: var(--storm-indigo);
  font-family: Sora, Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
}

.body-sample {
  font-size: 18px;
}

.mono-sample {
  color: var(--electric-blue);
  overflow-wrap: anywhere;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
}

.chip.cyan {
  background: rgba(24, 200, 255, 0.16);
  color: #075773;
}

.chip.blue {
  background: rgba(49, 36, 255, 0.12);
  color: var(--electric-blue);
}

.chip.amber {
  background: rgba(255, 184, 77, 0.24);
  color: #714200;
}

.chip.green {
  background: rgba(23, 178, 106, 0.14);
  color: #05603a;
}

.signal-sample {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 18px;
}

.signal-sample span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric-blue), var(--signal-cyan));
}

.signal-sample span:nth-child(1) {
  width: 72px;
  height: 4px;
}

.signal-sample span:nth-child(2) {
  width: 12px;
  height: 12px;
}

.signal-sample span:nth-child(3) {
  width: 30px;
  height: 4px;
  opacity: 0.36;
}

.tile-sample {
  width: 64px;
  height: 64px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .topbar,
  .section-head,
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .navlinks {
    justify-content: flex-start;
  }

  .logo-grid,
  .rules,
  .asset-grid,
  .type-grid,
  .palette {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 64px;
  }
}
