:root {
  --ink: #050505;
  --charcoal: #1c1c1c;
  --graphite: #343434;
  --soft-ink: #6f6f68;
  --paper: #ffffff;
  --mist: #f5f3ed;
  --line: #ddd7c8;
  --gold: #d4af37;
  --gold-deep: #a88422;
  --teal: #2f7d74;
  --blue: #345f8d;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

* {
  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.5;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 0 42px;
  color: var(--paper);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header[data-elevated="true"] {
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: baseline;
  min-width: max-content;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.72);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand-text {
  font-size: 1.02rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.language-button {
  min-width: 42px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 32px;
}

.language-button.is-active {
  background: var(--gold);
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  background: #050505;
  color: var(--paper);
}

.dashboard-scene {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.7) 42%, rgba(5, 5, 5, 0.35)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.96)),
    #111;
}

.scene-grid {
  position: absolute;
  top: 100px;
  right: max(24px, 5vw);
  display: grid;
  width: min(720px, 58vw);
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  opacity: 0.9;
  transform: perspective(900px) rotateY(-13deg) rotateX(4deg);
  transform-origin: center right;
}

.screen {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(22, 22, 22, 0.88);
  box-shadow: var(--shadow);
}

.screen-large {
  min-height: 360px;
  padding: 22px;
  grid-row: span 2;
}

.screen-side,
.screen-bottom {
  min-height: 170px;
  padding: 20px;
}

.screen small {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
}

.screen strong {
  display: block;
  margin-top: 5px;
  color: var(--paper);
  font-size: 1.2rem;
}

.screen-topline {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.screen-topline span {
  width: 36px;
  height: 3px;
  background: var(--gold);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.metric-row div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.chart-bars {
  display: grid;
  height: 178px;
  align-items: end;
  grid-template-columns: repeat(8, 1fr);
  gap: 11px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bars span {
  display: block;
  min-height: 18px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
}

.signal-list {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.signal-list span,
.progress-line {
  display: block;
  height: 9px;
  background: rgba(255, 255, 255, 0.11);
}

.signal-list span:nth-child(1) {
  width: 90%;
}

.signal-list span:nth-child(2) {
  width: 66%;
}

.signal-list span:nth-child(3) {
  width: 78%;
}

.progress-line {
  margin-top: 18px;
}

.progress-line span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin: 0 0 132px max(24px, 7vw);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  text-transform: none !important;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 9.4rem);
  font-weight: 500;
  line-height: 0.9;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 800;
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover {
  background: #e7c54c;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(16px);
}

.hero-strip span {
  min-height: 76px;
  padding: 25px 28px;
  border-right: 1px solid rgba(212, 175, 55, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.section {
  padding: 96px max(24px, 7vw);
}

.section-light {
  background: var(--paper);
}

.section-ink {
  background: var(--charcoal);
  color: var(--paper);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

h2 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--soft-ink);
}

.section-ink p,
.section-ink .product-card p {
  color: rgba(255, 255, 255, 0.68);
}

.lead-copy p,
.section-heading-row p {
  margin: 34px 0 0;
  font-size: 1.12rem;
}

.architecture-band {
  display: grid;
  width: min(1180px, 100%);
  margin: 54px auto 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.architecture-band article {
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.architecture-band article:last-child {
  border-right: 0;
}

.architecture-band span,
.free-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.architecture-band p,
.product-card p,
.free-card p {
  margin: 14px 0 0;
}

.product-grid,
.free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.product-card,
.free-card {
  min-height: 190px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 24px;
}

.product-card {
  background: rgba(255, 255, 255, 0.035);
}

.free-card {
  background: var(--mist);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  font-weight: 900;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: end;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.sector-list span {
  border: 1px solid var(--line);
  padding: 12px 15px;
  background: #faf8f1;
  color: var(--charcoal);
  font-weight: 700;
}

.sustainability {
  background: #ebe6da;
}

.impact-panel {
  display: grid;
  gap: 14px;
}

.impact-metric {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  border-left: 4px solid var(--gold);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.72);
}

.impact-metric span {
  color: var(--blue);
  font-weight: 900;
}

.impact-metric strong {
  font-size: 1.08rem;
}

.live-economy {
  overflow: hidden;
}

.ticker-panel {
  margin-top: 38px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(255, 255, 255, 0.04);
  min-height: 76px;
  padding: 10px;
}

.tradingview-widget-container {
  min-height: 54px;
}

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

.indicator-card {
  min-height: 256px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.indicator-topline {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.indicator-topline span {
  color: var(--paper);
  font-weight: 900;
}

.indicator-topline a,
.source-list a,
.footer-contact a {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}

.rate-list {
  display: grid;
  gap: 12px;
}

.rate-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 10px;
}

.rate-list small,
.weather-display small {
  color: rgba(255, 255, 255, 0.58);
}

.rate-list strong {
  color: var(--paper);
  font-size: 1.25rem;
}

.indicator-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.weather-display {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.weather-display > strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
}

.weather-display span {
  display: block;
  color: var(--paper);
  font-weight: 900;
}

.weather-display small {
  display: block;
  margin-top: 6px;
}

.mini-bars {
  display: grid;
  height: 92px;
  align-items: end;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-bottom: 20px;
}

.mini-bars span {
  min-height: 20px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}

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

.source-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}

.insight-groups {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.insight-group {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.insight-group > div:first-child span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-group h3 {
  max-width: 420px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

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

.insight-links a {
  display: grid;
  min-height: 92px;
  align-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.insight-links a:hover {
  border-color: rgba(212, 175, 55, 0.58);
  background: rgba(212, 175, 55, 0.08);
}

.insight-links strong {
  color: var(--paper);
  line-height: 1.2;
}

.insight-links small {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.25;
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 42px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

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

.form-intro {
  margin-bottom: 8px;
}

.form-intro h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

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

.lead-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--charcoal);
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 16px;
  background: var(--paper);
}

.lead-form select {
  color: var(--charcoal);
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(212, 175, 55, 0.24);
}

.hidden-field {
  display: none;
}

.thank-you-page {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
}

.thank-you {
  display: grid;
  width: min(760px, calc(100% - 36px));
  min-height: 100vh;
  align-content: center;
  gap: 20px;
  margin: 0 auto;
}

.thank-you h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 0.95;
}

.thank-you p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.18rem;
}

.thank-you .button {
  width: max-content;
}

.checkup-form .button {
  margin-top: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px max(24px, 7vw);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.site-footer a {
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 0 22px;
  }

  .main-nav {
    display: none;
  }

  .scene-grid {
    top: 94px;
    right: -160px;
    width: 760px;
    opacity: 0.56;
  }

  .hero-content {
    margin-bottom: 144px;
  }

  .hero-strip,
  .architecture-band,
  .product-grid,
  .free-grid,
  .split,
  .section-heading-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .architecture-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .architecture-band article:last-child {
    border-bottom: 0;
  }

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

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

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

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

@media (max-width: 680px) {
  .hero {
    min-height: 780px;
  }

  .hero h1 {
    font-size: clamp(4rem, 22vw, 6.2rem);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 150px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-strip span {
    min-height: 60px;
    padding: 17px 18px;
    font-size: 0.88rem;
  }

  .section {
    padding: 72px 18px;
  }

  .product-grid,
  .free-grid {
    grid-template-columns: 1fr;
  }

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

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

  .scene-grid {
    right: -330px;
    width: 720px;
    opacity: 0.42;
  }

  .impact-metric {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
