:root {
  --ink: #f5f7fa;
  --muted: #8f9bad;
  --soft: #c2cad6;
  --line: rgba(149, 164, 184, 0.18);
  --paper: #050608;
  --panel: rgba(13, 17, 23, 0.9);
  --panel-strong: #090d14;
  --gold: #d8b35f;
  --cyan: #78e8dd;
  --green: #9ee86f;
  --red: #ff6b6b;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(216, 179, 95, 0.12), transparent 34%),
    radial-gradient(circle at 18% 28%, rgba(120, 232, 221, 0.08), transparent 28%),
    #050608;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 0 5vw;
  background: rgba(5, 6, 8, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #050608;
  background: var(--gold);
  border-radius: 2px;
  font-family: Georgia, serif;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--soft);
  font-size: 14px;
}

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

.header-action,
.primary-button,
.secondary-button,
.subscribe button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(216, 179, 95, 0.55);
  border-radius: 2px;
  font-weight: 800;
}

.header-action,
.primary-button,
.subscribe button {
  color: #050608;
  background: var(--gold);
}

.secondary-button {
  color: var(--gold);
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.74fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 9vh 5vw 8vh;
  border-bottom: 1px solid var(--line);
}

.editorial-hero {
  min-height: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 700;
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.28;
}

.lead {
  max-width: 760px;
  color: var(--soft);
  font-size: 19px;
}

.lead strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.manifesto-panel,
.cycle-panel,
.founder-card,
.report-card,
.watch-card {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.94), rgba(7, 10, 15, 0.96));
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.manifesto-panel {
  padding: 30px;
}

.manifesto-panel p,
.focus-list p,
.report-card p,
.watch-card p,
.feature-band p,
.subscribe p,
.founder-card p,
.section-note {
  color: var(--soft);
}

.panel-head,
.section-head,
.report-meta,
.footer,
.watch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-head {
  margin-bottom: 20px;
  color: var(--muted);
}

.panel-head strong {
  color: var(--gold);
}

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.mandate-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

small,
.report-meta,
.tag,
.rank {
  color: var(--muted);
  font-size: 12px;
}

.mandate-grid strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(5, 6, 8, 0.84);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-strip div {
  padding: 18px 5vw;
  border-right: 1px solid var(--line);
}

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

.ticker-strip span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.ticker-strip strong {
  color: var(--gold);
  font-size: 22px;
}

.section {
  padding: 88px 5vw;
}

.split-section,
.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.74fr);
  gap: 42px;
  align-items: start;
}

.focus-list {
  display: grid;
  gap: 16px;
}

.focus-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.rank {
  color: var(--gold);
  font-weight: 900;
}

.cycle-panel {
  min-height: 420px;
  padding: 28px;
}

.cycle-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  border: 1px solid rgba(216, 179, 95, 0.32);
  border-radius: 50%;
}

.cycle-orbit::before,
.cycle-orbit::after {
  content: "";
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(120, 232, 221, 0.2);
  border-radius: 50%;
}

.cycle-orbit::after {
  inset: 82px;
  border-color: rgba(216, 179, 95, 0.2);
}

.cycle-orbit strong {
  z-index: 2;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
  text-align: center;
}

.cycle-orbit span {
  position: absolute;
  z-index: 2;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cycle-orbit span:nth-child(1) {
  top: 24px;
}

.cycle-orbit span:nth-child(2) {
  right: 14px;
  top: 46%;
}

.cycle-orbit span:nth-child(3) {
  bottom: 24px;
}

.cycle-orbit span:nth-child(4) {
  left: 14px;
  top: 46%;
}

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

.watch-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 22px;
}

.watch-head strong {
  color: var(--gold);
  font-size: 24px;
}

.watch-head span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  text-transform: uppercase;
}

.stock-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.stock-links a {
  min-height: 32px;
  padding: 5px 10px;
  color: var(--cyan);
  border: 1px solid rgba(120, 232, 221, 0.28);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
}

.stock-links a:hover {
  color: #050608;
  background: var(--cyan);
}

.section-note {
  max-width: 520px;
  margin: 0;
  font-size: 13px;
  text-align: right;
}

.search-box input,
.subscribe input {
  width: min(380px, 100%);
  height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(9, 13, 20, 0.96);
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
}

.search-box input::placeholder,
.subscribe input::placeholder {
  color: #667085;
}

.search-box input:focus,
.subscribe input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 179, 95, 0.12);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.filter {
  min-height: 36px;
  padding: 0 14px;
  color: var(--soft);
  background: rgba(13, 17, 23, 0.8);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}

.filter.is-active {
  color: #050608;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 900;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.report-card {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 22px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.report-card:hover,
.watch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 179, 95, 0.55);
  box-shadow: 0 28px 80px rgba(216, 179, 95, 0.12);
}

.report-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 26px;
  margin-bottom: 16px;
  padding: 0 9px;
  color: var(--cyan);
  background: rgba(120, 232, 221, 0.07);
  border: 1px solid rgba(120, 232, 221, 0.18);
  border-radius: 2px;
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: 40px;
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.framework-grid span,
.topic-grid a {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px;
  background: rgba(13, 17, 23, 0.86);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
  font-weight: 900;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.topic-grid a:hover {
  color: #050608;
  background: var(--gold);
  border-color: var(--gold);
}

.founder-card {
  padding: 30px;
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
  gap: 28px;
  align-items: center;
  margin: 0 5vw 70px;
  padding: 34px;
  background: rgba(9, 13, 20, 0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.subscribe form {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer {
  padding: 26px 5vw;
  color: var(--muted);
  background: #030406;
  border-top: 1px solid var(--line);
}

dialog {
  width: min(760px, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  color: var(--soft);
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  font-size: 18px;
}

.dialog-body {
  padding: 34px;
}

.dialog-body p,
.dialog-body li {
  color: var(--soft);
}

.dialog-body ul {
  padding-left: 20px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  padding: 12px 16px;
  color: #050608;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .feature-band,
  .founder-section,
  .subscribe {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 5vw;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-action {
    display: none;
  }

  .ticker-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .editorial-hero {
    min-height: auto;
  }

  .ticker-strip,
  .watchlist-grid,
  .report-grid,
  .topic-grid,
  .mandate-grid {
    grid-template-columns: 1fr;
  }

  .ticker-strip div {
    padding: 16px 18px;
  }

  .section-head,
  .subscribe form {
    align-items: stretch;
    flex-direction: column;
  }

  .section-note {
    text-align: left;
  }

  .search-box input,
  .subscribe input,
  .subscribe button {
    width: 100%;
  }

  .framework-grid {
    grid-template-columns: 1fr 1fr;
  }
}
