/* Desktop composition only: the approved mobile hero keeps its existing rules. */
@media (min-width: 941px) {
  .hero { min-height: 0; padding: 28px 0 46px; }
  .hero-layout {
    min-height: 620px;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 76px);
  }
  .hero-content { max-width: 580px; padding-block: 24px; }
  .slot-flow { margin-bottom: 28px; }
  .hero h1 { font-size: clamp(48px, 4.65vw, 66px); line-height: 1.06; letter-spacing: -.055em; }
  .hero-solution { width: auto; margin: 26px 0 0; padding: 0; background: none; border-radius: 0; text-align: left; }
  .solution-line { justify-content: flex-start; gap: 8px; font-size: 31px; letter-spacing: -.04em; }
  .solution-line img { width: 116px; height: auto; }
  .solution-badge { min-width: 244px; min-height: 44px; margin-top: 14px; padding: 9px 16px; background: #e8ecfd; border: 1px solid #dae0fa; border-radius: 12px; color: #3a45d1; font-size: 19px; }
  .solution-badge::before { background: #737bf0; }
  .hero-lead { max-width: 440px; margin-top: 24px; font-size: 16px; line-height: 1.65; color: #52617c; }
  .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; max-width: none; margin-top: 28px; }
  .hero-actions .button { min-height: 54px; padding-inline: 20px; font-size: 15px; font-weight: 600; border-radius: 14px; }
  .hero-actions .button img { width: 23px; height: 23px; }
  .hero-actions .button.secondary { padding: 10px 0; min-height: 44px; background: none; border: 0; box-shadow: none; color: #334267; font-size: 13px; gap: 8px; }
  .hero-actions .button.secondary::after { content: '↗'; font-size: 18px; }
  .hero-actions .button.secondary:hover { color: #3a45d1; }
  .hero-media {
    min-height: 620px;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
    isolation: isolate;
    background: radial-gradient(ellipse at 65% 42%, #cdd6fc 0, #e4e9fc 40%, #eef1fc 75%);
  }
  .hero-media::before { content: ''; position: absolute; width: 440px; height: 440px; left: 42px; top: 76px; border: 1px solid #ffffff99; border-radius: 50%; z-index: -1; }
  .hero-hand { width: 740px; height: auto; left: 50%; top: -110px; transform: translateX(-67.5%); }
  .confirm-card { left: 24px; bottom: 48px; padding: 14px 16px; gap: 10px; border: 1px solid #ffffffb3; border-radius: 17px; font-size: 13px; line-height: 1.5; box-shadow: 0 12px 32px #283d9029; }
  .confirm-card strong { margin-bottom: 2px; }
  .confirm-card img { width: 38px; height: 38px; }
}
@media (min-width: 941px) and (max-width: 1100px) {
  .hero-layout { column-gap: 30px; min-height: 600px; }
  .hero h1 { font-size: 49px; }
  .hero-media { min-height: 600px; }
  .hero-hand { width: 690px; top: -78px; }
  .hero-actions { gap: 6px 18px; }
  .confirm-card { left: 18px; bottom: 35px; padding: 12px; font-size: 12px; }
}

/* Non-modal mobile navigation. Hidden links never enter the tab order. */
.mobile-nav { display: none; }
.menu-icon { position: relative; border: 0; padding: 0; background: transparent; font-family: inherit; cursor: pointer; }
.menu-icon::before { content: ''; position: absolute; inset: -8px; }
@media (max-width: 680px) {
  .mobile-nav:not([hidden]) { display: grid; position: absolute; top: calc(100% + 8px); right: 19px; width: min(342px, calc(100% - 38px)); padding: 12px; border: 1px solid #dfe4f1; border-radius: 20px; background: #fff; box-shadow: 0 18px 52px #15285826; }
  .mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; border-radius: 11px; text-decoration: none; color: #0b1b39; font-size: 15px; font-weight: 600; }
  .mobile-nav a:hover { background: #eef1fc; }
  .mobile-nav .button { margin-top: 8px; color: white; background: #3a45d1; justify-content: center; border-radius: 13px; box-shadow: none; }
}
