﻿:root {
    --ink: #0B2027;
    --teal-deep: #123A44;
    --teal: #1F5C6B;
    --mist: #9BC2C9;
    --cream: #F4EEDE;
    --cream-2: #E9DFC4;
    --marigold: #E7A73B;
    --marigold-dark: #C5872A;
    --rust: #B14A2B;
    --ink-text: #152227;
    --line: rgba(244,238,222,0.14);
    --line-dark: rgba(21,34,39,0.14);
    --radius: 2px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink-text);
    font-family: 'IBM Plex Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width:640px) {
    .wrap {
        padding: 0 20px;
    }
}

/* subtle grain/frost texture overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244,238,222,0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line-dark);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fraunces',serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
}

    .logo .mark {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1.5px solid var(--ink);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        font-weight: 600;
        position: relative;
    }

        .logo .mark::after {
            content: '';
            position: absolute;
            inset: -4px;
            border: 1px dashed var(--marigold-dark);
            border-radius: 50%;
            opacity: 0.5;
        }

nav.links {
    display: flex;
    gap: 36px;
    align-items: center;
}

    nav.links a {
        font-size: 14px;
        font-weight: 500;
        color: var(--ink);
        opacity: 0.75;
        transition: opacity .2s;
    }

        nav.links a:hover {
            opacity: 1;
        }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    font-family: 'IBM Plex Sans',sans-serif;
}

.btn-primary {
    background: var(--marigold);
    color: var(--ink);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 0 0 var(--marigold-dark);
    }

.btn-ghost {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

    .btn-ghost:hover {
        background: var(--ink);
        color: var(--cream);
    }

.navbtn {
    padding: 10px 18px;
    font-size: 13px;
}

.hamburger {
    display: none;
}

@media (max-width:860px) {
    nav.links {
        display: none;
    }

    .hamburger {
        display: block;
        font-family: 'IBM Plex Mono',monospace;
        font-size: 13px;
        border: 1px solid var(--ink);
        padding: 8px 14px;
        border-radius: var(--radius);
        background: none;
    }
}

/* ---------- Hero ---------- */
.hero {
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
    padding: 96px 0 110px;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 520px;
        height: 520px;
        background: radial-gradient(circle, rgba(155,194,201,0.16) 0%, rgba(155,194,201,0) 70%);
    }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width:940px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--marigold);
    margin-bottom: 22px;
}

    .eyebrow::before {
        content: '';
        width: 22px;
        height: 1px;
        background: var(--marigold);
    }

.hero h1 {
    font-size: clamp(34px,4.6vw,58px);
    line-height: 1.06;
    color: var(--cream);
}

    .hero h1 em {
        font-style: normal;
        color: var(--marigold);
    }

.hero p.lead {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--mist);
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 28px;
    font-size: 13px;
    color: var(--mist);
    opacity: 0.8;
    font-family: 'IBM Plex Mono',monospace;
}

/* --- signature element: the Lot Card --- */
.lotcard-stage {
    perspective: 1400px;
    position: relative;
}

.lotcard {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 5/6.3;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
}

    .lotcard.flipped {
        transform: rotateY(180deg);
    }

.face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 6px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
}

.face-front {
    background: var(--cream-2);
    color: var(--ink-text);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.06);
    background-image: repeating-linear-gradient(transparent, transparent 27px, rgba(21,34,39,0.06) 28px);
}

    .face-front::before {
        content: '';
        position: absolute;
        left: 0;
        top: 24px;
        bottom: 24px;
        width: 3px;
        background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(21,34,39,0.18) 6px 8px);
    }

.face-back {
    background: var(--teal-deep);
    color: var(--cream);
    transform: rotateY(180deg);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.06);
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
    letter-spacing: 0.03em;
    opacity: 0.65;
}

.card-title {
    font-family: 'Fraunces',serif;
    font-size: 22px;
    font-weight: 600;
    margin-top: 14px;
}

.card-sub {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12px;
    opacity: 0.6;
    margin-top: 4px;
}

.card-stamp {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--rust);
    color: var(--rust);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transform: rotate(-14deg);
    opacity: 0.85;
}

.card-fields {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
}

.field label {
    display: block;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
}

.field .val {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 14px;
    margin-top: 3px;
    font-weight: 600;
}

.card-divider {
    margin: 18px 0;
    border-top: 1px dashed rgba(21,34,39,0.25);
}

.face-back .card-divider {
    border-top: 1px dashed rgba(244,238,222,0.25);
}

.card-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

    .card-foot .qr {
        width: 38px;
        height: 38px;
        background: linear-gradient(90deg, currentColor 2px, transparent 2px) 0 0/6px 6px, linear-gradient(currentColor 2px, transparent 2px) 0 0/6px 6px;
        opacity: 0.5;
    }

.flip-hint {
    text-align: center;
    margin-top: 18px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
    color: var(--mist);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .flip-hint svg {
        width: 13px;
        height: 13px;
    }

.backline {
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
    opacity: 0.6;
}

.backbars {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
}

    .bar-row .lbl {
        width: 70px;
        opacity: 0.65;
        flex-shrink: 0;
    }

.bar-track {
    flex: 1;
    height: 6px;
    background: rgba(244,238,222,0.15);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--marigold);
    border-radius: 3px;
    width: 0;
    transition: width 1.2s ease;
}

.back-total {
    margin-top: auto;
}

    .back-total .num {
        font-family: 'Fraunces',serif;
        font-size: 34px;
        color: var(--marigold);
    }

    .back-total .lbl2 {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        opacity: 0.6;
        margin-top: 2px;
    }

/* ---------- Vernacular strip ---------- */
.strip {
    background: var(--teal-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 16px 0;
}

.strip-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: scroll 32s linear infinite;
    width: max-content;
}

    .strip-track span {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 13px;
        color: var(--mist);
        letter-spacing: 0.02em;
    }

        .strip-track span b {
            color: var(--cream);
            font-weight: 600;
        }

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .strip-track {
        animation: none;
    }
}

/* ---------- Section shells ---------- */
section {
    padding: 100px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.kicker {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rust);
    margin-bottom: 14px;
    display: block;
}

.section-head h2 {
    font-size: clamp(26px,3.2vw,38px);
    line-height: 1.15;
    color: var(--ink);
}

.section-head p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #3a4a4f;
}

/* ---------- Features ---------- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
}

@media (max-width:900px) {
    .feat-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:560px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }
}

.feat {
    background: var(--cream);
    padding: 34px 28px;
    transition: background .2s;
}

    .feat:hover {
        background: var(--cream-2);
    }

    .feat .icon {
        width: 40px;
        height: 40px;
        margin-bottom: 22px;
        color: var(--teal);
    }

    .feat h3 {
        font-size: 18px;
        color: var(--ink);
    }

    .feat p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
        color: #4a5a5f;
    }

    .feat .idx {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        color: var(--rust);
        opacity: 0.7;
    }

/* ---------- Modules — ledger spread ---------- */
.ledger {
    background: var(--ink);
    border-radius: 8px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5);
    overflow: hidden;
}

@media (max-width:800px) {
    .ledger {
        grid-template-columns: 1fr;
    }
}

.ledger-col {
    padding: 44px 40px;
}

    .ledger-col + .ledger-col {
        border-left: 1px dashed var(--line);
    }

@media (max-width:800px) {
    .ledger-col + .ledger-col {
        border-left: none;
        border-top: 1px dashed var(--line);
    }
}

.ledger-group {
    margin-bottom: 34px;
}

    .ledger-group:last-child {
        margin-bottom: 0;
    }

    .ledger-group h4 {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--marigold);
        margin-bottom: 16px;
    }

.ledger-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--cream);
    font-size: 14.5px;
}

    .ledger-item:last-child {
        border-bottom: none;
    }

    .ledger-item .tick {
        color: var(--mist);
        flex-shrink: 0;
        margin-top: 2px;
    }

/* ---------- Why ---------- */
.why {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width:860px) {
    .why {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    margin-top: 36px;
}

.why-stat {
    background: var(--cream);
    padding: 24px;
}

    .why-stat .num {
        font-family: 'Fraunces',serif;
        font-size: 30px;
        color: var(--rust);
    }

    .why-stat .lbl {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11.5px;
        color: #4a5a5f;
        margin-top: 6px;
        line-height: 1.4;
    }

.why-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-row {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line-dark);
}

    .why-row:first-child {
        padding-top: 0;
    }

    .why-row .n {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 12px;
        color: var(--rust);
        padding-top: 3px;
    }

    .why-row h3 {
        font-size: 17px;
        color: var(--ink);
    }

    .why-row p {
        margin-top: 8px;
        font-size: 14.5px;
        line-height: 1.6;
        color: #3a4a4f;
    }

/* ---------- CTA / contact ---------- */
.cta-section {
    background: var(--teal-deep);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        bottom: -40%;
        left: -10%;
        width: 480px;
        height: 480px;
        background: radial-gradient(circle, rgba(231,167,59,0.14) 0%, rgba(231,167,59,0) 70%);
    }

.cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    position: relative;
    z-index: 2;
}

@media (max-width:860px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

.cta-grid h2 {
    font-size: clamp(26px,3.4vw,40px);
    color: var(--cream);
    line-height: 1.15;
}

.cta-grid p.lead {
    margin-top: 18px;
    color: var(--mist);
    font-size: 16px;
    line-height: 1.65;
    max-width: 440px;
}

.cta-ctas {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.gatepass {
    background: var(--cream);
    color: var(--ink-text);
    border-radius: 6px;
    padding: 32px;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}

    .gatepass .gp-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed rgba(21,34,39,0.25);
        padding-bottom: 14px;
        margin-bottom: 18px;
    }

        .gatepass .gp-head b {
            font-family: 'Fraunces',serif;
            font-size: 16px;
        }

        .gatepass .gp-head span {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 11px;
            opacity: 0.6;
        }

.gp-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(21,34,39,0.1);
    font-size: 14px;
}

    .gp-line span:first-child {
        color: #4a5a5f;
    }

    .gp-line span:last-child {
        font-family: 'IBM Plex Mono',monospace;
        font-weight: 600;
    }

.gatepass .gp-cta {
    margin-top: 22px;
}

    .gatepass .gp-cta .btn {
        width: 100%;
        justify-content: center;
    }

/* ---------- Footer ---------- */
footer {
    background: var(--ink);
    color: var(--mist);
    padding: 56px 0 32px;
}

.foot-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}

.foot-brand .logo {
    color: var(--cream);
}

.foot-brand p {
    margin-top: 12px;
    font-size: 13.5px;
    max-width: 260px;
    line-height: 1.6;
    color: var(--mist);
}

.foot-cols {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.foot-col h5 {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--marigold);
    margin-bottom: 14px;
}

.foot-col a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--mist);
}

    .foot-col a:hover {
        color: var(--cream);
    }

.foot-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    font-family: 'IBM Plex Mono',monospace;
    color: var(--mist);
    opacity: 0.7;
}

/* reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

::selection {
    background: var(--marigold);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--marigold);
    outline-offset: 3px;
}

/* ---------- Product preview (dashboard mock) ---------- */
.preview-wrap {
    background: var(--ink);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 50px 100px -40px rgba(0,0,0,0.5);
}

.preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

    .preview-bar i {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--line);
    }

    .preview-bar span {
        margin-left: 12px;
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        color: var(--mist);
        opacity: 0.7;
    }

.preview-body {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 420px;
}

@media (max-width:760px) {
    .preview-body {
        grid-template-columns: 1fr;
    }
}

.preview-side {
    border-right: 1px solid var(--line);
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width:760px) {
    .preview-side {
        display: none;
    }
}

.preview-side a {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12.5px;
    color: var(--mist);
    padding: 10px 12px;
    border-radius: 4px;
}

    .preview-side a[data-tab] {
        cursor: pointer;
    }

    .preview-side a.active {
        background: rgba(231,167,59,0.12);
        color: var(--marigold);
    }

.preview-main {
    padding: 26px 28px;
}

.preview-tabs {
    display: flex;
    gap: 4px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
}

.preview-tab {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12px;
    color: var(--mist);
    opacity: 0.6;
    padding: 12px 16px;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

    .preview-tab.active {
        opacity: 1;
        color: var(--marigold);
        border-bottom-color: var(--marigold);
    }

.preview-pane {
    display: none;
}

    .preview-pane.active {
        display: block;
    }

.pform-title {
    font-family: 'Fraunces',serif;
    font-size: 18px;
    color: var(--cream);
    margin-bottom: 26px;
}

.pform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
}

@media (max-width:600px) {
    .pform-grid {
        grid-template-columns: 1fr;
    }
}

.pfield label {
    display: block;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
    color: var(--mist);
    opacity: 0.75;
    margin-bottom: 8px;
}

    .pfield label .req {
        color: var(--rust);
    }

.pfield .pbox {
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 12px 14px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12.5px;
    color: var(--mist);
    opacity: 0.55;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .pfield .pbox.filled {
        color: var(--cream);
        opacity: 0.9;
    }

.pform-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

    .pform-actions .btn {
        padding: 11px 20px;
        font-size: 13px;
    }

.preview-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 24px;
}

@media (max-width:600px) {
    .preview-stats {
        grid-template-columns: 1fr 1fr;
    }
}

.pstat {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px;
}

    .pstat .lbl {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--mist);
        opacity: 0.75;
    }

    .pstat .val {
        font-family: 'Fraunces',serif;
        font-size: 24px;
        color: var(--cream);
        margin-top: 8px;
    }

    .pstat .delta {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        color: var(--marigold);
        margin-top: 4px;
    }

.preview-chart {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px 20px 14px;
    margin-bottom: 18px;
}

    .preview-chart .lbl {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--mist);
        opacity: 0.75;
        margin-bottom: 16px;
    }

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 110px;
}

    .chart-bars .cb {
        flex: 1;
        background: linear-gradient(180deg,var(--marigold),var(--rust));
        border-radius: 3px 3px 0 0;
        height: 0;
        transition: height 1s ease;
    }

.chart-labels {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

    .chart-labels span {
        flex: 1;
        text-align: center;
        font-family: 'IBM Plex Mono',monospace;
        font-size: 9.5px;
        color: var(--mist);
        opacity: 0.6;
    }

.preview-table {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.ptr {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    gap: 8px;
    padding: 11px 16px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11.5px;
    color: var(--mist);
}

    .ptr.head {
        background: rgba(244,238,222,0.04);
        color: var(--cream);
        opacity: 0.6;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-size: 10px;
    }

    .ptr:not(.head) {
        border-top: 1px solid var(--line);
    }

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
}

    .tag.ok {
        background: rgba(231,167,59,0.15);
        color: var(--marigold);
    }

    .tag.pending {
        background: rgba(155,194,201,0.15);
        color: var(--mist);
    }

/* ---------- Process ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    position: relative;
}

@media (max-width:900px) {
    .process {
        grid-template-columns: 1fr 1fr;
        gap: 40px 0;
    }
}

@media (max-width:560px) {
    .process {
        grid-template-columns: 1fr;
    }
}

.pstep {
    padding: 0 26px 0 0;
    position: relative;
}

    .pstep:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 22px;
        right: 0;
        width: 26px;
        height: 1px;
        background: repeating-linear-gradient(90deg, var(--rust) 0 5px, transparent 5px 9px);
    }

@media (max-width:900px) {
    .pstep:nth-child(2)::after {
        display: none;
    }

    .pstep:last-child::after {
        display: none;
    }
}

@media (max-width:560px) {
    .pstep::after {
        display: none !important;
    }
}

.pstep .pnum {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 13px;
    color: var(--rust);
    border: 1px solid var(--rust);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pstep h3 {
    font-size: 17px;
    color: var(--ink);
}

.pstep p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #3a4a4f;
}

/* ---------- Comparison ---------- */
.compare {
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    overflow: hidden;
    background: var(--cream);
}

.crow {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
}

    .crow > div {
        padding: 16px 22px;
        font-size: 14px;
        border-bottom: 1px solid var(--line-dark);
    }

    .crow.head > div {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 16px 22px;
        border-bottom: 1px solid var(--line-dark);
    }

    .crow.head {
        background: var(--ink);
        color: var(--cream);
    }

        .crow.head .hi {
            color: var(--marigold);
        }

    .crow:last-child > div {
        border-bottom: none;
    }

    .crow .label {
        font-weight: 500;
        color: var(--ink);
    }

    .crow .no {
        color: #7a6a55;
    }

        .crow .no::before {
            content: '— ';
        }

    .crow .yes {
        color: var(--teal);
        font-weight: 600;
    }

        .crow .yes::before {
            content: '✓ ';
            color: var(--rust);
        }

@media (max-width:640px) {
    .crow {
        grid-template-columns: 1fr;
    }

        .crow > div {
            border-bottom: none;
            padding: 6px 22px;
        }

    .crow {
        padding-bottom: 14px;
        border-bottom: 1px solid var(--line-dark);
    }

        .crow.head {
            display: none;
        }

        .crow .label {
            padding-top: 16px;
            font-family: 'IBM Plex Mono',monospace;
            font-size: 11px;
            text-transform: uppercase;
            color: var(--rust);
        }
}

/* ---------- Testimonials ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

@media (max-width:900px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}

.testi {
    background: var(--cream-2);
    border-radius: 6px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
}

    .testi .quote-mark {
        font-family: 'Fraunces',serif;
        font-size: 44px;
        color: var(--rust);
        line-height: 1;
        opacity: 0.5;
    }

    .testi p.q {
        font-size: 15px;
        line-height: 1.65;
        color: var(--ink-text);
        margin-top: 6px;
        flex: 1;
    }

    .testi .who {
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid var(--line-dark);
    }

        .testi .who b {
            display: block;
            font-size: 14px;
            color: var(--ink);
        }

        .testi .who span {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 11.5px;
            color: #4a5a5f;
        }

.sample-tag {
    display: inline-block;
    margin-top: 24px;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11.5px;
    color: #7a6a55;
    border: 1px dashed rgba(21,34,39,0.3);
    padding: 8px 14px;
    border-radius: 4px;
}

/* ---------- Pricing ---------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width:900px) {
    .price-grid {
        grid-template-columns: 1fr;
    }
}

.plan {
    background: var(--cream);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .plan.pop {
        background: var(--ink);
        color: var(--cream);
    }

    .plan .badge {
        position: absolute;
        top: 0;
        right: 30px;
        transform: translateY(-50%);
        background: var(--marigold);
        color: var(--ink);
        font-family: 'IBM Plex Mono',monospace;
        font-size: 10.5px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 10px;
        letter-spacing: 0.03em;
    }

    .plan h3 {
        font-size: 19px;
        color: inherit;
    }

    .plan .ptag {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 12.5px;
        margin-top: 8px;
        opacity: 0.7;
    }

    .plan .pval {
        font-family: 'Fraunces',serif;
        font-size: 26px;
        margin-top: 20px;
    }

        .plan .pval small {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 12px;
            font-weight: 400;
            opacity: 0.6;
        }

    .plan ul {
        list-style: none;
        margin: 24px 0 0;
        padding: 0;
        flex: 1;
    }

        .plan ul li {
            display: flex;
            gap: 10px;
            padding: 9px 0;
            font-size: 13.5px;
            border-top: 1px solid var(--line-dark);
        }

    .plan.pop ul li {
        border-top: 1px solid var(--line);
    }

    .plan ul li:first-child {
        border-top: none;
    }

    .plan ul li::before {
        content: '✓';
        color: var(--rust);
        flex-shrink: 0;
        font-weight: 700;
    }

    .plan.pop ul li::before {
        color: var(--marigold);
    }

    .plan .btn {
        margin-top: 26px;
        width: 100%;
        justify-content: center;
    }

/* ---------- FAQ ---------- */
.faq-item {
    border-bottom: 1px solid var(--line-dark);
}

    .faq-item:first-child {
        border-top: 1px solid var(--line-dark);
    }

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 4px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Fraunces',serif;
    font-size: 16.5px;
    color: var(--ink);
}

    .faq-q .plus {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 18px;
        color: var(--rust);
        flex-shrink: 0;
        transition: transform .25s;
    }

.faq-item.open .plus {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

    .faq-a p {
        padding: 0 4px 22px;
        font-size: 14.5px;
        line-height: 1.65;
        color: #3a4a4f;
        max-width: 640px;
    }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--ink);
    border-top: 1px solid var(--line);
    padding: 12px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .sticky-cta span {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 12px;
        color: var(--mist);
    }

@media (max-width:700px) {
    .sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 64px;
    }
}

.gatepass {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
}

.gp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    margin-bottom: 22px;
    color: #163b2c;
}

.gp-line {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

    .gp-line label {
        font-size: 14px;
        font-weight: 600;
        color: #374151;
    }

    .gp-line input {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 15px;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .gp-line input:focus {
            border-color: #198754;
            box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.12);
        }

.gp-cta {
    margin-top: 24px;
}

    .gp-cta button {
        width: 100%;
        padding: 13px 18px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
    }

@media (max-width: 480px) {
    .gatepass {
        padding: 18px;
    }
}