.page-home {
  --bg: #0d1118;
  --bg-deep: #0a0f16;
  --surface: #141c27;
  --surface-2: #1a2633;
  --border: #29384a;
  --text: #f1f6fc;
  --text-muted: #b4c1d0;
}
.page-home .site-header { background: #0d141d; border-bottom: 1px solid #29384a; }
.page-home .header-actions { margin-left: auto; }
.page-home .header-cta { border-radius: 6px; }
.page-home .tv-ticker-wrapper { padding-top: 0 !important; height: 58px !important; }
.page-home main > .section { padding-block: clamp(3.25rem, 6.5vw, 6rem); }
.page-home .section-head h2 { max-width: 24ch; font-size: clamp(1.75rem, 3.45vw, 2.85rem); }
.page-home .section-head .rule { background: var(--accent); width: 28px; }
.page-home .hero {
  background: linear-gradient(90deg, #080f19de, #080f1966 58%, #09132055),
    linear-gradient(0deg, #0b121c24, #0b121c99),
    url("../images/home-hero.webp") center 74% / cover #101827;
  border-bottom: 1px solid #36495a;
}
.page-home .hero::before { display: none; }
.page-home .hero__art { z-index: 0; opacity: .28; left: 34%; bottom: 12%; }
.home-opening {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 405px);
  grid-template-areas: "title form" "details form";
  align-content: center;
  align-items: start;
  column-gap: clamp(2rem, 8vw, 9rem);
  row-gap: 1.25rem;
  padding-block: clamp(3.4rem, 7vw, 7rem);
}
.home-opening__title {
  grid-area: title;
  align-self: end;
  color: #f4faff;
  font-size: clamp(2.55rem, 5.15vw, 5.25rem);
  line-height: 1.01;
  max-width: 15ch;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.06em;
}
.home-opening__title em { color: var(--accent); font-style: normal; }
.home-opening__form { grid-area: form; }
.home-opening__details { grid-area: details; }
.home-opening__lead { max-width: 47ch; color: #d5e1ef; font-size: clamp(1rem, 1.3vw, 1.17rem); }
.home-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
  max-width: 470px;
  margin: 1.35rem 0 1rem;
}
.home-facts div { border-top: 1px solid #5cdef087; background: #0d1727d9; padding: .7rem; }
.home-facts dt { color: #c6d5e3; font-size: .74rem; }
.home-facts dd { color: #f6fbff; margin: 0; font-weight: 700; font-size: clamp(.94rem, 1.5vw, 1.25rem); }
.home-links { display: flex; gap: .5rem 1rem; flex-wrap: wrap; }
.home-links a { display: inline-flex; align-items: center; gap: .35rem; color: #bceef8; font-size: .86rem; }
.home-links svg { width: 16px; height: 16px; }
.page-home .hero__form .form-block,
.page-home .home-signup .form-block {
  padding: clamp(1.15rem, 2.1vw, 1.8rem);
  background: #101924f3;
  border: 1px solid #36596a;
  border-top: 2px solid #5cdef0;
  border-radius: 10px;
  box-shadow: 0 20px 45px #0007;
}
.page-home .hero__form .form-block__intro { color: #f2f7ff; font-size: 1.4rem; }
.page-home .form-block input[type="submit"] {
  background: #5cdef0 !important;
  color: #0b2934 !important;
  border-radius: 6px !important;
  min-height: 46px;
}
.page-home .home-exchanges { background: #121a25; }
.page-home .home-exchanges .section-head { max-width: none; text-align: center; }
.page-home .home-exchanges .section-head h2 { max-width: none; }
.page-home .home-exchanges .rule { margin-inline: auto; }
.page-home .home-exchanges .exchange-chip { border-radius: 8px; }
.page-home .home-calculator { background: radial-gradient(ellipse at 16% 0, #233748, #141c27 55%); }
.page-home .home-calculator .calc-block { border: 1px solid #33485a; border-radius: 12px; }
.page-home .calc-widget .calc-widget__result { background: linear-gradient(145deg, #26364b, #131d2b); }
.page-home .calc-widget .calc-widget__range:focus-visible { outline: 2px solid #5cdef0; outline-offset: 5px; }
.page-home .calc-widget .calc-widget__cta { color: #082630; background: #5cdef0; min-height: 44px; }
.page-home .home-steps .step,
.page-home .home-security .card,
.page-home .home-benefits .card { border-radius: 8px; border-top-color: #4f708b; }
.page-home .home-steps { background: linear-gradient(#0d1118, #101923); }
.page-home .home-comparison { border-block: 1px solid #233447; }
.page-home .home-comparison .compare td:nth-child(2),
.page-home .home-comparison .compare th:nth-child(2) { background: #5cdef014; }
.page-home .home-benefits { background: #15202b; }
.page-home .home-security { background: radial-gradient(ellipse at 90% 0, #1b2b3a, #0d1118 65%); }
.page-home .home-reviews .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-home .review { border-radius: 9px; background: linear-gradient(150deg, #1b2735, #151d28); }
.page-home .review__photo { border-color: #6addef70; }
.page-home .home-company .card { border-radius: 8px; }
.page-home .home-signup {
  background: linear-gradient(90deg, #0a1522df, #0a152286),
    url("../images/home-signup.webp") center 56% / cover #101a29;
  border-block: 1px solid #334455;
}
.page-home .home-signup .cta-band { background: #0a1420a8; border-color: #405262; }
.page-home .home-signup .cta-band h2 { color: #f4f9fe; }
.page-home .home-faq .faq { max-width: 850px; }
.page-home .faq-item { border-radius: 7px; }
.page-home .site-footer { background: #090e16; }

@media (max-width: 940px) {
  .page-home .home-reviews .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .home-opening { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "form" "details"; padding-block: 2.25rem; }
  .home-opening__title { font-size: clamp(2.35rem, 8.7vw, 3.8rem); }
  .home-opening__form { width: min(100%, 440px); }
  .page-home .hero { background-position: center, center, 66% bottom; }
  .page-home .hero__art { left: 0; }
}
@media (max-width: 560px) {
  .page-home .home-reviews .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* Market terminal and full-width scenario tools. */
.home-terminal {
  width: min(100%, 460px);
  margin: 1.45rem 0 0;
  background: #0e1923e8;
  border: 1px solid #395363;
  border-radius: 8px;
  padding: .85rem 1rem;
  box-shadow: 0 14px 38px #0005;
}
.home-terminal__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .7rem;
  color: #eef6ff;
  font-weight: 650;
  font-size: .86rem;
}
.home-terminal__bar small { color: #87e8f2; font-size: .72rem; }
.home-terminal__chart { display: block; width: 100%; height: auto; margin: .6rem 0 .35rem; }
.home-terminal figcaption { color: #a9c0ce; font-size: .72rem; }
.page-home main > .home-exchanges { padding-block: 2rem; border-bottom: 1px solid #2a3a49; }
.page-home .home-exchanges .section-head { margin-bottom: 1rem; }
.page-home .home-exchanges .section-head h2 { font-size: 1.15rem; }
.page-home .home-exchanges .section-head .lead { font-size: .91rem; }
.page-home .home-exchanges .exchanges { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.page-home .home-exchanges .exchange-chip { width: 118px; min-width: 0; height: 40px; padding: .45rem; }
.page-home .home-exchanges .exchange-chip img { max-width: 96px; max-height: 19px; object-fit: contain; }
.home-calc-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: 2.4rem;
}
.home-calc-intro .calc-scene-wrap { margin: 0; min-width: 0; }
.home-calc-intro .calc-scene-wrap canvas { display: block; width: 100%; height: auto; }
.home-calc-intro p { max-width: 45ch; color: var(--text-muted); margin-bottom: 0; }
.home-calc-full {
  padding: clamp(1rem, 3vw, 2.1rem);
  background: #131c26;
  border: 1px solid #3c5163;
  border-radius: 12px;
}
.page-home .home-steps .steps,
.page-home .home-benefits .grid--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-home .home-steps .step { display: block; padding: 1rem; }
.page-home .home-steps .step__num { display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8rem; }
.page-home .home-security .card { padding: 1.35rem; background: #162330; }
.page-home .home-company .card { background: #17222d; }
.page-home .home-signup .cta-band { padding: 0; background: transparent; border: 0; }
.page-home .home-faq .faq { width: 100%; }
@media (max-width: 900px) {
  .page-home .home-steps .steps, .page-home .home-benefits .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-calc-intro { grid-template-columns: minmax(0, 1fr); margin-bottom: 1.4rem; }
  .home-calc-intro > div { grid-row: 1; }
  .page-home .home-steps .steps, .page-home .home-benefits .grid--cards { grid-template-columns: minmax(0, 1fr); }
}

.page-home { --home-rule: #439ba5; --home-panel-radius: 6px; }
.page-home :is(.home-opening__title,.section-head h2) { text-wrap: balance; letter-spacing: -.04em; }
.page-home .section-head p { max-width: 64ch; }
.page-home .home-opening__form, .page-home .home-signup .form-block { border-top: 3px solid var(--home-rule); box-shadow: 0 18px 52px #10182233; }
.page-home main > .section.home-exchanges { padding-block: clamp(1.5rem,3vw,2.75rem); }
.page-home main > .home-calculator { background: linear-gradient(135deg,#172532,#101722); }
.page-home .home-region :is(.home-region-content,.section-head) { border-inline-start: 3px solid var(--home-rule); padding-inline-start: clamp(1rem,2.5vw,2rem); }
.page-home :is(.home-benefits,.home-security,.home-company) :is(.feature-card,.card) { border-radius: var(--home-panel-radius); box-shadow: inset 0 2px var(--home-rule),0 8px 26px #18232d0a; }
.page-home .home-steps :is(.step,.step-card) { border-top: 2px solid var(--home-rule); padding-block: clamp(1rem,2vw,1.65rem); }
.page-home .home-comparison :is(.table-wrap,.home-compare-cards > *) { border-radius: var(--home-panel-radius); box-shadow: 0 8px 24px #090d1424; }
.page-home .home-reviews :is(.review,.review-card) { border-radius: var(--home-panel-radius); box-shadow: 0 7px 24px #11213312; }
.page-home .home-faq :is(details[open],.faq__item:focus-within) { border-color: var(--home-rule); }
@media(min-width: 960px) {
  .page-home .home-faq > .container { display: grid; grid-template-columns: minmax(14rem,1fr) minmax(0,2fr); align-items: start; gap: 3rem; }
}
@media (min-width: 960px) {
  .page-home .home-security > .container { display:grid; grid-template-columns: .85fr 1.65fr; align-items:start; gap:3rem; }
  .page-home .home-security .grid { align-items:stretch; }
}
.page-home .home-opening__form { border-radius:8px; outline:1px solid #496276; }
.page-home .home-register-link { display:inline-flex; align-items:center; gap:.85rem; margin-top:1.5rem; padding:.65rem 1rem; border:1px solid currentColor; border-radius:2rem; color:inherit; font-weight:650; }
.home-register-link:hover { text-decoration:underline; }
.page-home #registro { scroll-margin-top:6rem; }
.page-home .home-opening__lead { max-width:52ch; line-height:1.55; }
.page-home .home-opening__form :is(input,select):focus-visible { outline:2px solid var(--home-rule); outline-offset:2px; }
.page-home .home-faq :is(summary,.faq__q) { min-height:48px; }
@media(min-width:821px) {
  .page-home .home-opening { grid-template-columns:minmax(0,1fr) clamp(345px,35vw,450px); column-gap:clamp(2rem,6vw,6rem); }
  .page-home .home-opening__form { align-self:center; width:100%; }
}
@media(max-width:820px) {
  .page-home .home-opening { grid-template-areas:"title" "form" "details"; grid-template-columns:minmax(0,1fr); justify-items:center; padding-block:clamp(1.25rem,4vw,2rem); row-gap:1rem; }
  .page-home .home-opening__title { text-align:center; max-width:22ch; font-size:clamp(1.9rem,6vw,2.8rem); }
  .page-home .home-opening__form,.page-home .home-opening__details { width:min(100%, 30rem); min-width:0; margin-inline:auto; }
}

@media (min-width: 821px) {
  .page-home .home-opening__title {
    max-width: none;
    font-size: clamp(2rem, 4.15vw, 4.25rem);
    text-wrap: wrap;
  }

  .home-opening__title .home-title-line {
    display: block;
    white-space: nowrap;
  }
}
