:root {
    --ink: #0a1628;
    --ink-2: #102038;
    --foam: #e8eef5;
    --paper: #ffffff;
    --muted: #5b6b7c;
    --line: #d5dee9;
    --emerald: #00b86b;
    --emerald-bright: #14d48a;
    --emerald-deep: #059669;
    --display: "Sora", "Segoe UI", sans-serif;
    --sans: "Manrope", "Segoe UI", sans-serif;
    --max: 1120px;
    --radius: 18px;
    --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home-body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--foam);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -40px; z-index: 100;
    background: var(--emerald); color: #052e1a; padding: 8px 12px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.wrap {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}
.wrap.narrow { width: min(100% - 2.5rem, 760px); }

.eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-deep);
}
.section-head {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}
.section-head h2,
.cta-inner h2,
.split-copy h2 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 700;
    overflow-wrap: break-word;
}
.section-head p,
.split-copy > p,
.cta-inner > p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.btn-solid,
.btn-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-solid {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-bright) 100%);
    color: #052e1a;
    padding: 0.72rem 1.2rem;
    border: 0;
    box-shadow: 0 10px 24px rgba(0, 184, 107, 0.22);
}
.btn-solid:hover { transform: translateY(-1px); }
.btn-outline {
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0.72rem 1.2rem;
    background: #fff;
}
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald-deep); }
.btn-ghost {
    color: var(--ink);
    padding: 0.55rem 0.85rem;
    border: 0;
    background: transparent;
}
.btn-lg { padding: 0.95rem 1.45rem; font-size: 1.02rem; }
.text-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--emerald-deep);
    font-weight: 700;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* Nav — always email-style white */
.home-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.nav-inner {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-brand img {
    height: 40px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    gap: 0.85rem;
    margin-left: 1rem;
    flex: 1;
    min-width: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--emerald-deep); }
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-left: auto;
}
.nav-cta .btn-solid,
.nav-cta .btn-ghost {
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
}
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 12px;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
}
.nav-toggle span {
    display: block; height: 2px; background: var(--ink); border-radius: 2px;
}
.mobile-nav {
    display: none;
    gap: 0.35rem;
    padding: 0.5rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a {
    text-decoration: none;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--ink);
}
.mobile-nav .btn-solid { color: #052e1a; justify-content: center; }

/* Hero — email-style on mobile, wide split on desktop */
.hero {
    position: relative;
    padding: 1.5rem 1.25rem 0.75rem;
    background:
        radial-gradient(900px 420px at 90% 0%, rgba(0,184,107,.12), transparent 55%),
        radial-gradient(700px 380px at 0% 100%, rgba(0,150,136,.08), transparent 50%),
        var(--foam);
}
.hero-shell {
    width: min(100%, var(--max));
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    animation: rise 0.8s ease both;
}
.hero-copy { min-width: 0; }
.hero-brand { margin: 0 0 0.85rem; }
.hero-brand img {
    height: clamp(44px, 10vw, 56px);
    width: auto;
}
.hero-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-deep);
}
.hero-accent {
    height: 4px;
    width: 100%;
    max-width: 12rem;
    margin: 0.85rem 0 1.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--emerald), var(--emerald-bright));
}
.hero-title {
    margin: 0 0 0.85rem;
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--ink);
    max-width: 14ch;
}
.hero-lede {
    margin: 0 0 1.5rem;
    max-width: 38rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-aside {
    display: none;
}
.hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

@media (min-width: 900px) {
    .hero {
        padding: 2.75rem 1.25rem 1.25rem;
    }
    .hero-shell {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
        gap: 2.5rem;
        align-items: center;
        padding: 2.75rem 3rem;
        border-radius: 24px;
    }
    /* Nav already shows the logo on desktop — keep hero cleaner */
    .hero-brand { display: none; }
    .hero-accent { max-width: 14rem; margin: 0.95rem 0 1.35rem; }
    .hero-aside {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        padding: 1.5rem;
        border-radius: 20px;
        background:
            radial-gradient(circle at 30% 20%, rgba(20,212,138,.18), transparent 55%),
            linear-gradient(160deg, #f4fbf8 0%, #eef3f8 100%);
        border: 1px solid rgba(0,184,107,.14);
        min-height: 280px;
    }
    .hero-icon {
        width: 148px;
        height: 148px;
        border-radius: 28px;
        box-shadow: 0 18px 40px rgba(7, 16, 28, 0.12);
        background: #fff;
    }
    .hero-aside-panel {
        text-align: center;
        display: grid;
        gap: 0.2rem;
    }
    .hero-aside-panel span {
        font-size: 0.78rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--muted);
        font-weight: 700;
    }
    .hero-aside-panel strong {
        font-family: var(--display);
        font-size: 1.45rem;
        color: var(--ink);
    }
    .hero-aside-panel em {
        font-style: normal;
        color: var(--emerald-deep);
        font-weight: 700;
    }
}

.proof { padding: 0; margin-top: -0.25rem; position: relative; z-index: 2; }
.proof-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.proof-row > div {
    background: var(--paper);
    padding: 1.25rem 1.35rem;
}
.proof-row strong {
    display: block;
    font-family: var(--display);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.proof-row span { color: var(--muted); font-size: 0.9rem; }

.section { padding: 5rem 0; }
.section-alt { background: #f4f7fb; }
.plain-list {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}
.plain-list li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--ink-2);
}
.plain-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.55em;
    width: 0.45rem; height: 0.45rem;
    border-radius: 50%;
    background: var(--emerald);
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.step-num {
    display: block;
    font-family: var(--display);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--emerald-deep);
    margin-bottom: 0.7rem;
    font-weight: 700;
}
.steps h3 {
    margin: 0 0 0.55rem;
    font-family: var(--display);
    font-size: 1.25rem;
}
.steps p { margin: 0; color: var(--muted); }

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.wallet-stage,
.secure-stage {
    border-radius: 20px;
    padding: 1.6rem 1.7rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
}
.wallet-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.wallet-amount {
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0.35rem 0 1.2rem;
}
.wallet-amount span { color: var(--emerald-deep); }
.wallet-lines { display: grid; gap: 0.7rem; }
.wallet-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
}
.wallet-lines em { font-style: normal; color: var(--muted); }
.wallet-lines b { color: var(--emerald-deep); }
.wallet-lines b.neg { color: #e11d48; }

.forex-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}
.forex-copy h3 {
    margin: 0 0 0.6rem;
    font-family: var(--display);
    font-size: 1.3rem;
}
.forex-copy > p { color: var(--muted); margin: 0 0 0.4rem; }
.currency-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.currency-cloud span {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(0,184,107,.1);
    color: var(--ink);
    border: 1px solid rgba(0,184,107,.18);
}
.currency-cloud .more {
    background: var(--ink);
    color: #fff;
    border-color: transparent;
}

.settle-grid,
.integrate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 2rem;
}
.integrate-grid { grid-template-columns: repeat(2, 1fr); }
.settle-grid article h3,
.integrate-grid article h3 {
    margin: 0 0 0.55rem;
    font-family: var(--display);
    font-size: 1.2rem;
}
.settle-grid article p,
.integrate-grid article p {
    margin: 0;
    color: var(--muted);
}

.secure-stage { display: grid; gap: 0.75rem; }
.secure-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}
.secure-row span { color: var(--muted); }
.secure-row b { color: var(--emerald-deep); font-weight: 700; }

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 0.35rem 0;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.08rem;
    padding: 1rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
    margin: 0 0 1.1rem;
    color: var(--muted);
    max-width: 58ch;
}

.cta-final {
    background: var(--foam);
    padding-bottom: 4rem;
}
.cta-inner {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2.5rem 1.75rem;
}
.cta-inner .hero-actions { justify-content: center; margin-top: 1.5rem; }

.home-footer {
    background: #fff;
    color: var(--muted);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--line);
}
.footer-inner { display: grid; gap: 1.5rem; }
.footer-brand-mark {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
}
.footer-brand-mark img {
    height: 42px;
    width: auto;
}
.footer-brand p { margin: 0; max-width: 36ch; }
.home-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
}
.home-footer nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.92rem;
}
.home-footer nav a:hover { color: var(--emerald-deep); }
.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}
.footer-copy a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}
.footer-copy a:hover { color: var(--emerald-deep); }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    .proof-row { grid-template-columns: 1fr 1fr; }
    .steps, .split, .forex-panel, .settle-grid, .integrate-grid {
        grid-template-columns: 1fr;
    }
    .section { padding: 4rem 0; }
}

@media (max-width: 560px) {
    .proof-row { grid-template-columns: 1fr; }
    .hero { padding: 1.1rem 1rem 0.35rem; }
    .hero-shell { padding: 1.25rem; }
    .hero-actions { width: 100%; }
    .hero-actions a,
    .cta-inner .hero-actions a { width: 100%; }
    .nav-brand img { height: 34px; }
}
