:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --night: #101820;
  --blue: #2364aa;
  --green: #1b7f5a;
  --gold: #b9822b;
  --red: #a33d3d;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 222, 232, 0.78);
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

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

.button.disabled {
  border-color: var(--line);
  background: #e8ebef;
  color: #6b7280;
  cursor: not-allowed;
}

.hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.95), rgba(16, 24, 32, 0.72) 48%, rgba(16, 24, 32, 0.36)),
    linear-gradient(180deg, rgba(16, 24, 32, 0.12), rgba(16, 24, 32, 0.76)),
    url("assets/market-ledger-preview.svg");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding: 96px 22px 76px;
}

.eyebrow {
  color: #dce7f7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 12px 0 16px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #edf3fb;
  font-size: 19px;
}

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

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid #223142;
  border-bottom: 1px solid #223142;
  background: #223142;
}

.ticker {
  padding: 14px 18px;
  background: var(--night);
  color: white;
}

.ticker span {
  display: block;
  color: #99a9bc;
  font-size: 12px;
}

.ticker strong {
  font-size: 15px;
}

.up {
  color: #71d59f;
}

.down {
  color: #ff9b9b;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 74px 22px;
}

.section.narrow {
  max-width: 820px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.price {
  margin: 16px 0 4px;
  font-size: 38px;
  line-height: 1;
  font-weight: 850;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list li {
  padding: 10px 0;
  border-top: 1px solid #edf0f4;
}

.sample-report {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.report-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: white;
  background: var(--night);
}

.report-body {
  padding: 24px;
}

.report-body h3 {
  margin-top: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 13px;
}

.notice {
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  padding: 16px 18px;
  color: #4f3b17;
}

.legal {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 22px;
  color: var(--muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

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

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

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

  .hero {
    min-height: 620px;
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.92), rgba(16, 24, 32, 0.62)),
      url("assets/market-ledger-preview.svg");
    background-size: cover;
    background-position: center;
  }
}
