:root {
  --ink: #101318;
  --night: #05070a;
  --graphite: #121720;
  --panel: #171d27;
  --panel-soft: #202938;
  --paper: #f6f1e6;
  --paper-2: #ebe1d0;
  --muted: #9fa8b6;
  --muted-dark: #586171;
  --line: rgba(255, 255, 255, 0.11);
  --line-dark: rgba(16, 19, 24, 0.12);
  --gold: #c7a248;
  --gold-strong: #f0c85b;
  --teal: #46d3b5;
  --green: #77d185;
  --red: #d86161;
  --blue: #79a9ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--night);
  color: #fff;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(5, 7, 10, 0.92), rgba(8, 13, 20, 0.86)),
    url("./assets/xauusd-report.jpg") center top / cover no-repeat;
  filter: saturate(0.9);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 72%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(5, 7, 10, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 162, 72, 0.42);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(240, 200, 91, 0.18), rgba(70, 211, 181, 0.08)), #0e131b;
  color: var(--gold-strong);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #c7ced8;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.header-action:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-action {
  min-height: 44px;
  padding: 0 14px;
  border-color: var(--line);
  color: #e9edf4;
  white-space: nowrap;
}

.header-action svg,
.button svg,
.card svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.hero {
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(70, 211, 181, 0.3);
  border-radius: 8px;
  background: rgba(70, 211, 181, 0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

h1 {
  margin-top: 22px;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

h2 {
  max-width: 840px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

h3 {
  font-size: 21px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin-top: 22px;
  color: #d6dbe3;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  min-height: 52px;
  padding: 0 18px;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold-strong), #d9ab3f);
  color: #0b0d10;
}

.button.secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: #f8fafc;
}

.hero-media {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #0c1118;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.hero-media figcaption {
  padding: 14px 16px;
  color: #aeb6c5;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.78);
}

.proof-strip div {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--gold-strong);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  font-weight: 900;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 42px);
  background: var(--paper);
  color: var(--ink);
}

.section.band {
  background: #0f151e;
  color: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.intro {
  background: linear-gradient(180deg, var(--paper), #fffaf0);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.section-heading p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.section:not(.band) .section-heading p {
  color: var(--muted-dark);
}

.three-grid,
.matrix-grid,
.meeting-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.plan-card,
.launch-card,
.matrix-grid article,
.meeting-grid article,
.stack article,
.timeline article {
  border-radius: 8px;
}

.card {
  padding: 26px;
  min-height: 238px;
  background: #fffdf8;
  border: 1px solid var(--line-dark);
  color: var(--ink);
}

.band .card {
  background: rgba(255,255,255,0.045);
  border-color: var(--line);
  color: #fff;
}

.card svg {
  color: var(--teal);
  margin-bottom: 22px;
}

.card h3,
.plan-card h3,
.launch-card h3,
.matrix-grid h3,
.meeting-grid h3,
.stack h3,
.timeline h3 {
  margin-bottom: 12px;
}

.card p,
.plan-card p,
.launch-card p,
.matrix-grid p,
.meeting-grid p,
.stack p,
.timeline p {
  color: var(--muted-dark);
  font-size: 15px;
}

.band .card p,
.plan-card p,
.launch-card p {
  color: #b9c2cf;
}

.plan-card {
  min-height: 500px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: rgba(240, 200, 91, 0.55);
  background: linear-gradient(180deg, rgba(240, 200, 91, 0.14), rgba(255,255,255,0.045));
}

.number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(70, 211, 181, 0.11);
  color: var(--teal);
  font-weight: 900;
  margin-bottom: 24px;
}

.plan-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plan-card li {
  color: #d8dee8;
  font-size: 15px;
}

.plan-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 8px;
}

.plan-card strong {
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold-strong);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
}

.split-media,
.split-copy {
  width: min(100%, calc(var(--max) / 2));
}

.split-media {
  justify-self: end;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #101318;
  box-shadow: 0 24px 70px rgba(16, 19, 24, 0.22);
}

.split.reverse .split-media {
  justify-self: start;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.split-copy {
  justify-self: start;
}

.split.reverse .split-copy {
  justify-self: end;
}

.split-copy h2 {
  margin-top: 18px;
}

.split-copy > p {
  margin-top: 18px;
  color: var(--muted-dark);
  font-size: 18px;
}

.stack {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.stack article {
  padding: 18px;
  background: #fffdf8;
  border: 1px solid var(--line-dark);
}

.stack strong {
  color: #b08325;
  font-size: 12px;
  text-transform: uppercase;
}

.career {
  background: #fffaf0;
}

.timeline {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.timeline article {
  min-height: 300px;
  padding: 28px;
  background: var(--paper);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 72px;
  color: #aa8227;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-cards .card {
  min-height: 218px;
}

.event-section {
  background: #fffaf0;
}

.event-cards {
  margin-bottom: 18px;
}

.event-cards .card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.event-cards .card strong {
  margin-top: auto;
  padding-top: 22px;
  color: #9c6f12;
  font-size: 15px;
}

.featured-soft {
  background: linear-gradient(180deg, rgba(70, 211, 181, 0.13), #fffdf8);
  border-color: rgba(70, 211, 181, 0.36);
}

.event-flow {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.event-flow article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #111821;
  color: #fff;
}

.event-flow span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(240, 200, 91, 0.18);
  color: var(--gold-strong);
  font-weight: 900;
}

.event-flow p {
  color: #b9c2cf;
}

.launch {
  background: #101318;
  color: #fff;
}

.launch-card {
  min-height: 340px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  display: flex;
  flex-direction: column;
}

.launch-card.highlight {
  background: linear-gradient(145deg, rgba(70, 211, 181, 0.16), rgba(240, 200, 91, 0.1));
  border-color: rgba(70, 211, 181, 0.45);
}

.launch-card a {
  width: max-content;
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
}

.matrix {
  background: #fffaf0;
}

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

.matrix-grid article {
  min-height: 220px;
  padding: 22px;
  background: #fffdf8;
  border: 1px solid var(--line-dark);
}

.matrix-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 900;
}

.checklist-band {
  background: #111821;
  color: #fff;
}

.checklist {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.checklist label {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  color: #e8edf5;
  font-weight: 700;
}

.checklist input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.meeting {
  background: linear-gradient(180deg, #fffaf0, #eee4d2);
}

.meeting-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fffdf8;
}

.meeting-panel h2 {
  margin-top: 18px;
}

.meeting-grid {
  width: 100%;
  margin-top: 26px;
}

.meeting-grid article {
  min-height: 170px;
  padding: 20px;
  background: #f7f0e4;
  border: 1px solid var(--line-dark);
}

.risk-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: rgba(216, 97, 97, 0.08);
  color: #4d2630;
  font-weight: 700;
}

.site-footer {
  min-height: 92px;
  padding: 24px clamp(18px, 4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #05070a;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--gold-strong);
  font-weight: 800;
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

  .split-media,
  .split-copy,
  .split.reverse .split-media,
  .split.reverse .split-copy {
    width: min(var(--max), 100%);
    justify-self: center;
  }

  .three-grid,
  .matrix-grid,
  .meeting-grid,
  .timeline,
  .event-flow {
    grid-template-columns: 1fr;
  }

  .timeline span {
    margin-bottom: 36px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
  }

  .header-action {
    width: 100%;
  }

  .nav-links a {
    padding-left: 0;
    padding-right: 10px;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip div:nth-child(2),
  .proof-strip div:nth-child(4) {
    border-right: 0;
  }

  .proof-strip div {
    min-height: 104px;
  }

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

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .site-footer a {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .card,
  .plan-card,
  .launch-card,
  .matrix-grid article,
  .meeting-grid article,
  .stack article {
    padding: 20px;
  }

  h1 {
    font-size: 38px;
  }
}
