/* ─────────────────────── TOKENS ─────────────────────── */
:root {
    --bg: #09090b;
    --bg2: #0c0c0f;
    --surface: #131316;
    --surface-hover: #1a1a1f;
    --border: rgba(255, 255, 255, .055);
    --border-hover: rgba(129, 140, 248, .18);
    --text: #a1a1aa;
    --text-bright: #f4f4f5;
    --muted: #62626b;
    --accent: #818cf8;
    --accent-dim: rgba(129, 140, 248, .09);
    --accent-glow: rgba(129, 140, 248, .14);
    --accent2: #a78bfa;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-xs: 7px;
    --max: 1060px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ─────────────────────── RESET ─────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ─────────────────────── UTILITIES ─────────────────────── */
.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── scroll reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.25, 1, .5, 1),
        transform .65s cubic-bezier(.25, 1, .5, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s cubic-bezier(.25, 1, .5, 1),
        transform .5s cubic-bezier(.25, 1, .5, 1);
}

.reveal-children.is-visible>* {
    opacity: 1;
    transform: none;
}

.reveal-children.is-visible>*:nth-child(1) {
    transition-delay: .04s;
}

.reveal-children.is-visible>*:nth-child(2) {
    transition-delay: .1s;
}

.reveal-children.is-visible>*:nth-child(3) {
    transition-delay: .16s;
}

.reveal-children.is-visible>*:nth-child(4) {
    transition-delay: .22s;
}

.reveal-children.is-visible>*:nth-child(5) {
    transition-delay: .28s;
}

.reveal-children.is-visible>*:nth-child(6) {
    transition-delay: .34s;
}

/* ═══════════════════════ TOPBAR ═══════════════════════ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* brand — logo + name only, no subtitle */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    object-fit: contain;
    flex-shrink: 0;
    color: var(--accent);
}

.brand-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-bright);
    letter-spacing: -.01em;
}

.brand-tag {
    display: none;
}

/* floating pill nav */
.nav {
    display: none;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px 4px;
}

.nav a {
    padding: 5px 13px;
    font-size: 13px;
    font-weight: 450;
    color: var(--muted);
    border-radius: 100px;
    transition: color .15s, background .15s;
}

.nav a:hover {
    color: var(--text-bright);
    background: rgba(255, 255, 255, .05);
}

/* topbar cta — plain text link, no button */
.topbar-cta .btn {
    background: none;
    border: none;
    box-shadow: none;
    height: auto;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 450;
    color: var(--muted);
}

.topbar-cta .btn:hover {
    color: var(--text-bright);
    background: none;
}

/* ═══════════════════════ BUTTONS ═══════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: var(--font);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.btn:active {
    transform: scale(.97);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #6d7bf0;
    border-color: #6d7bf0;
}

.btn-ghost {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .035);
    border-color: rgba(255, 255, 255, .12);
    color: var(--text-bright);
}

/* ═══════════════════════ SECTION SHELL ═══════════════════════ */
.sect {
    padding: 72px 0;
    position: relative;
}

.sect+.sect {
    border-top: 1px solid rgba(255, 255, 255, .03);
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.sect-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text-bright);
    margin-bottom: 20px;
    max-width: 560px;
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
    padding: 80px 0 56px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

.hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text-bright);
    margin-bottom: 16px;
}

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

.hero-sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 500px;
}

.cta-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-line {
    margin-top: 22px;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-line .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted);
    opacity: .5;
    flex-shrink: 0;
}

/* highlights panel */
.highlights {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.highlights-head {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 14px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mini-stat {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 10px;
    padding: 12px 14px;
}

.mini-stat-num {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-bright);
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.mini-stat-label {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
    line-height: 1.35;
}

.highlights-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, .04);
    padding-top: 10px;
}

/* ═══════════════════════ CARDS ═══════════════════════ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color .2s, background .2s;
}

.card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--accent-dim);
    display: grid;
    place-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
    color: var(--accent);
}

.card-title {
    font-size: 15px;
    font-weight: 550;
    color: var(--text-bright);
    margin-bottom: 6px;
    letter-spacing: -.01em;
}

.card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.card-accent {
    background: rgba(129, 140, 248, .04);
    border-color: rgba(129, 140, 248, .1);
}

.card-accent:hover {
    border-color: rgba(129, 140, 248, .2);
}

/* ─── two-col ─── */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* ─── three-col ─── */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* ═══════════════════════ OMNISTON ═══════════════════════ */
.omni-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.omni-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    max-width: 580px;
}

.omni-list {
    margin: 16px 0;
}

.omni-list li {
    font-size: 14px;
    color: var(--text);
    padding: 5px 0 5px 20px;
    position: relative;
}

.omni-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* ═══════════════════════ SCREENSHOTS ═══════════════════════ */
.screenshots {
    margin-top: 32px;
}

.screenshots-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 12px;
}

.screenshots-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.screenshot {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    object-fit: cover;
}

/* omniston content layout */
.omni-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.omni-screenshot {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    object-fit: cover;
    max-height: 320px;
}

/* ═══════════════════════ PROOF / STATS ═══════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    padding-left: 16px;
    border-left: 2px solid var(--accent);
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.4;
}

/* ═══════════════════════ PARTNERS ═══════════════════════ */
.partner-list li {
    font-size: 14px;
    color: var(--text);
    padding: 6px 0 6px 20px;
    position: relative;
}

.partner-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 14px;
    width: 5px;
    height: 5px;
    border-radius: 2px;
    background: var(--accent);
}

/* ═══════════════════════ BUILDERS ═══════════════════════ */
.steps {
    counter-reset: step;
}

.steps li {
    font-size: 15px;
    color: var(--text);
    padding: 8px 0 8px 44px;
    position: relative;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 6px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(129, 140, 248, .12);
    display: grid;
    place-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

/* links block */
.links-block {
    margin-top: 36px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.links-block-title {
    font-size: 13px;
    font-weight: 550;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.links-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.link-pill {
    padding: 6px 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 450;
    color: var(--text);
    cursor: pointer;
    transition: all .15s;
}

.link-pill:hover {
    background: rgba(255, 255, 255, .06);
    border-color: var(--border-hover);
    color: var(--text-bright);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer {
    margin-top: 32px;
    padding: 48px 0 28px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-brand-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-bright);
    margin-bottom: 6px;
}

.footer-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text);
    margin-bottom: 10px;
}

.footer-link {
    display: block;
    font-size: 13px;
    color: var(--muted);
    padding: 3px 0;
    transition: color .15s;
    cursor: pointer;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .035);
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .16);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (min-width: 640px) {
    .nav {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1.1fr .9fr;
        gap: 36px;
    }

    .two-col {
        grid-template-columns: 1fr 1fr;
    }

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .sect {
        padding: 88px 0;
    }

    .sect-title {
        font-size: 32px;
    }

    .hero {
        padding: 96px 0 72px;
    }

    .omni-content {
        flex-direction: row;
        align-items: start;
    }

    .omni-screenshot {
        max-width: 340px;
        flex-shrink: 0;
    }
}

/* ─── burger button ─── */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}

.topbar.open .burger span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.topbar.open .burger span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

/* ─── mobile drawer ─── */
.mob-nav {
    display: none;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}

.topbar.open .mob-nav {
    max-height: 320px;
    padding: 12px 0 8px;
}

.mob-nav a {
    padding: 10px 0;
    font-size: 15px;
    font-weight: 450;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    transition: color .15s;
}

.mob-nav a:last-child {
    border-bottom: none;
}

.mob-nav a:hover {
    color: var(--text-bright);
}

.mob-nav-cta {
    margin-top: 6px;
    color: var(--accent) !important;
    font-weight: 500 !important;
    border-bottom: none !important;
}

@media (max-width: 639px) {
    .topbar-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mob-nav {
        display: flex;
    }
}