:root {
    --primary-color: #202123;
    --secondary-color: #45494c;
    --accent-color: #376df9;
    --hover-color: #439fff;
    --text-color: #f5f5f5;
    --box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --input-bg: rgba(32, 33, 35, 0.8);
    --hover-ring: rgba(67, 159, 255, 0.3);
    --hover-bg-strong: rgba(67, 159, 255, 0.12);
    --hover-bg-emphasis: rgba(67, 159, 255, 0.15);
    --text-muted: #888;
    --text-placeholder: #999;
    --text-light: #bbb;
}

/*--------------------------------------------------------------
# Scrollbar
--------------------------------------------------------------*/

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    box-sizing: border-box;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
    font-family: var(--font-sans);
}

.main {
    width: 400px;
    background: var(--secondary-color);
    color: var(--text-color);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

/*--------------------------------------------------------------
# Tab Header
--------------------------------------------------------------*/

.tab-header {
    display: flex;
    background: rgba(0, 0, 0, 0.15);
}

.tab-btn {
    flex: 1;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    width: auto;
    border-radius: 0;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
}

.tab-btn.active {
    color: #fff;
    border-bottom-color: var(--hover-color);
    background: transparent;
}

/*--------------------------------------------------------------
# Tab Content
--------------------------------------------------------------*/

.tab-content {
    position: relative;
    padding: 28px 0 8px;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

/*--------------------------------------------------------------
# Input Group
--------------------------------------------------------------*/

.input-group {
    width: 72%;
    margin: 10px auto;
    display: flex;
    align-items: center;
    background: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 6px;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--hover-color);
    box-shadow: 0 0 0 3px var(--hover-bg-strong);
}

.input-group > i {
    padding: 0 0 0 14px;
    color: var(--text-muted);
    font-size: 14px;
    min-width: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.input-group:focus-within > i {
    color: var(--hover-color);
}

.input-group input {
    flex: 1;
    height: auto;
    margin: 0;
    padding: 13px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: block;
    font-size: 14px;
    color: var(--text-color);
    outline: none;
    font-family: inherit;
}

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

.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(32, 33, 35, 0.8) inset !important;
    -webkit-text-fill-color: var(--text-color) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--text-color);
}

/*--------------------------------------------------------------
# Password Toggle
--------------------------------------------------------------*/

.password-toggle {
    all: unset !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box !important;
    transition: color 0.3s ease !important;
}

.password-toggle i {
    display: block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
}

.password-toggle:hover {
    color: var(--hover-color) !important;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

button {
    width: 72%;
    height: 44px;
    margin: 10px auto;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    background: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    margin-top: 18px;
    outline: none;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.3px;
    font-family: inherit;
}

button:hover {
    background-color: var(--hover-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--hover-ring);
}

button:active {
    transform: translateY(0);
}

#loginBtn {
    color: #fff;
    background-color: var(--accent-color);
}

#signupBtn {
    color: #fff;
}

#loginBtn:hover {
    background-color: var(--hover-color);
    box-shadow: 0 4px 12px var(--hover-ring);
}

/*--------------------------------------------------------------
# Links & Footer
--------------------------------------------------------------*/

#forgotPasswordLink {
    text-align: center;
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

#forgotPasswordLink:hover {
    color: #fff;
    text-decoration: underline;
}

#supportBtn {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 5vw;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#supportBtn:hover {
    color: #fff;
}

/*--------------------------------------------------------------
# Single Form Pages (forgot / reset password)
--------------------------------------------------------------*/

.main.single-form {
    height: auto;
    padding: 40px 0;
}

.main.single-form .signup {
    height: auto;
}

.main.single-form .signup form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main.single-form button[type='submit'] {
    color: #fff;
}

.main.single-form label {
    font-size: 20px;
    margin: 16px 40px 8px;
    cursor: default;
}

.form-icon-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hover-bg-emphasis);
    border-radius: 50%;
    font-size: 20px;
    color: var(--hover-color);
}

.form-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 40px 20px;
}

/*--------------------------------------------------------------
# Terms & Conditions (SweetAlert)
--------------------------------------------------------------*/

.terms-conditions {
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: var(--font-sans);
    max-height: 400px;
    overflow-y: auto;
}

.terms-conditions h3 {
    margin-bottom: 15px;
    color: var(--hover-color);
    font-weight: 600;
}

.terms-conditions p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/*--------------------------------------------------------------
# SweetAlert2 Overrides
--------------------------------------------------------------*/

/* Popup container */
.swal2-popup {
    font-family: var(--font-sans);
    border: 1px solid var(--secondary-color) !important;
    border-radius: 12px !important;
    background-color: var(--primary-color) !important;
    color: var(--text-color) !important;
}

/* Title */
.swal2-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--text-color) !important;
}

/* Body text */
.swal2-html-container {
    font-size: 14px !important;
    background-color: var(--primary-color) !important;
    color: var(--text-color) !important;
}

/* Input fields */
.swal2-input,
.swal2-textarea,
.swal2-select {
    font-size: 14px !important;
    border-radius: 6px !important;
    border: 1px solid var(--secondary-color) !important;
    background-color: var(--input-bg) !important;
    color: var(--text-color) !important;
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px var(--hover-ring) !important;
    outline: none !important;
}

/* Buttons */
.swal2-confirm {
    background-color: var(--accent-color) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 120px;
}

.swal2-cancel {
    background-color: #ff4d4d !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 120px;
}

.swal2-deny {
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.swal2-confirm:focus,
.swal2-cancel:focus,
.swal2-deny:focus {
    box-shadow: 0 0 0 3px var(--hover-ring) !important;
}

/* Close button */
.swal2-close {
    color: var(--text-color) !important;
}

.swal2-close:hover {
    color: #ff4d4d !important;
}

.swal2-close:focus {
    box-shadow: none !important;
}

/* Validation message */
.swal2-validation-message {
    font-size: 14px !important;
    background-color: var(--secondary-color) !important;
    color: var(--text-color) !important;
    border-radius: 6px !important;
}

/* Footer */
.swal2-footer {
    color: var(--text-color) !important;
    border-top-color: var(--secondary-color) !important;
    font-size: 14px !important;
}

/* Timer progress bar */
.swal2-timer-progress-bar-container {
    background: var(--secondary-color) !important;
}

.swal2-timer-progress-bar {
    background: var(--accent-color) !important;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 480px) {
    .main {
        width: 92vw;
        min-width: 300px;
    }
}

/*--------------------------------------------------------------
# SaaS Landing (home page only -> body.home)
--------------------------------------------------------------*/

body.home {
    --cursor-light-color: rgba(67, 159, 255, 0.1);
    display: block;
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(1400px 900px at 0% -20%, rgba(55, 109, 249, 0.11), transparent 70%),
        radial-gradient(1200px 900px at 105% -10%, rgba(67, 159, 255, 0.07), transparent 68%), var(--primary-color);
    background-repeat: no-repeat;
    color: var(--text-color);
}

.cursor-light {
    position: fixed;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        480px circle at var(--cursor-light-x, 50vw) var(--cursor-light-y, 35vh),
        var(--cursor-light-color),
        transparent 70%
    );
    transition: opacity 0.4s ease;
}

.cursor-light.is-visible {
    opacity: 1;
}

body.home > :not(.cursor-light):not(.page-loading-overlay):not(.swal2-container) {
    position: relative;
    z-index: 1;
}

body.home > .swal2-container {
    position: fixed;
    inset: 0;
    z-index: 1060;
}

/* Top navigation */
.landing-nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.landing-nav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.3px;
}

.landing-nav .brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links .nav-theme {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    margin: 0;
    padding: 0;
    color: var(--text-light);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-size: 18px;
}

.nav-links .nav-theme:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--hover-color);
    box-shadow: none;
    transform: none;
}

.nav-links > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.nav-links > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Override global button rules for nav buttons */
.nav-links .nav-signin,
.nav-links .nav-cta {
    width: auto;
    height: auto;
    margin: 0;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.nav-links .nav-signin {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-links .nav-signin:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--hover-color);
    color: #fff;
    transform: none;
    box-shadow: none;
}

.nav-links .nav-cta {
    background: var(--accent-color);
    color: #fff;
    border: none;
}

.nav-links .nav-cta:hover {
    background: var(--hover-color);
    box-shadow: 0 6px 18px var(--hover-ring);
}

/* Landing grid: hero + auth card */
.landing-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 5vw 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 56px;
    align-items: start;
}

/* Hero */
.hero {
    padding-top: 8px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin-bottom: 22px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--hover-color);
    background: var(--hover-bg-emphasis);
    border: 1px solid var(--hover-ring);
    border-radius: 999px;
}

.hero-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
}

.hero-title .accent {
    color: var(--accent-color);
}

.hero-subtitle {
    margin: 0 0 28px;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-light);
}

.hero-features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    max-width: 560px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-color);
}

.hero-features li i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--hover-color);
    background: var(--hover-bg-strong);
    border-radius: 9px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.hero-actions .hero-cta-primary {
    width: auto;
    height: 52px;
    margin: 0;
    padding: 0 28px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    background: var(--accent-color);
    box-shadow: 0 8px 24px var(--hover-ring);
    cursor: pointer;
}

.hero-actions .hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--hover-ring);
}

.hero-actions .hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    height: 52px;
    margin: 0;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    background: transparent;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-actions .hero-cta-secondary:hover {
    border-color: var(--hover-color);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
}

.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 34px;
    font-size: 13.5px;
    color: var(--text-light);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust i {
    color: #4ed3a2;
    font-size: 16px;
}

.hero-mockup {
    margin: 0;
    padding: 18px 22px 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.hero-mockup figcaption {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.hero-mockup figcaption span {
    width: 8px;
    height: 8px;
    background: #1eae7a;
    border-radius: 50%;
}

.hero-mockup img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Auth card on landing */
.home .main {
    width: 100%;
    margin: 0;
    position: sticky;
    top: 24px;
    padding-bottom: 8px;
}

.auth-intro {
    padding: 26px 28px 4px;
    text-align: center;
}

.auth-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--hover-color);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-intro h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.auth-intro p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-light);
}

.auth-switch-hint {
    margin: 14px 0 4px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

.auth-switch-hint button {
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 2px;
    background: transparent;
    color: var(--hover-color);
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.auth-switch-hint button:hover {
    background: transparent;
    color: #fff;
    transform: none;
    box-shadow: none;
}

.auth-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 4px;
    padding: 0 20px;
}

.auth-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.auth-badges span i {
    color: var(--hover-color);
    font-size: 13px;
}

/* Product workflow */
.workflow-band {
    padding: 80px max(5vw, calc((100vw - 1240px) / 2));
    background: #292b2e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
    max-width: 650px;
    margin-bottom: 48px;
}

.section-heading > span,
.closing-cta span {
    color: var(--hover-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-heading h2,
.closing-cta h2 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: 0;
}

.section-heading p {
    margin: 0;
    color: var(--text-light);
    font-size: 16px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-steps article {
    position: relative;
    min-width: 0;
    padding: 34px 34px 12px 0;
}

.workflow-steps article + article {
    padding-left: 34px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-steps strong {
    position: absolute;
    top: 18px;
    right: 24px;
    color: var(--text-muted);
    font-size: 12px;
}

.workflow-steps i {
    display: block;
    margin-bottom: 42px;
    color: var(--accent-color);
    font-size: 28px;
}

.workflow-steps h3 {
    margin: 0 0 10px;
    color: var(--text-color);
    font-size: 18px;
}

.workflow-steps p {
    max-width: 310px;
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.65;
}

.closing-cta {
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.closing-cta h2 {
    max-width: 680px;
    margin-bottom: 0;
    font-size: clamp(26px, 3vw, 38px);
}

.closing-cta .closing-cta-button {
    width: auto;
    min-width: 160px;
    height: 50px;
    margin: 0;
    padding: 0 22px;
    color: #fff;
}

.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Light theme shares the dashboard preference stored in localStorage.mode. */
html[data-theme='light'] {
    color-scheme: light;
    --primary-color: #f6f8fc;
    --secondary-color: #ffffff;
    --accent-color: #245edb;
    --hover-color: #174cbf;
    --text-color: #202733;
    --box-shadow: 0 20px 60px rgba(31, 41, 55, 0.13);
    --input-bg: #f2f5f9;
    --hover-ring: rgba(36, 94, 219, 0.2);
    --hover-bg-strong: rgba(36, 94, 219, 0.09);
    --hover-bg-emphasis: rgba(36, 94, 219, 0.11);
    --text-muted: #697386;
    --text-placeholder: #7c8799;
    --text-light: #556176;
}

html[data-theme='light'] ::-webkit-scrollbar-thumb {
    background: #b8c0cc;
}

html[data-theme='light'] body.home {
    --cursor-light-color: rgba(36, 94, 219, 0.07);
    background:
        radial-gradient(1400px 900px at 0% -20%, rgba(36, 94, 219, 0.08), transparent 70%),
        radial-gradient(1200px 900px at 105% -10%, rgba(67, 159, 255, 0.05), transparent 68%), var(--primary-color);
}

html[data-theme='light'] .landing-nav .brand img {
    background-color: #172033;
    border-radius: 50%;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .cursor-light {
        display: none;
    }
}

html[data-theme='light'] .landing-nav .brand,
html[data-theme='light'] .hero-title,
html[data-theme='light'] .auth-intro h2,
html[data-theme='light'] .section-heading h2,
html[data-theme='light'] .closing-cta h2 {
    color: #172033;
}

html[data-theme='light'] .nav-links > a:hover,
html[data-theme='light'] .nav-links .nav-signin:hover,
html[data-theme='light'] .nav-links .nav-theme:hover,
html[data-theme='light'] .hero-actions .hero-cta-secondary:hover,
html[data-theme='light'] .auth-switch-hint button:hover,
html[data-theme='light'] #forgotPasswordLink:hover,
html[data-theme='light'] #supportBtn:hover {
    color: #172033;
}

html[data-theme='light'] .nav-links > a:hover,
html[data-theme='light'] .nav-links .nav-signin:hover,
html[data-theme='light'] .nav-links .nav-theme:hover,
html[data-theme='light'] .hero-actions .hero-cta-secondary:hover {
    background: rgba(36, 94, 219, 0.07);
}

html[data-theme='light'] .nav-links .nav-signin,
html[data-theme='light'] .nav-links .nav-theme,
html[data-theme='light'] .hero-actions .hero-cta-secondary {
    border-color: #cdd4df;
}

html[data-theme='light'] .main {
    border: 1px solid #dce2eb;
}

html[data-theme='light'] .tab-header {
    background: #eef2f7;
}

html[data-theme='light'] .tab-btn {
    color: #697386;
}

html[data-theme='light'] .tab-btn:hover {
    color: #344054;
    background: rgba(36, 94, 219, 0.05);
}

html[data-theme='light'] .tab-btn.active {
    color: #172033;
}

html[data-theme='light'] .input-group {
    border-color: #e1e6ee;
}

html[data-theme='light'] .input-group input:-webkit-autofill,
html[data-theme='light'] .input-group input:-webkit-autofill:hover,
html[data-theme='light'] .input-group input:-webkit-autofill:focus,
html[data-theme='light'] .input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f2f5f9 inset !important;
}

html[data-theme='light'] #forgotPasswordLink,
html[data-theme='light'] #supportBtn {
    color: #697386;
}

html[data-theme='light'] .landing-footer,
html[data-theme='light'] .auth-badges span,
html[data-theme='light'] .hero-mockup,
html[data-theme='light'] .workflow-band,
html[data-theme='light'] .workflow-steps,
html[data-theme='light'] .workflow-steps article + article {
    border-color: #dce2eb;
}

html[data-theme='light'] .auth-badges span,
html[data-theme='light'] .hero-mockup {
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme='light'] .workflow-band {
    background: #edf2f8;
}

@media screen and (max-width: 560px) {
    html[data-theme='light'] .workflow-steps article,
    html[data-theme='light'] .workflow-steps article + article {
        border-color: #dce2eb;
    }
}

/* Landing responsive */
@media screen and (max-width: 980px) {
    .landing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 560px;
    }

    .home .main {
        position: static;
    }

    .hero {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .workflow-band {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

@media screen and (max-width: 560px) {
    .nav-links > a,
    .nav-links .nav-signin {
        display: none;
    }

    .nav-links .nav-cta {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-actions .hero-cta-primary,
    .hero-actions .hero-cta-secondary {
        width: 100%;
    }

    .home .main {
        width: 92vw;
        min-width: 300px;
        margin: 0 auto;
    }

    .landing-grid {
        padding-top: 12px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-mockup {
        padding: 14px 12px 4px;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .workflow-steps article,
    .workflow-steps article + article {
        padding: 28px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .workflow-steps i {
        margin-bottom: 24px;
    }

    .closing-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}
