/* ===========================
   RESET & BASE
   =========================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors — derived from Expans Digital logo */
    --primary: #14bcd6;
    --primary-dark: #0fa8c0;
    --primary-light: #e0f7fb;
    --accent: #14bcd6;
    --dark: #073a5b;
    --dark-soft: #0a4d73;
    --text: #1e3a52;
    --text-light: #4a6e87;
    --text-muted: #7a9bb5;
    --bg: #ffffff;
    --bg-soft: #f6fafb;
    --bg-alt: #edf4f7;
    --border: #d4e4ec;
    --success: #10b981;
    --error: #ef4444;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container: 1120px;
    --section-py: 4rem;

    /* Transitions */
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===========================
   LAYOUT
   =========================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: var(--section-py) 0;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(20, 188, 214, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(20, 188, 214, 0.4);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

/* ===========================
   HEADER
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.logo-img-footer {
    height: 1.75rem;
    filter: brightness(0) invert(1);
}

.header-cta {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: 0.375rem;
    transition: all var(--transition);
}

.header-cta:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ===========================
   HERO
   =========================== */

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    padding: 5rem 0 3rem;
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--dark);
}

.hero-reassurance {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.hero-scroll-arrow {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity var(--transition);
    animation: bounceArrow 2s ease infinite;
}

.hero-scroll-arrow:hover {
    opacity: 1;
    color: var(--primary);
}

@keyframes bounceArrow {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===========================
   PAIN POINTS
   =========================== */

.pain-section {
    background: var(--bg);
}

.section-title {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-light);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.section-subtitle strong {
    color: var(--dark);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.pain-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all var(--transition);
}

.pain-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(20, 188, 214, 0.1);
}

.pain-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.pain-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pain-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===========================
   GAP SECTION
   =========================== */

.gap-section {
    background: var(--bg-soft);
}

.gap-comparison {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gap-card {
    width: 100%;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.gap-before {
    background: var(--bg);
    border: 2px solid var(--border);
}

.gap-after {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.gap-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.gap-before .gap-label {
    color: var(--text-muted);
}

.gap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gap-list li {
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gap-metric {
    font-size: 1.25rem;
    font-weight: 800;
    min-width: 3.5rem;
}

.gap-before .gap-metric {
    color: var(--error);
}

.gap-after .gap-metric {
    color: #fff;
}

.gap-arrow {
    font-size: 2rem;
    color: var(--primary);
    transform: rotate(90deg);
}

.gap-conclusion {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.gap-conclusion strong {
    color: var(--dark);
}

/* ===========================
   METHOD
   =========================== */

.method-section {
    background: var(--bg);
}

.method-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.method-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.75rem 1.25rem;
}

.step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.method-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.method-step p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===========================
   SOCIAL PROOF
   =========================== */

.proof-section {
    background: var(--dark);
    color: #fff;
}

.proof-section .section-title {
    color: #fff;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.proof-stat {
    text-align: center;
    padding: 1.25rem;
}

.proof-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 0.375rem;
}

.proof-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.proof-clients {
    text-align: center;
    margin-bottom: 2.5rem;
}

.proof-clients-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
}

.proof-clients-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.client-logo {
    height: 2rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.proof-testimonial {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.proof-testimonial blockquote {
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    position: relative;
    padding: 0 1rem;
}

.proof-testimonial blockquote::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    font-style: normal;
}

.proof-testimonial cite {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ===========================
   DIAGNOSTIC / FORM
   =========================== */

.diagnostic-section {
    background: var(--bg-soft);
    padding: 4rem 0 5rem;
}

.form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.form-header p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Progress bar */
.progress-bar {
    position: relative;
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 16.66%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.progress-text {
    position: absolute;
    right: 0;
    top: -1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Form steps */
.form-step {
    display: none;
    animation: fadeInUp 0.35s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.375rem;
    text-align: center;
}

.step-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Option buttons */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}

.option-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.option-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.option-btn.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary);
}

.option-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.125rem;
}

.option-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Contact fields (step 6) */
.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.field-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.field-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

.field-group input {
    font-family: var(--font);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background: var(--bg);
    color: var(--dark);
    transition: border-color var(--transition);
    outline: none;
}

.field-group input::placeholder {
    color: var(--text-muted);
}

.field-group input:focus {
    border-color: var(--primary);
}

.field-group.has-error input {
    border-color: var(--error);
}

.field-error {
    font-size: 0.75rem;
    color: var(--error);
    margin-top: 0.25rem;
}

.btn-submit {
    margin-top: 0.5rem;
    width: 100%;
}

/* Back button */
.back-btn {
    display: none;
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color var(--transition);
}

.back-btn.visible {
    display: block;
}

.back-btn:hover {
    color: var(--primary);
}

/* Results */
.result-content {
    text-align: center;
    padding: 1rem 0;
}

.result-icon {
    width: 4rem;
    height: 4rem;
    background: var(--success);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.result-icon-alt {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.5rem;
}

.result-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.result-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.result-content p strong {
    color: var(--dark);
}

.result-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.calendly-container {
    margin-top: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* ===========================
   FINAL CTA
   =========================== */

.final-cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
}

.final-cta-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.final-cta-section p {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-section .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.final-cta-section .btn-primary:hover {
    background: var(--bg-soft);
    color: var(--primary-dark);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-logo p {
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.75rem;
}

/* ===========================
   RESPONSIVE — TABLET (640px+)
   =========================== */

@media (min-width: 640px) {
    :root {
        --section-py: 5rem;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .pain-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-wrapper {
        padding: 2.5rem 2rem;
    }
}

/* ===========================
   RESPONSIVE — DESKTOP (1024px+)
   =========================== */

@media (min-width: 1024px) {
    :root {
        --section-py: 6rem;
    }

    .hero {
        min-height: auto;
        padding: 10rem 0 5rem;
    }

    .hero-scroll-arrow {
        display: none;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero-subtitle {
        font-size: 1.1875rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pain-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .gap-comparison {
        flex-direction: row;
        align-items: stretch;
    }

    .gap-card {
        flex: 1;
    }

    .gap-arrow {
        display: flex;
        align-items: center;
        transform: none;
        font-size: 2.5rem;
    }

    .method-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .form-wrapper {
        padding: 3rem 2.5rem;
    }

    .final-cta-section h2 {
        font-size: 2.25rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ===========================
   LEGAL PAGE
   =========================== */

.legal-section {
    background: var(--bg);
    padding-top: 6rem;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.legal-content .legal-updated {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content address {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-style: normal;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    color: var(--primary-dark);
}

@media (min-width: 640px) {
    .legal-section {
        padding-top: 8rem;
    }
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform var(--transition);
    font-family: var(--font);
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner--hidden {
    transform: translateY(100%);
}

.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.cookie-banner__text p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner__text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-btn {
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.cookie-btn--primary {
    background: var(--primary);
    color: #fff;
}

.cookie-btn--primary:hover {
    background: var(--primary-dark);
}

.cookie-btn--secondary {
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.cookie-btn--secondary:hover {
    background: var(--border);
}

.cookie-btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.cookie-btn--ghost:hover {
    color: var(--text);
    border-color: var(--text-muted);
}

/* Customization panel */
.cookie-panel {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.cookie-panel__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem;
}

.cookie-panel h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.cookie-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-toggle__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.125rem;
}

.cookie-toggle__desc {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-toggle__always-on {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    white-space: nowrap;
    padding-top: 0.125rem;
}

/* Toggle switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 2.5rem;
    height: 1.375rem;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-switch__slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 1rem;
    transition: background var(--transition);
}

.cookie-switch__slider::before {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    left: 0.1875rem;
    top: 0.1875rem;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-switch__slider {
    background: var(--primary);
}

.cookie-switch input:checked + .cookie-switch__slider::before {
    transform: translateX(1.125rem);
}

.cookie-switch input:focus-visible + .cookie-switch__slider {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.cookie-panel__actions {
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 640px) {
    .cookie-banner__inner {
        flex-direction: row;
        align-items: center;
        padding: 1.25rem 1.5rem;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__actions {
        flex-wrap: nowrap;
    }

    .cookie-panel__inner {
        padding: 1.5rem;
    }
}
