:root {
  color-scheme: dark;
  --bg: #070707;
  --panel: #111111;
  --panel-soft: #171313;
  --line: rgba(231, 238, 232, 0.14);
  --text: #f3f0e8;
  --muted: #b8c0bb;
  --dim: #7d8984;
  --accent: #ef2738;
  --accent-strong: #ff3144;
  --accent-soft: rgba(239, 39, 56, 0.14);
  --accent-line: rgba(239, 39, 56, 0.5);
  --white-soft: rgba(255, 255, 255, 0.08);
  --green: #37d67a;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 52px);
  background: rgba(7, 9, 9, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: var(--accent-soft);
}

.brand-mark span {
  display: block;
  border-radius: 2px;
  background: var(--text);
}

.brand-mark span:nth-child(1) {
  height: 9px;
}

.brand-mark span:nth-child(2) {
  height: 15px;
  background: var(--accent);
}

.brand-mark span:nth-child(3) {
  height: 21px;
  background: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(18px, 6vw, 76px) 80px;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.98), rgba(7, 9, 9, 0.78) 35%, rgba(7, 9, 9, 0.18) 76%),
    linear-gradient(180deg, rgba(7, 9, 9, 0.14), rgba(7, 9, 9, 0.88)),
    url("assets/macro-radar-hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent-strong);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 11vw, 126px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 34px rgba(239, 39, 56, 0.24);
}

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

.button:hover {
  transform: translateY(-1px);
}

.button.full {
  width: 100%;
}

.signal-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: -36px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-strip div {
  padding: 22px;
  background: rgba(17, 21, 21, 0.96);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
}

.signal-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.market-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 800;
}

.market-strip span:nth-child(3n + 1) {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.copy-stack {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.copy-stack p {
  margin-bottom: 22px;
}

.compact {
  padding-top: 50px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.module-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.module-card p {
  color: var(--accent-strong);
  font-weight: 900;
  margin-bottom: 34px;
}

.module-card span {
  color: var(--muted);
  line-height: 1.5;
}

.dark-band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - var(--max)) / 2));
  background: #0b0f0f;
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.timeline div {
  padding: 22px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.timeline span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.timeline p,
.risk p {
  color: var(--muted);
  line-height: 1.55;
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.access-panel > div:first-child {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.access-panel p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.access-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: var(--accent-soft);
}

.access-box strong {
  font-size: 26px;
}

.access-box span {
  color: var(--muted);
  line-height: 1.5;
}

.risk {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 52px);
  color: var(--dim);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 13, 13, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 86svh;
    padding-top: 110px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(7, 9, 9, 0.98), rgba(7, 9, 9, 0.72)),
      linear-gradient(180deg, rgba(7, 9, 9, 0.18), rgba(7, 9, 9, 0.9)),
      url("assets/macro-radar-hero.png") center / cover no-repeat;
  }

  .signal-strip,
  .section-grid,
  .module-grid,
  .timeline,
  .access-panel,
  .risk {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

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

@media (max-width: 560px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(52px, 17vw, 74px);
  }

  h2 {
    font-size: 34px;
  }

  .signal-strip {
    margin-top: -20px;
  }

  .access-panel > div:first-child,
  .access-box,
  .module-card,
  .timeline div {
    padding: 20px;
  }
}
