:root {
    --color-primary: 244 84% 58%;
    --color-secondary: 239 55% 42%;
    --color-neutral: 222 36% 88%;
    --color-base: 229 43% 11%;
    --color-muted: 225 20% 42%;
    --color-inverted: 0 0% 100%;
    --color-background: 0 0% 100%;
    --color-background-secondary: 222 56% 98%;
}

.dark {
    --color-primary: 244 84% 64%;
    --color-secondary: 239 55% 60%;
    --color-neutral: 226 36% 18%;
    --color-base: 0 0% 100%;
    --color-muted: 226 24% 72%;
    --color-inverted: 229 43% 11%;
    --color-background: 229 45% 8%;
    --color-background-secondary: 228 35% 11%;
}

.wpsec-client-shell {
    font-family: Inter, Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(rgba(79, 70, 229, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.035) 1px, transparent 1px),
        hsl(var(--color-background));
    background-size: 64px 64px;
}

.wpsec-client-shell nav {
    background: rgba(255, 255, 255, 0.92);
    border-color: hsl(var(--color-neutral));
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(18px);
}

.dark .wpsec-client-shell nav {
    background: rgba(15, 23, 42, 0.9);
}

.wpsec-client-shell main {
    background: transparent;
}

.wpsec-client-shell .container {
    max-width: 1120px;
}

.wpsec-client-shell h1,
.wpsec-client-shell h2,
.wpsec-client-shell h3,
.wpsec-client-shell h4,
.wpsec-client-shell .text-xl,
.wpsec-client-shell .text-2xl,
.wpsec-client-shell .text-3xl {
    letter-spacing: 0;
    color: hsl(var(--color-base));
}

.wpsec-client-shell .wpsec-client-hero {
    margin-top: 18px;
    border: 1px solid hsl(var(--color-neutral));
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(255, 255, 255, 0) 42%),
        hsl(var(--color-background));
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.06);
}

.wpsec-client-shell .wpsec-client-hero article {
    max-width: 760px;
}

.wpsec-client-shell .wpsec-client-hero article :is(h1, h2, h3) {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.98;
    max-width: 760px;
}

.wpsec-client-shell .wpsec-client-hero article p {
    max-width: 680px;
    color: hsl(var(--color-muted));
    font-size: 1.05rem;
    line-height: 1.7;
}

.wpsec-client-shell .bg-background-secondary {
    background-color: rgba(255, 255, 255, 0.82);
}

.dark .wpsec-client-shell .bg-background-secondary {
    background-color: rgba(15, 23, 42, 0.82);
}

.wpsec-client-shell .rounded-lg,
.wpsec-client-shell .rounded-md {
    border-radius: 8px;
}

.wpsec-client-shell [class*="border"] {
    border-color: hsl(var(--color-neutral));
}

.wpsec-client-shell footer {
    background: rgba(248, 250, 252, 0.94);
    border-color: hsl(var(--color-neutral));
}

.wpsec-client-shell button,
.wpsec-client-shell a {
    letter-spacing: 0;
}

.wpsec-client-shell .bg-primary {
    background-color: hsl(var(--color-base));
}

.wpsec-client-shell .hover\:bg-primary\/90:hover {
    background-color: hsl(229 43% 17%);
}

.wpsec-client-shell .text-primary {
    color: hsl(var(--color-primary));
}

.wpsec-client-shell .border-primary {
    border-color: hsl(var(--color-primary));
}

.wpsec-client-shell .ring-primary {
    --tw-ring-color: hsl(var(--color-primary));
}

.wpsec-client-shell .wpsec-tos-check {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    margin: 0.5rem 0 0.75rem;
    padding: 0.75rem;
    border: 1px solid hsl(var(--color-neutral));
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.wpsec-client-shell .wpsec-tos-input {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    margin-top: 0.1rem;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative;
    z-index: 1;
}

.wpsec-client-shell .wpsec-tos-input:checked {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: hsl(var(--color-primary));
    border-color: hsl(var(--color-primary));
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
}

.wpsec-client-shell .wpsec-tos-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.wpsec-client-shell .wpsec-tos-copy label {
    cursor: pointer;
    color: hsl(var(--color-base));
}

@media (max-width: 768px) {
    .wpsec-client-shell .wpsec-client-hero {
        margin-top: 0;
        padding: 2rem 1rem;
    }

    .wpsec-client-shell .wpsec-client-hero article :is(h1, h2, h3) {
        font-size: 2.2rem;
        line-height: 1.05;
    }
}
