[hidden] { display: none !important; }
.reveal { opacity: 1; transform: none; }
.hero { min-height: auto; background: radial-gradient(ellipse at 95% 8%, #d9edff, transparent 60%), #f4f9ff; }
.hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 84px); align-items: center; padding-block: clamp(52px, 7vw, 104px); }
.hero h1 { font-size: clamp(2.45rem, 4.35vw, 4.5rem); line-height: 1.13; letter-spacing: -.025em; color: #102a49; }
.hero .lead { color: #3a536a; max-width: 38rem; }
.hero .button { min-height: 48px; }
.showcase { min-width: 0; }
.showcase-frame { border: 1px solid #b7cfea; background: #112d58; padding: clamp(15px, 2.4vw, 28px); border-radius: 26px; color: #fff; box-shadow: 0 24px 58px #0e386027; }
.showcase-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #e1efff; font-weight: 650; }
.showcase-brand { display: grid; place-items: center; width: 48px; height: 36px; border-radius: 9px; background: #d6fa76; color: #123025; font-weight: 900; letter-spacing: -.04em; }
.showcase-slide { background: #f7fbff; color: #112f53; min-height: 345px; border-radius: 18px; padding: clamp(14px, 3vw, 25px); animation: showcase-enter .25s ease-out; }
.showcase-slide + .showcase-slide { margin-top: 12px; }
.showcase-slide[hidden] + .showcase-slide { margin-top: 0; }
.showcase-slide h2 { font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.23; margin: 5px 0 15px; }
.showcase-label { font-size: .875rem; font-weight: 700; color: #315a87; }
.showcase-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.showcase-metrics > div, .showcase-row { border: 1px solid #cfdfef; border-radius: 11px; padding: 11px; background: #fff; }
.showcase-metrics strong { font-size: clamp(1rem, 2.25vw, 1.52rem); white-space: nowrap; display: block; }
.showcase small { display: block; color: #46617e; font-size: .875rem; line-height: 1.3; }
.showcase-rows { display: grid; gap: 8px; }
.showcase-row { display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 10px; align-items: center; }
.showcase-row svg { color: #207449; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8px; }
.showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.showcase-controls button { min-height: 44px; border: 1px solid #a5bfdc; padding: 7px 18px; border-radius: 12px; background: #fff; color: #122f53; font: inherit; font-weight: 700; cursor: pointer; }
.showcase-position { font-variant-numeric: tabular-nums; color: #344f6d; }
.login-menu { position: relative; color: #122f53; font-weight: 700; }
.login-menu summary { cursor: pointer; padding: 8px 4px; white-space: nowrap; }
.login-menu div { position: absolute; z-index: 5; right: 0; top: 100%; display: grid; gap: 3px; min-width: 190px; background: #fff; border: 1px solid #a9bdce; border-radius: 12px; box-shadow: 0 12px 30px #112d5828; padding: 8px; }
.login-menu a { display: block; padding: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #245fbb; outline-offset: 3px; }
@keyframes showcase-enter { from { opacity: .45; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 880px) {
  .hero-layout { grid-template-columns: minmax(0,1fr); }
  .hero .lead { max-width: 42rem; }
}
@media (max-width: 420px) {
  .showcase-metrics > div { padding: 7px; }
  .showcase-metrics small { font-size: .8rem; }
  .hero h1 { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) { .showcase-slide { animation: none; } }

