html { scroll-padding-top: 80px; }
body { cursor: auto; }
a:focus-visible, button:focus-visible { outline: 2px solid #a6c5ff; outline-offset: 4px; }

#mainnav { background: rgba(0, 0, 0, .94); border-bottom-color: #242424; }
#mainnav .home-brand { min-width: 0; flex-shrink: 0; }
.home-brand img { width: auto; max-width: 180px; max-height: 38px; object-fit: contain; }
.home-navigation { display: flex; align-items: center; gap: 30px; margin-right: auto; margin-left: 52px; }
.home-navigation a { color: #c6c6c6; font-size: 14px; font-weight: 600; text-decoration: none; }
.home-navigation a:hover { color: #fff; }
.home-mobile-login, .home-mobile-label, .home-mobile-signup { display: none; }
.home-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#mainnav .home-nav-cta { background: #fff; color: #111; border-radius: 6px; }
#mainnav .home-nav-cta:hover { background: #dce7ff; }
.home-menu-toggle { display: none; }

#hero.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 9%; width: min(100% - 96px, 1280px); min-height: 690px; margin: 0 auto; padding: 130px 0 90px; }
.home-eyebrow { display: flex; align-items: center; gap: 10px; color: #c0c6d0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.home-eyebrow span { width: 7px; height: 7px; background: #9dc2ff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(157, 194, 255, .12); }
.home-hero-copy h1 { margin: 30px 0 0; color: #fff; font-family: Inter, system-ui, sans-serif; font-size: clamp(3.2rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.home-hero-copy p { max-width: 470px; margin: 25px 0 0; color: #b6bbc3; font-size: 17px; line-height: 1.7; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.home-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 28px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.home-button-light { background: #fff; color: #111; }
.home-button-light:hover { background: #dce7ff; }
.home-button-outline { border-color: #555d68; color: #fff; }
.home-button-outline:hover { background: #fff; color: #111; }
.home-explore, .home-inline-link { display: inline-block; margin-top: 32px; color: #e4e9f1; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-explore span { margin-left: 12px; }
.home-inline-link { margin-top: 18px; color: #9dbdff; }
.home-hero-video-wrap { display: none; }
.home-video-play:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 16px auto 0; padding: 0 20px; border: 1px solid #fff; border-radius: 999px; background: transparent; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.home-hero-video-wrap { text-align: center; }

.home-hero-markets { padding: 32px; border: 1px solid #333a45; border-radius: 14px; background: linear-gradient(145deg, #171c24, #0d0f12); box-shadow: 0 30px 90px rgba(0, 0, 0, .3); }
.home-market-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; }
.home-market-head span { color: #aab4c3; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.home-market-head h2 { margin-top: 8px; color: #fff; font-family: Inter, system-ui, sans-serif; font-size: 22px; font-weight: 700; }
.home-market-head a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #4a5360; border-radius: 50%; color: #fff; text-decoration: none; }
.home-market-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 0; border-top: 1px solid #313741; }
.home-market-asset { display: flex; min-width: 0; align-items: center; gap: 12px; }
.home-market-asset img, .home-asset-initial { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; }
.home-asset-initial { display: grid; place-items: center; background: #303844; font-weight: 700; }
.home-market-asset strong, .home-market-asset small, .home-market-values strong, .home-market-values small { display: block; }
.home-market-asset strong { overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.home-market-asset small, .home-market-values small { margin-top: 4px; color: #aeb8c7; font-size: 12px; }
.home-market-values { flex-shrink: 0; text-align: right; }
.home-market-values strong { color: #fff; font-size: 14px; }
.home-market-values .home-positive { color: #89d9b3; }
.home-market-values .home-negative { color: #ff8790; }
.home-market-note, .home-market-empty { color: #aeb8c7; font-size: 12px; line-height: 1.6; }
.home-market-note { margin-top: 16px; }
.home-market-empty { padding: 20px 0; border-top: 1px solid #313741; }
.home-ticker { overflow-x: auto; padding-left: 24px; padding-right: 24px; }
.home-market-cta { margin-top: 28px; }
#tools { border-top: 1px solid #242424; border-bottom: 1px solid #242424; }
#tools .tcard { min-height: 210px; background: #111; }
.home-journey { padding: 110px 24px 80px; text-align: center; }
.home-journey-copy { max-width: 920px; margin: 0 auto; }
.home-journey h2 { color: #fff; font-family: Inter, system-ui, sans-serif; font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.home-journey p { margin: 24px auto 0; color: #b6bbc3; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.7; }
.home-journey-video { display: block; width: min(100%, 1000px); height: auto; margin: 64px auto 0; }

@media (max-width: 900px) {
  .home-navigation { gap: 18px; margin-left: 24px; }
  #hero.home-hero { width: calc(100% - 48px); gap: 5%; }
}
@media (max-width: 767px) {
  #mainnav { padding-left: 20px; padding-right: 20px; border-bottom-color: transparent; background: #000; }
  .home-brand img { max-width: 120px; max-height: 34px; }
  .home-brand span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #mainnav > div { gap: 12px; }
  #mainnav .home-nav-login, .home-desktop-label { display: none; }
  .home-mobile-login, .home-mobile-label { display: block; }
  #mainnav .home-nav-cta { min-height: 38px; padding: 0 16px; border: 1px solid #fff; border-radius: 999px; background: transparent; color: #fff; font-size: 13px; font-weight: 500; }
  #mainnav .home-nav-cta:hover { background: #fff; color: #000; }
  .home-navigation { position: absolute; top: 64px; left: 0; right: 0; display: none; margin: 0; padding: 8px 20px 16px; background: #111; border-bottom: 1px solid #30343b; }
  .home-navigation.is-open { display: block; }
  .home-navigation a { display: block; padding: 12px 0; }
  .home-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 36px; height: 40px; padding: 8px; border: 0; background: transparent; }
  .home-menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; }
  #hero.home-hero { grid-template-columns: minmax(0, 1fr); gap: 60px; width: calc(100% - 40px); min-height: 0; padding: 145px 0 70px; }
  #hero .home-eyebrow, #hero .home-explore, #hero .home-hero-markets, #hero .home-hero-actions { display: none; }
  .home-hero-copy { text-align: center; }
  .home-hero-copy h1 { margin: 0; font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1.13; letter-spacing: -.045em; }
  .home-hero-copy p { margin: 20px auto 0; font-size: 15px; line-height: 1.6; }
  .home-mobile-signup { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 40px; }
  .home-mobile-signup input { width: 100%; min-height: 58px; padding: 0 18px; border: 1px solid #fff; border-radius: 7px; background: #000; color: #fff; font: inherit; font-size: 16px; }
  .home-mobile-signup input::placeholder { color: #aaa; opacity: 1; }
  .home-mobile-signup input:focus-visible { outline: 2px solid #a6c5ff; outline-offset: 3px; }
  .home-mobile-signup button { width: min(100%, 220px); min-height: 58px; border: 0; border-radius: 999px; background: #fff; color: #000; font-size: 16px; font-weight: 700; cursor: pointer; }
  .home-mobile-signup button:hover { background: #dce7ff; }
  .home-hero-video-wrap { display: block; min-width: 0; }
  .home-hero-video { display: block; width: min(100%, 300px); height: auto; margin: 0 auto; background: #000; }
  .home-hero-video-error { margin-top: 12px; color: #b6bbc3; font-size: 13px; }
  #markets table th, #markets table td { padding-left: 12px; padding-right: 12px; }
  .home-journey { padding: 80px 20px 60px; }
  .home-journey-video { margin-top: 40px; }
}
@media (max-width: 360px) {
  #hero.home-hero { width: calc(100% - 28px); }
  .home-brand img, .home-brand span { max-width: 100px; }
  .home-hero-copy h1 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
