/* KD Website — redesigned (kasi.money-inspired layout language)
   - huge rounded cards
   - clean topbar with pill CTA + QR
   - alternating light/dark blocks
   - handwriting accent font for “scribble” headings
*/

:root {
    --bg: #ffffff;
    --ink: #0b0b0c;
    --muted: rgba(11,11,12,.68);
    --line: rgba(11,11,12,.10);
    --soft: rgba(11,11,12,.04);
    --dark: #0b0b0c;
    --dark2: #101013;
    --mutedDark: rgba(255,255,255,.70);
    --lineDark: rgba(255,255,255,.14);
    --radius: 28px;
    --radiusXL: 44px;
    --shadow: 0 18px 70px rgba(0,0,0,.08);
    --shadowDark: 0 26px 110px rgba(0,0,0,.48);
    --maxw: 1120px;
    --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
    --hand: "Patrick Hand", "Inter", system-ui;
    --ease: cubic-bezier(.2,.85,.2,1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--maxw), calc(100% - 48px));
    margin-inline: auto;
}

.ico {
    width: 18px;
    height: 18px;
    display: inline-block;
}

/* ---------- PNG ICON SYSTEM (KD) ---------- */
.ico-badge {
    --acc: rgba(0,0,0,.06);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: var(--acc);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ico-badge-sm {
    width: 26px;
    height: 26px;
}
/* ---------- PNG ICONS (Flaticon) ---------- */
.ico-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

/* badge behind icons (adds colour without messy multi-colour icons) */
.ico-badge {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
}

.ico-badge-mini {
    width: 26px;
    height: 26px;
    border-radius: 10px;
}

.mini-ico {
    width: 16px;
    height: 16px;
}

/* Tag with icon badge */
.tag {
    gap: 10px;
}

.tag-accent {
    padding-left: 10px;
}

/* Accent palette (subtle, premium) */
.tag-accent-teal .ico-badge {
    background: rgba(0, 186, 172, .12);
    border-color: rgba(0, 186, 172, .20);
}

.tag-accent-amber .ico-badge {
    background: rgba(255, 170, 0, .14);
    border-color: rgba(255, 170, 0, .22);
}

.tag-accent-violet .ico-badge {
    background: rgba(138, 86, 255, .14);
    border-color: rgba(138, 86, 255, .22);
}

.tag-accent-sky .ico-badge {
    background: rgba( 56, 189, 248, .14);
    border-color: rgba(56, 189, 248, .22);
}

.tag-accent-olive .ico-badge {
    background: rgba( 16, 185, 129, .12);
    border-color: rgba(16, 185, 129, .20);
}

.tag-accent-rose .ico-badge {
    background: rgba(244, 63, 94, .12);
    border-color: rgba(244, 63, 94, .20);
}

/* Dark section: if icons are BLACK PNGs, invert makes them white */
.dark .ico-img,

/* dark badge tweak */
.ico-badge-dark {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
}

/* Bullets with icons */
.bullets-ico li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.84);
    font-weight: 650;
}

.li-ico {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

/* Optional: small “hero note” styling if not already present */
.hero-note {
    margin: 14px 0 0;
    color: rgba(0,0,0,.62);
    font-weight: 650;
}

.dotsep {
    opacity: .55;
    padding: 0 6px;
}


/* slightly smaller in compact places */
.ico-badge-sm .ico-img {
    width: 16px;
    height: 16px;
}

/* tasteful accent options (keeps the site premium) */
.acc-sky {
    --acc: rgba(70, 160, 255, .14);
}

.acc-mint {
    --acc: rgba(40, 220, 170, .14);
}

.acc-sand {
    --acc: rgba(255, 200, 90, .16);
}

.acc-lilac {
    --acc: rgba(180, 120, 255, .14);
}

.acc-rose {
    --acc: rgba(255, 120, 150, .12);
}

.acc-slate {
    --acc: rgba(0, 0, 0, .06);
}

/* on dark sections: make the badge readable without recolouring icons */
.dark .ico-badge {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.10);
}

/* helper for tags (align icon + text nicely) */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* bullet rows when using icons */
.bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CTA button icon bubble so you don’t need white icons */
.pillbtn-solid .ico-badge {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.14);
}


.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: var(--ink);
    color: var(--bg);
    padding: 10px 14px;
    border-radius: 999px;
    z-index: 999;
}

    .skip-link:focus {
        left: 14px;
    }

:focus-visible {
    outline: 2px solid rgba(0,0,0,.55);
    outline-offset: 3px;
    border-radius: 14px;
}

/* TOPBAR */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
}

/* Brand logo (replaces typed "KD") */
.brand-logo {
    height: 100px;
    width: auto;
    display: block;
}

/* Ensure brand row still aligns nicely */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PNG icon sizing (used in topbar + buttons) */
.ico-img {
    width: 18px;
    height: 18px;
    display: inline-block;
    object-fit: contain;
}

/* Icon button uses PNG now */
.iconbtn .ico-img {
    width: 18px;
    height: 18px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.brand-mark {
    font-weight: 900;
    letter-spacing: -.03em;
    font-size: 1.25rem;
}

.brand-sub {
    font-weight: 650;
    color: rgba(0,0,0,.55);
    font-size: .98rem;
}

.navlinks {
    display: flex;
    gap: 18px;
    align-items: center;
}

.navlink {
    font-size: .92rem;
    color: rgba(0,0,0,.68);
    padding: 10px 8px;
    border-radius: 999px;
    transition: background .2s var(--ease), color .2s var(--ease);
}

    .navlink:hover {
        background: rgba(0,0,0,.04);
        color: rgba(0,0,0,.9);
    }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-testbtn {
    white-space: nowrap;
}
.pillbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    font-weight: 700;
    letter-spacing: -.01em;
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
    white-space: nowrap;
}

    .pillbtn:hover {
        transform: translateY(-1px);
    }

.pillbtn-ghost {
    background: rgba(0,0,0,.03);
}

    .pillbtn-ghost:hover {
        background: rgba(0,0,0,.05);
        border-color: rgba(0,0,0,.18);
    }

.pillbtn-solid {
    background: var(--ink);
    color: var(--bg);
    border-color: rgba(0,0,0,.85);
    box-shadow: 0 14px 44px rgba(0,0,0,.16);
}

    .pillbtn-solid:hover {
        background: rgba(0,0,0,.92);
    }

.iconbtn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

    .iconbtn:hover {
        transform: translateY(-1px);
        background: rgba(0,0,0,.05);
        border-color: rgba(0,0,0,.18);
    }

.menubtn {
    display: none;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.03);
    font-weight: 750;
}

.qrpanel {
    margin: 10px 0 0;
}

.qrpanel-inner {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 14px;
    box-shadow: var(--shadow);
}

.qrpanel-title {
    font-weight: 850;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.qrpanel-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
}

.qrfake {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(0,0,0,.12) 2px, transparent 2px) 0 0/14px 14px, linear-gradient(rgba(0,0,0,.12) 2px, transparent 2px) 0 0/14px 14px, radial-gradient(circle at 18% 20%, rgba(0,0,0,.7) 0 14px, transparent 15px), radial-gradient(circle at 80% 20%, rgba(0,0,0,.7) 0 14px, transparent 15px), radial-gradient(circle at 18% 82%, rgba(0,0,0,.7) 0 14px, transparent 15px);
    opacity: .92;
}

.qrpanel-copy p {
    margin: 0;
}

.qrpanel-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.smallpill {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.03);
    font-weight: 700;
}

.smallpill-disabled {
    opacity: .55;
    pointer-events: none;
}

.mobilenav {
    margin: 10px 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.mobilink {
    display: block;
    padding: 14px 14px;
    border-top: 1px solid var(--line);
    font-weight: 750;
    color: rgba(0,0,0,.78);
}

    .mobilink:first-child {
        border-top: 0;
    }

    .mobilink:hover {
        background: rgba(0,0,0,.03);
    }

@media (max-width: 980px) {
    .navlinks {
        display: none;
    }

    .menubtn {
        display: inline-flex;
    }
}

/* TYPO */
.scribble {
    font-family: var(--hand);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0,0,0,.62);
    font-size: 1.02rem;
}

.scribble-dark {
    color: rgba(255,255,255,.70);
}

.display {
    margin: 10px 0 0;
    font-family: var(--serif);
    letter-spacing: -.05em;
    line-height: 1.02;
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
}

.display-strong {
    font-family: var(--sans);
    font-weight: 900;
    letter-spacing: -.04em;
}

.h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    letter-spacing: -.03em;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.h2-dark {
    color: #fff;
}

.lead {
    margin: 14px 0 0;
    font-size: 1.08rem;
    max-width: 74ch;
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

.muted-dark {
    color: var(--mutedDark);
}

.max {
    max-width: 86ch;
}


/* RAIL */
.rail {
    margin-top: 10px;
}

.rail-inner {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.rail-label {
    font-family: var(--hand);
    text-transform: uppercase;
    letter-spacing: .10em;
    color: rgba(0,0,0,.62);
    white-space: nowrap;
    font-size: .92rem;
    opacity: .75;
}

.rail-track {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.rail-pill {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.02);
    font-weight: 750;
    white-space: nowrap;
}

/* ===== Rail marquee (mobile only, enabled via JS) ===== */

.rail-track {
    overflow: auto;
    scrollbar-width: thin;
}

    /* When marquee is enabled, we hide overflow and animate the inner row */
    .rail-track.is-marquee {
        overflow: hidden;
        position: relative;
        /* subtle edge fade (optional but premium) */
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    }

        .rail-track.is-marquee .rail-track-inner {
            display: flex;
            gap: 8px;
            width: max-content;
            will-change: transform;
            animation: rail-marquee var(--rail-marquee-duration, 18s) linear infinite;
        }

    .rail-track.is-paused .rail-track-inner {
        animation-play-state: paused;
    }

@keyframes rail-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--rail-marquee-distance, 0px)));
    }
}

/* SECTIONS */
.section {
    padding: 44px 0;
}

.section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

/* CARD GRIDS */
.cards3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 920px) {
    .cards3 {
        grid-template-columns: 1fr;
    }
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radiusXL);
    background: rgba(255,255,255,.94);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform .22s var(--ease);
    position: relative;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-2px);
    }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.step {
    font-family: var(--serif);
    font-weight: 700;
    opacity: .85;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
    font-weight: 850;
    letter-spacing: -.01em;
}

.card h3 {
    margin: 8px 0 6px;
    letter-spacing: -.02em;
}

.card p {
    margin: 0;
}

/* SPLIT BIG CARDS */
.split {
    display: grid;
    gap: 16px;
}

/* SPLIT BIG CARDS */
.bigcard {
    border: 1px solid var(--line);
    border-radius: var(--radiusXL);
    background: rgba(255,255,255,.94);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
}

/* Make the left side “fill” the height nicely */
.bigcard-copy {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.bigcard-main {
    display: grid;
    gap: 10px;
}

/* Constrain the media height so the card doesn’t become a skyscraper */
.bigcard-media {
    border-left: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.02);
    overflow: hidden;
    /* Key change: controls height */
    aspect-ratio: 16 / 11;
}

    .bigcard-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* KD at-a-glance block (fills the dead space with purpose) */
.bigcard-micro {
    margin-top: auto; /* pushes this block to the bottom */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.micro {
    border: 1px solid var(--line);
    background: rgba(0,0,0,.02);
    border-radius: 22px;
    padding: 12px;
}

.micro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hand);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0,0,0,.62);
    font-size: .95rem;
}

.kd-stamp {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: -.03em;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.8);
    color: rgba(0,0,0,.86);
}

.micro-text {
    margin-top: 6px;
    font-size: .96rem;
    line-height: 1.45;
}

.micro-cta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.72);
    border-radius: 22px;
    padding: 12px 14px;
    font-weight: 750;
    letter-spacing: -.01em;
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

    .micro-cta:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.9);
        border-color: rgba(0,0,0,.18);
    }

@media (max-width: 980px) {
    .bigcard {
        grid-template-columns: 1fr;
    }

    .bigcard-media {
        border-left: 0;
        border-top: 1px solid rgba(0,0,0,.08);
        aspect-ratio: 16 / 9;
    }

    .bigcard-micro {
        grid-template-columns: 1fr;
    }
}


.pillgrid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pillmini {
    display: inline-flex;
    padding: 9px 11px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
    font-weight: 850;
    color: rgba(0,0,0,.74);
}

/* DARK BLOCK */
.dark {
    background: var(--dark);
    border-top: 1px solid var(--lineDark);
    border-bottom: 1px solid var(--lineDark);
    padding: 54px 0;
    margin-top: 6px;
}

.dark-head {
    margin-bottom: 16px;
}

.dark-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 980px) {
    .dark-grid {
        grid-template-columns: 1fr;
    }
}

.dark-card {
    border: 1px solid var(--lineDark);
    border-radius: var(--radiusXL);
    overflow: hidden;
    box-shadow: var(--shadowDark);
    padding: 22px;
    position: relative;
}

.dark-card-left {
    background: radial-gradient(closest-side at 20% 20%, rgba(255,255,255,.08), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
    color: #fff;
}

.dark-card-right {
    padding: 0;
    background: #0f0f12;
}

    .dark-card-right img {
        width: 100%;
        height: 100%;
        min-height: 340px;
        object-fit: cover;
        display: block;
    }

/* Only for the device screenshot version of the right card */
.dark-card-right-device {
    padding: 18px;
    background: #0f0f12;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Fit tall phone-frame image without cropping */
.dark-device-img {
    height: clamp(520px, 62vh, 740px);
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 28px;
    box-shadow: 0 26px 110px rgba(0,0,0,.55);
}

/* Move caption to top so it doesn't fight the device bottom area */
.dark-card-right-device .imgcap {
    top: 16px;
    bottom: auto;
    left: 16px;
    background: rgba(0,0,0,.45);
    border-color: rgba(255,255,255,.22);
}

@media (max-width: 980px) {
    .dark-device-img {
        height: clamp(480px, 60vh, 700px);
    }
}

/* PREMIUM: Single split card (replaces two separate cards) */
.dark-split {
    border: 1px solid var(--lineDark);
    border-radius: var(--radiusXL);
    overflow: hidden;
    box-shadow: var(--shadowDark);
    background: #0f0f12;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr; /* text slightly narrower, device heavier */
    gap: 0;
}

/* LEFT panel */
.dark-split-copy {
    padding: 26px;
    color: #fff;
    background: radial-gradient(closest-side at 20% 20%, rgba(255,255,255,.08), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    /* Make bullets look tighter + more premium */
    .dark-split-copy .bullets {
        margin-top: 6px;
        gap: 10px;
    }

/* RIGHT panel */
.dark-split-media {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Your existing device image sizing is fine */
.dark-device-img {
    height: clamp(520px, 62vh, 740px);
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 28px;
    box-shadow: 0 26px 110px rgba(0,0,0,.55);
}

/* Caption stays at the top */
.dark-split-media .imgcap {
    top: 16px;
    bottom: auto;
    left: 16px;
    background: rgba(0,0,0,.45);
    border-color: rgba(255,255,255,.22);
}

/* NEW: Flow strip (clear + premium) */
.pay-flow {
    margin-top: auto;
    padding: 14px 14px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    /* subtle “panel” so pills sit on something visible */
    background: rgba(255,255,255,.03);
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
    .pay-flow * {
        color: rgba(255,255,255,.96) !important;
    }
/* Make pills clearly visible */
.flow-pill {
    padding: 10px 14px;
    border-radius: 999px;
    /* stronger contrast */
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.96);
    font-weight: 850;
    letter-spacing: -.01em;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* Arrow a bit brighter */
.flow-arrow {
    color: rgba(255,255,255,.75);
    font-weight: 900;
}x-ms-webview

/* Optional tiny note */
.trust-note {
    margin-top: 10px;
    font-size: .92rem;
    color: rgba(255,255,255,.70);
}

/* Responsive */
@media (max-width: 980px) {
    .dark-split {
        grid-template-columns: 1fr;
    }
}

.imgcap {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.35);
    color: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    font-weight: 800;
}

.tag-dark {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.90);
}

.bullets {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
}

    .bullets li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255,255,255,.84);
        font-weight: 650;
    }

    .bullets.light li {
        color: rgba(0,0,0,.68);
        font-weight: 700;
    }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
}

.bullets.light .dot {
    background: rgba(0,0,0,.70);
}

/* FOOTER */
.footer {
    margin-top: 34px;
    background: var(--dark);
    border-top: 1px solid var(--lineDark);
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
}

.footerlink {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.90);
    font-weight: 800;
}

    .footerlink:hover {
        border-color: rgba(255,255,255,.28);
        background: rgba(255,255,255,.07);
    }
.footer-links {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-left {
    display: grid;
    gap: 6px;
}

.footer-credit {
    color: rgba(255,255,255,.70);
    font-size: .92rem;
    font-weight: 650;
}

.footer-credit-link {
    color: rgba(255,255,255,.92);
    font-weight: 850;
    border-bottom: 1px solid rgba(255,255,255,.22);
    padding-bottom: 1px;
}

    .footer-credit-link:hover {
        border-bottom-color: rgba(255,255,255,.45);
    }


/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pillbtn, .iconbtn, .card, .store-badge {
        transition: none;
    }
}

/* =========================
   DOWNLOAD SECTION (premium spacing)
   ========================= */

/* More breathing room between the 3 cards */
#download .cards3 {
    gap: 22px;
}

/* Make each step card breathe + behave like a “stack” */
#download .card-step {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 460px; /* keeps them visually balanced */
}

    /* Better type rhythm */
    #download .card-step h3 {
        margin: 8px 0 0;
    }

    #download .card-step p {
        margin: 6px 0 0;
        max-width: 56ch;
    }

/* Store badges: keep them side-by-side but not squashed */
#download .store-inline {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

/* Make the badge tiles look like “premium chips” */
#download .store-inline-item {
    border: 1px solid var(--line);
    background: rgba(0,0,0,.02);
    border-radius: 18px;
    padding: 12px 14px;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 48px rgba(0,0,0,.06);
}

    #download .store-inline-item img {
        height: 44px;
        width: auto;
        display: block;
    }

    #download .store-inline-item.is-disabled {
        opacity: .55;
        filter: grayscale(1) brightness(.95);
    }

/* Footer panel: push to bottom so the card doesn’t feel top-heavy */
#download .step-visual {
    margin-top: auto; /* KEY: uses empty space intentionally */
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
}

/* Chips: make them symmetric + tighter */
#download .step-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#download .step-chip {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
    font-weight: 800;
    color: rgba(0,0,0,.78);
    text-align: center;
    white-space: nowrap;
}

/* Step 2: mini boxes look more intentional */
#download .step-mini-grid {
    display: grid;
    gap: 12px;
}

#download .step-mini {
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 18px;
    background: rgba(0,0,0,.02);
    padding: 12px 14px;
}

#download .mini-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .78rem;
    color: rgba(0,0,0,.62);
    margin-bottom: 6px;
}

#download .mini-text {
    font-weight: 800;
    color: rgba(0,0,0,.82);
}

/* Step 3 flow: a little more spacing + nicer wrap behavior */
#download .step-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 2px;
}

#download .flow-pill {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
    font-weight: 850;
    color: rgba(0,0,0,.82);
}

#download .flow-arrow {
    color: rgba(0,0,0,.55);
    font-weight: 900;
}

/* CTA row inside step 3: give it “footer bar” energy */
#download .step-cta {
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.02);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    #download .step-cta .ico-img {
        width: 18px;
        height: 18px;
    }

/* Responsive: on smaller screens let the badge tiles stack */
@media (max-width: 520px) {
    #download .store-inline {
        grid-template-columns: 1fr;
    }

    #download .step-chip-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix #1: store badges getting clipped */
#download .store-inline-item {
    padding: 10px 12px; /* a bit less padding = more room */
}

    #download .store-inline-item img {
        max-width: 100%;
        height: auto;
        max-height: 46px; /* keeps them consistent */
        display: block;
        object-fit: contain;
    }

/* Fix #2: chip text getting cut (Ready to go) */
#download .step-chip {
    white-space: normal; /* allow wrap */
    line-height: 1.15;
    font-size: .92rem;
    min-height: 44px; /* keeps them uniform */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
}

/* Optional: give the badges a touch more room if needed */
#download .store-inline {
    grid-template-columns: 1.15fr .85fr;
}
/* ---------- LEGAL / PRIVACY PAGE ---------- */
.legal-meta {
    margin-top: 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
    color: rgba(0,0,0,.68);
    font-weight: 700;
}

.legalcard {
    border: 1px solid rgba(0,0,0,.10);
    border-radius: var(--radiusXL);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
    padding: 22px;
}

.prose h2 {
    margin-top: 22px;
    letter-spacing: -.02em;
}

.prose ul {
    padding-left: 18px;
}

.prose li {
    margin: 8px 0;
}

/* HERO small fix (lead centering) */
.lead-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ===== PRICING (premium + clean) ===== */

.fees-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

@media (max-width: 980px) {
    .fees-grid {
        grid-template-columns: 1fr;
    }
}

.fees-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fees-lead {
    margin: 4px 0 0;
    line-height: 1.6;
}

/* pin footnote to bottom */
.fees-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.08);
    line-height: 1.5;
}

/* KD fees card: nicer hierarchy */
.fees-hero {
    margin-top: 6px;
}

.fees-amount {
    font-size: clamp(44px, 4vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.03em;
}

.fees-subline {
    margin-top: 8px;
    font-weight: 650;
}

/* icon badge (inline svgs) */
.fees-ico {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.10);
    flex: 0 0 26px;
    margin-top: 1px;
}

    .fees-ico svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: rgba(0,0,0,.78);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* KD highlights */
.fees-rows {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fees-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(0,0,0,.74);
    font-weight: 650;
    line-height: 1.45;
}

/* rate list (replaces table) */
.fees-rates {
    margin-top: 8px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.85);
    overflow: hidden;
}

.fees-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

    .fees-rate:last-child {
        border-bottom: 0;
    }

.fees-rate-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: rgba(0,0,0,.74);
    font-weight: 650;
}

    .fees-rate-left span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.fees-pill {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
    font-weight: 900;
    color: rgba(0,0,0,.85);
    white-space: nowrap;
}

.fees-pill-ok {
    background: rgba(0,0,0,.02);
    font-weight: 850;
}

/* tiny polish */
.fees-card .tag {
    align-self: flex-start;
}
/* ===== MERCHANT ONBOARDING (premium cleanup) ===== */

.onb-cards {
    margin-top: 10px;
}

/* shared flow strip under heading */
.onb-flow {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.onb-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.80);
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
    font-weight: 850;
    color: rgba(0,0,0,.82);
}

.onb-ico {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.onb-arrow {
    font-weight: 900;
    color: rgba(0,0,0,.45);
}

/* card internals */
.onb-card {
    padding: 22px;
}

.onb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.onb-step {
    font-weight: 900;
    letter-spacing: .06em;
    color: rgba(0,0,0,.60);
}

.onb-tag {
    transform: translateZ(0);
}

.onb-title {
    margin: 0 0 8px;
}

.onb-desc {
    margin: 0 0 14px;
    line-height: 1.6;
}

/* replace dot bullets with compact check rows */
.onb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.08);
}

/* icon bullet rows */
.onb-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.onb-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(0,0,0,.72);
    font-weight: 650;
}

.onb-ico {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.10);
    flex: 0 0 22px;
    margin-top: 2px;
}

    .onb-ico svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: rgba(0,0,0,.78);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.onb-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.08);
}

/* tighten a bit on smaller widths */
@media (max-width: 720px) {
    .onb-card {
        padding: 18px;
    }

    .onb-pill {
        padding: 9px 12px;
    }
}
/* ===== Panel list (premium, consistent, no bullets) ===== */

.panel-list {
    margin-top: 14px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.80);
    overflow: hidden;
}

.panel-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    align-items: flex-start;
}

    .panel-item:last-child {
        border-bottom: 0;
    }

.panel-ico {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.10);
    flex: 0 0 26px;
    margin-top: 2px;
}

    .panel-ico svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: rgba(0,0,0,.78);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.panel-title {
    font-weight: 900;
    color: rgba(0,0,0,.86);
    line-height: 1.25;
}

.panel-sub {
    margin-top: 4px;
    line-height: 1.5;
}

.panel-body {
    min-width: 0;
}

/* CTA row that looks like part of the panel */
.panel-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    border-top: 1px solid rgba(0,0,0,.06);
    background: rgba(0,0,0,.01);
    font-weight: 650;
}

    .panel-cta:hover {
        background: rgba(0,0,0,.02);
    }

    .panel-cta .ico-img {
        width: 18px;
        height: 18px;
        opacity: .9;
    }

/* Testing phase CSS*/

.testing-hero {
    padding: 48px 0 72px;
    background: radial-gradient(1200px 500px at 10% 0%, rgba(0,0,0,0.04), transparent 60%), linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
}

.testing-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: start;
}

.testing-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.testing-lead {
    font-size: 1.05rem;
    color: #4b5563;
    max-width: 58ch;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
}

.testing-points {
    margin: 18px 0 0;
    padding-left: 20px;
    color: #1f2937;
}

.testing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}

.testing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #111827;
}

.input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    color: #111827;
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.input:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

.field-error,
.testing-validation-summary {
    color: #b42318;
    font-size: .92rem;
    margin-top: 6px;
}

.testing-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: .96rem;
}

.testing-alert-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.testing-alert-error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}

.checkbox-row {
    display: flex;
    flex-direction: column;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #111827;
}

.submit-btn[disabled] {
    opacity: .7;
    cursor: not-allowed;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.testing-stats-card {
    margin: 20px 0 22px;
    padding: 22px;
    border-radius: 28px;
    background: radial-gradient(120% 140% at 0% 0%, rgba(0, 0, 0, 0.035), transparent 45%), linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    border: 1px solid #e7e7ea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    max-width: 480px;
}

.testing-stats-top {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.testing-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.testing-stats-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
    flex: 0 0 auto;
}

.testing-stats-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.testing-stats-number {
    font-size: clamp(3rem, 6vw, 4.25rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.06em;
    color: #111827;
    min-width: 72px;
}

.testing-stats-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.testing-stats-title {
    font-size: 1.06rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
}

.testing-stats-subtitle {
    font-size: 0.95rem;
    color: #667085;
    line-height: 1.45;
    max-width: 30ch;
}

.testing-stats-breakdown {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.testing-stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 150px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.testing-stat-pill-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #475467;
}

.testing-stat-pill-value {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

@media (max-width: 640px) {
    .testing-stats-card {
        padding: 18px;
        border-radius: 24px;
    }

    .testing-stats-main {
        gap: 12px;
    }

    .testing-stats-number {
        min-width: 56px;
    }

    .testing-stat-pill {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .testing-hero-inner {
        grid-template-columns: 1fr;
    }

    .testing-grid {
        grid-template-columns: 1fr;
    }
}