:root {
    color-scheme: light;
    --ink: #171533;
    --muted: #514b70;
    --purple: #634cce;
    --border: #e4dff4;
    --surface: #f7f5ff;
    --mint: #a5f4d9;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fcfbff; font: 16px/1.6 Inter, system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, .screens__grid:focus-visible { outline: 3px solid #8262ff; outline-offset: 4px; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.bank-header { background: #fcfbff; border-bottom: 1px solid var(--border); }
.bank-header .shell, .bank-footer .shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.04em; font-size: 21px; text-decoration: none; }
.brand img { border-radius: 10px; }
.bank-nav, .lang { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.bank-nav a, .bank-footer a { font-size: 14px; font-weight: 650; text-decoration: none; }
.bank-nav a:hover, .bank-footer a:hover { color: var(--purple); }
.lang { gap: 4px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: white; }
.lang a { padding: 4px 8px; font-size: 12px; border-radius: 7px; }
.lang [aria-current="page"] { color: #4934ac; background: #ede7ff; }
.bank-hero {
    padding: clamp(48px, 6vw, 86px) 0;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(ellipse at 90% 20%, #e3daff 0%, transparent 53%), linear-gradient(160deg, #faf8ff, #f0ebfc);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.eyebrow { margin: 0 0 17px; display: flex; align-items: center; gap: 9px; color: #5236b6; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; background: #7856e9; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px #7654e924; }
.bank-hero h1 { margin: 0; font-size: clamp(48px, 6.2vw, 86px); font-weight: 850; line-height: .99; letter-spacing: -.075em; }
.bank-hero h1 span { display: block; color: var(--purple); }
.hero-description { max-width: 470px; margin: 25px 0; color: var(--muted); font-size: clamp(16px, 1.65vw, 20px); line-height: 1.55; }
.bank-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.play-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 59px; padding: 9px 17px; background: #1f1837; color: white; border: 1px solid #493a66; border-radius: 13px; text-decoration: none; line-height: 1.05; }
.play-badge:hover { background: #362556; }
.play-badge svg { width: 26px; height: 29px; flex: none; }
.play-badge small { display: block; font-size: 9px; font-weight: 650; letter-spacing: .12em; margin-bottom: 4px; }
.play-badge strong { font-size: 21px; font-weight: 680; white-space: nowrap; }
.secondary { min-height: 54px; display: inline-flex; align-items: center; padding: 10px 15px; border: 1px solid #d6c9ef; border-radius: 12px; background: #ffffff85; color: #513ca6; text-decoration: none; font-size: 14px; font-weight: 750; }
.secondary:hover { background: white; }
.platform-note { margin: 13px 0 0; font-size: 13px; color: var(--muted); }
.dashboard { min-width: 0; overflow: hidden; border: 1px solid #47376c; border-radius: 24px; color: #f4eeff; background: radial-gradient(ellipse at 100% 5%, #40276a, transparent 65%), #19132b; box-shadow: 0 24px 65px #3721612b; }
.dashboard-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 19px; border-bottom: 1px solid #ffffff20; font-size: 11px; letter-spacing: .09em; font-weight: 750; }
.dashboard-badge { color: var(--mint); text-align: right; }
.dashboard-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px; }
.dashboard-shot { display: block; overflow: hidden; border-radius: 12px; box-shadow: 0 12px 26px #0a061980; }
.dashboard-shot img { width: 100%; height: auto; }
.dashboard-modules { display: grid; gap: 10px; }
.module { padding: 11px 12px; border: 1px solid #ffffff22; border-radius: 13px; background: #ffffff0a; }
.module span { display: block; color: #c9b4ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.module strong { display: block; margin: 3px 0 2px; font-size: 14px; line-height: 1.25; }
.module small { display: block; color: #d4c9eb; font-size: 11px; line-height: 1.4; }
.section { padding: clamp(48px, 6vw, 78px) 0; }
.section h2, .download-panel h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.05em; }
.section-description { color: var(--muted); margin: 11px 0 26px; max-width: 650px; }
.screens__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.screen-card { min-width: 0; padding: 8px; border: 1px solid var(--border); border-radius: 17px; background: white; text-decoration: none; box-shadow: 0 6px 14px #3721610a; }
.screen-card:hover { border-color: #aa95eb; box-shadow: 0 10px 22px #37216118; }
.screen-card img { width: 100%; height: auto; border-radius: 10px; background: #efeaf9; }
.screen-card span { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 4px 3px; font-size: 13px; font-weight: 750; line-height: 1.25; }
.screen-card b { color: var(--purple); }
.mechanics { background: var(--surface); border-block: 1px solid var(--border); }
.mechanic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.mechanic { padding: 22px; border: 1px solid var(--border); background: white; border-radius: 18px; }
.mechanic .number { display: inline-flex; padding: 4px 9px; color: #4b34b4; border-radius: 8px; background: #eee7ff; font-size: 12px; font-weight: 800; }
.mechanic h3 { margin: 13px 0 6px; font-size: 19px; line-height: 1.25; }
.mechanic p { margin: 0; color: var(--muted); font-size: 14px; }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: clamp(23px, 5vw, 48px); background: linear-gradient(120deg, #2a1a4e, #5638a3); border-radius: 22px; color: white; }
.download-panel p { margin: 8px 0 0; color: #e9deff; }
.bank-footer { border-top: 1px solid var(--border); color: var(--muted); }
.bank-footer p { margin: 0; font-size: 13px; }
.screen-dialog { width: min(640px, 94vw); max-height: 94dvh; margin: auto; padding: 0; border: 1px solid #584477; border-radius: 18px; background: #1b152a; color: white; overflow: auto; overscroll-behavior: contain; }
.screen-dialog::backdrop { background: #10091de8; }
.screen-dialog header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 13px; background: #1b152a; }
.screen-dialog img { width: 100%; height: auto; }
.screen-dialog button { background: transparent; color: white; border: 1px solid #ffffff5c; border-radius: 9px; min-width: 42px; min-height: 42px; }
.screen-dialog .dialog-actions { display: flex; gap: 7px; }
body:has(.screen-dialog[open]) { overflow: hidden; }
@media (max-width: 830px) {
    .hero-grid { grid-template-columns: 1fr; }
    .dashboard { max-width: 580px; }
    .screens__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(155px, 29%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; }
    .screen-card { scroll-snap-align: start; scroll-margin: 4px; }
}
@media (max-width: 560px) {
    .shell { width: calc(100% - 32px); }
    .bank-header .shell, .bank-footer .shell { flex-wrap: wrap; gap: 9px; padding-block: 12px; }
    .bank-nav { gap: 10px; }
    .bank-nav a { font-size: 12px; }
    .dashboard-body { gap: 9px; padding: 10px; }
    .dashboard-bar { padding-inline: 12px; font-size: 9px; }
    .module { padding: 7px 8px; }
    .module strong { font-size: 12px; }
    .module small { font-size: 10px; }
    .mechanic-grid { grid-template-columns: 1fr; }
    .download-panel { flex-direction: column; align-items: flex-start; }
}
