:root {
    color-scheme: light;
    --bg: #f6f7fb;
    --ink: #181827;
    --muted: #606176;
    --card: #ffffff;
    --line: #e7e8f0;
    --violet: #6d4aff;
    --violet-dark: #5032d8;
    --green: #16a06a;
    --shadow: 0 20px 60px rgba(30, 24, 80, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
}

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

.topbar {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--violet);
    color: #fff;
}

.topnav {
    display: flex;
    gap: 22px;
    color: var(--muted);
    font-size: 14px;
}

.topnav a:hover {
    color: var(--violet);
}

.hero {
    width: min(1160px, calc(100% - 32px));
    margin: 28px auto 0;
    min-height: calc(100vh - 128px);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    align-items: center;
    gap: 54px;
    padding-bottom: 56px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--violet);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

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

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.97;
    letter-spacing: 0;
}

.lead {
    max-width: 650px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 22px;
    font-weight: 800;
    border: 1px solid transparent;
}

.button.primary {
    background: var(--violet);
    color: #fff;
    box-shadow: 0 12px 28px rgba(109, 74, 255, 0.28);
}

.button.primary:hover {
    background: var(--violet-dark);
}

.button.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.product-preview {
    display: flex;
    justify-content: center;
}

.phone-shell {
    width: min(420px, 100%);
    min-height: 590px;
    border-radius: 34px;
    background: #121322;
    padding: 18px;
    box-shadow: var(--shadow);
    color: #fff;
}

.phone-header {
    display: flex;
    gap: 7px;
    padding: 8px 4px 18px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3d405c;
}

.chat-line {
    width: 72%;
    margin-bottom: 14px;
    border-radius: 8px;
    padding: 14px;
    background: #232641;
    font-weight: 700;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.action-grid span {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--violet);
    font-size: 13px;
    font-weight: 800;
}

.document-card {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    padding: 18px;
    margin-bottom: 16px;
}

.document-card small {
    display: block;
    margin-top: 5px;
    color: var(--green);
    font-weight: 700;
}

.file-badge {
    align-self: flex-start;
    border-radius: 8px;
    padding: 6px 8px;
    background: #e9fff5;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.sheet-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
}

.sheet-preview span {
    height: 34px;
    border-radius: 6px;
    background: #eef0f7;
}

.sheet-preview span:nth-child(4n),
.sheet-preview span:nth-child(9) {
    background: #ddd6ff;
}

.benefits,
.pricing,
.cta {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 26px;
}

.section-heading h2,
.cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

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

.benefit-card,
.price-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    padding: 26px;
    box-shadow: 0 10px 30px rgba(28, 31, 56, 0.04);
}

.icon {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--violet);
    font-weight: 900;
}

.benefit-card h3,
.price-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.benefit-card p,
.price-card p {
    color: var(--muted);
    line-height: 1.55;
}

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

.price-card {
    position: relative;
    min-height: 240px;
}

.price-card.featured {
    border-color: var(--violet);
    box-shadow: 0 18px 44px rgba(109, 74, 255, 0.14);
}

.label {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 999px;
    padding: 5px 9px;
    background: #efeaff;
    color: var(--violet);
    font-size: 12px;
    font-weight: 900;
}

.price {
    margin-bottom: 16px;
    color: var(--ink) !important;
    font-size: 28px;
    font-weight: 900;
}

.cta {
    margin-bottom: 54px;
    border-radius: 8px;
    background: #151628;
    color: #fff;
    padding: 44px;
}

.cta h2 {
    max-width: 760px;
}

.cta .button.secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 28px;
    }

    .benefit-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .topnav {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    h1 {
        font-size: 42px;
    }

    .lead {
        font-size: 18px;
    }

    .button {
        width: 100%;
    }

    .phone-shell {
        min-height: 520px;
        border-radius: 24px;
    }

    .benefit-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 30px 20px;
    }
}
