:root {
    --ink: #12131a;
    --ink-soft: #4a4d5c;
    --paper: #ffffff;
    --paper-tint: #f4f4f4;
    --paper-warm: #faf9f7;
    --line: #e6e5e2;
    --pink: #ff0f7b;
    --pink-deep: #d40d68;
    --navy: #14151f;
    --mint: #17a866;
    --font-display: "Space Grotesk", "Inter", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
    --wrap: 1120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 28px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}

section {
    padding: 88px 0;
}

@media (max-width: 720px) {
    section {
        padding: 56px 0;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pink-deep);
    background: #fff0f6;
    border: 1px solid #ffd3e6;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
    display: inline-block;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-head h2 {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 16px;
}

/* ---------- NAV ---------- */
header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: all ease-in-out 200ms;
}

header.nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

header.scrolled {
    position: fixed;
    top: 20px;
    left: 10%;
    width: 80%;
    border-radius: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 26px;
    height: 26px;
    display: inline-flex;
    flex-shrink: 0;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    display: block;
}

nav.links {
    display: flex;
    gap: 32px;
}

nav.links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .15s;
}

nav.links a:hover {
    color: var(--ink);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 18px;
}

@media (max-width: 800px) {
    nav.links {
        display: none;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--ink);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(18, 19, 26, 0.25);
}

.btn-accent {
    background: var(--pink);
    color: #fff;
}

.btn-accent:hover {
    box-shadow: 0 8px 20px rgba(255, 15, 123, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--ink);
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13.5px;
}

/* ---------- HERO ---------- */
.hero {
    padding: 80px 0 36px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--pink);
}

.hero .sub {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 17.5px;
    color: var(--ink-soft);
}

.hero .cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero .microcopy {
    font-size: 13px;
    color: #8a8d9a;
    font-family: var(--font-mono);
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 32px;
    }
}

/* ---------- TIMELINE SIGNATURE ---------- */
.timeline-stage {
    aspect-ratio: 16/9;
    margin: 64px auto 0;
    max-width: 880px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 30px 60px -20px rgba(18, 19, 26, 0.35);
    overflow: hidden;
}

.demo-video {
    width: 100%;
    object-fit: cover;
}

.stage-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #9a9cb0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 9px;
    border-radius: 999px;
}

.stage-comment-card {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: #fff;
    border-radius: 10px;
    padding: 11px 14px;
    max-width: 250px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.stage-comment-card .who {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stage-comment-card .who .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pink);
}

.stage-comment-card .tc {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--pink-deep);
    font-weight: 600;
}

.stage-comment-card p {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.4;
}

.scrub-track {
    height: 8px;
    background: #2a2c3c;
    border-radius: 999px;
    position: relative;
    margin-bottom: 12px;
}

.scrub-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 41%;
    background: linear-gradient(90deg, var(--pink), var(--pink-deep));
    border-radius: 999px;
}

.pin {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--pink);
}

.pin.pin-alt {
    border-color: #7d80ff;
}

.pin.pin-mint {
    border-color: var(--mint);
}

.scrub-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #6d6f82;
}

/* ---------- STAT ROW ---------- */
.stat-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.stat-row .stat {
    text-align: center;
}

.stat-row .stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 25px;
}

.stat-row .stat span {
    font-size: 13px;
    color: var(--ink-soft);
}

/* ---------- WHY / INTRO ---------- */
.why {
    background: var(--paper-tint);
}

.why .wrap {
    max-width: 780px;
    text-align: center;
}

.why h2 {
    font-size: 30px;
    margin-bottom: 18px;
}

.why p {
    color: var(--ink-soft);
    font-size: 16px;
    margin-bottom: 14px;
}

/* ---------- FEATURES ---------- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .feat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }
}

.feat-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 22px;
    background: var(--paper);
    transition: border-color .15s;
}

.feat-card:hover {
    border-color: var(--pink);
}

.feat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: #fff0f6;
}

.feat-icon svg {
    width: 18px;
    height: 18px;
}

.feat-card h3 {
    font-size: 16.5px;
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 13.8px;
    color: var(--ink-soft);
}

.feat-card .kw {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #a9abb8;
}

/* ---------- USE CASES ---------- */
.usecases {
    background: var(--paper-warm);
}

.pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
}

.pill {
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-soft);
}

.pill.on {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ---------- COMPARISON ---------- */
.compare-wrap {
    overflow-x: auto;
}

table.compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 14px;
}

table.compare th,
table.compare td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

table.compare th {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
}

table.compare td:first-child,
table.compare th:first-child {
    text-align: left;
    color: var(--ink-soft);
    font-weight: 500;
}

table.compare th.us {
    background: var(--ink);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

table.compare td.us {
    background: #fff0f6;
    font-weight: 600;
}

.yes {
    color: var(--mint);
    font-weight: 700;
}

.no {
    color: #c7c8d1;
}

.compare-note {
    max-width: 680px;
    margin: 26px auto 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 14.5px;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 600;
    gap: 20px;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: "+";
    font-size: 22px;
    color: var(--pink);
    flex-shrink: 0;
    transition: transform .2s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 14.8px;
    max-width: 620px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    background: var(--navy);
    border-radius: 24px;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 68px 40px;
    text-align: center;
    color: #fff;
}

.final-cta h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 14px;
}

.final-cta p {
    color: #b9bac6;
    margin-bottom: 28px;
}

.final-cta .cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.final-cta .btn-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--paper-tint);
    padding: 60px 0 28px;
    margin-top: 40px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
}

@media (max-width: 800px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.foot-grid h4 {
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a8d9a;
    margin-bottom: 16px;
    font-weight: 600;
}

.foot-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.foot-grid a {
    font-size: 13.5px;
    color: var(--ink-soft);
}

.foot-grid a:hover {
    color: var(--pink-deep);
}

.foot-brand p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-top: 12px;
    max-width: 240px;
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: #9698a5;
    flex-wrap: wrap;
    gap: 10px;
}