:root {
  --ink: #101624;
  --muted: #647084;
  --line: #dce3ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --navy: #071b3a;
  --blue: #0e5aa7;
  --red: #d71920;
  --green: #128c4a;
  --gold: #f5b83b;
  --shadow: 0 24px 60px rgba(11, 27, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(7, 27, 58, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), #fff 52%, var(--red));
  color: var(--navy);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 11, 28, 0.94) 0%, rgba(3, 11, 28, 0.74) 42%, rgba(3, 11, 28, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 27, 58, 0.55), rgba(7, 27, 58, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 5vw, 72px);
  padding: 84px 0;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

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

.hero-info span {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 900;
  line-height: 1.25;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-tags span {
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -48px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-strip div {
  padding: 26px;
  background: var(--paper);
}

.quick-strip strong {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 22px;
}

.quick-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 76px auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 100%;
}

.section-heading h2,
.join-copy h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.section-heading p,
.join-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 18px;
}

.stock-card,
.news-grid article,
.lead-form,
.widget-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(11, 27, 58, 0.08);
}

.stock-card {
  padding: 24px;
}

.stock-card.highlight {
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #103f75);
  border-color: rgba(255, 255, 255, 0.14);
}

.stock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.stock-top strong {
  color: var(--red);
  font-size: 34px;
}

.stock-card.highlight .stock-top strong {
  color: #fff;
}

.badge {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(215, 25, 32, 0.12);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.stock-card.highlight .badge {
  color: var(--gold);
  background: rgba(245, 184, 59, 0.14);
}

.stock-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.18;
}

.stock-card ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.72;
}

.stock-card.highlight ul {
  color: rgba(255, 255, 255, 0.78);
}

.widget-shell {
  padding: 14px;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-grid article {
  padding: 24px;
}

.news-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--red);
  font-weight: 900;
}

.news-grid h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.2;
}

.news-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.source-row a {
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf3ff;
  font-weight: 900;
}

.join-section {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 36px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 76px auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.96), rgba(16, 63, 117, 0.92)),
    linear-gradient(90deg, var(--red), var(--blue));
  color: #fff;
}

.community-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 76px auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.96), rgba(16, 63, 117, 0.92)),
    linear-gradient(90deg, var(--red), var(--blue));
}

.community-section h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.community-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.65;
}

.community-points {
  display: grid;
  gap: 12px;
}

.community-points span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(3, 11, 28, 0.18);
}

.join-copy h2,
.join-copy p {
  color: #fff;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.privacy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.75);
  background: #061326;
}

.footer strong {
  color: #fff;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(3, 11, 28, 0.94), rgba(3, 11, 28, 0.52));
  }

  .quick-strip,
  .watchlist-grid,
  .news-grid,
  .join-section,
  .community-section {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: auto;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  h1 {
    font-size: 42px;
  }

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

  .section,
  .join-section {
    width: calc(100% - 28px);
    margin: 54px auto;
  }

  .join-section,
  .community-section {
    padding: 24px 16px;
  }
}
