/* Taste 2.5.0 · software · printed trading terminal · calculator directly after the cover */
.site-header { background: var(--surface); }
#content.home-page > .edition-hero { padding-block: clamp(26px, 4.3vw, 58px); background: var(--bg); }
#content.home-page .edition-hero .hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .94fr) minmax(0, .94fr);
  grid-template-areas: "copy media form" "trust trust trust";
  gap: clamp(18px, 2.6vw, 36px);
  align-items: stretch;
}
#content.home-page .edition-hero .hero-copy { grid-area: copy; padding-block: 8px; }
#content.home-page .edition-hero h1 {
  max-width: 13ch;
  font-size: clamp(1.85rem, 3.2vw, 3.15rem);
  line-height: 1.03;
  margin: 0 0 16px;
  overflow-wrap: break-word;
}
#content.home-page .edition-hero h1 mark { color: inherit; background: none; }
#content.home-page .edition-hero .hero-lead { margin: 0; }
.edition-terminal {
  position: relative;
  grid-area: media;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  overflow: clip;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}
#content.home-page .edition-terminal .hero-media { inset: 0; height: 100%; }
#content.home-page .edition-terminal .hero-media img { height: 100%; mask-image: none; filter: grayscale(1) contrast(1.16); }
#content.home-page .edition-terminal .hero-media::after { content: none; }
#content.home-page .edition-terminal .hero-chart-inline { position: relative; width: auto; margin: 12px; box-shadow: none; }
#content.home-page .edition-hero .hero-panel { grid-area: form; grid-row: auto; align-self: stretch; padding: clamp(14px, 1.7vw, 24px); }
#content.home-page .edition-hero .hero-panel h2 { font-size: clamp(1.1rem, 1.55vw, 1.45rem); }
.edition-proof {
  grid-area: trust;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-block-start: 2px solid var(--ink);
  padding-block-start: 16px;
}
#content.home-page .edition-proof :is(.hero-trust,.hero-flags) { margin: 0; width: auto; }
#content.home-page .edition-proof .hero-flags { box-shadow: none; }
.home-page .section-steps .step-list { border-block-start: 2px solid var(--ink); }
.home-page .section-security, .home-page .section-advantages { background: var(--surface); }
.home-page .section-calc { border-top: 6px solid var(--accent); }
.home-page .section-reviews .reviews-grid { gap: 0; border: 2px solid var(--ink); }
.home-page .section-reviews .review-card { box-shadow: none; border-width: 1px; }
@media (max-width: 1050px) {
  #content.home-page .edition-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    grid-template-areas: "copy form" "media media" "trust trust";
  }
  .edition-terminal { min-height: 250px; }
  #content.home-page .edition-terminal .hero-chart-inline { max-width: 410px; }
}
@media (max-width: 680px) {
  #content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "media" "trust"; }
  #content.home-page .edition-proof :is(.hero-trust,.hero-flags) { width: 100%; }
  .edition-terminal { min-height: 240px; }
}

#content.home-page .edition-hero .hero-copy { display: block; }
#content.home-page .edition-hero h1 mark { background: var(--accent); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.home-page .section-steps .steps-index { border-block-start: 2px solid var(--ink); }
.home-page .section-security .card-grid-4 { gap: 0; border: 2px solid var(--ink); }
.home-page .section-security .card-grid-4 > * { border-width: 1px; box-shadow: none; }
@media (min-width: 900px) {
  .home-page .section-steps > .container {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: start;
    column-gap: 32px;
  }
  .home-page .section-steps .steps-index { grid-column: 2; grid-row: 1 / span 3; }
}

#content.home-page > .edition-hero { background: var(--surface); }
#content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); grid-template-areas: "copy form" "media form" "trust trust"; gap: 18px clamp(22px, 4vw, 54px); }
#content.home-page .edition-hero .hero-copy { padding-block: 8px 16px; }
#content.home-page .edition-hero h1 { max-width: 15ch; font-size: clamp(2.2rem, 5vw, 5.1rem); letter-spacing: -.055em; }
#content.home-page .edition-hero .hero-panel { grid-row: 1 / 3; background: var(--bg); align-self: start; border-block-start-width: 8px; border-block-start-color: var(--accent); }
#content.home-page .edition-terminal { min-height: clamp(190px, 18vw, 260px); }
#content.home-page .edition-terminal .hero-chart-inline { width: min(58%, 390px); align-self: end; }
#content.home-page .edition-terminal .hero-media img { filter: grayscale(.8) contrast(.86) brightness(1.16); }
#content.home-page .edition-terminal .hero-media__tint { opacity: .12; }
.home-page > .section-calc { background: var(--accent-tint); border-top-color: var(--ink); }
.home-page > .section-exchanges { background: var(--surface); }
.home-page > .section-compare { background: var(--bg); }
.home-page > .section-form2 { background: var(--accent-tint); }
.home-page .section-advantages .adv-grid { border-block: 2px solid var(--ink); gap: 0; }
.home-page .section-advantages .adv-grid > * { border-radius: 0; box-shadow: none; }
@media (max-width: 760px) {
  #content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "media" "trust"; }
  #content.home-page .edition-hero .hero-panel { grid-row: auto; }
}

#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: 14px 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; }

#content.home-page .edition-hero .hero-panel :is(.form-title,.form-title-sub,.form-block) { color: var(--text); }
#content.home-page .edition-hero .hero-panel :is(.form-legal,.form-note) { color: var(--text-muted); }
#content.home-page .edition-hero .hero-panel .form-legal a { color: var(--text); text-decoration: underline; }
.home-page > .section-calc { color: var(--text); }
.home-page > .section-calc :is(.mono-label-accent,.lead) { color: var(--text-muted); }

.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 > .section-reviews .reviews-grid > .review-card { display: flex; flex-direction: column; min-width: 0; overflow-wrap: break-word; }
.home-page > .section-reviews .reviews-grid .review-stats { margin-block-start: auto; }
@media (min-width: 780px) {
  .home-page > .section-reviews .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}
@media (min-width: 1120px) {
  .home-page > .section-reviews .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.home-page .exchange-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
}
.home-page .exchange-mark { min-width: 0; padding: 10px; }
.home-page .exchange-mark:nth-child(even) { background: var(--accent); }
.home-page .exchange-mark .exchange-brand-icon { border: 1px solid var(--ink); }

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