@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap");

.capital-home {
  --cm-blue: #2f6bff;
  --cm-blue-deep: #1746c8;
  --cm-lime: #c8f35b;
  --cm-orange: #ff7a45;
  --cm-black: #090909;
  --cm-ink: #121212;
  --cm-paper: #f7f7f3;
  --cm-line: #d9d9d2;
  margin: 0;
  background: #fff;
  color: var(--cm-ink);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.capital-home main {
  overflow: hidden;
}

.capital-home .site-header {
  position: relative;
  min-height: 76px;
  background: #fff;
  border-bottom: 1px solid #e8e8e3;
  box-shadow: none;
}

.capital-home .site-header.is-solid,
.capital-home .site-header.is-scrolled,
.capital-home .site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  border-color: #e8e8e3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.capital-home .brand-name,
.capital-home .nav a,
.capital-home .header-action,
.capital-home .menu-button {
  color: var(--cm-black);
}

.capital-home .nav a {
  font-weight: 600;
}

.capital-home .nav a.is-active::after {
  background: var(--cm-blue);
}

.capital-home .header-action {
  border-color: var(--cm-black);
}

.capital-home .header-action:first-child {
  background: var(--cm-black);
  color: #fff;
}

.capital-home .header-action:hover {
  transform: translateY(-2px);
}

.capital-home .menu-button span {
  background: var(--cm-black);
}

.capital-home .risk-banner {
  position: relative;
  top: auto;
  margin: 0;
  padding: 9px 5vw;
  background: var(--cm-black);
  color: rgba(255, 255, 255, 0.8);
  border: 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.cm-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  min-height: min(820px, calc(100vh - 108px));
  background: #fff;
}

.cm-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 132px) clamp(28px, 6vw, 108px);
}

.cm-kicker {
  margin: 0 0 22px;
  color: var(--cm-blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cm-kicker--light {
  color: #9ebaff;
}

.cm-hero h1,
.cm-statement h2,
.cm-product h2,
.cm-section-head h2,
.cm-accounts h2,
.cm-risk h2,
.cm-final-cta h2 {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.cm-hero h1 {
  max-width: 800px;
  font-size: clamp(62px, 7vw, 126px);
}

.cm-hero h1 span {
  color: var(--cm-blue);
}

.cm-hero__lead {
  max-width: 610px;
  margin: 32px 0 0;
  color: #55554f;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
}

.cm-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
}

.cm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.cm-button:hover,
.cm-button:focus-visible {
  transform: translateY(-3px);
}

.cm-button--dark {
  background: var(--cm-black);
  color: #fff;
}

.cm-button--dark:hover,
.cm-button--dark:focus-visible {
  background: var(--cm-blue);
}

.cm-button--light {
  background: #fff;
  color: var(--cm-black);
}

.cm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--cm-black);
  font-weight: 700;
}

.cm-text-link span {
  transition: transform 180ms ease;
}

.cm-text-link:hover span {
  transform: translate(3px, -3px);
}

.cm-microcopy {
  margin: 26px 0 0;
  color: #74746d;
  font-size: 12px;
}

.cm-hero__visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #1553ab;
}

.cm-hero__visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(0, 20, 75, 0.6));
  content: "";
  pointer-events: none;
}

.cm-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.cm-hero__badge {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  display: grid;
  min-width: 158px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cm-black);
  backdrop-filter: blur(15px);
}

.cm-hero__badge span {
  color: #62625d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cm-hero__badge strong {
  margin-top: 3px;
  font-size: 15px;
}

.cm-hero__quote {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 34px;
  left: 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
}

.cm-hero__quote span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cm-hero__quote strong {
  max-width: 320px;
  font-size: 20px;
  line-height: 1.3;
  text-align: right;
}

.cm-ticker {
  min-height: 50px;
  border-top: 1px solid #e6e6df;
  border-bottom: 1px solid #e6e6df;
  background: #fff;
}

.cm-ticker .tradingview-widget-container {
  min-height: 46px;
}

.cm-statement {
  display: grid;
  place-items: center;
  padding: clamp(100px, 12vw, 190px) 24px;
  background: var(--cm-paper);
  text-align: center;
}

.cm-statement h2 {
  max-width: 1040px;
  font-size: clamp(52px, 7vw, 112px);
}

.cm-statement > p:last-child {
  max-width: 680px;
  margin: 38px auto 0;
  color: #60605a;
  font-size: 19px;
  line-height: 1.6;
}

.cm-product {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.2fr);
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
  min-height: 840px;
  padding: clamp(90px, 10vw, 170px) clamp(28px, 7vw, 120px);
  background: var(--cm-black);
  color: #fff;
}

.cm-product h2,
.cm-accounts h2,
.cm-risk h2 {
  font-size: clamp(48px, 5.7vw, 92px);
}

.cm-product__content > p:not(.cm-kicker) {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.cm-checklist {
  display: grid;
  gap: 0;
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.cm-checklist li {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
}

.cm-checklist li::before {
  margin-right: 12px;
  color: #8cacff;
  content: "✦";
}

.cm-device {
  position: relative;
  max-width: 800px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  background: #141414;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 12px #1d1d1d;
}

.cm-device::before {
  position: absolute;
  inset: -14% -8% auto auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.3);
  filter: blur(80px);
  content: "";
}

.cm-device__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.cm-device__top div {
  display: grid;
}

.cm-device__top span,
.cm-watchlist span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.cm-device__top strong {
  font-size: clamp(28px, 3vw, 44px);
}

.cm-live-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #40dd8e;
  content: "";
}

.cm-chart {
  width: 100%;
  margin: 30px 0 10px;
  overflow: visible;
}

.cm-chart__grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.cm-chart__area {
  fill: url(#chartFill);
}

.cm-chart__line {
  fill: none;
  stroke: #5e8bff;
  stroke-linecap: round;
  stroke-width: 5;
}

.cm-watchlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
}

.cm-watchlist article {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: #1a1a1a;
}

.cm-watchlist small.positive { color: #57e6a0; }
.cm-watchlist small.negative { color: #ff896c; }
.cm-device > p { margin: 16px 0 0; color: rgba(255, 255, 255, 0.38); font-size: 10px; }

.cm-markets,
.cm-steps {
  padding: clamp(90px, 10vw, 170px) clamp(28px, 7vw, 120px);
  background: #fff;
}

.cm-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 70px;
}

.cm-section-head h2 {
  font-size: clamp(52px, 6vw, 96px);
}

.cm-section-head > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: #62625c;
  font-size: 18px;
}

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

.cm-market-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--cm-line);
  border-radius: 22px;
  background: var(--cm-paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cm-market-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

.cm-market-card > span {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.62;
}

.cm-market-card h3 {
  margin: auto 0 16px;
  font: 700 clamp(36px, 3vw, 54px)/1 "Inter", sans-serif;
  letter-spacing: -0.05em;
}

.cm-market-card p {
  min-height: 76px;
  margin: 0;
  color: #5f5f59;
}

.cm-market-card strong {
  margin-top: 24px;
  font-size: 13px;
}

.cm-market-card--blue { background: var(--cm-blue); color: #fff; border-color: var(--cm-blue); }
.cm-market-card--blue p { color: rgba(255,255,255,.72); }
.cm-market-card--lime { background: var(--cm-lime); border-color: var(--cm-lime); }
.cm-market-card--dark { background: var(--cm-black); color: #fff; border-color: var(--cm-black); }
.cm-market-card--dark p { color: rgba(255,255,255,.65); }
.cm-market-card--orange { background: var(--cm-orange); border-color: var(--cm-orange); }

.cm-accounts {
  padding: clamp(90px, 10vw, 160px) clamp(28px, 7vw, 120px);
  background: var(--cm-blue);
  color: #fff;
}

.cm-accounts__intro {
  max-width: 930px;
}

.cm-accounts__intro > p:last-child {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
}

.cm-plan-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 64px 0 36px;
}

.cm-plan-row a {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  transition: background 180ms ease, transform 180ms ease;
}

.cm-plan-row a:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.15);
}

.cm-plan-row span { color: rgba(255,255,255,.7); font-size: 13px; }
.cm-plan-row strong { align-self: end; font-size: clamp(24px, 2vw, 36px); }
.cm-plan-row em {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--cm-lime);
  color: var(--cm-black);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.cm-plan-row .featured { background: #fff; color: var(--cm-black); }
.cm-plan-row .featured span { color: #666; }

.cm-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--cm-line);
}

.cm-step-grid article {
  min-height: 290px;
  padding: 32px 28px 24px 0;
  border-right: 1px solid var(--cm-line);
}

.cm-step-grid article:not(:first-child) { padding-left: 28px; }
.cm-step-grid article:last-child { border-right: 0; }
.cm-step-grid span { color: var(--cm-blue); font-size: 12px; font-weight: 800; }
.cm-step-grid h3 { margin: 86px 0 14px; font-size: 23px; letter-spacing: -0.03em; }
.cm-step-grid p { margin: 0; color: #65655f; }

.cm-bot {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  padding: clamp(90px, 10vw, 160px) clamp(28px, 7vw, 120px);
  background: var(--cm-blue);
  color: #fff;
}

.cm-bot__copy { max-width: 800px; }

.cm-bot h2 {
  margin: 18px 0 28px;
  font-size: clamp(54px, 6.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.cm-bot__copy > p:not(.cm-kicker) {
  max-width: 690px;
  color: rgba(255,255,255,.72);
  font-size: 18px;
}

.cm-bot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin-top: 38px;
}

.cm-text-link--light { color: #fff; }

.cm-bot__card {
  min-height: 470px;
  padding: clamp(34px, 4vw, 58px);
  border-radius: 30px;
  background: var(--cm-black);
}

.cm-bot__label {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: var(--cm-lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cm-bot__card strong {
  display: block;
  margin-top: 90px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -.045em;
}

.cm-bot__card ul {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  color: rgba(255,255,255,.65);
  list-style: none;
}

.cm-bot__card li {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.cm-risk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: clamp(90px, 10vw, 160px) clamp(28px, 7vw, 120px);
  background: var(--cm-black);
  color: #fff;
}

.cm-risk > div:last-child {
  align-self: end;
  max-width: 650px;
  color: rgba(255,255,255,.65);
  font-size: 17px;
}

.cm-risk a {
  display: inline-block;
  margin-top: 20px;
  color: #9ebaff;
  font-weight: 700;
}

.cm-global {
  padding: clamp(90px, 10vw, 160px) clamp(28px, 7vw, 120px);
  background: #f1f1eb;
}

.cm-global__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 40px clamp(50px, 9vw, 150px);
  align-items: end;
}

.cm-global__intro .cm-kicker {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.cm-global__intro h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(54px, 6.5vw, 106px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.cm-global__intro > p:last-child {
  margin: 0;
  color: #5f5f59;
  font-size: 18px;
}

.cm-global__locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(70px, 8vw, 120px);
}

.cm-global__locations article {
  min-width: 0;
  padding: 18px 18px 34px;
  overflow: hidden;
  border: 1px solid var(--cm-line);
  border-radius: 28px;
  background: #fff;
}

.cm-global__media {
  height: clamp(220px, 24vw, 360px);
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 18px;
  background: #deded7;
}

.cm-global__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.cm-global__locations article:hover .cm-global__media img { transform: scale(1.035); }
.cm-global__locations span { color: var(--cm-blue); font-size: 12px; font-weight: 800; }
.cm-global__locations h3 { margin: 38px 0 18px; font-size: clamp(28px, 2.5vw, 40px); line-height: 1; letter-spacing: -.045em; }
.cm-global__locations p { margin: 0; color: #686862; }

.cm-final-cta {
  display: grid;
  place-items: center;
  padding: clamp(110px, 13vw, 210px) 24px;
  background: var(--cm-lime);
  text-align: center;
}

.cm-final-cta .cm-kicker { color: #38520b; }
.cm-final-cta h2 { font-size: clamp(58px, 8vw, 128px); }
.cm-final-cta .cm-button { margin-top: 44px; }

.capital-home .site-footer {
  background: #fff;
  color: var(--cm-black);
}

.capital-home .site-footer a,
.capital-home .site-footer p,
.capital-home .site-footer__column h3,
.capital-home .site-footer__risk {
  color: #5a5a55;
}

.capital-home .site-footer__logo span,
.capital-home .site-footer__toplink {
  color: var(--cm-black);
}

@media (max-width: 1100px) {
  .cm-hero { grid-template-columns: 1fr 0.9fr; }
  .cm-hero__copy { padding: 80px 44px; }
  .cm-product { grid-template-columns: 1fr; }
  .cm-device { width: 100%; justify-self: center; }
  .cm-market-grid { grid-template-columns: repeat(2, 1fr); }
  .cm-plan-row { grid-template-columns: repeat(3, 1fr); }
  .cm-step-grid { grid-template-columns: repeat(2, 1fr); }
  .cm-step-grid article:nth-child(2) { border-right: 0; }
  .cm-bot { grid-template-columns: 1fr; }
  .cm-bot__card { min-height: auto; }
  .cm-global__intro { grid-template-columns: 1fr; }
  .cm-global__intro .cm-kicker { grid-column: auto; }
}

@media (max-width: 760px) {
  .capital-home .site-header { position: sticky; top: 0; }
  .cm-hero { grid-template-columns: 1fr; }
  .cm-hero__copy { padding: 70px 22px 55px; }
  .cm-hero h1 { font-size: clamp(50px, 15vw, 62px); }
  .cm-actions {
    display: grid;
    justify-items: start;
    gap: 20px;
  }
  .cm-text-link {
    white-space: normal;
  }
  .cm-hero__visual { min-height: 620px; }
  .cm-hero__quote { right: 22px; bottom: 22px; left: 22px; display: grid; }
  .cm-hero__quote strong { text-align: left; }
  .cm-statement { text-align: left; place-items: start; }
  .cm-statement h2 { font-size: clamp(48px, 15vw, 72px); }
  .cm-statement > p:last-child { margin-left: 0; }
  .cm-product, .cm-markets, .cm-accounts, .cm-steps, .cm-bot, .cm-risk, .cm-global { padding-right: 22px; padding-left: 22px; }
  .cm-product { grid-template-columns: 1fr; gap: 70px; }
  .cm-device { padding: 18px; border-radius: 22px; box-shadow: 0 0 0 7px #1d1d1d; }
  .cm-watchlist { grid-template-columns: 1fr; }
  .cm-watchlist article { grid-template-columns: 1fr auto auto; align-items: center; }
  .cm-section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 45px; }
  .cm-section-head h2, .cm-product h2, .cm-accounts h2, .cm-risk h2 { font-size: clamp(46px, 14vw, 70px); }
  .cm-market-grid, .cm-plan-row, .cm-step-grid, .cm-risk { grid-template-columns: 1fr; }
  .cm-market-card { min-height: 310px; }
  .cm-plan-row a { min-height: 130px; }
  .cm-step-grid article, .cm-step-grid article:not(:first-child) { min-height: auto; padding: 26px 0 34px; border-right: 0; border-bottom: 1px solid var(--cm-line); }
  .cm-step-grid h3 { margin-top: 45px; }
  .cm-bot { gap: 50px; }
  .cm-bot__actions { display: grid; justify-items: start; }
  .cm-bot__card { padding: 32px 24px; border-radius: 24px; }
  .cm-bot__card strong { margin-top: 60px; }
  .cm-risk { gap: 45px; }
  .cm-global__locations { grid-template-columns: 1fr; }
  .cm-global__locations article,
  .cm-global__locations article:first-child { padding: 14px 14px 28px; }
  .cm-global__media { height: 300px; }
  .cm-global__locations h3 { margin-top: 34px; }
  .cm-final-cta h2 { font-size: clamp(50px, 16vw, 76px); }
}

@media (prefers-reduced-motion: reduce) {
  .cm-button,
  .cm-market-card,
  .cm-plan-row a,
  .cm-text-link span {
    transition: none;
  }
}
