/* Hallmark · v2.0.0 · theme: Editorial (dealt 2/3) · genre: editorial · redesign: full · shape: Panorama · job: sign up · signature: Machu Picchu print · nav: existing index · footer: existing directory */
/* pre-emit critique: The registration panel overlaps the photograph at its edge, leaving the landscape legible and the form on opaque paper. */
/* Hallmark · reworded "La IA opera los mercados y usted decide cuánto invertir" to "Trading con IA, a su medida" · 58, headline length */
html, body { overflow-x: clip; }
.site-header { background: var(--surface); }
#content.home-page > .edition-hero {
  display: block;
  padding-block: clamp(24px, 4.1vw, 52px);
  background: var(--bg);
}
#content.home-page .edition-hero .hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-areas: "copy form" "media media";
  align-items: start;
  gap: clamp(16px, 3vw, 36px);
  border-block-start: 3px solid var(--text);
  padding-block-start: clamp(16px, 2.4vw, 30px);
}
#content.home-page .edition-hero .hero-copy { grid-area: copy; }
#content.home-page .edition-hero h1 {
  margin: 0 0 16px;
  max-width: 17ch;
  min-width: 0;
  color: var(--text);
  font-size: clamp(2.1rem, 4.5vw, 4.5rem);
  line-height: 1.02;
  overflow-wrap: break-word;
}
#content.home-page .edition-hero .hero-lead { color: var(--text-muted); max-width: 54ch; }
#content.home-page .edition-hero .hero-meta { margin-top: 20px; }
#content.home-page .edition-hero .flags-label { color: var(--text-muted); }
#content.home-page .edition-hero .hero-badges a { color: var(--text); background: var(--surface); border-color: var(--border); }
#content.home-page .edition-hero .hero-badges a:hover { border-color: var(--accent); }
#content.home-page .edition-hero .hero-form { grid-area: form; border-radius: 0; box-shadow: none; border-block-start: 3px solid var(--accent); padding: clamp(16px, 2.2vw, 28px); }
.edition-panorama { position: relative; grid-area: media; overflow: clip; min-height: clamp(200px, 24vw, 365px); background: var(--ink-band); }
#content.home-page .edition-panorama .hero-bg { inset: 0; }
#content.home-page .edition-panorama .hero-bg img { object-position: 50% 46%; }
#content.home-page .edition-panorama .hero-scrim { background: var(--ink-band); opacity: .18; }
.home-page > [aria-labelledby="compare-title"] { border-block: 1px solid var(--border); }
.home-page .reviews-grid { gap: 0; border-block-start: 1px solid var(--border); }
.home-page .reviews-grid .review-card { border: 0; border-block-end: 1px solid var(--border); border-radius: 0; background: transparent; }
@media (max-width: 800px) {
  #content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  #content.home-page .edition-hero .hero-grid { grid-template-areas: "copy" "form" "media"; }
  #content.home-page .edition-hero .hero-form { order: initial; }
}

.home-page :is(a,button,input,summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
tv-ticker-tape:focus-visible, .tv-ticker-host:focus-within { outline: 3px solid var(--accent); outline-offset: -3px; }
.home-page .hero-form input[type="submit"]:active { transform: translateY(0); }
.home-page > [aria-labelledby="steps-title"] .steps { border-block-start: 1px solid var(--border); }
.home-page > [aria-labelledby="sec-title"] { background: var(--surface); }
@media (min-width: 980px) {
  .home-page > [aria-labelledby="steps-title"] > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px;
    align-items: start;
  }
  .home-page > [aria-labelledby="steps-title"] .steps { grid-column: 2; }
}

#content.home-page > .edition-hero { min-height: 0; background: var(--bg); }
#content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-areas: "copy form" "media media" "proof proof"; row-gap: 0; }
#content.home-page .edition-hero .hero-copy { padding-block: 16px 24px; }
#content.home-page .edition-hero h1 { font-size: clamp(2.55rem, 5.15vw, 5.2rem); max-width: 15ch; }
#content.home-page .edition-hero .hero-form { z-index: 2; margin-block: 12px -72px; background: var(--surface); }
#content.home-page .edition-hero .hero-meta { grid-area: proof; margin: 0; padding-block-start: 20px; }
.edition-panorama { min-height: clamp(236px, 30vw, 430px); }
#content.home-page .edition-panorama .hero-bg img { filter: none; }
#content.home-page .edition-panorama .hero-scrim { opacity: .06; }
.home-page > [aria-labelledby="exchanges-title"] { background: var(--surface); }
.home-page > [aria-labelledby="compare-title"] { background: var(--accent-tint); }
.home-page > [aria-labelledby="reviews-title"] { background: var(--surface-2); color: var(--text); }
.home-page > [aria-labelledby="reviews-title"] :is(h2,h3,.lead,.review-card,.review-card p,.review-card small,.review-card figcaption,.review-stats dt,.review-stats dd,.reviews-note,.note) { color: var(--text); }
.home-page > [aria-labelledby="reviews-title"] .review-card { border-color: var(--border); }
@media (min-width: 981px) {
  .home-page > [aria-labelledby="compare-title"] > .container { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; gap: 32px; }
}
@media (max-width: 800px) {
  #content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "media" "proof"; gap: 16px; }
  #content.home-page .edition-hero .hero-form { margin-block: 0; }
  #content.home-page .edition-hero .hero-copy { padding-block: 0; }
}

#content.home-page > .edition-hero { overflow: clip; }
#content.home-page .edition-hero :is(h1,.hero-title) { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
#content.home-page .edition-hero .hero-action { margin: 16px 0 0; }
#content.home-page .edition-hero .hero-action .btn { min-height: 44px; text-align: center; }
#home-application { scroll-margin-top: 110px; }
#home-application:target, .home-page :is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.home-page .exchange-row li { display: flex; align-items: center; gap: 8px; }

.home-page .exchange-brand-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.home-page > .home-calculator > .container { display: block; }
.home-page .calculator-intro { max-width: 72ch; margin-block-end: clamp(24px, 3vw, 40px); }
.home-page .home-calculator :is(.calc-wrap,.calc-widget-wrap,[data-calc-root],.calc-widget__wrapper) { width: 100%; max-width: none; min-width: 0; }

.home-page > [aria-labelledby="reviews-title"] .reviews-grid > .review-card { display: flex; flex-direction: column; min-width: 0; overflow-wrap: break-word; }
.home-page > [aria-labelledby="reviews-title"] .reviews-grid .review-stats { margin-block-start: auto; }
@media (min-width: 780px) {
  .home-page > [aria-labelledby="reviews-title"] .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}

.home-page .exchange-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-block: 1px solid var(--border);
}
.home-page .exchange-row li {
  justify-content: center;
  padding: 16px 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
}
.home-page .exchange-row li + li { border-inline-start: 1px solid var(--border); }
.home-page .exchange-row .exchange-brand-icon { width: 28px; height: 28px; border-radius: 2px; }
@media (max-width: 980px) {
  .home-page .exchange-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .exchange-row li:nth-child(n+4) { border-block-start: 1px solid var(--border); }
  .home-page .exchange-row li:nth-child(4) { border-inline-start: 0; }
}
@media (max-width: 520px) {
  .home-page .exchange-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .exchange-row li:nth-child(n+3) { border-block-start: 1px solid var(--border); }
  .home-page .exchange-row li:nth-child(odd) { border-inline-start: 0; }
  .home-page .exchange-row li:nth-child(even) { border-inline-start: 1px solid var(--border); }
}

.home-page .home-calculator .calc-widget__range { margin-inline: 0; }
