:root {
    color-scheme: light;
    --navy: #07111f;
    --navy-2: #0d1b2d;
    --ink: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --panel: #ffffff;
    --soft: #f5f7fb;
    --cyan: #10b8d8;
    --blue: #2563eb;
    --success: #0f766e;
    --danger: #be123c;
    --shadow: 0 22px 55px rgba(16, 24, 40, .12);
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--navy);
    color: var(--ink);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
}

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

button,
input,
textarea {
    font: inherit;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 13px;
    outline: none;
    background: #fff;
    color: var(--ink);
}

textarea {
    resize: vertical;
    min-height: 92px;
}

input:focus,
textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(16, 184, 216, .12);
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.site-body {
    background: #f7f9fc;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 168px;
}

.site-logo span,
.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    font-weight: 900;
}

.site-logo strong {
    font-size: 18px;
    letter-spacing: 0;
}

.site-menu,
.site-actions,
.hero-buttons,
.contact-lines,
.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-menu {
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    font-weight: 700;
}

.site-menu a:hover {
    color: #fff;
}

.login-link,
.secondary-link,
.demo-link,
.primary-button,
.ghost-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 0 16px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
}

.login-link,
.secondary-link,
.ghost-button {
    background: transparent;
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.demo-link,
.primary-button {
    background: var(--cyan);
    color: var(--navy);
    border-color: var(--cyan);
}

.hero-section {
    background: var(--navy);
    color: #fff;
    margin-top: -72px;
    padding: 144px max(16px, calc((100% - 1180px) / 2)) 84px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: 44px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.site-eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-content h1,
.section-title h2,
.why-section h2,
.contact-section h2,
.admin-header h1,
.admin-login h1 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.03;
}

.hero-content h1 {
    font-size: 62px;
}

.hero-content p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 18px;
    line-height: 1.72;
}

.hero-buttons {
    margin-top: 30px;
}

.product-frame {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: #0b1728;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.product-top {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .74);
}

.product-top span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
}

.product-top strong {
    margin-left: auto;
    font-size: 13px;
}

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

.product-layout aside {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 18px;
    background: rgba(255, 255, 255, .03);
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.product-layout aside b {
    padding: 10px 12px;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.product-layout aside b:first-child {
    background: rgba(16, 184, 216, .16);
    color: #fff;
}

.product-layout section {
    padding: 18px;
}

.product-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.product-metrics article,
.product-table,
.feature-grid article,
.module-grid article,
.why-list article,
.pricing-panel article,
.faq-list details,
.demo-form,
.admin-section,
.admin-grid article,
.admin-form-card,
.lead-table div,
.notice {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.product-metrics article {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    padding: 14px;
}

.product-metrics span {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 700;
}

.product-metrics strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 24px;
}

.product-chart {
    height: 190px;
    display: flex;
    align-items: end;
    gap: 10px;
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
}

.product-chart i {
    flex: 1;
    display: block;
    border-radius: 4px 4px 0 0;
    background: var(--cyan);
}

.product-table {
    margin-top: 18px;
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr;
    color: rgba(255, 255, 255, .74);
    overflow: hidden;
}

.product-table span {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
}

.product-table span:nth-child(-n+3) {
    border-top: 0;
}

.trust-strip,
.content-section,
.why-section,
.contact-section,
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.trust-strip {
    margin-top: -38px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.trust-strip article {
    padding: 22px;
    border-left: 1px solid var(--line);
}

.trust-strip article:first-child {
    border-left: 0;
}

.trust-strip strong {
    display: block;
    color: var(--navy);
    font-size: 20px;
}

.trust-strip span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.5;
}

.content-section,
.why-section,
.contact-section {
    margin-top: 96px;
}

.section-title {
    max-width: 760px;
    margin-bottom: 26px;
}

.section-title h2,
.why-section h2,
.contact-section h2 {
    font-size: 44px;
}

.section-title p:not(.site-eyebrow),
.contact-section p,
.why-list p,
.feature-grid p,
.module-grid h3,
.pricing-panel p,
.faq-list p,
.site-footer p {
    color: var(--muted);
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-grid article {
    min-height: 190px;
    padding: 20px;
}

.feature-grid h3,
.why-list h3,
.pricing-panel h3,
.module-grid span {
    margin: 0;
    font-size: 18px;
    color: var(--ink);
}

.feature-grid p {
    margin: 12px 0 0;
}

.module-section {
    background: #fff;
    width: 100%;
    padding: 86px max(16px, calc((100% - 1180px) / 2));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.module-section .section-title,
.module-grid {
    width: min(1180px, 100%);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.module-grid article {
    padding: 20px;
    background: var(--soft);
}

.module-grid span {
    color: var(--cyan);
    font-weight: 900;
}

.module-grid h3 {
    margin: 14px 0 0;
    font-size: 18px;
}

.module-grid ul,
.pricing-panel ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.module-grid li,
.pricing-panel li {
    color: var(--muted);
    font-size: 14px;
}

.module-grid li::before,
.pricing-panel li::before {
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--cyan);
    vertical-align: middle;
}

.why-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 42px;
}

.why-list {
    display: grid;
    gap: 12px;
}

.why-list article {
    padding: 20px;
}

.why-list p {
    margin: 8px 0 0;
}

.pricing-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pricing-panel article {
    padding: 22px;
}

.pricing-panel article.highlight {
    border-color: var(--cyan);
    box-shadow: var(--shadow);
}

.pricing-panel span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #e9f9fc;
    color: #087b92;
    font-size: 12px;
    font-weight: 900;
}

.pricing-panel h3 {
    margin-top: 18px;
    font-size: 24px;
}

.pricing-panel strong {
    display: block;
    margin-top: 12px;
    font-size: 26px;
    color: var(--navy);
}

.faq-section {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 36px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--navy);
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 44px;
    align-items: start;
    background: var(--navy);
    color: #fff;
    border-radius: 12px;
    padding: 42px;
}

.contact-section p {
    color: rgba(255, 255, 255, .72);
}

.contact-lines {
    margin-top: 22px;
    align-items: flex-start;
    flex-direction: column;
    color: #fff;
    font-weight: 800;
}

.demo-form {
    padding: 20px;
    background: #fff;
}

.demo-form button {
    width: 100%;
    border: 0;
}

.notice {
    padding: 12px 14px;
    margin-bottom: 12px;
    font-weight: 800;
}

.notice.success {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #067647;
}

.notice.error {
    background: #fff1f3;
    border-color: #fecdd6;
    color: var(--danger);
}

.site-footer {
    margin-top: 76px;
    padding: 30px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    border-top: 1px solid var(--line);
}

.site-footer strong {
    color: var(--navy);
}

.site-footer p {
    max-width: 560px;
    margin: 8px 0 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-weight: 800;
}

.admin-body {
    background: #f3f6fb;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto;
}

.admin-login {
    min-height: calc(100vh - 56px);
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 32px;
}

.admin-login h1,
.admin-header h1 {
    font-size: 44px;
}

.admin-login p {
    color: var(--muted);
    line-height: 1.7;
}

.admin-form-card,
.admin-section {
    padding: 20px;
    box-shadow: 0 16px 45px rgba(16, 24, 40, .08);
}

.admin-form-card {
    display: grid;
    gap: 14px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-actions .ghost-button,
.admin-section .ghost-button {
    color: var(--navy);
    border-color: var(--line);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.admin-grid article {
    padding: 18px;
}

.admin-grid strong {
    display: block;
    font-size: 28px;
}

.admin-grid span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.cms-form {
    display: grid;
    gap: 18px;
}

.admin-section h2 {
    margin: 0 0 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

.sticky-save {
    position: sticky;
    bottom: 12px;
    display: flex;
    justify-content: flex-end;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
}

.lead-table {
    display: grid;
    gap: 10px;
}

.lead-table div {
    padding: 14px;
}

.lead-table span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.lead-table p {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (max-width: 1040px) {
    .site-header {
        position: static;
        padding: 16px 0;
        flex-wrap: wrap;
        color: var(--navy);
        border-bottom-color: var(--line);
    }

    .site-menu {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        color: var(--muted);
    }

    .login-link,
    .secondary-link,
    .ghost-button {
        color: var(--navy);
        border-color: var(--line);
    }

    .hero-section {
        margin-top: 0;
        padding-top: 56px;
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .feature-grid,
    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .module-grid,
    .pricing-panel,
    .why-section,
    .faq-section,
    .contact-section,
    .admin-login,
    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-header,
    .site-actions,
    .hero-buttons,
    .admin-header,
    .admin-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .site-actions,
    .hero-buttons,
    .admin-actions {
        width: 100%;
    }

    .hero-content h1,
    .section-title h2,
    .why-section h2,
    .contact-section h2,
    .admin-login h1,
    .admin-header h1 {
        font-size: 34px;
    }

    .hero-section {
        padding-bottom: 52px;
    }

    .product-layout,
    .product-metrics,
    .trust-strip,
    .feature-grid,
    .admin-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .product-layout aside {
        display: none;
    }

    .product-table {
        grid-template-columns: 1fr;
    }

    .product-table span {
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .trust-strip {
        margin-top: 18px;
    }

    .trust-strip article,
    .trust-strip article:first-child {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .trust-strip article:first-child {
        border-top: 0;
    }

    .contact-section {
        padding: 22px;
    }
}
