* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #111827;
    background: #ffffff;
}

a {
    color: inherit;
}

.public-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* HEADER */

.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(14px);
}

.public-header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.public-nav a {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
}

.public-nav a:hover {
    color: #111827;
}

.public-login-button {
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}


/* HERO */

.hero {
    padding: 92px 0 105px;
    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #f7f8fa 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(460px, 0.95fr);
    gap: 70px;
    align-items: center;
}

.hero-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    margin-bottom: 22px;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(44px, 5vw, 69px);
    line-height: 1.02;
    letter-spacing: -3px;
}

.hero-text {
    max-width: 680px;
    margin: 30px 0 0;
    color: #5b6472;
    font-size: 19px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.public-primary-button,
.public-secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 650;
    font-size: 14px;
}

.public-primary-button {
    background: #0f172a;
    color: white;
}

.public-secondary-button {
    border: 1px solid #d1d5db;
    background: white;
    color: #111827;
}

.hero-note {
    margin-top: 22px;
    max-width: 620px;
    color: #8a94a3;
    font-size: 12px;
    line-height: 1.55;
}


/* PRODUCT PREVIEW */

.hero-product-card {
    background: #0d1727;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.20);
}

.product-window-top {
    height: 42px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid #263244;
}

.product-window-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #475569;
}

.product-window-top div {
    margin-left: auto;
    color: #64748b;
    font-size: 10px;
}

.product-window {
    min-height: 430px;
    display: grid;
    grid-template-columns: 150px 1fr;
}

.demo-sidebar {
    padding: 26px 17px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #94a3b8;
    font-size: 11px;
    border-right: 1px solid #263244;
}

.demo-sidebar strong {
    color: white;
    font-size: 17px;
    margin-bottom: 25px;
}

.demo-sidebar span {
    padding: 8px 9px;
}

.demo-sidebar .demo-active {
    color: white;
    background: #1e293b;
    border-radius: 6px;
}

.demo-content {
    padding: 34px 28px;
    background: #f8fafc;
}

.demo-label {
    font-size: 9px;
    color: #94a3b8;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.demo-content h3 {
    margin: 10px 0 5px;
    font-size: 22px;
}

.demo-meta {
    color: #94a3b8;
    font-size: 11px;
}

.demo-status-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 30px;
}

.demo-status-row div,
.demo-checks div {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    padding: 14px;
}

.demo-status-row span,
.demo-checks span {
    display: block;
    color: #94a3b8;
    font-size: 9px;
    margin-bottom: 7px;
}

.demo-status-row strong,
.demo-checks strong {
    font-size: 11px;
}

.demo-checks {
    display: grid;
    gap: 9px;
    margin-top: 10px;
}


/* COMMON SECTIONS */

.public-section {
    padding: 105px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 52px;
}

.section-heading>span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin: 13px 0;
    font-size: 42px;
    letter-spacing: -1.5px;
}

.section-heading p {
    color: #6b7280;
    font-size: 17px;
    line-height: 1.6;
}


/* FEATURES */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    min-height: 245px;
    padding: 27px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
}

.feature-number {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 45px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}


/* WORKFLOW */

.workflow-section {
    background: #0f172a;
    color: white;
}

.workflow-section .section-heading>span,
.workflow-section .section-heading p {
    color: #94a3b8;
}

.workflow-line {
    display: grid;
    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;
    gap: 18px;
    align-items: start;
}

.workflow-item strong {
    display: inline-flex;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: white;
    color: #0f172a;
}

.workflow-item h3 {
    margin: 22px 0 10px;
    font-size: 18px;
}

.workflow-item p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 13px;
}

.workflow-arrow {
    padding-top: 10px;
    color: #475569;
}


/* PLANS */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.plan-card {
    position: relative;
    min-height: 340px;
    padding: 31px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.plan-card>span {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.plan-card h3 {
    font-size: 27px;
    margin: 15px 0;
}

.plan-card p {
    color: #6b7280;
    line-height: 1.65;
    min-height: 150px;
}

.plan-card>strong {
    display: block;
    margin-top: 20px;
}

.featured-plan {
    border: 2px solid #0f172a;
}

.plan-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: #0f172a;
    color: white;
    font-size: 10px;
    padding: 7px 10px;
    border-radius: 999px;
}


/* ACCESS */

.access-section {
    padding-top: 25px;
}

.access-box {
    padding: 50px;
    border-radius: 17px;
    background: #f6f7f9;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 60px;
}

.access-label {
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.access-box h2 {
    max-width: 650px;
    font-size: 35px;
    margin: 13px 0 20px;
}

.access-box p {
    color: #6b7280;
}

.access-note {
    align-self: center;
    padding: 25px;
    background: white;
    border-radius: 10px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}


/* CTA */

.pilot-section {
    padding: 100px 0;
    background: #0b1220;
    color: white;
    text-align: center;
}

.pilot-inner {
    max-width: 800px;
}

.pilot-inner>span {
    color: #94a3b8;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.pilot-inner h2 {
    margin: 18px auto;
    font-size: 43px;
    letter-spacing: -1.5px;
}

.pilot-inner p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.light-button {
    background: white;
    color: #0f172a;
}


/* FOOTER */

.public-footer {
    padding: 35px 0;
    background: #080f1c;
    color: white;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner span {
    color: #64748b;
    font-size: 12px;
}


/* MOBILE */

@media (max-width: 900px) {

    .public-nav {
        display: none;
    }

    .hero {
        padding-top: 60px;
    }

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

    .hero h1 {
        letter-spacing: -2px;
    }

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

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

    .workflow-arrow {
        display: none;
    }

    .access-box {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .public-container {
        width: min(100% - 30px, 1180px);
    }

    .hero-product-card {
        display: none;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section-heading h2,
    .pilot-inner h2 {
        font-size: 34px;
    }

    .public-section {
        padding: 75px 0;
    }

    .footer-inner {
        flex-direction: column;
    }

}

.workspace-access-form {
    align-self: center;
    padding: 28px;
    background: white;
    border-radius: 12px;
}

.workspace-access-form label,
.public-form-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 650;
}

.workspace-access-form input,
.public-form-field input,
.public-form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font: inherit;
}

.workspace-access-form button {
    width: 100%;
    border: 0;
    margin-top: 12px;
    cursor: pointer;
}

.workspace-example {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 11px;
}

.public-form-error,
.errorlist {
    margin: 7px 0;
    padding: 0;
    color: #b91c1c;
    font-size: 12px;
    list-style: none;
}

.pilot-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 75px;
    align-items: start;
}

.pilot-copy {
    text-align: left;
}

.pilot-copy>span {
    color: #94a3b8;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.pilot-copy h2 {
    margin: 18px 0;
    font-size: 43px;
    letter-spacing: -1.5px;
}

.pilot-copy p {
    color: #94a3b8;
    line-height: 1.7;
}

.pilot-form-card {
    padding: 30px;
    border-radius: 14px;
    background: white;
    color: #111827;
    text-align: left;
}

.public-form-field {
    margin-bottom: 17px;
}

.pilot-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pilot-form-card button {
    width: 100%;
    border: 0;
    cursor: pointer;
    background: #0f172a;
    color: white;
}

.pilot-success {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 9px;
    background: #f0fdf4;
    color: #166534;
}

.pilot-success p {
    margin: 5px 0 0;
    font-size: 13px;
}

@media (max-width: 900px) {

    .pilot-grid,
    .pilot-form-row {
        grid-template-columns: 1fr;
    }

}