:root {
    --background: #f7f8fa;
    --surface: #ffffff;
    --ink: #172033;
    --muted: #5f6878;
    --navy: #18243a;
    --blue: #355f96;
    --gold: #c7a15a;
    --gold-light: #e8d2a6;
    --border: #dfe4eb;
    --shadow: 0 22px 55px rgba(24, 36, 58, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(199, 161, 90, 0.15), transparent 30%),
        var(--background);
    color: var(--ink);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

.site-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1240px;
    padding: 22px 28px;
}

.brand {
    align-items: center;
    display: flex;
    font-size: 1.03rem;
    font-weight: 800;
    gap: 12px;
    letter-spacing: -0.02em;
}

.brand img {
    border-radius: 14px;
    display: block;
}

nav {
    align-items: center;
    display: flex;
    gap: 28px;
}

nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
}

.nav-button,
.primary-button {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: 1px solid rgba(109, 77, 22, 0.18);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(123, 88, 28, 0.18);
    color: #242014;
    display: inline-block;
    font-weight: 800;
    padding: 12px 19px;
}

.hero {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
    margin: 35px auto 0;
    max-width: 1240px;
    min-height: 640px;
    padding: 30px 28px 70px;
}

.hero-copy {
    max-width: 700px;
}

.eyebrow {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    color: var(--navy);
    font-size: clamp(3rem, 6vw, 5.6rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin-bottom: 26px;
}

h2 {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    max-width: 780px;
}

.hero-description {
    color: var(--muted);
    font-size: 1.18rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 13px;
}

.primary-button,
.secondary-button {
    border-radius: 12px;
    font-weight: 800;
    padding: 15px 22px;
}

.secondary-button {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--navy);
}

.trial-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-art {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-art::before {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95),
        rgba(234, 238, 244, 0.78)
    );
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: var(--shadow);
    content: "";
    height: 92%;
    position: absolute;
    width: 92%;
}

.hero-art img {
    display: block;
    height: auto;
    max-width: 100%;
    position: relative;
    width: 660px;
    z-index: 1;
}

.trust-strip {
    background: var(--navy);
    color: white;
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: 1240px;
}

.trust-strip div {
    padding: 26px 28px;
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip span {
    color: #c8d0dc;
    font-size: 0.9rem;
    margin-top: 5px;
}

.section {
    margin: 0 auto;
    max-width: 1240px;
    padding: 110px 28px;
}

.steps {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
}

.steps article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(24, 36, 58, 0.06);
    padding: 30px;
}

.steps article > span {
    align-items: center;
    background: var(--navy);
    border-radius: 50%;
    color: white;
    display: flex;
    font-weight: 850;
    height: 42px;
    justify-content: center;
    margin-bottom: 25px;
    width: 42px;
}

.steps h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.steps p {
    color: var(--muted);
    margin-bottom: 0;
}

.pricing-preview {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    margin-bottom: 110px;
    padding: 55px;
}

.pricing-preview h2 {
    margin-bottom: 0;
}

footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.88rem;
    padding: 30px;
    text-align: center;
}

@media (max-width: 900px) {
    nav a:not(.nav-button) {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
    }

    .hero-art {
        margin: 0 auto;
        max-width: 620px;
    }

    .trust-strip,
    .steps {
        grid-template-columns: 1fr;
    }

    .pricing-preview {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
        margin-left: 18px;
        margin-right: 18px;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 16px 18px;
    }

    .brand span {
        font-size: 0.9rem;
    }

    .brand img {
        height: 45px;
        width: 45px;
    }

    .nav-button {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 18px 55px;
    }

    h1 {
        font-size: 3.15rem;
    }

    .section {
        padding: 80px 18px;
    }

    .pricing-preview {
        padding: 35px 25px;
    }
}

.auth-page {
    display: flex;
    justify-content: center;
    padding: 65px 18px 110px;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    max-width: 620px;
    padding: 45px;
    width: 100%;
}

.auth-card h1 {
    font-size: clamp(2.35rem, 6vw, 3.7rem);
    margin-bottom: 18px;
}

.auth-intro,
.auth-footnote {
    color: var(--muted);
}

.auth-card form {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.auth-card label {
    color: var(--navy);
    display: grid;
    font-weight: 750;
    gap: 8px;
}

.auth-card input {
    border: 1px solid var(--border);
    border-radius: 11px;
    font: inherit;
    padding: 13px 14px;
    width: 100%;
}

.auth-card input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(53, 95, 150, 0.13);
    outline: none;
}

.auth-card small {
    color: var(--muted);
    font-weight: 500;
}

.auth-submit {
    cursor: pointer;
    font: inherit;
    margin-top: 6px;
    width: 100%;
}

.form-errors {
    background: #fff1f1;
    border: 1px solid #e8b5b5;
    border-radius: 12px;
    color: #7d2424;
    margin-top: 25px;
    padding: 17px 20px;
}

.form-errors ul {
    margin-bottom: 0;
}

.auth-footnote {
    font-size: 0.88rem;
    margin: 22px 0 0;
    text-align: center;
}

.auth-success p {
    color: var(--muted);
    margin-bottom: 30px;
}

.nav-login {
    color: var(--navy);
    font-weight: 750;
    text-decoration: none;
}

.nav-login:hover {
    text-decoration: underline;
}

.dashboard-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.dashboard-actions form {
    margin: 0;
}

.dashboard-actions .secondary-button {
    cursor: pointer;
    font: inherit;
}

.secondary-button:hover {
    border-color: var(--blue);
}

.account-role {
    color: var(--muted);
    margin: 20px 0;
}

.dashboard-status {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin: 24px 0;
    padding: 20px;
}

.dashboard-status p {
    margin: 8px 0 0;
}

.dashboard-status--success {
    background: #edf8f1;
    border-color: #afd5bb;
    color: #245c36;
}

.dashboard-status--warning {
    background: #fff8e7;
    border-color: #e8cc85;
    color: #735515;
}

.dashboard-gate {
    border-radius: 10px;
    font-weight: 700;
    padding: 13px 15px;
}

.dashboard-gate--open {
    background: #edf8f1;
    color: #245c36;
}

.dashboard-gate--blocked {
    background: #fff1f1;
    color: #7d2424;
}
