:root {
    --v2-bg: #f4f1ea;
    --v2-ink: #162326;
    --v2-muted: #647174;
    --v2-line: #d8d2c6;
    --v2-panel: #ffffff;
    --v2-green: #08786f;
    --v2-green-dark: #075b55;
    --v2-blue: #255f85;
    --v2-red: #a63f3a;
    --v2-yellow: #f0c84b;
    --v2-soft-green: #e2f1ee;
    --v2-soft-blue: #e6eef4;
    --v2-soft-red: #f5e7e3;
    --v2-shadow: 0 18px 48px rgba(20, 33, 36, .13);
}

body.gelpi-v2 {
    background: var(--v2-bg);
    color: var(--v2-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.35;
}

.gelpi-v2 a {
    color: inherit;
    text-decoration: none;
}

.v2-shell {
    min-height: 100vh;
}

.v2-container {
    margin: 0 auto;
    max-width: 1160px;
    padding: 0 22px;
}

.v2-nav {
    background: rgba(244, 241, 234, .94);
    border-bottom: 1px solid var(--v2-line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.v2-nav-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    min-height: 70px;
    justify-content: space-between;
}

.v2-brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    font-weight: 800;
}

.v2-brand-mark {
    align-items: center;
    background: #fff url('/assets/img/gelpi-avatar.png') center / cover no-repeat;
    border: 1px solid var(--v2-line);
    border-radius: 50%;
    color: transparent;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    overflow: hidden;
    width: 38px;
}

.v2-brand span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.v2-brand small {
    color: var(--v2-muted);
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.v2-menu {
    align-items: center;
    display: flex;
    gap: 4px;
}

.v2-menu a {
    align-items: center;
    border-radius: 6px;
    color: #344448;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 7px;
    padding: 9px 10px;
}

.v2-menu a:hover {
    background: #e7e1d5;
}

.v2-menu a.active {
    background: #e7e1d5;
    color: var(--v2-ink);
}

.v2-menu .v2-menu-cta {
    background: var(--v2-green);
    color: #fff;
    margin-left: 8px;
}

.v2-menu .v2-hypevar-menu {
    background: #fff;
    border: 1px solid var(--v2-line);
    min-height: 38px;
    padding: 6px 10px;
}

.v2-menu .v2-hypevar-menu img {
    display: block;
    height: 22px;
    max-width: 114px;
}

.v2-nav-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid var(--v2-line);
    border-radius: 6px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    height: 42px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.v2-nav-toggle span {
    background: var(--v2-ink);
    border-radius: 20px;
    display: block;
    height: 2px;
    transition: transform .2s ease, opacity .2s ease;
    width: 19px;
}

.v2-nav-overlay {
    background: rgba(12, 20, 22, .42);
    border: 0;
    cursor: pointer;
    display: none;
    inset: 0;
    padding: 0;
    position: fixed;
    z-index: 50;
}

.v2-hero {
    padding: 48px 0 32px;
}

.v2-hero-grid {
    align-items: stretch;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
}

.v2-kicker {
    color: var(--v2-green-dark);
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.v2-hero h1 {
    font-size: 56px;
    line-height: .98;
    margin: 0;
    max-width: 820px;
}

.v2-lede {
    color: #425053;
    font-size: 20px;
    line-height: 1.45;
    margin: 18px 0 0;
    max-width: 760px;
}

.v2-detector-box {
    background: var(--v2-panel);
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    box-shadow: var(--v2-shadow);
    margin-top: 28px;
    padding: 18px;
}

.v2-detector-form {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.v2-detector-form input {
    border: 1px solid #c8c1b3;
    border-radius: 6px;
    color: var(--v2-ink);
    font: inherit;
    font-size: 18px;
    min-height: 58px;
    padding: 0 16px;
}

.v2-button {
    align-items: center;
    background: var(--v2-green);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    text-align: center;
}

.v2-button:hover {
    background: var(--v2-green-dark);
    color: #fff;
}

.v2-button.secondary {
    background: var(--v2-ink);
}

.v2-button.ghost {
    background: transparent;
    border: 1px solid var(--v2-line);
    color: var(--v2-ink);
}

.gelpi-v2 a.v2-button,
.gelpi-v2 button.v2-button {
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.gelpi-v2 a.v2-button.ghost,
.gelpi-v2 button.v2-button.ghost {
    color: var(--v2-ink);
}

.gelpi-v2 .platform-hero-copy .v2-button.ghost,
.gelpi-v2 .solution-hero-copy .v2-button.ghost,
.gelpi-v2 .agency-hero-copy .v2-button.ghost,
.gelpi-v2 .ecosystem-hero-panel .v2-button.ghost {
    border-color: rgba(255,255,255,.28);
    color: #f6fbfa;
}

.v2-examples {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.v2-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    height: 18px;
    justify-content: center;
    width: 18px;
}

.v2-icon svg {
    display: block;
    height: 18px;
    width: 18px;
}

.v2-icon-youtube svg {
    fill: #ff0033;
}

.v2-icon-spotify svg {
    fill: #1ed760;
}

.v2-hypevar-lockup {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(22,35,38,.12);
    border-radius: 8px;
    display: inline-flex;
    min-height: 42px;
    padding: 8px 10px;
}

.v2-hypevar-lockup img {
    display: block;
    height: 24px;
    max-width: 130px;
    object-fit: contain;
}

.v2-button .v2-hypevar-lockup {
    border: 0;
    min-height: 28px;
    padding: 4px 6px;
}

.v2-button .v2-hypevar-lockup img {
    height: 18px;
    max-width: 98px;
}

.v2-hypevar-card-head {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.v2-hypevar-card-head h3 {
    margin: 0;
}

.v2-examples span {
    color: var(--v2-muted);
    font-size: 13px;
    font-weight: 700;
}

.v2-example-btn {
    background: #ece7dd;
    border: 1px solid var(--v2-line);
    border-radius: 999px;
    color: #273438;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 10px;
}

.v2-activity-panel {
    background: #203033;
    border-radius: 8px;
    color: #fff;
    min-height: 100%;
    overflow: hidden;
}

.v2-activity-media {
    aspect-ratio: 16 / 10;
    background: #0d1618;
    overflow: hidden;
}

.v2-activity-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.v2-activity-content {
    padding: 18px;
}

.v2-activity-content h2 {
    color: #f6fbfa;
    font-size: 22px;
    margin: 0 0 12px;
}

.v2-search-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.v2-search-item {
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-top: 10px;
}

.v2-search-item strong {
    display: block;
    font-size: 14px;
}

.v2-search-item span {
    color: #b8c5c7;
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

.v2-badge {
    background: rgba(240, 200, 75, .18);
    border: 1px solid rgba(240, 200, 75, .5);
    border-radius: 999px;
    color: #ffe08a;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 8px;
}

.v2-section {
    padding: 48px 0;
}

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

.v2-section h2 {
    color: var(--v2-ink);
    font-size: 34px;
    line-height: 1.1;
    margin: 0;
}

.v2-section-head p {
    color: var(--v2-muted);
    line-height: 1.5;
    margin: 8px 0 0;
    max-width: 720px;
}

.v2-grid-4,
.v2-grid-3,
.v2-grid-2 {
    display: grid;
    gap: 14px;
}

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

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

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

.v2-card {
    background: var(--v2-panel);
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    min-height: 100%;
    padding: 18px;
}

.v2-card h3 {
    color: var(--v2-ink);
    font-size: 21px;
    margin: 0 0 8px;
}

.v2-card p {
    color: var(--v2-muted);
    line-height: 1.5;
    margin: 0;
}

.v2-card-link {
    color: var(--v2-green-dark);
    display: inline-block;
    font-weight: 800;
    margin-top: 14px;
}

.gelpi-v2 .v2-result-map h2,
.gelpi-v2 .v2-result-map h3,
.gelpi-v2 .v2-result-map .v2-kicker,
.gelpi-v2 .content-dark h2,
.gelpi-v2 .content-dark h3,
.gelpi-v2 .content-dark .v2-kicker,
.gelpi-v2 .v2-contribute h2,
.gelpi-v2 .v2-contribute h3,
.gelpi-v2 .v2-contribute .v2-kicker,
.gelpi-v2 .platform-cta-band h2,
.gelpi-v2 .platform-cta-band h3,
.gelpi-v2 .platform-cta-band .v2-kicker,
.gelpi-v2 .solution-cta-band h2,
.gelpi-v2 .solution-cta-band h3,
.gelpi-v2 .solution-cta-band .v2-kicker,
.gelpi-v2 .agency-cta-band h2,
.gelpi-v2 .agency-cta-band h3,
.gelpi-v2 .agency-cta-band .v2-kicker {
    color: #f6fbfa;
}

.gelpi-v2 .v2-result-map .v2-card h3,
.gelpi-v2 .content-dark .v2-card h3,
.gelpi-v2 .v2-contribute .v2-card h3,
.gelpi-v2 .platform-cta-band .v2-card h3,
.gelpi-v2 .solution-cta-band .v2-card h3,
.gelpi-v2 .agency-cta-band .v2-card h3 {
    color: #f6fbfa;
}

.gelpi-v2 .v2-result-map .v2-card strong,
.gelpi-v2 .content-dark .v2-card strong,
.gelpi-v2 .v2-contribute .v2-card strong,
.gelpi-v2 .platform-cta-band .v2-card strong,
.gelpi-v2 .solution-cta-band .v2-card strong,
.gelpi-v2 .agency-cta-band .v2-card strong {
    color: #f6fbfa;
}

.gelpi-v2 .v2-result-map .v2-card-link,
.gelpi-v2 .content-dark .v2-card-link,
.gelpi-v2 .v2-contribute .v2-card-link,
.gelpi-v2 .platform-cta-band .v2-card-link,
.gelpi-v2 .solution-cta-band .v2-card-link,
.gelpi-v2 .agency-cta-band .v2-card-link {
    color: #8ee6da;
}

.gelpi-v2 .content-dark p,
.gelpi-v2 .content-dark .v2-card p,
.gelpi-v2 .content-dark .v2-section-head p {
    color: #d3dedf;
}

.gelpi-v2 .content-dark .v2-card {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
}

.v2-route-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-route-top {
    align-items: center;
    display: flex;
    gap: 10px;
}

.v2-route-icon {
    align-items: center;
    background: var(--v2-soft-green);
    border-radius: 8px;
    color: var(--v2-green-dark);
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 20px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
}

.v2-route-logo {
    background: #fff;
    border: 1px solid var(--v2-line);
    padding: 6px;
    width: 78px;
}

.v2-route-logo img {
    display: block;
    max-height: 24px;
    max-width: 64px;
}

.v2-route-card:nth-child(2) .v2-route-icon,
.v2-route-card:nth-child(5) .v2-route-icon {
    background: var(--v2-soft-blue);
    color: var(--v2-blue);
}

.v2-route-card:nth-child(3) .v2-route-icon,
.v2-route-card:nth-child(6) .v2-route-icon {
    background: var(--v2-soft-red);
    color: var(--v2-red);
}

.v2-route-card h3 {
    margin: 0;
}

.v2-route-card .v2-card-link {
    margin-top: auto;
}

.v2-stat-card {
    border-left: 5px solid var(--v2-green);
}

.v2-stat-card:nth-child(2) {
    border-left-color: var(--v2-blue);
}

.v2-stat-card:nth-child(3) {
    border-left-color: var(--v2-red);
}

.v2-stat-card:nth-child(4) {
    border-left-color: var(--v2-yellow);
}

.v2-stat-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    margin-bottom: 8px;
}

.v2-result-map {
    background: #19272a;
    color: #fff;
}

.v2-result-grid {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.v2-result-demo {
    background: #fff;
    border-radius: 8px;
    color: var(--v2-ink);
    overflow: hidden;
}

.v2-result-platforms {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.v2-result-platform {
    align-items: center;
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    padding: 12px;
}

.v2-result-platform img {
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    height: 44px;
    object-fit: contain;
    padding: 6px;
    width: 44px;
}

.v2-result-platform strong,
.v2-result-platform span {
    display: block;
}

.v2-result-platform span {
    color: var(--v2-muted);
    font-size: 13px;
    line-height: 1.35;
    margin-top: 2px;
}

.v2-result-demo-top {
    align-items: center;
    background: #eef4f3;
    border-bottom: 1px solid #d8e5e2;
    display: flex;
    gap: 10px;
    padding: 14px;
}

.v2-result-demo-top img {
    border-radius: 6px;
    height: 42px;
    width: 42px;
}

.v2-result-demo-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.v2-mini-row {
    align-items: center;
    border: 1px solid var(--v2-line);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.v2-mini-row span {
    color: var(--v2-muted);
    font-size: 13px;
    font-weight: 700;
}

.v2-mini-row strong {
    font-size: 14px;
}

.v2-result-copy h2,
.v2-result-copy p {
    color: #fff;
}

.v2-result-copy p {
    color: #c7d3d5;
}

.v2-flow {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.v2-flow-item {
    align-items: flex-start;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    padding: 12px;
}

.v2-persona-card {
    border-top: 5px solid var(--v2-green);
}

.v2-persona-card:nth-child(2) {
    border-top-color: var(--v2-blue);
}

.v2-persona-card:nth-child(3) {
    border-top-color: var(--v2-red);
}

.v2-persona-card ul {
    color: var(--v2-muted);
    line-height: 1.5;
    margin: 12px 0 0;
    padding-left: 18px;
}

.v2-flow-index {
    align-items: center;
    background: var(--v2-yellow);
    border-radius: 6px;
    color: #172326;
    display: inline-flex;
    flex: 0 0 30px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
}

.v2-platform-card {
    align-items: center;
    display: flex;
    gap: 12px;
}

.v2-platform-card img {
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    height: 44px;
    object-fit: contain;
    padding: 6px;
    width: 44px;
}

.v2-report-card {
    overflow: hidden;
    padding: 0;
}

.v2-report-card div {
    padding: 18px;
}

.v2-report-card .v2-report-visual {
    align-items: center;
    aspect-ratio: 16 / 8;
    background: #172326;
    color: #fffaf0;
    display: flex;
    justify-content: space-between;
    padding: 24px;
}

.v2-report-visual strong {
    font-size: 58px;
    line-height: 1;
}

.v2-report-visual span {
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    font-weight: 900;
    padding: 8px 12px;
}

.v2-report-visual.ar {
    background: linear-gradient(135deg, #172326 0%, #255f85 100%);
}

.v2-report-visual.cl {
    background: linear-gradient(135deg, #172326 0%, #a63f3a 100%);
}

.v2-report-visual.mx {
    background: linear-gradient(135deg, #172326 0%, #08786f 100%);
}

.v2-vs-list {
    display: grid;
    gap: 10px;
}

.v2-vs-item {
    align-items: center;
    background: var(--v2-panel);
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 14px;
}

.v2-about {
    align-items: center;
    display: block;
}

.v2-about .v2-button {
    margin-top: 18px;
}

.suggest-form {
    display: grid;
    gap: 16px;
}

.suggest-form label {
    color: var(--v2-muted);
    display: grid;
    font-weight: 800;
    gap: 7px;
}

.suggest-form input,
.suggest-form select,
.suggest-form textarea {
    border: 1px solid var(--v2-line);
    border-radius: 6px;
    color: var(--v2-ink);
    font: inherit;
    padding: 12px;
    width: 100%;
}

.errors {
    background: #f5e7e3;
    border: 1px solid #d9a9a2;
    border-radius: 8px;
    color: #7f2925;
    font-weight: 800;
    margin-bottom: 12px;
    padding: 12px;
}

.v2-contribute {
    background: #203033;
    color: #fff;
}

.v2-contribute .v2-card {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.15);
    color: #fff;
}

.v2-contribute .v2-card p,
.v2-contribute .v2-section-head p {
    color: #c9d5d7;
}

.v2-contribute .v2-card-link {
    color: #8ee6da;
}

.v2-about img {
    border-radius: 8px;
    display: block;
    width: 100%;
}

.v2-footer {
    background: #172326;
    color: #d3dedf;
    padding: 34px 0;
}

.v2-footer-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.v2-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 960px) {
    .v2-hero-grid,
    .v2-result-grid,
    .v2-grid-4,
    .v2-grid-3,
    .v2-grid-2,
    .v2-about,
    .v2-footer-grid {
        grid-template-columns: 1fr;
    }

    .v2-hero h1 {
        font-size: 42px;
    }

    .v2-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 860px) {
    body.v2-menu-open {
        overflow: hidden;
    }

    .v2-nav-inner {
        min-height: 64px;
    }

    .v2-menu {
        align-items: stretch;
        background: #fff;
        border-left: 1px solid var(--v2-line);
        box-shadow: -18px 0 42px rgba(20, 33, 36, .18);
        display: flex;
        flex-direction: column;
        gap: 8px;
        height: 100dvh;
        max-width: calc(100vw - 44px);
        overflow-y: auto;
        padding: 86px 20px 24px;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(105%);
        transition: transform .22s ease;
        width: 340px;
        z-index: 60;
    }

    .v2-menu a {
        border: 1px solid transparent;
        border-radius: 6px;
        font-size: 18px;
        justify-content: flex-start;
        min-height: 48px;
        padding: 12px 14px;
        width: 100%;
    }

    .v2-menu a.active,
    .v2-menu a:hover {
        background: #f1ece3;
        border-color: var(--v2-line);
    }

    .v2-menu .v2-menu-cta {
        justify-content: center;
        margin: 8px 0 0;
    }

    .v2-menu .v2-hypevar-menu {
        justify-content: center;
        margin-top: 4px;
    }

    .v2-nav-toggle {
        display: inline-flex;
        position: relative;
        z-index: 70;
    }

    .v2-nav.is-open .v2-nav-toggle {
        position: fixed;
        right: 22px;
        top: 11px;
        z-index: 70;
    }

    .v2-nav.is-open .v2-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .v2-nav.is-open .v2-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .v2-nav.is-open .v2-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .v2-nav.is-open .v2-menu {
        transform: translateX(0);
    }

    .v2-nav.is-open .v2-nav-overlay {
        display: block;
    }

    .v2-detector-form {
        grid-template-columns: 1fr;
    }

    .v2-hero h1 {
        font-size: 34px;
    }

    .v2-lede {
        font-size: 18px;
    }
}
