:root {
    color-scheme: light;
    --bg: #f5f7fb;
    --fg: #10131f;
    --muted: #5d6575;
    --panel: #ffffff;
    --line: #dde3ee;
    --accent: #e4002b;
    --accent-2: #087f5b;
    --accent-3: #1358db;
    --button: #10131f;
    --button-fg: #ffffff;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.theme-radar {
    --bg: #eef4f7;
    --fg: #162326;
    --muted: #607075;
    --panel: #fbfdfd;
    --line: #cfdcdf;
    --accent: #006d77;
    --accent-2: #d64550;
    --accent-3: #f2a541;
    --button: #006d77;
}

.theme-neon {
    color-scheme: light;
    --bg: #fff4d8;
    --fg: #243042;
    --muted: #6a5d4d;
    --panel: #ffffff;
    --line: #e7cfa4;
    --accent: #f04b2f;
    --accent-2: #008c7a;
    --accent-3: #f7b801;
    --button: #f04b2f;
    --button-fg: #ffffff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 56px);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    font-weight: 900;
    letter-spacing: 0;
}

.site-header nav {
    display: flex;
    gap: 8px;
}

.site-header nav a {
    min-width: 72px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    color: var(--muted);
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: stretch;
    min-height: calc(100vh - 70px);
    padding: clamp(34px, 6vw, 88px) clamp(18px, 4vw, 56px) 28px;
}

.theme-pulse .hero {
    background:
        linear-gradient(120deg, rgba(228, 0, 43, .11), transparent 35%),
        linear-gradient(300deg, rgba(8, 127, 91, .12), transparent 45%);
}

.theme-radar .hero {
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 42px 42px;
}

.theme-neon .hero {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 54, 94, .22), transparent 28%),
        linear-gradient(135deg, rgba(0, 229, 168, .12), transparent 42%),
        var(--bg);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 880px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    max-width: 980px;
    font-size: clamp(46px, 8vw, 112px);
    line-height: .9;
    letter-spacing: 0;
}

.theme-radar h1 {
    font-size: clamp(38px, 6vw, 82px);
    line-height: 1;
}

.theme-neon h1 {
    text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 690px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}

.hero-actions,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.button.primary {
    background: var(--button);
    color: var(--button-fg);
    border-color: var(--button);
}

.button.ghost {
    background: color-mix(in srgb, var(--panel) 80%, transparent);
    color: var(--fg);
}

.hero-board {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    padding: clamp(22px, 4vw, 42px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .10);
}

.theme-neon .hero-board {
    box-shadow: 0 0 0 1px rgba(255, 54, 94, .35), 0 24px 80px rgba(255, 54, 94, .14);
}

.hero-bank {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 22px;
    align-items: center;
}

.mega-logo,
.bank-logo,
.mini-logo {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--fg);
    color: var(--bg);
    border-radius: 8px;
    font-weight: 900;
}

.mega-logo {
    width: 116px;
    height: 116px;
    font-size: 38px;
}

.bank-logo {
    width: 62px;
    height: 62px;
}

.mini-logo {
    width: 34px;
    height: 34px;
    font-size: 12px;
}

.mega-logo img,
.bank-logo img,
.mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.hero-bank span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.hero-bank strong {
    display: block;
    margin-top: 5px;
    font-size: clamp(28px, 4vw, 54px);
    line-height: 1;
}

.hero-board dl,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-board dl div,
.metric-grid div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

dt {
    color: var(--muted);
    font-size: 12px;
}

dd {
    margin: 6px 0 0;
    font-size: 24px;
    font-weight: 900;
}

.strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.strip a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px clamp(14px, 3vw, 28px);
    background: var(--panel);
    border-right: 1px solid var(--line);
}

.strip span {
    color: var(--muted);
}

.calculator-shell,
.results-panel,
.offer-wall {
    padding: clamp(34px, 6vw, 72px) clamp(18px, 4vw, 56px);
}

.calculator-shell {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(320px, 1.3fr);
    gap: 24px;
    align-items: start;
}

.calc-copy h2,
.panel-head h2,
.offer-wall h2 {
    max-width: 760px;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1;
}

.calc-copy p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.55;
}

.calculator {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.calculator label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.calculator input,
.panel-head select {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 18px;
}

.panel-head select {
    max-width: 220px;
}

.table-wrap {
    overflow-x: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

th,
td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

td {
    font-weight: 800;
}

td a {
    color: var(--accent);
}

.row-bank {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 clamp(18px, 4vw, 56px) clamp(34px, 6vw, 72px);
}

.bank-card {
    position: relative;
    min-height: 390px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.rank {
    position: absolute;
    right: 14px;
    top: 14px;
    color: var(--accent);
    font-weight: 900;
}

.bank-top {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 14px;
    padding-right: 42px;
}

.bank-top h3 {
    font-size: 24px;
    line-height: 1.05;
}

.bank-top p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.45;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

.tag-row span {
    padding: 6px 8px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.metric-grid {
    margin-bottom: 14px;
}

.metric-grid dd {
    font-size: 18px;
}

.offer-list {
    display: grid;
    gap: 8px;
    min-height: 116px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.offer-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.offer-list b {
    white-space: nowrap;
    color: var(--fg);
}

.offer-wall {
    background: color-mix(in srgb, var(--panel) 62%, var(--bg));
}

.offer-cloud {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.offer-cloud a {
    display: grid;
    gap: 8px;
    min-height: 116px;
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.offer-cloud span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.offer-cloud b {
    align-self: end;
}

.theme-radar .bank-card:nth-child(3n + 1),
.theme-radar .offer-cloud a:nth-child(4n + 1) {
    border-left: 5px solid var(--accent);
}

.theme-radar .bank-card:nth-child(3n + 2),
.theme-radar .offer-cloud a:nth-child(4n + 2) {
    border-left: 5px solid var(--accent-2);
}

.theme-radar .bank-card:nth-child(3n + 3),
.theme-radar .offer-cloud a:nth-child(4n + 3) {
    border-left: 5px solid var(--accent-3);
}

.theme-neon .bank-card,
.theme-neon .table-wrap,
.theme-neon .calculator,
.theme-neon .hero-board,
.theme-neon .offer-cloud a {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.theme-neon .button.primary {
    box-shadow: 0 0 24px rgba(255, 54, 94, .28);
}

@media (max-width: 980px) {
    .hero,
    .calculator-shell {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-board {
        min-height: 420px;
    }

    .strip,
    .bank-grid,
    .offer-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calculator {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: start;
        flex-direction: column;
    }

    .site-header nav {
        width: 100%;
    }

    .site-header nav a {
        flex: 1;
        min-width: 0;
    }

    h1 {
        font-size: 46px;
    }

    .hero-board dl,
    .metric-grid,
    .strip,
    .bank-grid,
    .offer-cloud,
    .calculator {
        grid-template-columns: 1fr;
    }

    .panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .panel-head select {
        max-width: none;
    }
}

/* Brand separation pass */
.theme-pulse {
    --bg: #f7f4ed;
    --fg: #28313f;
    --muted: #6b7280;
    --panel: #fffdf8;
    --line: #ded6c9;
    --accent: #b8242f;
    --accent-2: #2f7d63;
    --accent-3: #315f9c;
    --button: #b8242f;
    --button-fg: #ffffff;
    background: var(--bg);
}

.theme-pulse .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: 248px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    padding: 28px 20px;
    background: #fffdf8;
    border-right: 1px solid var(--line);
    border-bottom: 0;
}

.theme-pulse .brand {
    font-size: 26px;
}

.theme-pulse .site-header nav {
    flex-direction: column;
    margin-top: 36px;
}

.theme-pulse .site-header nav a {
    text-align: left;
    background: #f3eee5;
    color: var(--fg);
}

.theme-pulse main {
    margin-left: 248px;
}

.theme-pulse .hero {
    min-height: 760px;
    grid-template-columns: minmax(420px, .95fr) minmax(360px, .75fr);
    padding-top: 64px;
    background:
        linear-gradient(90deg, rgba(184, 36, 47, .08), transparent 42%),
        #f7f4ed;
}

.theme-pulse h1 {
    max-width: 760px;
    font-size: clamp(46px, 6vw, 84px);
    line-height: .96;
}

.theme-pulse .hero-board {
    min-height: auto;
    align-self: center;
    border: 0;
    border-left: 8px solid var(--accent);
    box-shadow: 0 26px 60px rgba(95, 76, 50, .14);
}

.theme-pulse .strip {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    margin-left: 248px;
    border: 0;
}

.theme-pulse .strip a {
    margin: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.theme-pulse .calculator-shell {
    grid-template-columns: minmax(300px, .8fr) minmax(520px, 1fr);
}

.theme-pulse .bank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-pulse .bank-card {
    min-height: 360px;
    box-shadow: 0 12px 28px rgba(95, 76, 50, .08);
}

.theme-radar {
    --bg: #eef3f1;
    --fg: #20302f;
    --muted: #65706f;
    --panel: #fbfffd;
    --line: #cbd8d4;
    --accent: #006c67;
    --accent-2: #bc4749;
    --accent-3: #d99a29;
    --button: #006c67;
    --button-fg: #ffffff;
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        var(--bg);
    background-size: 32px 32px;
}

.theme-radar .site-header {
    position: sticky;
    padding: 10px 18px;
    background: #fbfffd;
}

.theme-radar .brand {
    padding: 8px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
}

.theme-radar .site-header nav a {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 4px;
    background: #eef3f1;
}

.theme-radar main {
    display: grid;
    grid-template-columns: minmax(300px, 34vw) minmax(0, 1fr);
    gap: 0;
}

.theme-radar .hero {
    position: sticky;
    top: 55px;
    align-self: start;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 55px);
    padding: 28px;
    background: #fbfffd;
    border-right: 1px solid var(--line);
}

.theme-radar h1 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
}

.theme-radar .hero-copy > p:not(.eyebrow) {
    font-size: 17px;
}

.theme-radar .hero-board {
    min-height: 280px;
    margin-top: 24px;
    padding: 18px;
    box-shadow: none;
}

.theme-radar .hero-bank {
    grid-template-columns: 64px 1fr;
}

.theme-radar .mega-logo {
    width: 64px;
    height: 64px;
    font-size: 20px;
}

.theme-radar .hero-bank strong {
    font-size: 28px;
}

.theme-radar .strip,
.theme-radar .calculator-shell,
.theme-radar .results-panel,
.theme-radar .bank-grid,
.theme-radar .offer-wall {
    grid-column: 2;
}

.theme-radar .strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 0;
}

.theme-radar .strip a {
    padding: 14px;
    border-right: 1px solid var(--line);
}

.theme-radar .calculator-shell {
    display: block;
    padding: 24px;
}

.theme-radar .calc-copy {
    margin-bottom: 14px;
}

.theme-radar .calc-copy h2 {
    font-size: 28px;
}

.theme-radar .calculator {
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    border-radius: 4px;
}

.theme-radar .results-panel {
    padding: 24px;
}

.theme-radar .panel-head h2 {
    font-size: 32px;
}

.theme-radar .table-wrap,
.theme-radar table {
    border-radius: 4px;
}

.theme-radar th,
.theme-radar td {
    padding: 11px 12px;
}

.theme-radar .bank-grid {
    grid-template-columns: 1fr;
    padding: 0 24px 24px;
}

.theme-radar .bank-card {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(280px, 1fr) 210px;
    gap: 18px;
    min-height: 0;
    border-radius: 4px;
}

.theme-radar .bank-card .rank {
    position: static;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.theme-radar .bank-card .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-radar .bank-card .card-actions {
    align-content: end;
    margin-top: 0;
}

.theme-radar .offer-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-neon {
    --bg: #fff4d8;
    --fg: #243042;
    --muted: #715f48;
    --panel: #ffffff;
    --line: #e7cfa4;
    --accent: #f04b2f;
    --accent-2: #008c7a;
    --accent-3: #f7b801;
    --button: #f04b2f;
    --button-fg: #ffffff;
    background:
        linear-gradient(135deg, rgba(247, 184, 1, .26), transparent 36%),
        linear-gradient(315deg, rgba(0, 140, 122, .16), transparent 42%),
        var(--bg);
}

.theme-neon .site-header {
    position: sticky;
    padding: 18px clamp(18px, 4vw, 48px);
    background: #fffaf0;
    border-bottom: 4px solid var(--accent);
}

.theme-neon .brand {
    font-size: 30px;
    color: var(--accent);
}

.theme-neon .site-header nav a {
    border: 2px solid var(--fg);
    border-radius: 999px;
    color: var(--fg);
    background: #fff;
}

.theme-neon .hero {
    min-height: 700px;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
    background:
        linear-gradient(100deg, #fff4d8 0 62%, #f7b801 62% 100%);
}

.theme-neon h1 {
    max-width: 860px;
    font-size: clamp(48px, 7vw, 96px);
    line-height: .92;
    text-transform: none;
}

.theme-neon .hero-copy > p:not(.eyebrow) {
    color: #5f523f;
}

.theme-neon .hero-board {
    min-height: 480px;
    transform: rotate(-1.5deg);
    border: 3px solid var(--fg);
    box-shadow: 12px 12px 0 var(--accent);
}

.theme-neon .strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 3px solid var(--fg);
    border-left: 0;
    border-right: 0;
}

.theme-neon .strip a {
    background: #fff;
    border-right: 3px solid var(--fg);
}

.theme-neon .calculator-shell {
    grid-template-columns: minmax(340px, .65fr) minmax(480px, 1fr);
    background: #fffaf0;
}

.theme-neon .calc-copy h2,
.theme-neon .panel-head h2,
.theme-neon .offer-wall h2 {
    font-size: clamp(34px, 5vw, 68px);
}

.theme-neon .calculator,
.theme-neon .table-wrap {
    border: 3px solid var(--fg);
    box-shadow: 8px 8px 0 var(--accent-3);
}

.theme-neon .bank-grid {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    background: #fff4d8;
}

.theme-neon .bank-card {
    min-height: 430px;
    border: 3px solid var(--fg);
    box-shadow: 7px 7px 0 rgba(240, 75, 47, .72);
}

.theme-neon .bank-card:nth-child(3n + 2) {
    box-shadow: 7px 7px 0 rgba(0, 140, 122, .72);
}

.theme-neon .bank-card:nth-child(3n + 3) {
    box-shadow: 7px 7px 0 rgba(247, 184, 1, .9);
}

.theme-neon .button {
    border: 2px solid var(--fg);
    border-radius: 999px;
    font-weight: 900;
}

.theme-neon .offer-wall {
    background: #fffaf0;
}

.theme-neon .offer-cloud {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.theme-neon .offer-cloud a {
    min-height: 150px;
    border: 2px solid var(--fg);
}

.theme-neon .button.primary {
    box-shadow: none;
}

@media (max-width: 1120px) {
    .theme-pulse .site-header {
        position: sticky;
        width: auto;
        inset: auto;
        flex-direction: row;
        align-items: center;
    }

    .theme-pulse .site-header nav {
        flex-direction: row;
        margin-top: 0;
    }

    .theme-pulse main,
    .theme-pulse .strip {
        margin-left: 0;
    }

    .theme-radar main {
        display: block;
    }

    .theme-radar .hero {
        position: static;
        min-height: auto;
        border-right: 0;
    }

    .theme-radar .calculator,
    .theme-radar .bank-card,
    .theme-neon .bank-grid,
    .theme-neon .offer-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .theme-pulse .site-header,
    .theme-neon .site-header {
        flex-direction: column;
        align-items: stretch;
    }

    .theme-radar .calculator,
    .theme-radar .bank-card,
    .theme-neon .bank-grid,
    .theme-neon .offer-cloud,
    .theme-neon .hero {
        grid-template-columns: 1fr;
    }

    .theme-neon .hero-board {
        transform: none;
    }
}

/* ВашеДело: make the first screen read as a complete analytics product. */
.theme-radar main {
    display: block;
}

.theme-radar .hero {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(360px, .72fr);
    gap: clamp(24px, 4vw, 56px);
    min-height: 620px;
    padding: clamp(38px, 5vw, 72px) clamp(24px, 5vw, 72px);
    background:
        linear-gradient(90deg, rgba(0, 108, 103, .12), transparent 46%),
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        #f8fcfa;
    background-size: auto, 36px 36px, 36px 36px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
}

.theme-radar .hero-copy {
    justify-content: center;
}

.theme-radar h1 {
    max-width: 820px;
    font-size: clamp(42px, 6vw, 82px);
}

.theme-radar .hero-copy > p:not(.eyebrow) {
    max-width: 720px;
    font-size: clamp(18px, 1.8vw, 22px);
}

.theme-radar .hero-board {
    align-self: center;
    min-height: 420px;
    margin-top: 0;
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(28, 64, 61, .12);
}

.theme-radar .hero-bank {
    grid-template-columns: 92px 1fr;
}

.theme-radar .mega-logo {
    width: 92px;
    height: 92px;
}

.theme-radar .hero-bank strong {
    font-size: clamp(30px, 3vw, 46px);
}

.theme-radar .strip,
.theme-radar .calculator-shell,
.theme-radar .results-panel,
.theme-radar .bank-grid,
.theme-radar .offer-wall {
    grid-column: auto;
}

.theme-radar .strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #ffffff;
}

.theme-radar .calculator-shell {
    display: grid;
    grid-template-columns: minmax(320px, .72fr) minmax(520px, 1fr);
    padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 72px);
    background: #eef3f1;
}

.theme-radar .calc-copy h2 {
    font-size: clamp(30px, 4vw, 52px);
}

.theme-radar .calculator {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-radar .results-panel {
    padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 72px);
}

.theme-radar .panel-head h2 {
    font-size: clamp(30px, 4vw, 52px);
}

.theme-radar .bank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 clamp(24px, 5vw, 72px) clamp(34px, 5vw, 64px);
}

.theme-radar .bank-card {
    display: block;
    min-height: 360px;
}

.theme-radar .bank-card .rank {
    position: absolute;
    right: 14px;
    top: 14px;
}

.theme-radar .bank-card .card-actions {
    margin-top: 24px;
}

@media (max-width: 980px) {
    .theme-radar .hero,
    .theme-radar .calculator-shell,
    .theme-radar .bank-grid {
        grid-template-columns: 1fr;
    }

    .theme-radar .hero {
        min-height: auto;
    }
}

.opening-board {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(360px, .72fr);
    gap: clamp(18px, 4vw, 42px);
    align-items: stretch;
    padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 72px);
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        #f8fcfa;
    background-size: 36px 36px;
    border-bottom: 1px solid var(--line);
}

.opening-copy {
    align-self: center;
}

.opening-copy h1 {
    max-width: 840px;
    font-size: clamp(36px, 5vw, 68px);
    line-height: .98;
}

.opening-copy > p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.45;
}

.opening-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.opening-facts span {
    padding: 8px 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--fg);
    font-weight: 800;
}

.hot-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.hot-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.hot-head span {
    color: var(--accent);
    font-weight: 900;
    text-transform: uppercase;
}

.hot-offer {
    display: grid;
    grid-template-columns: 120px minmax(180px, .8fr) minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 84px;
    padding: 12px;
    background: color-mix(in srgb, var(--bg) 64%, var(--panel));
    border: 1px solid var(--line);
    border-radius: 4px;
}

.hot-offer:nth-child(2) {
    border-left: 5px solid var(--accent);
}

.hot-offer:nth-child(3) {
    border-left: 5px solid var(--accent-2);
}

.hot-offer:nth-child(4) {
    border-left: 5px solid var(--accent-3);
}

.hot-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hot-bank {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hot-offer p {
    color: var(--muted);
    line-height: 1.35;
}

.hot-offer b {
    color: var(--fg);
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .opening-board,
    .hot-offer {
        grid-template-columns: 1fr;
    }
}

/* Unified calculator/results surface. */
.decision-board {
    padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 72px);
    background: #eef3f1;
}

main > .strip:first-child {
    border-top: 0;
}

main > .decision-board:first-child,
main > .strip:first-child + .decision-board {
    padding-top: clamp(42px, 6vw, 78px);
}

.decision-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

.decision-head h2 {
    max-width: 860px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
}

.decision-head p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.55;
}

th.sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

th.sortable::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid color-mix(in srgb, var(--muted) 70%, transparent);
    opacity: .55;
}

th.sortable.is-asc::after {
    border-top: 0;
    border-bottom: 6px solid var(--accent);
    opacity: 1;
}

th.sortable.is-desc::after {
    border-top-color: var(--accent);
    opacity: 1;
}

th.sortable:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.decision-grid {
    display: grid;
    grid-template-columns: minmax(260px, .34fr) minmax(620px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.decision-grid .calculator {
    align-self: stretch;
    grid-template-columns: 1fr;
    align-content: start;
    border-radius: 4px;
}

.decision-grid .results-panel {
    min-width: 0;
    padding: 0;
}

.calc-note {
    margin-bottom: 10px;
    padding: 10px 12px;
    background: color-mix(in srgb, var(--accent) 10%, var(--panel));
    color: var(--fg);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .decision-grid {
        grid-template-columns: 1fr;
    }

    .decision-grid .calculator {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .decision-head {
        align-items: stretch;
        flex-direction: column;
    }


    .decision-grid .calculator {
        grid-template-columns: 1fr;
    }
}

/* ВашеДело cleanup: no leftover split/sticky hero layout. */
.theme-radar .site-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px clamp(18px, 4vw, 56px);
    background: #fbfffd;
    border-bottom: 1px solid var(--line);
}

.theme-radar main {
    display: block;
}

.theme-radar .opening-board {
    display: grid;
    grid-template-columns: minmax(360px, .92fr) minmax(380px, .86fr);
    gap: clamp(18px, 4vw, 42px);
    padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
}

.theme-radar .opening-copy h1 {
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1;
}

.theme-radar .hot-box {
    align-self: center;
}

.theme-radar .hot-offer {
    grid-template-columns: 110px minmax(180px, .8fr) minmax(220px, 1fr) auto;
}

.theme-radar .decision-board {
    display: block;
    padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 72px);
}

.theme-radar .decision-grid {
    display: grid;
    grid-template-columns: minmax(260px, .34fr) minmax(620px, 1fr);
    gap: 18px;
}

.theme-radar .strip,
.theme-radar .decision-board,
.theme-radar .bank-grid,
.theme-radar .offer-wall {
    grid-column: auto;
}

.theme-radar .bank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 clamp(24px, 5vw, 72px) clamp(34px, 5vw, 64px);
}

@media (max-width: 1100px) {
    .theme-radar .opening-board,
    .theme-radar .hot-offer,
    .theme-radar .decision-grid,
    .theme-radar .bank-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .theme-radar .site-header {
        align-items: stretch;
        flex-direction: column;
    }

    .theme-radar .site-header nav {
        width: 100%;
    }
}
