:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9dee7;
  --paper: #f7f4ed;
  --white: #ffffff;
  --navy: #111d2e;
  --teal: #0d9488;
  --amber: #f5b14c;
  --red: #d44c3a;
  --shadow: 0 24px 70px rgba(17, 29, 46, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 237, 0.9);
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
}

.nav a {
  min-width: 82px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #313946;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.nav a:hover {
  background: var(--navy);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: clamp(46px, 8vw, 92px) clamp(18px, 4vw, 56px) 38px;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 7.6vw, 7.65rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 30px;
  color: #394252;
  font-size: clamp(1.04rem, 1.6vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

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

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(17, 29, 46, 0.22);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 0;
}

.hero-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(17, 24, 39, 0.11);
  border-radius: 8px;
}

.hero-metrics dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.16), rgba(245, 177, 76, 0.22)),
    #fffaf0;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: contain;
}

.ticker {
  display: flex;
  overflow: hidden;
  gap: 14px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: var(--navy);
  color: var(--white);
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.ticker span {
  flex: 1 0 auto;
  min-width: max-content;
  color: #f4d7a3;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.section,
.feature-grid,
.split-section,
.faq {
  padding: clamp(54px, 8vw, 98px) clamp(18px, 4vw, 56px);
}

.intro,
.market {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy {
  color: #394252;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.section-copy p:last-child,
.panel p:last-child,
.market-grid p:last-child,
.faq p:last-child {
  margin-bottom: 0;
}

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

.feature-card {
  min-height: 286px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card h3,
.panel h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.feature-card p,
.panel p,
.market-grid p,
.faq p,
.site-footer p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  background:
    linear-gradient(90deg, rgba(212, 76, 58, 0.08), rgba(13, 148, 136, 0.08)),
    #f1eee6;
}

.panel {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
}

.panel-dark {
  background: var(--navy);
  color: var(--white);
}

.panel-dark p {
  color: #d8e0ea;
}

.panel-light {
  background: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.signal-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding-left: 20px;
  border-left: 4px solid var(--amber);
  color: #394252;
}

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

.market-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 24, 39, 0.11);
  border-radius: 8px;
}

.market-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.02rem;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(28px, 6vw, 76px);
  background: #fbfaf7;
}

.faq details {
  padding: 24px 0;
  border-top: 1px solid rgba(17, 24, 39, 0.14);
}

.faq details:last-child {
  border-bottom: 1px solid rgba(17, 24, 39, 0.14);
}

.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
}

.faq summary::marker {
  color: var(--teal);
}

.faq details p {
  margin: 14px 0 0;
  max-width: 720px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  background: var(--navy);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: #cad3df;
  text-align: right;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .intro,
  .market,
  .faq,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    min-height: 320px;
  }

  .feature-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .ticker {
    justify-content: flex-start;
    overflow-x: auto;
  }

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

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