:root {
    --cw-color-bg: #f7fafb;
    --cw-color-surface: #ffffff;
    --cw-color-surface-soft: #eff7f7;
    --cw-color-text: #17263f;
    --cw-color-text-soft: #66768a;
    --cw-color-border: #dbe6eb;
    --cw-color-primary: #1675d1;
    --cw-color-primary-hover: #105fad;
    --cw-color-accent: #27c1c5;
    --cw-color-shadow: rgba(23, 38, 63, 0.08);
    --cw-radius-sm: 12px;
    --cw-radius-md: 18px;
    --cw-radius-lg: 28px;
    --cw-container-width: 1160px;
    --cw-container-medium: 980px;
    --cw-container-narrow: 780px;
    --cw-transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body.cw-body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--cw-color-text);
    background: var(--cw-color-bg);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.cw-container {
    width: min(var(--cw-container-width), calc(100% - 2rem));
    margin: 0 auto;
}

.cw-medium {
    width: min(var(--cw-container-medium), calc(100% - 2rem));
    margin: 0 auto;
}

.cw-narrow {
    width: min(var(--cw-container-narrow), calc(100% - 2rem));
    margin: 0 auto;
}

.cw-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 250, 251, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(219, 230, 235, 0.7);
}

.cw-header-row {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cw-brand {
    display: inline-flex;
    align-items: center;
}

.cw-brand-logo {
    height: 44px;
    width: auto;
}

.cw-primary-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.95rem;
    color: var(--cw-color-text-soft);
}

    .cw-primary-nav a {
        transition: color var(--cw-transition);
    }

        .cw-primary-nav a:hover {
            color: var(--cw-color-text);
        }

.cw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: background-color var(--cw-transition), border-color var(--cw-transition), color var(--cw-transition), transform var(--cw-transition);
}

    .cw-btn:hover {
        transform: translateY(-1px);
    }

.cw-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cw-color-primary), var(--cw-color-accent));
    box-shadow: 0 14px 30px rgba(22, 117, 209, 0.18);
}

    .cw-btn-primary:hover {
        background: linear-gradient(135deg, var(--cw-color-primary-hover), #22aeb2);
    }

.cw-btn-secondary {
    color: var(--cw-color-text);
    background: #ffffff;
    border-color: var(--cw-color-border);
}

    .cw-btn-secondary:hover {
        border-color: #bfd0d8;
        background: #fcfefe;
    }

.cw-main {
    min-height: calc(100vh - 140px);
}

.cw-section {
    padding: 5.5rem 0;
}

.cw-section-soft {
    background: linear-gradient(180deg, #f4fbfb 0%, #f7fafb 100%);
}

.cw-section-cta {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.cw-hero {
    text-align: center;
    padding-top: 2rem;
}

.cw-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #edf9f8;
    color: #1f7f84;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #d2f1ef;
}

.cw-display {
    max-width: 860px;
    margin: 1.4rem auto 1rem;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.cw-gradient-text {
    background: linear-gradient(135deg, var(--cw-color-primary), var(--cw-color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cw-lead {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--cw-color-text-soft);
}

.cw-sublead {
    margin: 0.8rem 0 0;
    font-size: 1rem;
    color: #7c8a9a;
}

.cw-hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cw-showcase-frame {
    margin: 3.5rem auto 0;
    padding: 2rem;
    border-radius: var(--cw-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(219, 230, 235, 0.9);
    box-shadow: 0 28px 80px var(--cw-color-shadow);
    max-width: 980px;
}

.cw-showcase-frame-large {
    max-width: 1080px;
}

.cw-showcase-image {
    width: 100%;
    border-radius: 22px;
}

.cw-section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

    .cw-section-heading h2 {
        margin: 0 0 0.9rem;
        font-size: clamp(2rem, 4vw, 3rem);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .cw-section-heading p {
        margin: 0;
        font-size: 1.05rem;
        color: var(--cw-color-text-soft);
    }

.cw-card-grid {
    display: grid;
    gap: 1.25rem;
}

.cw-card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cw-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cw-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cw-feature-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--cw-radius-md);
    background: var(--cw-color-surface);
    border: 1px solid var(--cw-color-border);
    box-shadow: 0 14px 36px rgba(23, 38, 63, 0.05);
}

    .cw-feature-card h3 {
        margin: 0 0 0.6rem;
        font-size: 1.1rem;
    }

    .cw-feature-card p {
        margin: 0;
        color: var(--cw-color-text-soft);
        font-size: 0.98rem;
    }

.cw-feature-card-centered {
    text-align: center;
}

.cw-feature-card-inline {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cw-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf9f8;
    color: #1f7f84;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cw-feature-card-inline .cw-feature-icon {
    margin-bottom: 0;
}

.cw-bullet-strip {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cw-bullet-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    color: var(--cw-color-text);
}

.cw-bullet-check {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #edf9f8;
    color: #178085;
    font-size: 0.85rem;
}

.cw-steps {
    display: grid;
    gap: 1.4rem;
}

.cw-step {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 1rem;
    align-items: start;
}

.cw-step-number {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cw-color-primary), var(--cw-color-accent));
    box-shadow: 0 14px 30px rgba(22, 117, 209, 0.16);
}

.cw-step-body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
}

.cw-step-body p {
    margin: 0;
    color: var(--cw-color-text-soft);
}

.cw-cta-panel {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--cw-radius-lg);
    background: linear-gradient(135deg, var(--cw-color-primary), var(--cw-color-accent));
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(22, 117, 209, 0.22);
}

    .cw-cta-panel h2 {
        margin: 0 0 0.9rem;
        font-size: clamp(2rem, 4vw, 3rem);
        line-height: 1.08;
    }

    .cw-cta-panel p {
        margin: 0 auto 1.5rem;
        max-width: 620px;
        color: rgba(255, 255, 255, 0.9);
    }

    .cw-cta-panel .cw-btn-primary {
        background: #ffffff;
        color: var(--cw-color-primary);
        box-shadow: none;
    }

.cw-btn-light {
    background: #ffffff;
    color: var(--cw-color-primary);
    box-shadow: none;
}

.cw-early-access-form {
    margin-top: 1.75rem;
    text-align: left;
}

.cw-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cw-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cw-field-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
}

.cw-input {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    outline: none;
}

    .cw-input::placeholder {
        color: rgba(255, 255, 255, 0.72);
    }

    .cw-input:focus {
        border-color: rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.18);
    }

.cw-checkbox {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
}

    .cw-checkbox input {
        margin-top: 0.2rem;
    }

.cw-form-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

.cw-form-helper {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.cw-form-status {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
}

.cw-form-status-success {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.cw-form-status-error {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.cw-validation-summary {
    margin: 0 0 1rem;
    color: #ffffff;
    text-align: left;
}

    .cw-validation-summary:empty {
        display: none;
    }

    .cw-validation-summary ul {
        margin: 0;
        padding-left: 1.2rem;
    }

.cw-field-error {
    display: block;
    margin-top: 0.35rem;
    color: #ffffff;
    font-size: 0.88rem;
}

.cw-checkbox input[type="checkbox"] {
    accent-color: var(--cw-color-primary);
}

.cw-form-legal {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

    .cw-form-legal a {
        color: #ffffff;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

.cw-legal-page {
    padding: 4.5rem 0 5.5rem;
}

.cw-legal-card {
    padding: 2rem;
    border-radius: var(--cw-radius-lg);
    background: var(--cw-color-surface);
    border: 1px solid var(--cw-color-border);
    box-shadow: 0 18px 48px rgba(23, 38, 63, 0.06);
}

.cw-legal-eyebrow {
    margin: 0 0 0.75rem;
    color: var(--cw-color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cw-legal-card h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.cw-legal-card h2 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.1rem;
}

.cw-legal-card p {
    margin: 0;
    color: var(--cw-color-text-soft);
}

.cw-footer-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

    .cw-footer-nav a {
        font-size: 0.95rem;
        color: var(--cw-color-text-soft);
        transition: color var(--cw-transition);
    }

        .cw-footer-nav a:hover {
            color: var(--cw-color-text);
        }

.cw-site-footer {
    border-top: 1px solid rgba(219, 230, 235, 0.7);
    background: #f0f5f6;
}

.cw-footer-row {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-footer-copy {
    margin: 0;
    font-size: 0.95rem;
    color: var(--cw-color-text-soft);
}

.cw-cookie-banner[hidden],
.cw-cookie-preferences[hidden],
.cw-cookie-settings-button[hidden] {
    display: none !important;
}

.cw-cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
}

.cw-cookie-card {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--cw-color-border);
    box-shadow: 0 24px 60px rgba(23, 38, 63, 0.18);
}

.cw-cookie-copy h2 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
}

.cw-cookie-copy p {
    margin: 0;
    color: var(--cw-color-text-soft);
}

.cw-cookie-copy a {
    color: var(--cw-color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cw-cookie-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cw-cookie-preferences {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cw-color-border);
}

.cw-cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

    .cw-cookie-option + .cw-cookie-option {
        border-top: 1px solid rgba(219, 230, 235, 0.65);
    }

.cw-cookie-option-copy h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.cw-cookie-option-copy p {
    margin: 0;
    color: var(--cw-color-text-soft);
    font-size: 0.95rem;
}

.cw-cookie-preferences-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.cw-switch {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 32px;
    min-width: 54px;
}

    .cw-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cw-switch-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #d8e3e8;
    transition: var(--cw-transition);
    border-radius: 999px;
}

    .cw-switch-slider::before {
        content: "";
        position: absolute;
        width: 24px;
        height: 24px;
        left: 4px;
        top: 4px;
        background: #ffffff;
        transition: var(--cw-transition);
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(23, 38, 63, 0.12);
    }

.cw-switch input:checked + .cw-switch-slider {
    background: linear-gradient(135deg, var(--cw-color-primary), var(--cw-color-accent));
}

    .cw-switch input:checked + .cw-switch-slider::before {
        transform: translateX(22px);
    }

.cw-switch input:disabled + .cw-switch-slider {
    opacity: 0.8;
    cursor: not-allowed;
}

.cw-cookie-settings-button {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1100;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--cw-color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--cw-color-text);
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(23, 38, 63, 0.12);
    cursor: pointer;
    transition: transform var(--cw-transition), background-color var(--cw-transition), box-shadow var(--cw-transition);
}

    .cw-cookie-settings-button:hover {
        background: #ffffff;
    }

    .cw-cookie-settings-button:focus-visible {
        outline: 2px solid var(--cw-color-primary);
        outline-offset: 2px;
    }

@media (hover: hover) and (pointer: fine) {
    .cw-cookie-settings-button {
        transform: translateY(calc(100% - 12px));
    }

        .cw-cookie-settings-button:hover,
        .cw-cookie-settings-button:focus-visible {
            transform: translateY(0);
            box-shadow: 0 18px 40px rgba(23, 38, 63, 0.16);
        }
}

@media (max-width: 1080px) {
    .cw-card-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cw-card-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .cw-primary-nav {
        display: none;
    }

    .cw-header-row {
        min-height: 72px;
    }

    .cw-brand-logo {
        height: 38px;
    }

    .cw-section {
        padding: 4.5rem 0;
    }

    .cw-showcase-frame {
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .cw-card-grid-2,
    .cw-card-grid-3,
    .cw-card-grid-4,
    .cw-form-grid {
        grid-template-columns: 1fr;
    }

    .cw-step {
        grid-template-columns: 1fr;
    }

    .cw-step-number {
        width: 56px;
        height: 56px;
    }

    .cw-feature-card-inline {
        display: block;
    }

        .cw-feature-card-inline .cw-feature-icon {
            margin-bottom: 1rem;
        }

    .cw-footer-row {
        padding: 1rem 0;
        flex-direction: column;
        gap: 0.6rem;
    }

    .cw-footer-nav {
        justify-content: center;
    }

    .cw-cookie-option {
        align-items: flex-start;
    }

    .cw-cookie-preferences-actions {
        justify-content: stretch;
    }

        .cw-cookie-preferences-actions .cw-btn {
            width: 100%;
        }
}

@media (max-width: 640px) {
    .cw-container,
    .cw-medium,
    .cw-narrow {
        width: min(100%, calc(100% - 1.25rem));
    }

    .cw-hero {
        padding-top: 1rem;
    }

    .cw-display {
        margin-top: 1.15rem;
    }

    .cw-btn {
        width: 100%;
    }

    .cw-hero-actions {
        flex-direction: column;
    }

    .cw-showcase-frame {
        margin-top: 2.5rem;
    }

    .cw-cta-panel {
        padding: 2.2rem 1.25rem;
    }

    .cw-cookie-actions {
        flex-direction: column;
    }

        .cw-cookie-actions .cw-btn {
            width: 100%;
        }

    .cw-cookie-settings-button {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100% - 1.5rem);
    }
}
