:root {
    --bg: #08111f;
    --panel: #0f1b2e;
    --text: #0f172a;
    --muted: #64748b;
    --blue: #2563eb;
    --cyan: #38bdf8;
    --green: #22c55e;
    --line: #e5e7eb;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: var(--text);
    background: #f7f9fc
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 7vw;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line)
}

.brand img,
.footer img {
    height: 40px
}

.nav {
    display: flex;
    gap: 8px;
    color: #334155;
    font-size: 14px
}

.nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease
}

.nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease
}

.nav a:hover,
.nav a:focus-visible {
    color: #0f172a;
    background: #eef6ff;
    box-shadow: 0 8px 22px rgba(37, 99, 235, .12);
    transform: translateY(-1px);
    outline: none
}

.nav a:hover::after,
.nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1)
}

.header-actions,
.cta-row {
    display: flex;
    gap: 12px;
    align-items: center
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .14);
    outline: none
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    transition: transform .2s ease, opacity .2s ease
}

.nav .mobile-nav-cta {
    display: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid transparent;
    transition: .2s
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0ea5e9);
    color: #fff;
    box-shadow: 0 14px 35px rgba(37, 99, 235, .25)
}

.btn-secondary {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px)
}

.btn-ghost {
    border-color: var(--line);
    background: #fff
}

.btn-large {
    padding: 15px 22px
}

.section {
    padding: 96px 7vw
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    min-height: calc(100vh - 73px);
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, .22), transparent 32%), linear-gradient(135deg, #08111f, #111827);
    color: #fff
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: #67e8f9;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px
}

.hero h1,
h2 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: .96;
    margin: 0 0 20px;
    letter-spacing: -.05em
}

.hero h1 {
    max-width: 830px
}

h2 {
    font-size: clamp(32px, 4vw, 56px);
    color: #0f172a
}

.lead {
    font-size: 20px;
    line-height: 1.55;
    color: #dbeafe;
    max-width: 720px
}

.hint,
.muted {
    color: #94a3b8
}

.dashboard-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .35);
    border-radius: 28px;
    padding: 24px;
    backdrop-filter: blur(18px)
}

.dash-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px
}

.wave {
    height: 96px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px;
    background: rgba(255, 255, 255, .06);
    border-radius: 20px
}

.wave i {
    flex: 1;
    border-radius: 99px;
    background: linear-gradient(var(--cyan), var(--blue));
    height: var(--h, 42px)
}

.wave i:nth-child(1) {
    --h: 28px
}

.wave i:nth-child(2) {
    --h: 64px
}

.wave i:nth-child(3) {
    --h: 42px
}

.wave i:nth-child(4) {
    --h: 80px
}

.wave i:nth-child(5) {
    --h: 34px
}

.wave i:nth-child(6) {
    --h: 72px
}

.wave i:nth-child(7) {
    --h: 48px
}

.wave i:nth-child(8) {
    --h: 60px
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0
}

.pin {
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px
}

.amber {
    border-left: 5px solid #f59e0b
}

.red {
    border-left: 5px solid #ef4444
}

.green {
    border-left: 5px solid #22c55e
}

.blue {
    border-left: 5px solid #3b82f6
}


.analytics div {
    background: #fff;
    color: #0f172a;
    border-radius: 18px;
    padding: 16px
}

.analytics span {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.narrow {
    max-width: 1120px;
    margin: auto;
    text-align: center
}

.video-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
    border: 1px solid var(--line)
}

video {
    width: 100%;
    display: block;
    max-height: 620px;
    object-fit: cover
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .9);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .25);
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
    z-index: 2
}

.play-badge:hover,
.play-badge:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
    outline: none
}

.play-badge.is-hidden {
    opacity: 0;
    pointer-events: none
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.split p {
    font-size: 18px;
    line-height: 1.7;
    color: #475569
}

.feature-list {
    display: grid;
    gap: 14px
}

.feature-list div,
.steps article,
.cards article,
blockquote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
    font-weight: 800
}

.steps,
.cards,
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.steps b {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #dbeafe;
    color: var(--blue)
}

.cards article {
    text-align: center;
    font-size: 20px
}

.insight {
    background: #fff
}

.analytics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.analytics b {
    font-size: 22px
}

.testimonials {
    grid-template-columns: repeat(4, 1fr)
}

blockquote {
    margin: 0;
    font-weight: 600;
    line-height: 1.55
}

cite {
    display: block;
    margin-top: 18px;
    color: var(--blue);
    font-style: normal;
    font-weight: 900
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #08111f, #111827);
    color: #fff
}

.cta-section h2 {
    color: #fff
}

.cta-section p {
    color: #cbd5e1;
    font-size: 18px;
    margin: 0 0 26px
}

.cta-section .cta-note {
    margin: 16px 0 0;
    color: #cbd5e1
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 7vw;
    background: #fff;
    border-top: 1px solid var(--line)
}

.mobile-sticky {
    display: none
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal .7s ease forwards
}

.delay {
    animation-delay: .18s
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:920px) {

    .header {
        padding: 12px 5vw
    }

    .header-actions {
        display: none
    }

    .menu-toggle {
        display: flex
    }

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

    .header.is-menu-open .menu-toggle span:nth-child(2) {
        opacity: 0
    }

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

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 5vw;
        right: 5vw;
        display: grid;
        gap: 8px;
        padding: 14px;
        color: #0f172a;
        background: rgba(255, 255, 255, .96);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(.98);
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease
    }

    .header.is-menu-open .nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1)
    }

    .nav a {
        justify-content: center;
        width: 100%;
        padding: 13px 14px;
        font-size: 15px
    }

    .nav a::after {
        display: none
    }

    .nav .mobile-nav-cta {
        display: inline-flex;
        margin-top: 4px;
        background: linear-gradient(135deg, var(--blue), #0ea5e9);
        color: #fff;
        box-shadow: 0 14px 35px rgba(37, 99, 235, .24)
    }

    .hero,
    .split {
        grid-template-columns: 1fr
    }

    .section {
        padding: 72px 5vw
    }

    .steps,
    .cards,
    .testimonials {
        grid-template-columns: 1fr
    }

    .analytics {
        grid-template-columns: 1fr
    }

    .mobile-sticky {
        display: flex;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 20;
        justify-content: center;
        background: linear-gradient(135deg, var(--blue), #0ea5e9);
        color: #fff;
        border-radius: 999px;
        padding: 15px;
        font-weight: 900;
        box-shadow: 0 16px 40px rgba(37, 99, 235, .32)
    }

    .footer {
        padding-bottom: 82px;
        flex-direction: column;
        align-items: flex-start
    }

    .hero h1 {
        font-size: 44px
    }

    .lead {
        font-size: 18px
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch
    }
}
/* Product UI mockups based on the real Callpattern app demo */
.app-shell {
    background: #f8fafc;
    color: #252a35;
    border: 2px solid #2f3440;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    overflow: hidden
}

.app-shell-dark {
    background: rgba(248, 250, 252, .96);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .35)
}

.app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    color: #202633
}

.app-head b {
    font-size: 28px;
    letter-spacing: -.04em
}

.app-head span {
    border: 2px solid #252a35;
    border-radius: 5px;
    padding: 8px 18px;
    font-weight: 800;
    background: #fff
}

.app-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #c9ced8;
    margin-bottom: 24px;
    overflow-x: auto
}

.app-tabs span {
    padding: 14px 18px;
    font-weight: 900;
    letter-spacing: .04em;
    white-space: nowrap;
    color: #383d48
}

.app-tabs .active {
    background: #fff;
    border-bottom: 3px solid #2b303b
}

.audio-table-mini {
    display: grid;
    gap: 0;
    border-top: 1px solid #d9dde5
}

.table-head,
.audio-row {
    display: grid;
    grid-template-columns: 1.1fr .8fr .6fr .6fr;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e2e6ee;
    font-size: 13px;
    color: #343946
}

.table-head {
    font-weight: 900
}

.audio-row {
    position: relative;
    padding-left: 44px
}

.play-square {
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 2px solid #242a35;
    border-radius: 4px;
    background: #fff;
    font-size: 12px
}

.audio-row button {
    justify-self: start;
    border: 2px solid #242a35;
    border-radius: 4px;
    background: #fff;
    padding: 7px 14px;
    font-weight: 800
}

.product-demo {
    background: #fff
}

.product-copy {
    max-width: 860px;
    margin-bottom: 36px
}

.product-copy p {
    color: #475569;
    font-size: 18px;
    line-height: 1.7
}

.product-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    align-items: stretch
}

.analysis-panel {
    border: 2px solid #383d48;
    border-radius: 10px;
    padding: 24px;
    background: #f8fafc
}

.filters {
    display: grid;
    gap: 9px;
    margin-bottom: 22px
}

.filters span {
    display: block;
    border: 1px solid #c8ccd5;
    background: #fff;
    padding: 8px 10px;
    color: #171923
}

.stats-line {
    font-size: 19px;
    letter-spacing: .04em;
    border-bottom: 2px dashed #c8ccd5;
    padding-bottom: 14px;
    margin: 0 0 20px
}

.stats-line em {
    color: #2d62d9;
    font-style: normal
}

.stats-line strong {
    color: #892de2;
    margin-left: 12px
}

.analysis-panel h3 {
    margin: 0 0 12px;
    letter-spacing: .08em
}

.pattern-list {
    margin: 0;
    padding-left: 22px;
    font-size: 17px;
    line-height: 1.75
}

.app-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px
}

.app-actions button {
    border: 0;
    border-radius: 6px;
    padding: 11px 22px;
    background: #2f70df;
    color: #fff;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

.app-actions .copy {
    background: #22c94a
}

.stacked-preview {
    display: grid;
    gap: 18px
}

.modal-card {
    border: 2px solid #343946;
    border-radius: 12px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .10)
}

.modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px
}

.modal-top b {
    font-size: 24px;
    letter-spacing: .04em
}

.modal-top span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 2px solid #343946;
    border-radius: 50%;
    color: #e11d48;
    font-size: 28px;
    line-height: 1
}

.pattern-detail {
    border-bottom: 2px dashed #d1d5db;
    padding: 12px 0;
    font-size: 16px
}

.pattern-detail a,
.transcript-card a {
    color: #2f62d6;
    font-weight: 900;
    text-decoration: underline
}

.pattern-detail small {
    display: block;
    margin-top: 10px;
    color: #4b5563;
    font-weight: 800
}

.mini-player {
    display: grid;
    grid-template-columns: 34px 1fr 42px;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px
}

.mini-player span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 2px solid #343946;
    border-radius: 4px;
    font-size: 12px
}

.mini-player i {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d62d9 0 8%, #c8ccd5 8% 100%)
}

.transcript-card p {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.7;
    color: #3b4150
}

.transcript-card kbd {
    background: #f1f3f7;
    border-radius: 4px;
    padding: 3px 7px;
    font-family: inherit
}

.transcript-card mark {
    background: #dce8ff;
    color: #2f4ca0;
    border-radius: 999px;
    padding: 3px 8px;
    font-weight: 900
}

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

    .table-head,
    .audio-row {
        grid-template-columns: 1fr .8fr .6fr .6fr
    }
}

@media(max-width:620px) {
    .app-shell,
    .analysis-panel,
    .modal-card {
        padding: 16px
    }

    .app-head b {
        font-size: 22px
    }

    .table-head,
    .audio-row {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .audio-row {
        padding-left: 42px
    }

    .stats-line strong {
        display: block;
        margin-left: 0;
        margin-top: 6px
    }

    .pattern-list {
        font-size: 15px
    }
}


.hint {
    margin-top: 16px
}

.consent-note {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1
}

.consent-note a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700
}

.consent-note a:hover,
.consent-note a:focus-visible {
    color: #67e8f9;
    outline: none
}

.consent-note-light {
    color: #cbd5e1
}

.footer-copy {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.footer-copy p {
    margin: 0
}

.footer-copy a,
.footer > a {
    color: #334155;
    font-weight: 700
}

.footer-copy a:hover,
.footer-copy a:focus-visible,
.footer > a:hover,
.footer > a:focus-visible {
    color: var(--blue);
    outline: none
}

.policy-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.policy-main {
    flex: 1;
    padding: 72px 7vw
}

.policy-shell {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
    padding: 40px
}

.policy-shell h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -.05em
}

.policy-updated {
    margin: 0 0 28px;
    color: var(--muted);
    font-weight: 600
}

.policy-shell h2 {
    margin: 32px 0 14px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.1
}

.policy-shell p,
.policy-shell li {
    color: #475569;
    font-size: 17px;
    line-height: 1.75
}

.policy-shell ul {
    margin: 0;
    padding-left: 22px
}

.policy-contact {
    font-weight: 700
}

@media(max-width:920px) {
    .policy-main {
        padding: 48px 5vw
    }

    .policy-shell {
        padding: 28px 20px;
        border-radius: 24px
    }

    .footer-copy {
        width: 100%
    }
}


.footer-link-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
    text-decoration: underline;
    outline: none
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    border-radius: 24px;
    background: rgba(8, 17, 31, .96);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 28px 80px rgba(2, 8, 23, .45)
}

.cookie-banner__content {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    padding: 22px 24px
}

.cookie-banner__text {
    max-width: 760px
}

.cookie-banner__text strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px
}

.cookie-banner__text p {
    margin: 0 0 12px;
    color: #cbd5e1;
    line-height: 1.6
}

.cookie-banner__text a {
    color: #7dd3fc;
    font-weight: 700
}

.cookie-banner__actions,
.cookie-modal__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap
}

.cookie-btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .22)
}

.cookie-btn-ghost {
    background: #fff;
    border-color: transparent
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 80
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .6);
    backdrop-filter: blur(4px)
}

.cookie-modal__dialog {
    position: relative;
    width: min(720px, calc(100vw - 32px));
    margin: min(10vh, 80px) auto 0;
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 35px 100px rgba(15, 23, 42, .25)
}

.cookie-modal__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px
}

.cookie-modal__eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px
}

.cookie-modal__top h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.02
}

.cookie-modal__description {
    margin: 0 0 24px;
    color: #475569;
    line-height: 1.6
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--line)
}

.cookie-option:last-of-type {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line)
}

.cookie-option__copy strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px
}

.cookie-option__copy p {
    margin: 0;
    color: #64748b;
    line-height: 1.55
}

.cookie-option.is-required strong::after {
    content: "Always active";
    display: inline-flex;
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle
}

.cookie-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.cookie-switch span {
    position: relative;
    display: block;
    width: 56px;
    height: 32px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .2s ease
}

.cookie-switch span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .15);
    transition: transform .2s ease
}

.cookie-switch input:checked + span {
    background: linear-gradient(135deg, var(--blue), #0ea5e9)
}

.cookie-switch input:checked + span::after {
    transform: translateX(24px)
}

.cookie-switch input:disabled + span {
    background: #1d4ed8;
    opacity: .85
}

.cookie-icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer
}

.cookie-icon-button:hover,
.cookie-icon-button:focus-visible {
    box-shadow: 0 12px 26px rgba(37, 99, 235, .12);
    outline: none
}

body.cookie-modal-open {
    overflow: hidden
}

@media (max-width: 920px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch
    }

    .cookie-banner__actions,
    .cookie-modal__actions {
        width: 100%
    }

    .cookie-banner__actions .btn,
    .cookie-modal__actions .btn {
        flex: 1 1 180px
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        border-radius: 20px
    }

    .cookie-banner__content {
        padding: 18px
    }

    .cookie-modal__dialog {
        width: min(100vw - 20px, 720px);
        margin-top: 16px;
        padding: 22px;
        border-radius: 22px
    }

    .cookie-option {
        align-items: flex-start
    }

    .cookie-modal__actions .btn,
    .cookie-banner__actions .btn {
        width: 100%
    }
}


/* Dark accordion cookie modal */
.cookie-modal__dialog--dark {
    width: min(760px, calc(100vw - 32px));
    margin: min(8vh, 52px) auto 0;
    padding: 30px;
    border-radius: 28px;
    background: rgba(8, 10, 16, .96);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .55)
}

.cookie-modal__lead {
    margin: 0 0 22px;
    max-width: 640px;
    color: #f8fafc;
    font-size: 17px;
    line-height: 1.42
}

.cookie-accordion {
    display: grid;
    gap: 14px
}

.cookie-accordion__item {
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(61, 61, 61, .94), rgba(53, 53, 53, .96));
    overflow: hidden
}

.cookie-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
    text-align: left
}

.cookie-accordion__title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 500
}

.cookie-chevron {
    width: 8px;
    height: 8px;
    border-right: 1.7px solid rgba(255,255,255,.92);
    border-bottom: 1.7px solid rgba(255,255,255,.92);
    transform: rotate(-45deg);
    transition: transform .2s ease;
    flex: 0 0 auto;
    margin-top: -1px
}

.cookie-accordion__item.is-open .cookie-chevron {
    transform: rotate(45deg) translateY(-1px)
}

.cookie-accordion__panel {
    padding: 0 18px 18px 40px
}

.cookie-accordion__panel p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.48
}

.cookie-modal__dialog--dark .cookie-switch span {
    width: 42px;
    height: 22px;
    background: #5a5a5a
}

.cookie-modal__dialog--dark .cookie-switch span::after {
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #f8fafc;
    box-shadow: none
}

.cookie-modal__dialog--dark .cookie-switch input:checked + span {
    background: #000
}

.cookie-modal__dialog--dark .cookie-switch input:checked + span::after {
    transform: translateX(20px)
}

.cookie-modal__dialog--dark .cookie-switch input:disabled + span {
    background: #000;
    opacity: 1
}

.cookie-modal__actions--end {
    justify-content: flex-end;
    margin-top: 26px
}

.cookie-save-button {
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding: 16px 26px;
    background: #ff5a3d;
    color: #121212;
    font: inherit;
    font-weight: 900;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease
}

.cookie-save-button:hover,
.cookie-save-button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.05);
    outline: none
}

@media (max-width: 640px) {
    .cookie-modal__dialog--dark {
        width: min(100vw - 20px, 760px);
        margin-top: 22px;
        padding: 20px;
        border-radius: 18px
    }

    .cookie-modal__lead {
        font-size: 15px;
        margin-bottom: 18px
    }

    .cookie-accordion__trigger {
        padding: 14px
    }

    .cookie-accordion__title-wrap {
        gap: 10px;
        font-size: 16px
    }

    .cookie-accordion__panel {
        padding: 0 14px 16px 32px
    }

    .cookie-modal__actions--end {
        justify-content: center
    }

    .cookie-save-button {
        width: 100%
    }
}


/* Brand-aligned cookie UI */
.cookie-banner {
    left: 24px;
    right: 24px;
    bottom: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .2), transparent 34%),
        linear-gradient(135deg, rgba(8, 17, 31, .96), rgba(15, 27, 46, .96));
    color: #fff;
    border: 1px solid rgba(125, 211, 252, .18);
    box-shadow: 0 32px 90px rgba(2, 8, 23, .48);
    backdrop-filter: blur(18px)
}

.cookie-banner__content {
    align-items: center;
    gap: 28px;
    padding: 24px 26px
}

.cookie-banner__text {
    max-width: 780px
}

.cookie-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(125, 211, 252, .12);
    border: 1px solid rgba(125, 211, 252, .22);
    color: #67e8f9;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

.cookie-banner__text strong {
    margin-bottom: 10px;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.25
}

.cookie-banner__text p {
    margin-bottom: 14px;
    color: #cbd5e1
}

.cookie-banner__text a {
    color: #7dd3fc
}

.cookie-banner__actions {
    justify-content: flex-end
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18)
}

.cookie-btn-ghost {
    color: #0f172a
}

.cookie-modal__backdrop {
    background: rgba(3, 7, 18, .72);
    backdrop-filter: blur(8px)
}

.cookie-modal__dialog--brand {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    margin: min(8vh, 56px) auto 0;
    padding: 30px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .18), transparent 28%),
        linear-gradient(145deg, rgba(8, 17, 31, .98), rgba(15, 27, 46, .98));
    color: #fff;
    border: 1px solid rgba(125, 211, 252, .12);
    box-shadow: 0 36px 120px rgba(0, 0, 0, .5)
}

.cookie-modal__intro {
    margin-bottom: 20px
}

.cookie-modal__top--brand {
    align-items: flex-start;
    margin-bottom: 0
}

.cookie-modal__title {
    margin: 0 0 12px;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: .98;
    letter-spacing: -.04em
}

.cookie-modal__lead {
    margin: 0;
    max-width: 620px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.58
}

.cookie-icon-button--brand {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border-color: rgba(125, 211, 252, .14);
    background: rgba(255, 255, 255, .06);
    color: #fff
}

.cookie-icon-button--brand:hover,
.cookie-icon-button--brand:focus-visible {
    box-shadow: 0 14px 32px rgba(14, 165, 233, .18)
}

.cookie-accordion--brand {
    gap: 14px
}

.cookie-accordion__item {
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, .14);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(10px);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease
}

.cookie-accordion__item:hover {
    border-color: rgba(125, 211, 252, .26);
    box-shadow: 0 18px 44px rgba(2, 8, 23, .22)
}

.cookie-accordion__item.is-open {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .045));
    border-color: rgba(125, 211, 252, .22)
}

.cookie-accordion__trigger {
    padding: 18px 20px
}

.cookie-accordion__title-wrap {
    gap: 14px;
    font-size: 18px;
    font-weight: 700
}

.cookie-chevron {
    width: 9px;
    height: 9px;
    border-right: 1.8px solid rgba(255,255,255,.9);
    border-bottom: 1.8px solid rgba(255,255,255,.9)
}

.cookie-accordion__panel {
    padding: 0 20px 20px 43px
}

.cookie-accordion__panel p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6
}

.cookie-accordion__item.is-required .cookie-accordion__title-wrap span:last-child::after {
    content: "Always active";
    display: inline-flex;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .16);
    border: 1px solid rgba(96, 165, 250, .22);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    vertical-align: middle;
    text-transform: uppercase
}

.cookie-switch span {
    width: 52px;
    height: 30px;
    background: rgba(148, 163, 184, .35)
}

.cookie-switch span::after {
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #fff
}

.cookie-switch input:checked + span {
    background: linear-gradient(135deg, var(--blue), #0ea5e9)
}

.cookie-switch input:checked + span::after {
    transform: translateX(22px)
}

.cookie-switch input:disabled + span {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    opacity: 1
}

.cookie-modal__actions--brand {
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px
}

.cookie-btn-brand-ghost {
    background: #fff;
    border-color: transparent;
    color: #0f172a
}

.cookie-btn-brand-secondary {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
    color: #fff
}

.cookie-btn-brand-primary {
    box-shadow: 0 14px 35px rgba(37, 99, 235, .28)
}

@media (max-width: 920px) {
    .cookie-banner__actions {
        justify-content: stretch
    }

    .cookie-modal__actions--brand .btn {
        flex: 1 1 180px
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        border-radius: 22px
    }

    .cookie-banner__content {
        padding: 18px
    }

    .cookie-modal__dialog--brand {
        width: min(100vw - 20px, 760px);
        margin-top: 16px;
        padding: 20px;
        border-radius: 24px
    }

    .cookie-modal__top--brand {
        gap: 14px
    }

    .cookie-modal__title {
        font-size: 31px
    }

    .cookie-modal__lead {
        font-size: 15px
    }

    .cookie-accordion__item {
        border-radius: 18px
    }

    .cookie-accordion__trigger {
        padding: 16px
    }

    .cookie-accordion__title-wrap {
        font-size: 16px;
        gap: 12px
    }

    .cookie-accordion__panel {
        padding: 0 16px 16px 36px
    }

    .cookie-modal__actions--brand {
        justify-content: stretch
    }

    .cookie-modal__actions--brand .btn {
        width: 100%
    }
}
