:root {
    --bg: #ffffff;
    --bg-soft: #f6f5fb;
    --ink: #15151f;
    --ink-soft: #222423;
    --muted: #62626d;
    --line: rgba(21, 21, 31, 0.08);
    --line-strong: rgba(21, 21, 31, 0.14);
    --purple: #5400e9;
    --purple-soft: #7b61ff;
    --purple-deep: #3b00a8;
    --green: #0dcb5f;
    --green-hover: #0bb554;
    --dark: #0b0b10;
    --dark-card: #121219;
    --surface-dark: rgba(255, 255, 255, 0.06);
    --container: 1440px;
    --radius: 16px;
    --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
    --font-body: Inter, system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ranking-page {
    min-height: 100vh;
    overflow-x: clip;
    background: var(--bg);
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(21, 21, 31, 0.06);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.brand-mark {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #9a8cff, #6a58e8);
    box-shadow: 0 6px 16px -6px rgba(139, 124, 255, 0.7);
}

.brand-mark::before {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2.5px solid #fff;
    border-top: 2.5px solid #fff;
    transform: rotate(45deg) translate(-1px, 1px);
}

.nav {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(91, 91, 95, 0.92);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 400;
}

.nav a {
    padding: 6px 12px;
    border-radius: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
    background: #7B38F3;
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
}

.header-nps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 41px;
    padding: 0 18px;
    border-radius: 14px;
    background: #5400E9;
    color: #fff;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 28px -12px rgba(84, 0, 233, 0.55);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-nps:hover,
.header-nps.is-active {
    background: #7B38F3;
    color: #fff;
    transform: translateY(-1px);
}

main section[id] {
    scroll-margin-top: 88px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-green {
    color: #fff;
    background: var(--green);
    box-shadow: 0 10px 28px -12px rgba(13, 203, 95, 0.7);
}

.btn-green:hover { background: var(--green-hover); }

.btn-purple {
    color: #fff;
    background: var(--purple);
    box-shadow: 0 10px 28px -12px rgba(84, 0, 233, 0.55);
}

.btn-ghost-light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

/* Hero */
.hero {
    position: relative;
    min-height: 930px;
    padding: 140px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 40%, rgba(84, 0, 233, 0.08), transparent 28%),
        linear-gradient(180deg, #f7f6ff 0%, #ffffff 55%, #ffffff 100%);
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 35%, rgba(84, 0, 233, 0.05) 50%, transparent 65%),
        repeating-linear-gradient(45deg, rgba(21, 21, 31, 0.03) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(-45deg, rgba(21, 21, 31, 0.025) 0 1px, transparent 1px 48px);
    mask-image: radial-gradient(circle at 55% 45%, #000 0%, transparent 68%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow span {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(139, 124, 255, 0.14);
    color: #7b61ff;
    letter-spacing: 0.08em;
}

.hero-title {
    max-width: 920px;
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: clamp(36px, 5.2vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--ink);
}

.hero-title .accent { color: var(--purple); }

.hero-lead {
    max-width: 640px;
    margin: 0 0 36px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: min(710px, 100%);
    min-height: 80px;
    padding: 8px 8px 8px 28px;
    border: 1px solid rgba(21, 21, 31, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 50px -28px rgba(84, 0, 233, 0.45);
    backdrop-filter: blur(10px);
}

.hero-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
}

.hero-search input::placeholder { color: #9a9aa5; }

.hero-search .btn {
    min-width: 168px;
    min-height: 58px;
    border-radius: 16px;
    background: var(--green);
    color: #fff;
}

.hero-search .btn:hover {
    background: var(--green-hover);
}

.hero-search .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.hero-float {
    position: absolute;
    z-index: 1;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(18, 18, 25, 0.7);
    color: #b8aeff;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
    pointer-events: none;
    will-change: transform;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.hero-float-1 {
    top: 18%;
    right: 14%;
    animation-name: hero-float-drift-1;
    animation-duration: 14s;
}

.hero-float-2 {
    top: 58%;
    left: 12%;
    animation-name: hero-float-drift-2;
    animation-duration: 18s;
    animation-delay: -4s;
}

.hero-float-3 {
    top: 48%;
    right: 8%;
    animation-name: hero-float-drift-3;
    animation-duration: 16s;
    animation-delay: -7s;
}

.hero-float-4 {
    top: 18%;
    left: 5%;
    animation-name: hero-float-drift-4;
    animation-duration: 16s;
    animation-delay: -7s;
}

.hero-float-5 {
    top: 88%;    
    left: 45%;
    animation-name: hero-float-drift-5;
    animation-duration: 16s;
    animation-delay: -7s;
}

@keyframes hero-float-drift-1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-48px, 36px); }
    50% { transform: translate(-18px, 72px); }
    75% { transform: translate(28px, 24px); }
}

@keyframes hero-float-drift-2 {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(40px, -28px); }
    45% { transform: translate(72px, 18px); }
    70% { transform: translate(16px, 48px); }
}

@keyframes hero-float-drift-3 {
    0%, 100% { transform: translate(0, 0); }
    30% { transform: translate(-36px, -40px); }
    55% { transform: translate(-64px, 20px); }
    80% { transform: translate(12px, 44px); }
}

@keyframes hero-float-drift-4 {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(40px, -28px); }
    45% { transform: translate(72px, 18px); }
    70% { transform: translate(16px, 48px); }
}

@keyframes hero-float-drift-5 {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(40px, -28px); }
    45% { transform: translate(72px, 18px); }
    70% { transform: translate(16px, 48px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float {
        animation: none;
    }
}

/* Sections common */
.section { padding: 88px 0; }

.kicker {
    margin-bottom: 14px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.section-copy {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.accent-green { color: var(--green); }
.accent-purple { color: var(--purple); }

/* Segments */
.section-segments {
    position: relative;
    padding: 100px 0 110px;
    color: #f3f3f6;
    background:
        radial-gradient(circle at 80% 20%, rgba(84, 0, 233, 0.55), transparent 30%),
        linear-gradient(180deg, #0b0b10 0%, #5400e9 42%, #1a0738 100%);
    overflow: hidden;
}

.section-segments .kicker { color: rgba(255, 255, 255, 0.7); }
.section-segments .section-copy { color: #c7c7cf; max-width: 300px; }

.segments-head {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}

.segment-chips {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: wrap;
    
}

.segment-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 60px;
    min-width: 100px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.segment-chip.active {
    border-color: transparent;
    background: #6a58e8;
    box-shadow: 0 8px 20px -8px rgba(139, 124, 255, 0.6);
}

.segment-panel {
    display: grid;
    grid-template-columns: minmax(320px, 460px) 1fr;
    gap: 28px;
    align-items: stretch;
    padding: 36px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55);
}

.segment-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.segment-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.segment-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
}

.segment-avg {
    color: var(--muted);
    font-size: 13px;
}

.segment-avg strong {
    margin-left: 8px;
    color: var(--purple);
    font-size: 20px;
}

.segment-find-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.segment-find-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.segment-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 51px;
    margin-bottom: 10px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px -18px rgba(15, 23, 31, 0.35);
}

.segment-search-icon {
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
}

.segment-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 15px;
}

.segment-search-btn {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--purple);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.segment-search-btn:hover { background: var(--purple-deep); }

.segment-search-message {
    min-height: 18px;
    margin-bottom: 8px;
    color: #e11d48;
    font-size: 13px;
    font-weight: 600;
}

.segment-search-message[hidden] { display: none; }

.segment-board {
    --segment-rank-row: 69px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 18px 16px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 36px -28px rgba(15, 23, 31, 0.35);
}

.segment-board-title {
    margin: 0 8px 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.segment-board-scroll {
    min-height: 0;
    margin-right: -4px;
    padding-right: 4px;
}

.segment-board.is-expanded .segment-board-scroll {
    max-height: calc(var(--segment-rank-row) * 7);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(84, 0, 233, 0.35) transparent;
}

.segment-board.is-expanded .segment-board-scroll::-webkit-scrollbar {
    width: 6px;
}

.segment-board.is-expanded .segment-board-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(84, 0, 233, 0.35);
}

.segment-more {
    display: grid;
    justify-items: center;
    gap: 4px;
    margin: 10px 0 4px;
}

.segment-more[hidden] { display: none; }

.segment-more-list {
    width: 100%;
}

.segment-more-list[hidden] { display: none; }

.segment-more-btn {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 4px 12px 8px;
    border: 0;
    background: transparent;
    color: var(--purple);
    cursor: pointer;
}

.segment-more-btn:hover .segment-more-label,
.segment-more-btn:hover #segmentMoreLabel {
    text-decoration: underline;
}

.segment-more-btn:disabled {
    cursor: default;
    opacity: 0.45;
}

.segment-more-btn:disabled:hover #segmentMoreLabel {
    text-decoration: none;
}

.segment-more-dots {
    color: #c7cad8;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1;
}

#segmentMoreLabel {
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.segment-your-result {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.segment-your-result[hidden] { display: none; }

.segment-rank {
    display: grid;
    grid-template-columns: 18px 42px 1fr auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 61px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.segment-rank--static {
    grid-template-columns: 42px 1fr auto;
    cursor: pointer;
}

.segment-rank:not(.segment-rank--static):hover {
    border-color: rgba(84, 0, 233, 0.28);
    box-shadow: 0 10px 24px -18px rgba(84, 0, 233, 0.45);
}

.segment-rank.is-leader {
    background: linear-gradient(90deg, rgba(84, 0, 233, 0.1), rgba(84, 0, 233, 0.03));
    border-color: rgba(84, 0, 233, 0.2);
}

.segment-rank.is-you {
    border-color: rgba(13, 203, 95, 0.45);
    background: linear-gradient(90deg, rgba(13, 203, 95, 0.12), rgba(13, 203, 95, 0.03));
}

.segment-rank.is-selected {
    border-color: var(--purple);
    box-shadow: inset 0 0 0 1px rgba(84, 0, 233, 0.22);
}

.segment-selection-hint {
    margin: 14px 8px 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.segment-selection-hint.is-limit {
    color: #6b7280;
}

.segment-check {
    width: 16px;
    height: 16px;
    border: 1.5px solid #c8cdd6;
    border-radius: 4px;
    background: #fff;
}

.segment-check.is-checked {
    position: relative;
    border-color: var(--purple);
    background: var(--purple);
}

.segment-check.is-checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.rank-index {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: rgba(21, 21, 31, 0.05);
    font-weight: 800;
}

.segment-rank.is-leader .rank-index,
.segment-rank.is-you .rank-index {
    color: #fff;
    background: var(--purple);
}

.segment-rank.is-you .rank-index { background: var(--green); }

.segment-rank strong { display: block; margin-bottom: 2px; font-size: 14.5px; }
.segment-rank span { color: var(--muted); font-size: 12px; }
.score { color: var(--ink); font-size: 18px; font-weight: 800; }
.score small { color: var(--muted); font-size: 11px; }

.leader-badge,
.you-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.leader-badge {
    background: rgba(84, 0, 233, 0.12);
    color: var(--purple);
}

.you-badge {
    background: rgba(13, 203, 95, 0.14);
    color: #0a9a48;
}

.segment-rank-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    border: 1px solid var(--line);
}

.radar-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 560px;
    padding: 24px 24px 20px;
    border: 1px solid rgba(20, 20, 43, 0.07);
    border-radius: 20px;
    background: #fff;
    color: #1b1d2b;
    box-shadow: 0 4px 20px rgba(20, 20, 43, 0.05);
}

.radar-card > strong {
    display: block;
    margin-bottom: 8px;
    color: #1b1d2b;
    font-size: 17px;
    font-weight: 800;
}

.radar-chart-wrap {
    position: relative;
    width: min(100%, 340px);
    margin: 0 auto 4px;
    aspect-ratio: 1;
}

.radar-card canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
}

.radar-axis-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.radar-axis-label {
    position: absolute;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 100px;
    background: #2a2438;
    color: #e4dfef;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 10px 13px rgba(0, 0, 0, 0.16);
    transform: translate(-50%, -50%);
}

/* Вершины пятиугольника по часовой от верхней */
.radar-axis-label--1 { left: 50%; top: 7%; }
.radar-axis-label--2 { left: 93%; top: 38%; }
.radar-axis-label--3 { left: 78%; top: 91%; }
.radar-axis-label--4 { left: 22%; top: 91%; }
.radar-axis-label--5 { left: 7%; top: 38%; }

@media (max-width: 600px) {
    .radar-axis-label {
        padding: 5px 9px;
        font-size: 10px;
    }

    .radar-axis-label--2 { left: 90%; }
    .radar-axis-label--5 { left: 10%; }
}

.metric-initials {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    margin: 8px 0 6px;
    padding: 0 8px;
}

.metric-initials-track {
    display: grid;
    grid-auto-flow: column;
    justify-content: end;
    gap: var(--metric-col-gap, 24px);
    min-width: 90px;
}

.metric-initial {
    display: grid;
    width: var(--metric-label-max, 26px);
    height: 26px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--metric-color, #7b61ff);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 0 0 1px rgba(20, 20, 43, 0.08);
    box-sizing: border-box;
}

@media (min-width: 1101px) {
    .metric-initials {
        margin: 10px 0 8px;
    }

    .metric-initials-track {
        gap: var(--metric-col-gap, 28px);
    }

    .metric-initial {
        width: var(--metric-label-max, 120px);
        max-width: var(--metric-label-max, 120px);
        height: auto;
        min-height: 28px;
        padding: 5px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.01em;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .metric-values {
        justify-content: end;
        gap: var(--metric-col-gap, 28px);
        min-width: 0;
        padding-right: 0;
    }

    .metric-values--cols-1,
    .metric-values--cols-2,
    .metric-values--cols-3 {
        min-width: 0;
    }

    .metric-company-value {
        width: var(--metric-label-max, 120px);
        max-width: var(--metric-label-max, 120px);
        text-align: center;
    }
}

.metric-list {
    display: grid;
    gap: 6px;
}

.metric-list .metric-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 30px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f7f7fb;
    font-size: 12px;
}

.metric-list span { color: #71748a; }

.metric-values {
    display: grid;
    grid-auto-flow: column;
    justify-content: end;
    gap: var(--metric-col-gap, 36px);
    min-width: 90px;
    padding-right: 0;
}

.metric-values--cols-1 { min-width: 30px; gap: 0; }
.metric-values--cols-2 { min-width: 90px; }
.metric-values--cols-3 { min-width: 150px; }

.metric-company-value {
    width: var(--metric-label-max, 26px);
    max-width: var(--metric-label-max, 26px);
    text-align: center;
    color: var(--metric-color, #7b61ff);
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
}

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

/* Mid CTA */
.section-mid-cta {
    padding: 72px 0;
    text-align: center;
    background: #fff;
}

.section-mid-cta .section-title { margin-bottom: 14px; }
.section-mid-cta .section-copy {
    max-width: 720px;
    margin: 0 auto 28px;
}

/* About */
.section-about {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(120deg, #9fe7ff 0%, #b8f0c8 35%, #c9b8ff 70%, #a78bfa 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
}

.about-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 84px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #15151f;
}

.about-copy {
    margin: 0 0 22px;
    color: #222423;
    font-size: 18px;
    line-height: 1.5;
}

.about-quote {
    margin: 0 0 28px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    color: #15151f;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.about-metrics strong {
    display: block;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.about-metrics span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.about-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-logos span {
    opacity: 0.9;
}

/* Cases */
.section-cases { background: #fff; }

.case-track-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.case-track-lead {
    max-width: 680px;
    margin: 0;
    color: rgba(21, 21, 31, 0.62);
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
}

.case-track-nav {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.case-track-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(21, 21, 31, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #15151f;
    font-family: Manrope, var(--font-body);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.case-track-nav button:disabled {
    color: rgba(21, 21, 31, 0.4);
    cursor: default;
}

.case-track-nav button:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

.case-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.case-track::-webkit-scrollbar { display: none; }

.case-voe-card {
    display: flex;
    flex: 0 0 calc((100% - 72px) / 4);
    flex-direction: column;
    justify-content: space-between;
    min-width: 240px;
    min-height: 356px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: #5400e9;
    color: #fff;
    scroll-snap-align: start;
    text-decoration: none;
}

.case-voe-card:hover,
.case-voe-card:focus-visible {
    background: #5c0cf0;
    outline: none;
}

.case-voe-card:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5400e9;
}

.case-voe-card__top {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.case-voe-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.case-voe-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px 6px 10px;
    border-radius: 999px;
    background: rgba(13, 203, 95, 0.14);
    color: #fff;
    font-family: Manrope, var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: normal;
    white-space: nowrap;
}

.case-voe-card--voe .case-voe-badge { color: #0dcb5f; }

.case-voe-card--vom .case-voe-badge {
    background: rgba(167, 139, 250, 0.14);
    color: #a78bfa;
}

.case-voe-card__num {
    color: rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: -1px;
}

.case-voe-card__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: -0.4px;
}

.case-voe-card__text {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.case-voe-card__more {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    color: #fff;
    font-family: Manrope, var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: normal;
}

.case-voe-card--vom .case-voe-card__more span { color: #a78bfa; }

/* Why */
.section-why {
    padding: 100px 0;
    color: #fff;
    background: #5400E9;
}

.section-why .section-copy {
    max-width: 900px;
    margin-bottom: 36px;
    color: #c7c7cf;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-card {
    min-height: 184px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: transparent;
}

.why-card h3 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.why-card p {
    margin: 0;
    color: #c7c7cf;
    font-size: 14px;
    line-height: 1.5;
}

/* Media */
.section-media { background: #fff; }

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.media-card {
    display: block;
    min-height: 128px;
    padding: 26px;
    border-radius: 18px;
    background: #121219;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

a.media-card:hover,
a.media-card:focus-visible {
    transform: translateY(-3px);
    background: #1a1a24;
    box-shadow: 0 14px 28px -16px rgba(9, 9, 13, 0.55);
    outline: none;
}

a.media-card:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6a58e8;
}

.media-card strong {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 20px;
}

.media-card p {
    margin: 0;
    color: #c7c7cf;
    font-size: 15px;
    line-height: 1.45;
}

/* NPS */
.section-nps {
    padding: 90px 0;
    color: #fff;
    background: #09090d;
}

.nps-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
}

.nps-card {
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
}

.nps-score-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.nps-score-row .value {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.nps-score-row .label {
    color: #c7c7cf;
    font-size: 20px;
}

.nps-badge {
    margin-left: auto;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(13, 203, 95, 0.16);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.nps-bar {
    height: 10px;
    margin: 10px 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.nps-bar > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5400e9, #f0915f);
    transform-origin: left center;
}

.nps-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    color: #8d8d98;
    font-size: 12px;
}

.nps-rows { display: grid; gap: 0; }
.nps-rows div {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #c7c7cf;
}

.nps-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #c7c7cf;
    font-size: 12px;
}

.nps-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 28px;
}

.nps-features .btn .btn-green{
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #0dcb5f;
}



.nps-feature {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: #f3f3f6;
    font-size: 14px;
    font-weight: 600;
}

.nps-feature::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 999px;
    background: rgba(13, 203, 95, 0.18);
    border: none;
    box-sizing: border-box;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11l3.2 3.2L16 7.5' fill='none' stroke='%230dcb5f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 22px 22px no-repeat,
        rgba(13, 203, 95, 0.18);
}

/* FAQ */
.section-faq {
    padding: 100px 0;
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.faq-list { display: grid; gap: 12px; }

.faq-item {
    border-radius: 18px;
    background: #f3f3f5;
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 22px 28px;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
}

.faq-item button span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    position: relative;
}

.faq-item button span::before,
.faq-item button span::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 14px;
    height: 2px;
    background: var(--ink);
    transform: translate(-50%, -50%);
}

.faq-item button span::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item.is-open button span::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.faq-item .faq-body {
    display: none;
    padding: 0 28px 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.faq-item.is-open .faq-body { display: block; }

/* Feedback */
.section-feedback {
    padding: 40px 0 20px;
    background: #fff;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feedback-action {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    min-height: 180px;
    padding: 24px;
    border: 1px solid rgba(21, 21, 31, 0.1);
    border-radius: 18px;
    background: #f7f7f9;
}

.feedback-action h3 {
    margin: 0 0 10px;
    color: #15151f;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.feedback-action p {
    margin: 0;
    color: #5b5b63;
    font-size: 15px;
    line-height: 1.45;
}

.btn-ghost {
    align-self: flex-start;
    background: transparent;
    color: #15151f;
    border: 1px solid rgba(21, 21, 31, 0.18);
}

.btn-ghost:hover {
    background: #15151f;
    color: #fff;
}

/* Contact */
.section-contact {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #efe8ff 0%, #f7f4ff 45%, #ffffff 100%);
}

.section-contact--nps {
    padding: 110px 0;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 90% at 10% 100%, rgba(20, 0, 70, 0.55), transparent 55%),
        radial-gradient(ellipse 60% 70% at 85% 10%, rgba(160, 140, 255, 0.35), transparent 50%),
        linear-gradient(135deg, #2a0a7a 0%, #5400e9 42%, #7b61ff 78%, #9b87ff 100%);
}

.section-contact--nps .section-contact-decor {
    background:
        radial-gradient(circle at 14% 72%, rgba(255, 255, 255, 0.16) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 22% 58%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.14) 0 1.5px, transparent 2.5px);
    opacity: 0.85;
}

.section-contact--nps .section-contact-decor::before,
.section-contact--nps .section-contact-decor::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.section-contact--nps .section-contact-decor::before {
    width: 760px;
    height: 460px;
    left: -260px;
    bottom: -200px;
    transform: rotate(-20deg);
    box-shadow:
        0 0 0 36px rgba(255, 255, 255, 0.04),
        inset 0 0 80px rgba(255, 255, 255, 0.05);
}

.section-contact--nps .section-contact-decor::after {
    width: 680px;
    height: 400px;
    right: -220px;
    top: -140px;
    transform: rotate(18deg);
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.03);
}

.section-contact-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.section-contact--nps .kicker {
    color: rgba(255, 255, 255, 0.78);
}

.section-contact--nps .section-title,
.section-contact--nps .section-copy,
.section-contact--nps .contact-list div {
    color: #fff;
}

.section-contact--nps .section-copy {
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.9);
}

.section-contact--nps .contact-list div::before {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    color: #fff;
}

.section-contact--nps .form-card {
    border: 0;
    box-shadow: 0 28px 60px -24px rgba(10, 0, 40, 0.55);
}

.section-contact--nps .field label {
    color: #71748a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-contact--nps .field label span {
    color: #ff7a59;
}

.section-contact--nps .field input,
.section-contact--nps .field select {
    border: 0;
    border-radius: 12px;
    background: #f7f7fb;
}

.section-contact--nps .form-note {
    color: #9499a8;
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.contact-copy .section-title {
    max-width: 16ch;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 600;
}

.contact-list div::before {
    content: "✓";
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: rgba(13, 203, 95, 0.15);
    box-shadow: inset 0 0 0 1px rgba(13, 203, 95, 0.25);
    color: #0dcb5f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.form-card {
    padding: 36px;
    border: 1px solid rgba(20, 20, 43, 0.07);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 70px -40px rgba(84, 0, 233, 0.45);
}

.field { margin-bottom: 16px; }

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.field label span { color: var(--purple); }

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
}

.field textarea { min-height: 110px; resize: vertical; }

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.form-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.form-message.text-success { color: var(--green); }
.form-message.text-danger { color: #e11d48; }

.form-card .btn {
    width: 100%;
    min-height: 64px;
    margin-top: 8px;
}

/* Footer */
.site-footer {
    padding: 64px 0 28px;
    background: #0b0b10;
    color: #c7c7cf;
}

.site-footer .brand { color: #fff; margin-bottom: 14px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-grid p { margin: 0; line-height: 1.8; font-size: 14px; }
.footer-grid a:hover { color: #fff; }

.socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.socials a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    color: #8d8d98;
    font-size: 13px;
}

/* Modals */
body.modal-open { overflow: hidden; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(11, 11, 16, 0.72);
    backdrop-filter: blur(8px);
}

.modal-overlay.is-open { display: flex; }

.modal-dialog {
    position: relative;
    width: min(520px, 100%);
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    max-height: min(90vh, 920px);
    overflow: auto;
}

.modal-dialog--how {
    width: min(1080px, 100%);
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    background: var(--purple);
    color: #fff;
    box-shadow: 0 40px 80px -28px rgba(34, 0, 102, 0.65);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: var(--muted);
    z-index: 2;
}

.modal-close--how {
    top: 20px;
    right: 20px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35);
}

.modal-close--how:hover {
    background: #f3f3f6;
}

.brand-modal {
    align-items: flex-start;
    overflow: auto;
    background:
        radial-gradient(circle at 50% 88%, rgba(84, 0, 233, 0.55), transparent 42%),
        rgba(11, 11, 22, 0.82);
}

.brand-modal__frame {
    position: relative;
    width: min(1100px, 100%);
    margin: 48px auto;
}

.brand-modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(21, 21, 31, 0.12);
    border-radius: 999px;
    background: #fff;
    color: rgba(21, 21, 31, 0.7);
    font-family: Manrope, var(--font-body);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.brand-modal__dialog {
    max-height: calc(100vh - 96px);
    overflow: auto;
    padding: 30px 36px 28px;
    border: 1px solid rgba(21, 21, 31, 0.08);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 26, 0.35);
    color: #15151f;
}

.brand-head,
.brand-score,
.brand-name-row,
.brand-chips,
.brand-tabs,
.brand-bar__top,
.brand-bar__values,
.brand-voe__head,
.brand-foot,
.brand-rank,
.brand-legend,
.brand-tone__legend,
.brand-report-cta {
    display: flex;
    align-items: center;
}

.brand-head,
.brand-voe__head,
.brand-foot,
.brand-rank,
.brand-report-cta { justify-content: space-between; }

.brand-head { gap: 18px; align-items: flex-start; }
.brand-id { display: flex; gap: 18px; align-items: center; min-width: 0; }

.brand-logo {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    flex-shrink: 0;
    border-radius: 18px;
    background: #5400e9;
    color: #fff;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
}

.brand-name-row { gap: 10px; flex-wrap: wrap; }
.brand-name-row h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: -0.8px;
}
.brand-id p { margin: 8px 0 0; color: #71748a; font-size: 15px; line-height: 22px; }

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 10px;
    border-radius: 999px;
    background: rgba(84, 0, 233, 0.12);
    color: #5400e9;
    font-family: Manrope, var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.brand-score { flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.brand-score b {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 42px;
    letter-spacing: -1.4px;
}
.brand-score small { margin-left: 2px; color: #71748a; font-family: Manrope, var(--font-body); font-size: 15px; font-weight: 700; }
.brand-score span { color: #0dcb5f; font-family: Manrope, var(--font-body); font-size: 11.5px; font-weight: 700; }

.brand-chips { gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.brand-chips span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(21, 21, 31, 0.04);
    color: #71748a;
    font-family: Manrope, var(--font-body);
    font-size: 11.5px;
}

.brand-tabs { gap: 0; margin-top: 24px; }
.brand-tabs button {
    padding: 10px 16px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #71748a;
    font-family: Manrope, var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.brand-tabs button.is-active { background: rgba(21, 21, 31, 0.05); color: #15151f; }
.brand-tabs button:focus-visible { outline: 2px solid #5400e9; outline-offset: 2px; }

.brand-panel { margin-top: 24px; }
.brand-panel[hidden] { display: none; }
.brand-kicker {
    margin: 0 0 12px;
    color: #71748a;
    font-family: Manrope, var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.brand-profile { display: grid; grid-template-columns: minmax(0, 592fr) minmax(280px, 404fr); gap: 32px; }
.brand-bar + .brand-bar { margin-top: 9px; }
.brand-bar__top { justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.brand-bar__top > span,
.brand-bar__values { font-family: Manrope, var(--font-body); font-size: 13.5px; font-weight: 700; }
.brand-bar__values { gap: 10px; }
.brand-bar__values em { color: #71748a; font-size: 11.5px; font-style: normal; font-weight: 400; }
.brand-bar__values strong,
.brand-table .is-down,
.brand-table .is-up,
.brand-table .is-strong { font-size: 15px; }
.brand-bar__values .is-strong,
.brand-table .is-strong { color: #5400e9; }
.brand-bar__values .is-up,
.brand-table .is-up { color: #0dcb5f; }
.brand-bar__values .is-down,
.brand-table .is-down { color: #fb9240; }
.brand-bar__track,
.brand-mini {
    display: block;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(21, 21, 31, 0.07);
}
.brand-bar__track span,
.brand-mini i {
    display: block;
    height: 100%;
    border-radius: inherit;
}
.brand-bar__track .is-strong,
.brand-mini .is-strong { background: #5400e9; }
.brand-bar__track .is-up,
.brand-mini .is-up { background: #0dcb5f; }
.brand-bar__track .is-down,
.brand-mini .is-down { background: #fb9240; }

.brand-facts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.brand-facts p:not(.brand-kicker),
.brand-events p {
    display: flex;
    gap: 11px;
    margin: 0;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(21, 21, 31, 0.03);
    color: rgba(21, 21, 31, 0.72);
    font-family: Manrope, var(--font-body);
    font-size: 12.5px;
    line-height: 19px;
}
.brand-facts img { flex-shrink: 0; }

.brand-profile__side { display: flex; flex-direction: column; gap: 14px; }
.brand-radar-card,
.brand-chart-card,
.brand-position,
.brand-tone,
.brand-report-cta,
.brand-voe article,
.brand-sources article,
.brand-quotes blockquote {
    border: 1px solid rgba(21, 21, 31, 0.08);
    border-radius: 16px;
    background: #fff;
}
.brand-radar-card { position: relative; overflow: hidden; padding-bottom: 14px; }
.brand-radar { display: block; width: 100%; height: auto; }
.brand-legend {
    justify-content: center;
    gap: 16px;
    color: #71748a;
    font-family: Manrope, var(--font-body);
    font-size: 10.5px;
}
.brand-legend span,
.brand-table-note { display: inline-flex; align-items: center; gap: 7px; }
.brand-legend i,
.brand-table-note i {
    width: 16px;
    height: 2.5px;
    border-radius: 2px;
    background: #5400e9;
}
.brand-legend .is-avg,
.brand-table-note .is-avg { background: rgba(113, 116, 138, 0.65); }

.brand-position,
.brand-signals,
.brand-tone { padding: 16px 18px; }
.brand-position { border: 0; background: #f7f7fb; }
.brand-position .brand-rank + .brand-rank { margin-top: 12px; }
.brand-rank {
    gap: 10px;
    padding: 9px 12px 9px 10px;
    border: 1px solid rgba(21, 21, 31, 0.07);
    border-radius: 10px;
    background: #fff;
    font-family: Manrope, var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
}
.brand-rank span { display: inline-flex; align-items: center; gap: 10px; }
.brand-rank b {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 8px;
    background: rgba(21, 21, 31, 0.07);
    color: #71748a;
    font-size: 11px;
}
.brand-rank strong { color: #71748a; }
.brand-rank.is-current { border-color: transparent; background: rgba(84, 0, 233, 0.1); }
.brand-rank.is-current b { background: #5400e9; color: #fff; }
.brand-rank.is-current strong { color: #5400e9; }

.brand-signals { background: #15151f; color: #fff; }
.brand-signals .brand-kicker { color: rgba(255, 255, 255, 0.55); }
.brand-signals div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.brand-signals div + div { margin-top: 12px; }
.brand-signals b { display: block; font-family: Manrope, var(--font-body); font-size: 12.5px; }
.brand-signals small { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.45); font-size: 10.5px; }
.brand-signals strong {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.5px;
}
.brand-signals .is-green { color: #0dcb5f; }

.brand-voe { margin-top: 24px; }
.brand-voe__head span,
.brand-voe__head a { color: #0dcb5f; font-family: Manrope, var(--font-body); font-size: 11.5px; font-weight: 700; }
.brand-voe__grid,
.brand-sources,
.brand-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.brand-sources,
.brand-quotes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-quotes { grid-template-columns: 1fr 1fr; margin-top: 14px; }
.brand-voe article,
.brand-sources article { min-height: 108px; padding: 14px 16px; }
.brand-voe article span,
.brand-reports em.is-soon {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(84, 0, 233, 0.12);
    color: #5400e9;
    font-family: Manrope, var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.brand-voe article strong,
.brand-reports strong,
.brand-report-cta strong { display: block; color: #15151f; font-family: Manrope, var(--font-body); font-size: 13px; line-height: 18px; }
.brand-voe article p,
.brand-reports p,
.brand-report-cta p { margin: 8px 0 0; color: rgba(21, 21, 31, 0.52); font-size: 11px; line-height: 16px; }
.brand-voe article.is-empty { border-style: dashed; border-color: rgba(21, 21, 31, 0.2); }

.brand-foot {
    gap: 18px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(21, 21, 31, 0.08);
}
.brand-foot p { max-width: 420px; margin: 0; color: #71748a; font-size: 13px; line-height: 20px; }
.brand-foot div,
.brand-report-cta { gap: 12px; }
.brand-btn {
    display: inline-flex;
    align-items: center;
    padding: 17px 24px;
    border-radius: 14px;
    color: #fff;
    font-family: Manrope, var(--font-body);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.brand-btn--green { background: #0dcb5f; }
.brand-btn--dark { background: #15151f; }
.brand-btn:hover { filter: brightness(1.05); }

.brand-table-wrap { overflow-x: auto; }
.brand-table { width: 100%; border-collapse: collapse; font-family: Manrope, var(--font-body); font-size: 13px; }
.brand-table th,
.brand-table td { padding: 12px 10px; border-bottom: 1px solid rgba(21, 21, 31, 0.06); text-align: left; }
.brand-table thead th { color: #71748a; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; }
.brand-table tbody th { color: #15151f; font-size: 13.5px; }
.brand-mini { width: 120px; }
.brand-table-note { margin: 12px 0 0; color: #71748a; font-size: 12px; }

.brand-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.brand-stats article,
.brand-chart-card,
.brand-events,
.brand-report-cta { padding: 16px 18px; border-radius: 16px; background: #f7f7fb; }
.brand-stats span,
.brand-chart-card .brand-voe__head span { color: #71748a; font-family: Manrope, var(--font-body); font-size: 12px; font-weight: 700; }
.brand-stats strong { display: block; margin: 6px 0; font-family: var(--font-display); font-size: 28px; letter-spacing: -0.6px; }
.brand-stats small { color: #0dcb5f; font-size: 12px; }
.brand-chart-card { margin-bottom: 14px; background: #fff; border: 1px solid rgba(21, 21, 31, 0.08); }
.brand-line { display: block; width: 100%; height: auto; }
.brand-events p { align-items: flex-start; }
.brand-events b { flex-shrink: 0; color: #5400e9; }

.brand-reports { display: flex; flex-direction: column; gap: 10px; }
.brand-reports article {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(21, 21, 31, 0.08);
    border-radius: 14px;
}
.brand-mark {
    color: #5400e9;
    font-family: Manrope, var(--font-body);
    font-size: 12px;
    font-weight: 700;
}
.brand-reports em.is-ready { color: #0dcb5f; font-style: normal; font-weight: 700; }
.brand-reports em.is-soon { margin: 0; }
.brand-report-cta { margin-top: 14px; background: #fff; border: 1px solid rgba(21, 21, 31, 0.08); }

.brand-tone__bar { display: flex; height: 10px; overflow: hidden; border-radius: 999px; }
.brand-tone__bar span:nth-child(1) { background: #0dcb5f; }
.brand-tone__bar span:nth-child(2) { background: #c9c9d4; }
.brand-tone__bar span:nth-child(3) { background: #fb9240; }
.brand-tone__legend { justify-content: space-between; gap: 12px; margin-top: 10px; color: #71748a; font-size: 12px; }
.brand-tone__legend b { color: #15151f; }
.brand-sources { margin-bottom: 18px; }
.brand-sources article { display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.brand-sources b { color: #71748a; font-size: 12px; }
.brand-sources strong { font-family: var(--font-display); font-size: 22px; }
.brand-sources span,
.brand-sources em { color: #71748a; font-size: 12px; font-style: normal; }
.brand-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-topics span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(84, 0, 233, 0.08);
    color: #5400e9;
    font-family: Manrope, var(--font-body);
    font-size: 12px;
    font-weight: 700;
}
.brand-quotes blockquote { margin: 0; padding: 16px; }
.brand-quotes p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; }
.brand-quotes footer { color: #71748a; font-size: 12px; }

@media (max-width: 900px) {
    .brand-modal__close { top: 8px; right: 8px; }
    .brand-modal__dialog { padding: 22px 16px 18px; }
    .brand-head,
    .brand-foot,
    .brand-profile,
    .brand-voe__grid,
    .brand-sources,
    .brand-stats,
    .brand-quotes,
    .brand-reports article,
    .brand-report-cta { display: flex; flex-direction: column; align-items: stretch; }
    .brand-reports article { display: grid; grid-template-columns: 1fr auto; }
    .brand-score,
    .brand-foot { align-items: flex-start; }
    .brand-name-row h2 { font-size: 24px; line-height: 1.15; }
    .brand-radar-card { min-height: 0; }
    .brand-legend { position: static; padding: 0 12px 14px; }
}

.how-modal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: start;
    padding: 56px 64px 52px;
}

.how-modal-copy {
    padding-top: 12px;
}

.how-modal h3 {
    margin: 0 0 20px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.how-modal-lead {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
}

.how-modal-form .field { margin-bottom: 14px; }

.how-modal-form .field label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.how-modal-form .field label span {
    color: #ff7a59;
}

.how-modal-form .field input,
.how-modal-form .field select {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: none;
}

.how-modal-form .field input::placeholder {
    color: #9a9aa3;
}

.how-modal-form .field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2362626d' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.how-modal-form .form-grid-2 { gap: 12px; }

.how-modal-form .btn {
    width: 100%;
    min-height: 56px;
    margin-top: 6px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
}

.how-modal-form .form-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    line-height: 1.4;
}

.how-modal-form .form-message {
    color: #fff;
}

.how-modal-form .form-message.text-success { color: #b8ffd0; }
.how-modal-form .form-message.text-danger { color: #ffc9c9; }

.btn-ghost {
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
}

.btn-ghost:hover {
    border-color: rgba(84, 0, 233, 0.35);
    color: var(--purple);
}

@media (max-width: 900px) {
    .how-modal {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 28px 32px;
    }

    .how-modal-copy { padding-top: 0; }

    .how-modal-lead { max-width: none; }

    .how-modal-form .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .modal-dialog--how { border-radius: 22px; }

    .modal-close--how {
        top: 12px;
        right: 12px;
    }

    .how-modal { padding: 40px 18px 24px; }

    .how-modal h3 { font-size: 26px; }
}

.inline-form-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
}

.inline-form-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

/* Company lookup results (hero search → /rankings/reviews) */
.hero-lookup {
    width: min(720px, 100%);
    margin-top: 8px;
}

.categories-block,
.tone-card,
.loader,
.limit-message {
    display: none;
    margin-top: 18px;
    width: 100%;
    text-align: left;
}

.limit-message {
    color: #e11d48;
    font-weight: 600;
    font-size: 14px;
}

.categories-title {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-item {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 600;
    font-size: 13.5px;
}

.category-item:hover {
    border-color: rgba(84, 0, 233, 0.35);
}

.category-item.active {
    border-color: var(--purple);
    background: rgba(84, 0, 233, 0.08);
    color: var(--purple);
}

.tone-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px -28px rgba(84, 0, 233, 0.35);
}

.tone-card .company-title {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
}

.lookup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.lookup-stat {
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 12px;
}

.lookup-stat b {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 20px;
}

.tone-content {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 18px;
}

.tone-donut {
    position: relative;
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#22c55e 0% 33%, #fbbf24 33% 66%, #f97316 66% 100%);
}

.tone-donut::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: #fff;
}

.tone-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
}

.tone-center span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.tone-legend {
    display: grid;
    gap: 12px;
}

.tone-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 10px;
}

.dot.pos { background: #22c55e; }
.dot.neu { background: #fbbf24; }
.dot.neg { background: #f97316; }

.user-rating {
    display: none;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.rating-title {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.stars {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.stars span {
    cursor: pointer;
    color: #d0d5dd;
    font-size: 28px;
    line-height: 1;
    user-select: none;
    transition: color 0.15s ease;
}

.stars span:hover,
.stars span.active {
    color: #f5a524;
}

.rating-message {
    min-height: 18px;
    color: var(--purple);
    font-size: 13px;
    font-weight: 600;
}

.loader {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    color: var(--muted);
    font-weight: 600;
}

.loader-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #eee;
    border-top-color: var(--green);
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.loader-text {
    color: var(--ink);
    font-size: 14px;
}

.loader-insights {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.45;
}

.loader-insights strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 700;
}

.loader-insights ul {
    margin: 0;
    padding-left: 18px;
}

.loader-insights li + li {
    margin-top: 6px;
}

@media (max-width: 700px) {
    .tone-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .lookup-stats {
        grid-template-columns: 1fr;
    }
}

/* Inner pages (articles / nps+) */
.ranking-page--inner {
    background:
        radial-gradient(circle at 78% -8%, rgba(123, 97, 255, 0.12), transparent 26rem),
        #fff;
}

.ranking-page--nps {
    background: #fff;
}

/* NPS+ page */
.nps-hero {
    position: relative;
    min-height: 720px;
    padding: 160px 0 100px;
    overflow: hidden;
    background: #fff;
}

.nps-hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 40%, rgba(84, 0, 233, 0.04) 55%, transparent 70%),
        repeating-linear-gradient(45deg, rgba(21, 21, 31, 0.03) 0 1px, transparent 1px 56px),
        repeating-linear-gradient(-45deg, rgba(21, 21, 31, 0.02) 0 1px, transparent 1px 56px);
    mask-image: radial-gradient(circle at 78% 45%, #000 0%, transparent 55%);
}

.nps-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.nps-hero-title {
    margin: 0 0 24px;
    color: #080a0c;
    font-family: var(--font-display);
    font-size: clamp(40px, 5.4vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.nps-hero-lead {
    max-width: 720px;
    margin: 0 0 36px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.nps-hero-cta {
    min-width: 280px;
    min-height: 76px;
    font-size: 15px;
}

.nps-section-title {
    margin: 0 0 36px;
    color: #2b2b2b;
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.nps-section-title--center { text-align: center; }

.nps-partners {
    padding: 40px 0 80px;
}

.nps-partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 56px;
    margin-top: 36px;
}

.nps-partner-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 86px;
    object-fit: contain;
}

.nps-partner-logo--aws {
    width: 120px;
    height: 80px;
}

.nps-partner-logo--popeyes {
    width: 225px;
    height: 86px;
}

.nps-services {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #fff 0%, #f7f6fb 100%);
}

.nps-services-title {
    margin: 0 0 64px;
    color: #2b2b2b;
    font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.nps-service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 88px;
}

.nps-service-row--reverse .nps-service-copy { order: 2; }
.nps-service-row--reverse .nps-service-visual { order: 1; }

.nps-service-copy h3 {
    margin: 0 0 18px;
    color: #292f37;
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.05;
}

.nps-service-copy p {
    max-width: 460px;
    margin: 0 0 28px;
    color: #15151f;
    font-size: 16px;
    line-height: 1.5;
}

.nps-service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.nps-service-visual img {
    display: block;
    width: 100%;
    max-width: 692px;
    height: auto;
    object-fit: contain;
}

.nps-wave {
    padding: 90px 0;
    background: #fff;
}

.nps-wave-slider {
    position: relative;
}

.nps-wave-viewport {
    overflow: hidden;
}

.nps-wave-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.nps-wave-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 56px;
    flex: 0 0 100%;
    min-width: 0;
    margin-bottom: 28px;
}

.nps-wave-grid h3 {
    margin: 0 0 14px;
    color: #0f171f;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.nps-wave-grid p {
    margin: 0;
    color: #4d5660;
    font-size: 15.5px;
    line-height: 1.6;
}

.nps-wave-card--blur {
    filter: blur(5px);
    opacity: 0.72;
    transition: filter 0.35s ease, opacity 0.35s ease;
    cursor: default;
}

.nps-wave-card--blur:hover,
.nps-wave-card--blur:focus-within {
    filter: blur(0);
    opacity: 1;
}

@media (hover: none) {
    .nps-wave-card--blur:active {
        filter: blur(0);
        opacity: 1;
    }
}

.nps-wave-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.nps-wave-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(13, 203, 95, 0.28);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.nps-wave-dot.is-active {
    background: #0dcb5f;
    transform: scale(1.15);
}

.nps-wave-dot:focus-visible {
    outline: 2px solid #0dcb5f;
    outline-offset: 3px;
}

.nps-wave-bar {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0dcb5f 0%, rgba(13, 203, 95, 0.15) 70%, transparent 100%);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nps-wave-slider[data-slide="0"] .nps-wave-bar {
    transform: scaleX(0.52);
}

.nps-wave-slider[data-slide="1"] .nps-wave-bar {
    transform: scaleX(1);
}

.nps-why {
    padding: 40px 0 100px;
}

.nps-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.nps-why-card {
    min-height: 250px;
    padding: 28px 24px;
    border: 1px solid #0b0b0b;
    border-radius: 14px;
    background: #fff;
}

.nps-why-card h3 {
    margin: 0 0 16px;
    color: #3b3b3b;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nps-why-card p {
    margin: 0;
    color: #3b3b3b;
    font-size: 16px;
    line-height: 1.35;
}

.article-shell {
    padding: 28px 0 80px;
}

.article-width {
    width: min(760px, calc(100% - 48px));
    margin: 0 auto;
}

.article-wide {
    width: min(1084px, calc(100% - 48px));
    margin: 0 auto;
}

.article-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    margin-bottom: 28px;
    padding: 0 16px;
    border: 1px solid rgba(123, 97, 255, 0.4);
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    font-family: Manrope, var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: #71748a;
    font-size: 13px;
}

.article-title {
    margin: 0 0 36px;
    color: #080a0c;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.article-cover {
    overflow: hidden;
    width: min(932px, calc(100% - 48px));
    height: min(440px, 56vw);
    margin: 0 auto 48px;
    border: 1px solid rgba(21, 21, 31, 0.06);
    border-radius: 22px;
    background: linear-gradient(135deg, #1b1d2c, #171928);
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-cover-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #4a4d63;
    font-size: 13px;
}

.article-content {
    padding-bottom: 64px;
}

.article-content p,
.article-content li {
    margin: 0 0 26px;
    color: #080a0c;
    font-family: Manrope, var(--font-body);
    font-size: 18px;
    line-height: 1.75;
}

.article-content h2 {
    margin: 42px 0 18px;
    color: #080a0c;
    font-family: Archivo, var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.article-content h3 {
    margin: 36px 0 14px;
    color: #080a0c;
    font-family: Archivo, var(--font-display);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.article-content .article-quote,
.article-content blockquote {
    margin: 36px 0;
    padding: 24px 28px;
    border-left: 3px solid #7b61ff;
    border-radius: 0 14px 14px 0;
    background: rgba(123, 97, 255, 0.07);
    color: #080a0c;
    font-family: Manrope, var(--font-body);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.55;
}

.article-content ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.article-content li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
}

.article-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #080a0c;
}

.article-content strong { font-weight: 700; }

.article-related {
    padding: 40px 0 100px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: minmax(220px, 293px) 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.article-related-title {
    margin: 0;
    color: #171928;
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
}

.article-related-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-related-cover {
    overflow: hidden;
    aspect-ratio: 284 / 354;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(84, 0, 233, 0.3), rgba(13, 203, 95, 0.2)), #1a1630;
}

.article-related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-related-card h3 {
    margin: 0;
    color: #080a0c;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.article-related-card p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.4;
}

/* Articles index */
.articles-index {
    padding: 48px 0 80px;
}

.articles-index-hero {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.articles-index-hero .kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    font-family: Manrope, var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.articles-index-hero h1 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.articles-index-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.articles-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    justify-items: center;
}

.articles-index-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.articles-index-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 434 / 420;
    border-radius: 22px;
    width: 75%;
    background: linear-gradient(160deg, rgba(84, 0, 233, 0.3), rgba(13, 203, 95, 0.2)), #1a1630;
}

.articles-index-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-index-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 11px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--purple);
    font-family: Manrope, var(--font-body);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.articles-index-card .meta {
    color: #71748a;
    font-size: 13px;
}

.articles-index-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.articles-index-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.articles-empty {
    padding: 60px 0;
    color: var(--muted);
    text-align: center;
}

.articles-pagination {
    margin-top: 48px;
}

.articles-pagination nav {
    display: flex;
    justify-content: center;
}

@media (max-width: 1100px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }

    .nav { display: none; }

    .header-actions {
        justify-self: unset;
    }

    .segments-head,
    .segment-panel,
    .about-grid,
    .why-grid,
    .media-grid,
    .feedback-grid,
    .nps-grid,
    .faq-grid,
    .contact-grid,
    .footer-grid,
    .nps-features,
    .form-grid-2,
    .article-related-grid,
    .articles-index-grid {
        grid-template-columns: 1fr;
    }

    .segment-chips { justify-content: flex-start; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-float { display: none; }
    .about-title { font-size: clamp(36px, 10vw, 56px); }

    .case-voe-card {
        flex-basis: min(320px, 82%);
        min-height: 320px;
    }
    .copyright { flex-direction: column; }
    .articles-index-hero { text-align: left; }
    .nps-service-row,
    .nps-service-row--reverse,
    .nps-wave-grid,
    .nps-why-grid {
        grid-template-columns: 1fr;
    }

    .nps-wave-grid {
        gap: 28px;
    }

    .nps-wave-grid h3 {
        font-size: 24px;
    }
    .nps-service-row--reverse .nps-service-copy,
    .nps-service-row--reverse .nps-service-visual { order: initial; }
    .nps-hero { min-height: auto; padding: 140px 0 70px; }
    .nps-services-title { margin-bottom: 40px; }
}

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

@media (max-width: 700px) {
    .nps-why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .articles-index-grid { grid-template-columns: 1fr 1fr; }
    .article-related-grid { grid-template-columns: 1fr 1fr; }
    .article-related-title { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .articles-index-grid,
    .article-related-grid { grid-template-columns: 1fr; }
}
