:root {
    --bg: #0c1118;
    --panel: #121a24;
    --panel2: #f3f5f7;
    --text: #10151b;
    --muted: #5d6875;
    --white: #fff;
    --accent: #e7ff63;
    --line: #dce1e6;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.65;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
}

.narrow {
    max-width: 780px;
}

.center-text {
    text-align: center;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12,17,24,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #27313d;
}

.nav-inner {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand, .footer-brand {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -.03em;
}

.brand {
    font-size: 22px;
}

.nav nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

    .nav nav a, .footer-links a {
        color: #cbd3dc;
        text-decoration: none;
        font-size: 14px;
    }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 20px;
    border-radius: 7px;
    background: var(--accent);
    color: #111;
    text-decoration: none;
    font-weight: 850;
    border: 1px solid var(--accent);
}

    .btn.small {
        padding: 9px 14px;
    }

    .btn.full {
        width: 100%;
    }

.hero {
    background: var(--bg);
    color: #fff;
    padding: 92px 0 84px;
}

.hero-grid, .two {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    font-weight: 900;
    margin: 0 0 12px;
    color: #687584;
}

.hero .eyebrow, .dark-section .eyebrow, .final .eyebrow {
    color: var(--accent);
}

h1 {
    font-size: clamp(48px, 6.8vw, 82px);
    line-height: .96;
    letter-spacing: -.055em;
    margin: 0 0 26px;
    max-width: 800px;
}

h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.06;
    letter-spacing: -.04em;
    margin: 0 0 18px;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.lead {
    font-size: 20px;
    color: #cbd3dc;
    max-width: 680px;
}

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

.text-link {
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.micro {
    font-size: 13px;
    color: #8f9aa6;
    margin-top: 14px;
}

.product-visual {
    margin: 0;
}

.sheet-window {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #35404c;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    background: #fff;
}

.sheet-toolbar {
    height: 44px;
    background: #202832;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 7px;
    color: #cbd3dc;
    font-size: 12px;
}

    .sheet-toolbar span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #56616d;
        display: inline-block;
    }

    .sheet-toolbar b {
        margin-left: 8px;
        font-weight: 700;
    }

.sheet-grid {
    height: 380px;
    position: relative;
    background-image: linear-gradient(#d9dee4 1px, transparent 1px), linear-gradient(90deg, #d9dee4 1px, transparent 1px);
    background-size: 52px 30px;
    background-position: 0 0;
}

.cross-row {
    position: absolute;
    left: 0;
    right: 0;
    top: 179px;
    height: 30px;
    background: rgba(231,255,99,.38);
}

.cross-col {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 207px;
    width: 52px;
    background: rgba(231,255,99,.38);
}

.active-cell {
    position: absolute;
    left: 207px;
    top: 179px;
    width: 52px;
    height: 30px;
    border: 3px solid #1f7a4c;
    background: rgba(255,255,255,.28);
}

.visual-caption {
    font-size: 12px;
    color: #8995a1;
    margin: 9px 0 0;
}

.problem {
    padding: 72px 0;
    background: var(--panel);
    color: #fff;
}

    .problem p:last-child {
        color: #b9c2cc;
        font-size: 18px;
    }

.section {
    padding: 92px 0;
}

.alt {
    background: var(--panel2);
}

.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

    .section-head p:last-child, .body-copy {
        color: var(--muted);
    }

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

    .features article {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 26px;
    }

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

.feature-number {
    font-size: 12px;
    font-weight: 900;
    color: #7d8792;
    letter-spacing: .12em;
}

.checklist {
    padding-left: 0;
    list-style: none;
    margin: 28px 0 0;
}

    .checklist li {
        padding: 10px 0 10px 28px;
        position: relative;
    }

        .checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            font-weight: 900;
        }

.demo-placeholder {
    display: flex;
    justify-content: center;
}

.demo-box {
    width: 100%;
    min-height: 330px;
    background: #101720;
    border: 1px solid #35404c;
    border-radius: 14px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

    .demo-box span {
        color: var(--accent);
        font-weight: 900;
        font-size: 12px;
        letter-spacing: .12em;
    }

    .demo-box strong {
        font-size: 30px;
        margin: 10px 0;
    }

    .demo-box p {
        color: #b9c2cc;
        margin: 0;
    }

.dark-section {
    background: var(--bg);
    color: #fff;
}

.light-head p:last-child {
    color: #b9c2cc;
}

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

    .use-cases div {
        border: 1px solid #2a3541;
        border-radius: 10px;
        padding: 24px;
        background: #101720;
    }

    .use-cases b {
        display: block;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .use-cases span {
        color: #aeb8c3;
        font-size: 14px;
    }

.pricing {
    text-align: center;
}

.price-card {
    margin: 36px auto 0;
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(10,20,30,.08);
    border-radius: 14px;
    padding: 38px;
    text-align: left;
    max-width: 520px;
}

.price-topline {
    text-align: center;
    font-weight: 800;
}

.price {
    text-align: center;
    font-size: 78px;
    font-weight: 900;
    line-height: 1;
    margin: 8px 0;
    letter-spacing: -.05em;
}

    .price span {
        font-size: 30px;
        vertical-align: top;
    }

.price-note {
    text-align: center;
    color: var(--muted);
}

.price-card ul {
    padding-left: 22px;
    margin: 28px 0;
}

.checkout-note {
    font-size: 12px;
    color: #8b949e;
    text-align: center;
    margin: 12px 0 0;
}

details {
    border-top: 1px solid #ccd3da;
    padding: 18px 0;
}

    details:last-child {
        border-bottom: 1px solid #ccd3da;
    }

summary {
    font-weight: 800;
    cursor: pointer;
}

details p {
    color: var(--muted);
}

.final {
    background: var(--bg);
    color: #fff;
    text-align: center;
    padding: 86px 0;
}

    .final p {
        color: #bdc6d0;
    }

.center {
    justify-content: center;
}

footer {
    background: #070b10;
    color: #b9c2cc;
    padding: 48px 0 26px;
}

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

    .footer-inner p {
        margin: 8px 0 0;
        font-size: 13px;
        color: #717d89;
    }

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.legal {
    border-top: 1px solid #202833;
    margin-top: 30px;
    padding-top: 18px;
    font-size: 12px;
    color: #717d89;
}

/* Actual CellPointer screenshot */
.hero-screenshot {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    border-radius: 10px;
}

/* CellPointer demo video */
.demo-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .use-cases {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 820px) {
    .nav nav {
        display: none;
    }

    .nav .btn {
        margin-left: auto;
    }

    .hero-grid, .two {
        grid-template-columns: 1fr;
        gap: 38px;
    }

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

    .hero {
        padding-top: 62px;
    }

    .section {
        padding: 68px 0;
    }

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

    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .text-link {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .use-cases {
        grid-template-columns: 1fr;
    }

    .sheet-grid {
        height: 300px;
        background-size: 44px 30px;
    }

    .cross-col {
        left: 176px;
        width: 44px;
    }

    .active-cell {
        left: 176px;
        width: 44px;
    }
}


/* Revised CellPointer hero and concept */
.hero-stack {
    display: block;
}

.hero-copy {
    width: 100%;
    max-width: none;
}

    .hero-copy h1 {
        max-width: none;
    }

    .hero-copy .lead {
        max-width: none;
    }

.hero .product-visual {
    margin-top: 54px;
}

.hero-screenshot {
    width: 100%;
    max-height: none;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.problem .wrap {
    max-width: var(--max);
}

.problem h2, .problem p {
    max-width: none;
}

.section-head {
    max-width: none;
}

.features-four {
    grid-template-columns: repeat(2, 1fr);
}

#faq .wrap {
    max-width: var(--max);
}

@media (max-width: 820px) {
    .features-four {
        grid-template-columns: 1fr;
    }

    .hero .product-visual {
        margin-top: 38px;
    }
}
