:root {
    --ink: #111827;
    --muted: #667085;
    --soft: #f7faff;
    --panel: #ffffff;
    --line: #dce7f5;
    --blue: #3b82f6;
    --blue-strong: #2563eb;
    --green: #16a34a;
    --yellow: #f59e0b;
    --shadow: 0 24px 70px rgba(32, 82, 150, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 8%, rgba(96, 165, 250, 0.13), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
}

img,
svg {
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid rgba(220, 231, 245, 0.78);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 176px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #344054;
    font-size: 15px;
    font-weight: 750;
}

.desktop-nav a:hover {
    color: var(--blue-strong);
}

.header-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    background: #ffffff;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
}

.button.primary {
    border-color: var(--blue);
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), #60a5fa);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
}

.button.outline {
    border-color: #cdd9e8;
    background: rgba(255, 255, 255, 0.76);
}

.button.ghost {
    color: #344054;
    background: rgba(255, 255, 255, 0.52);
}

.button.large {
    min-height: 50px;
    padding: 12px 20px;
    font-size: 15px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
    align-items: center;
    gap: 52px;
    max-width: 1180px;
    min-height: auto;
    margin: 0 auto;
    padding: 72px 24px 52px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 14px;
    font-weight: 850;
}

.hero h1 {
    margin: 0;
    color: #030712;
    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1.16;
    letter-spacing: 0;
}

.hero h1 span {
    color: var(--blue);
}

.hero-lead {
    max-width: 660px;
    margin: 22px 0 24px;
    color: #344054;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.68;
}

.hero-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    max-width: 760px;
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid #cfe1f7;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.hero-checks span,
.trust-lines span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #1f2937;
    font-size: 14px;
    font-weight: 780;
}

.hero-checks i {
    color: var(--green);
}

.trust-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    color: #667085;
}

.trust-lines i {
    color: var(--blue);
}

.product-preview {
    min-width: 0;
}

.preview-window {
    position: relative;
    overflow: hidden;
    border: 1px solid #d8e5f5;
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 34px 90px rgba(30, 64, 175, 0.16);
}

.preview-window::after {
    content: "";
    position: absolute;
    inset: auto 26px -38px;
    height: 120px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    filter: blur(20px);
}

.window-bar,
.panel-head,
.order-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.window-bar {
    height: 48px;
    margin-bottom: 16px;
}

.window-bar img {
    width: 138px;
}

.window-tools {
    display: flex;
    gap: 7px;
}

.window-tools span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

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

.metric,
.feature-card,
.price-card,
.workflow article,
.signup-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.metric {
    padding: 18px;
}

.metric span,
.price-card span {
    display: block;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.metric strong {
    display: block;
    margin: 7px 0 5px;
    font-size: 30px;
    line-height: 1;
}

.metric small {
    color: #667085;
    font-weight: 700;
}

.metric.is-blue strong {
    color: var(--blue);
}

.metric.is-green strong {
    color: var(--green);
}

.metric.is-yellow strong {
    color: var(--yellow);
}

.ops-panel {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.panel-head {
    margin-bottom: 16px;
}

.panel-head span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
}

.country-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    color: #344054;
    font-size: 13px;
    font-weight: 750;
}

.country-row i {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), #34d399);
}

.order-strip {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
}

.order-strip span {
    color: #2563eb;
    font-size: 13px;
    font-weight: 850;
}

.order-strip button {
    min-height: 34px;
    padding: 7px 13px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 850;
    background: var(--blue);
}

.market-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px 72px;
}

.market-strip span {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #475467;
    font-size: 14px;
    font-weight: 800;
    background: #ffffff;
}

.section,
.pain-section,
.workflow-section,
.pricing-section,
.signup-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 82px 24px;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 34px;
}

.section-heading h2,
.signup-copy h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.26;
    letter-spacing: 0;
}

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

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

.compare-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
}

.compare-card.after {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #ffffff, #f0f7ff);
    box-shadow: var(--shadow);
}

.compare-card > span {
    display: inline-flex;
    margin-bottom: 13px;
    color: #667085;
    font-size: 13px;
    font-weight: 900;
}

.compare-card.after > span {
    color: var(--blue-strong);
}

.compare-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
}

.compare-card ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.compare-card li {
    display: flex;
    gap: 10px;
    color: #475467;
    font-size: 15px;
    font-weight: 720;
    line-height: 1.58;
}

.compare-card li i {
    flex: 0 0 auto;
    margin-top: 4px;
}

.compare-card.before li i {
    color: #ef4444;
}

.compare-card.after li i {
    color: var(--green);
}

.feature-card {
    padding: 26px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
}

.feature-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: var(--blue);
    background: #eff6ff;
}

.feature-card h3,
.workflow h3,
.price-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: 0;
}

.feature-card p,
.workflow p,
.price-card p,
.signup-copy p,
.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.workflow-section {
    max-width: none;
    background: linear-gradient(180deg, #f4f8ff, #ffffff);
}

.workflow-section .section-heading,
.workflow {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

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

.workflow article {
    padding: 24px;
}

.workflow span {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--blue);
    font-size: 24px;
    font-weight: 900;
}

.pricing-grid {
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
}

.price-card strong {
    margin-top: auto;
    font-size: 30px;
}

.price-card.featured {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #ffffff, #eff6ff);
    box-shadow: var(--shadow);
}

.signup-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
    gap: 48px;
    align-items: start;
}

.signup-copy {
    position: sticky;
    top: 100px;
}

.signup-copy ul {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.signup-copy li {
    display: flex;
    gap: 10px;
    color: #344054;
    font-weight: 780;
}

.signup-copy i {
    color: var(--green);
    margin-top: 4px;
}

.signup-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.signup-form label {
    display: grid;
    gap: 8px;
}

.signup-form span {
    color: #344054;
    font-size: 14px;
    font-weight: 850;
}

.signup-form input,
.signup-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cdd9e8;
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    outline: none;
}

.signup-form textarea {
    resize: vertical;
}

.signup-form input:focus,
.signup-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.notice {
    padding: 13px 14px;
    border-radius: 8px;
    font-weight: 750;
    line-height: 1.5;
}

.notice p {
    margin: 0;
}

.notice.success {
    border: 1px solid #bbf7d0;
    color: #166534;
    background: #f0fdf4;
}

.notice.error {
    border: 1px solid #fecaca;
    color: #991b1b;
    background: #fef2f2;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 24px 52px;
    border-top: 1px solid var(--line);
}

.site-footer img {
    width: 150px;
}

.site-footer a {
    color: var(--blue);
    font-weight: 850;
}

.error-page {
    display: grid;
    place-items: center;
    padding: 24px;
}

.error-box {
    max-width: 520px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    text-align: center;
}

.error-box strong {
    color: var(--blue);
    font-size: 54px;
}

@media (max-width: 980px) {
    .site-header {
        height: auto;
        min-height: 68px;
        padding: 14px 20px;
    }

    .desktop-nav {
        display: none;
    }

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

    .hero {
        min-height: 0;
        padding-top: 46px;
    }

    .product-preview {
        order: -1;
    }

    .workflow,
    .feature-grid,
    .pricing-grid,
    .compare-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signup-copy {
        position: static;
    }
}

@media (max-width: 680px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .header-actions,
    .hero-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .header-actions .button,
    .hero-actions .button {
        width: 100%;
    }

    .hero {
        padding: 30px 18px 34px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.18;
    }

    .hero-lead {
        font-size: 16px;
        line-height: 1.66;
    }

    .hero-checks,
    .dashboard-grid,
    .workflow,
    .feature-grid,
    .pricing-grid,
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .preview-window {
        padding: 14px;
    }

    .country-row {
        grid-template-columns: 82px minmax(0, 1fr) 38px;
        gap: 8px;
        font-size: 12px;
    }

    .order-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .section,
    .pain-section,
    .workflow-section,
    .pricing-section,
    .signup-section {
        padding: 58px 18px;
    }

    .section-heading h2,
    .signup-copy h2 {
        font-size: 27px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 18px 44px;
    }
}
