:root {
  --bg: #080907;
  --panel: #12120f;
  --panel-2: #191710;
  --text: #f8f3e6;
  --muted: #b9ae98;
  --line: rgba(242, 199, 107, 0.22);
  --gold: #f2c76b;
  --gold-2: #a9711d;
  --green: #70d394;
  --red: #e36d6d;
  --ink: #080907;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(242, 199, 107, 0.16);
  background: rgba(8, 9, 7, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

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

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(242, 199, 107, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), #ffe8a8 48%, var(--gold-2));
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(242, 199, 107, 0.16);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.75;
}

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

.hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.market-panel {
  padding: 24px;
}

.ticker {
  display: grid;
  gap: 12px;
}

.ticker-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.ticker-row:last-child {
  border-bottom: 0;
}

.ticker-row strong {
  color: var(--text);
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

.section {
  padding: 82px 0;
  border-top: 1px solid rgba(242, 199, 107, 0.12);
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
}

.section-head p,
.page-hero p,
.body-copy p,
.body-copy li {
  color: var(--muted);
  line-height: 1.75;
}

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

.card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
}

.metric {
  font-size: 2.15rem;
  color: var(--gold);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

.feature-image {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.feature-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.insight-board {
  min-height: 380px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(242, 199, 107, 0.09), rgba(255, 255, 255, 0.015)),
    var(--panel);
  display: grid;
  align-content: center;
  gap: 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: 92px 1fr 54px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

.note-strip {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(112, 211, 148, 0.26);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(112, 211, 148, 0.06);
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 20px 20px 20px 66px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.step:before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.page-hero {
  padding: 84px 0 52px;
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.page-hero img {
  height: 340px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.body-copy {
  max-width: 880px;
}

.body-copy h2 {
  margin-top: 38px;
}

.body-copy ul {
  padding-left: 22px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0e0b;
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.footer {
  border-top: 1px solid rgba(242, 199, 107, 0.16);
  padding: 34px 0;
  color: var(--muted);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.h5-page {
  background: var(--bg);
}

.h5-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.h5-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  font-weight: 900;
}

.h5-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.h5-hero-img {
  width: 100%;
  height: 220px;
  margin: 22px 0 28px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav,
  .nav-links {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
  }

  .hero,
  .split,
  .page-hero .wrap,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

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

  .page-hero {
    padding-top: 54px;
  }
}

@media (max-width: 520px) {
  .nav,
  .wrap,
  .hero {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 2.7rem;
  }

  .section {
    padding: 58px 0;
  }

  .hero-media img,
  .feature-image img,
  .page-hero img {
    height: 240px;
  }

  .insight-board {
    min-height: 300px;
  }

  .ticker-row {
    grid-template-columns: 1fr auto;
  }

  .ticker-row span:last-child {
    grid-column: 1 / -1;
  }
}
