:root {
    --bg: #101014;
    --surface: #18181f;
    --surface-alt: #1e1e27;
    --border: #2a2a34;
    --text: #f4f0e6;
    --text-muted: #a3a1ad;
    --yellow: #ffd60a;
    --orange: #e8553c;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.6rem; }

p {
    margin: 0 0 1em;
    color: var(--text-muted);
}

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

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--yellow);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 15px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--yellow);
    color: #101014;
}

.btn-primary:hover {
    background: #ffe14d;
}

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

.btn-ghost:hover {
    border-color: var(--yellow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
    width: 100%;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--yellow);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(16, 16, 20, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

/* The header is sticky (~82px tall) and sits on top of the page, so a plain #id anchor jump lands the
   target flush under it with no clearance. scroll-margin-top pulls the stop point down by the header's
   height plus a little breathing room. */
#customers,
#business,
#pricing,
#onboarding {
    scroll-margin-top: 96px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.brand img {
    display: block;
    border-radius: 8px;
}

.main-nav {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Hero */
.hero {
    padding: 72px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-copy p {
    max-width: 46ch;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 32px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-trust p {
    margin: 0;
    font-size: 0.9rem;
}

.avatar-stack {
    display: flex;
}

.avatar-stack span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 2px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -10px;
}

.avatar-stack span:first-child {
    margin-left: 0;
}

.avatar-more {
    background: var(--yellow) !important;
    color: #101014;
}

/* Phone mockup */
.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-card {
    width: 100%;
    max-width: 340px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.phone-greeting {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.phone-card h3 {
    margin-bottom: 16px;
}

.phone-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-alt);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.phone-pin {
    margin-left: auto;
    color: var(--yellow);
}

.phone-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-alt);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.chip-active {
    background: var(--yellow);
    color: #101014;
    font-weight: 600;
}

.phone-listing {
    background: var(--surface-alt);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

.listing-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.listing-name {
    font-weight: 600;
    margin: 0;
}

.listing-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 2px 0 0;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.listing-rating .material-symbols-outlined {
    font-size: 16px;
    color: var(--yellow);
}

.listing-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tag-open {
    background: rgba(46, 196, 113, 0.15);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.tag {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.phone-tabbar {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Category strip */
.category-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.strip-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.strip-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.strip-item .material-symbols-outlined {
    color: var(--yellow);
}

/* Section intro */
.section-intro {
    text-align: center;
    padding: 88px 0 56px;
}

.section-intro p {
    max-width: 56ch;
    margin: 0 auto;
}

/* Feature blocks */
.feature-block {
    padding: 40px 0;
}

.feature-block-alt {
    background: var(--surface);
}

.feature-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 48px;
    align-items: center;
}

.feature-grid-reverse {
    grid-template-columns: 1fr 160px;
}

/* When the reversed block carries a device mockup instead of a plain icon it
   needs a wider right column. */
.feature-grid-reverse:has(.feature-visual) {
    grid-template-columns: 1fr 300px;
}

.feature-grid-reverse .feature-icon {
    order: 2;
}

.feature-grid-reverse .feature-visual {
    order: 2;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon .material-symbols-outlined {
    font-size: 52px;
    color: var(--yellow);
}

.feature-copy p {
    max-width: 60ch;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 10px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 0.95rem;
}

.check-list .material-symbols-outlined {
    color: var(--yellow);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.link-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--yellow);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    padding-top: 48px;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--yellow);
}

.stat span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Testimonial */
.testimonial {
    padding: 88px 0;
    text-align: center;
}

.quote-mark {
    font-size: 40px !important;
    color: var(--yellow);
}

.quote {
    max-width: 68ch;
    margin: 0 auto 28px;
    font-size: 1.35rem;
    color: var(--text);
    font-weight: 500;
}

.quote-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.quote-name {
    margin: 0;
    font-weight: 700;
}

.quote-role {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Pricing */
.pricing {
    padding: 88px 0;
    text-align: center;
    background: var(--surface);
}

.pricing-sub {
    max-width: 50ch;
    margin: 0 auto 8px;
}

.pricing-toggle-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.pricing-toggle-note em {
    color: var(--yellow);
    font-style: normal;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
}

.plan-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}

.plan-card-featured {
    border-color: var(--yellow);
    box-shadow: 0 0 0 1px var(--yellow);
}

.plan-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    background: var(--yellow);
    color: #101014;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.plan-name {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-tag {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.plan-card .btn {
    margin-bottom: 24px;
}

.plan-card .check-list li {
    font-size: 0.88rem;
}

.pricing-footnote {
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-footnote a {
    color: var(--yellow);
    font-weight: 600;
}

/* Onboarding form */
.onboarding {
    padding: 88px 0;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
}

.onboarding-copy p {
    max-width: 40ch;
}

.onboarding-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.form-success {
    display: flex;
    gap: 12px;
    background: rgba(46, 196, 113, 0.12);
    border: 1px solid rgba(46, 196, 113, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.form-success .material-symbols-outlined {
    color: #4ade80;
}

.form-success p {
    margin: 0;
    color: var(--text);
}

.form-errors ul {
    color: var(--orange);
    margin: 0 0 16px;
    padding-left: 20px;
    font-size: 0.85rem;
}

.form-row {
    margin-bottom: 18px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.onboarding-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.onboarding-form input,
.onboarding-form select,
.onboarding-form textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
}

.onboarding-form input:focus,
.onboarding-form select:focus,
.onboarding-form textarea:focus {
    outline: none;
    border-color: var(--yellow);
}

.field-error {
    display: block;
    color: var(--orange);
    font-size: 0.78rem;
    margin-top: 4px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.85rem;
    max-width: 32ch;
}

.footer-col h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.legal-page {
    padding: 64px 0 96px;
}

.legal-page h1 {
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.25rem;
    margin-top: 40px;
}

.legal-page p,
.legal-page ul {
    max-width: 70ch;
}

.legal-page ul {
    color: var(--text-muted);
    padding-left: 20px;
    margin: 0 0 1em;
}

.legal-page ul li {
    margin-bottom: 8px;
}

.legal-page ul strong {
    color: var(--text);
}

.legal-page a {
    color: var(--yellow);
    font-weight: 600;
}

/* ==========================================================================
   App showcase — customer-facing product screens (3 phones)
   The screens inside the device frames are product mockups, so they use fixed
   light-theme colours rather than the site's dark theme tokens.
   ========================================================================== */
.app-showcase {
    padding: 72px 0 40px;
    position: relative;
    overflow: hidden;
}

.app-showcase .showcase-head {
    text-align: center;
    position: relative;
    z-index: 1;
}

.app-showcase .showcase-head p {
    max-width: 60ch;
    margin: 0 auto;
}

/* Soft glow behind the phones */
.app-showcase::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 90%;
    height: 460px;
    background: radial-gradient(ellipse at center, rgba(255, 214, 10, 0.12), transparent 70%);
    pointer-events: none;
}

.showcase-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 34px;
    flex-wrap: wrap;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.showcase-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.showcase-col.is-focal {
    margin-bottom: 0;
}

.showcase-col.is-side {
    margin-bottom: 26px;
}

.showcase-caption {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.showcase-col.is-focal .showcase-caption {
    color: var(--text);
    font-weight: 600;
}

/* Device frame */
.device {
    width: 276px;
    border-radius: 38px;
    background: var(--surface-alt);
    padding: 9px;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.device.device-lg {
    width: 288px;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}

.device-screen {
    border-radius: 30px;
    overflow: hidden;
    background: #f4f0e6;
    height: 582px;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", "Figtree", sans-serif;
    color: #101014;
}

.device-lg .device-screen {
    border-radius: 31px;
    height: 612px;
}

/* Discovery screen */
.disc-header {
    padding: 16px 16px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-bottom: 1px solid #e6e2d6;
}

.disc-header img {
    width: 34px;
    height: 34px;
    display: block;
}

.disc-header .disc-title {
    flex: 1;
}

.disc-title strong {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.disc-title span {
    font-size: 0.66rem;
    color: #7c7c82;
}

.disc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.68rem;
    color: #101014;
    flex-shrink: 0;
}

.disc-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 14px 8px;
    background: #fff;
}

.disc-tabs span {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.72rem;
    color: #101014;
}

.disc-tabs span.is-active {
    background: #101014;
    color: var(--yellow);
}

.disc-search {
    margin: 6px 14px 4px;
    background: #fff;
    border: 1px solid #e6e2d6;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #7c7c82;
}

.disc-body {
    flex: 1;
    overflow: hidden;
    padding: 0 14px;
}

.disc-label {
    font-weight: 700;
    font-size: 1rem;
    color: #101014;
    padding: 14px 4px 8px;
}

.disc-featured {
    height: 116px;
    border-radius: 18px;
    background-color: #101014;
    background-size: cover;
    background-position: center;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.disc-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--yellow) 0%, var(--yellow) 42%, rgba(255, 214, 10, 0.85) 58%, rgba(255, 214, 10, 0) 88%);
}

.disc-featured .disc-featured-copy {
    position: relative;
    color: #101014;
}

.disc-featured-copy .fx-meta {
    font-weight: 700;
    font-size: 0.72rem;
}

.disc-featured-copy .fx-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
}

.disc-featured-copy .fx-sub {
    font-size: 0.72rem;
}

.disc-item {
    background: #fff;
    border: 1px solid #e6e2d6;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.disc-item .disc-thumb {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #101014;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.disc-item .disc-info {
    flex: 1;
}

.disc-info strong {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #101014;
}

.disc-info span {
    display: block;
    font-size: 0.68rem;
    color: #7c7c82;
}

.disc-info .disc-rating {
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--orange);
    margin-top: 2px;
}

.disc-heart {
    color: var(--orange);
    font-size: 1rem;
}

/* Storefront screen */
.store-cover {
    height: 150px;
    background-color: #101014;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.store-cover .store-btn {
    position: absolute;
    top: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 16, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
}

.store-btn.store-back { left: 14px; }
.store-btn.store-fav { right: 14px; }

.store-card {
    margin: -28px 14px 0;
    background: #fff;
    border: 1px solid #e6e2d6;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    position: relative;
}

.store-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.store-badges span {
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 1.4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f4f0e6;
    color: #101014;
}

.store-badges span.is-primary {
    background: var(--yellow);
}

.store-name {
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: -0.5px;
    color: #101014;
}

.store-desc {
    font-size: 0.78rem;
    color: #7c7c82;
    margin: 4px 0 12px;
}

.store-stats {
    display: flex;
}

.store-stats > div {
    flex: 1;
}

.store-stats strong {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #101014;
}

.store-stats strong.is-accent {
    color: var(--orange);
}

.store-stats span {
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: #7c7c82;
}

.store-apps-head {
    padding: 20px 18px 6px;
}

.store-apps-head strong {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #101014;
}

.store-apps-head span {
    font-size: 0.68rem;
    color: #7c7c82;
}

.store-apps {
    flex: 1;
    overflow: hidden;
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-app {
    background: #fff;
    border: 1px solid #e6e2d6;
    border-radius: 16px;
    padding: 13px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.store-app .app-glyph {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.store-app .app-info {
    flex: 1;
}

.app-info strong {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #101014;
}

.app-info span {
    font-size: 0.68rem;
    color: #7c7c82;
}

.store-app .app-chevron {
    color: #a4a199;
    font-size: 1.25rem;
}

/* Wallet screen */
.wallet-screen {
    background: #f4f6f3;
}

.wallet-header {
    background: #0e1411;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.wallet-balance {
    margin: 16px 16px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0e1411, #1f3a2b);
    padding: 20px 22px;
}

.wallet-balance .wb-label {
    font-weight: 600;
    font-size: 0.66rem;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, 0.63);
}

.wallet-balance .wb-amount {
    font-weight: 700;
    font-size: 2.25rem;
    color: #fff;
    margin: 8px 0 12px;
}

.wallet-topup {
    background: #d7f25a;
    color: #0e1411;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px;
    border-radius: 14px;
}

.wallet-section {
    font-weight: 600;
    font-size: 0.66rem;
    letter-spacing: 1.4px;
    color: #7a867e;
    padding: 14px 20px 8px;
}

.wallet-list {
    flex: 1;
    overflow: hidden;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-item {
    background: #fff;
    border: 1px solid #e2e7e2;
    border-radius: 14px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-item .wi-glyph {
    font-size: 1.15rem;
}

.wallet-item .wi-info {
    flex: 1;
}

.wi-info strong {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0e1411;
}

.wi-info span {
    font-size: 0.72rem;
    color: #7a867e;
}

.wallet-item .wi-amount {
    font-weight: 700;
    font-size: 0.85rem;
}

.wi-amount.is-out { color: var(--orange); }
.wi-amount.is-in { color: #13a88b; }

/* Business app phone (dark theme) — used in the "For business" feature block */
.device-biz {
    width: 270px;
    border-radius: 36px;
    background: #060503;
    border-color: #26262e;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}

.bizp-screen {
    background: #0e0e12;
    height: 560px;
    border-radius: 28px;
    color: #fff;
}

.bizp-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 8px;
}

.bizp-back {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #15151b;
    border: 1px solid #26262e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.bizp-chip {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #15151b;
    border: 1px solid #26262e;
    border-radius: 999px;
    padding: 4px 12px 4px 5px;
    color: #fff;
    font-weight: 600;
    font-size: 0.72rem;
}

.bizp-chip-badge {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--yellow), #7c2d12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
}

.bizp-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e0e12;
    font-weight: 700;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.bizp-greeting {
    padding: 14px 18px 6px;
}

.bizp-greeting strong {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.6px;
    color: #fff;
    line-height: 1;
}

.bizp-greeting > span {
    display: block;
    font-size: 0.72rem;
    color: #a8a8b0;
    margin-top: 5px;
}

.bizp-greeting .accent {
    color: var(--yellow);
}

.bizp-section {
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 1.8px;
    color: #a8a8b0;
    padding: 16px 18px 8px;
    margin: 0;
}

.bizp-workflow {
    margin: 0 14px;
    background: #15151b;
    border: 1px solid #26262e;
    border-radius: 14px;
    padding: 13px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.bizp-wf-glyph {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.bizp-wf-info {
    flex: 1;
}

.bizp-wf-info strong {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

.bizp-wf-info span {
    font-size: 0.68rem;
    color: #a8a8b0;
}

.bizp-apps {
    padding: 0 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bizp-app {
    background: #15151b;
    border: 1px solid #26262e;
    border-radius: 16px;
    padding: 14px;
}

.bizp-app-glyph {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.bizp-app strong {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

.bizp-app span {
    font-size: 0.64rem;
    color: #a8a8b0;
}

/* ==========================================================================
   Business browser showcase — the WASM admin app in a browser window
   ========================================================================== */
.biz-showcase {
    padding: 24px 0 88px;
    background: var(--surface);
}

.biz-showcase .showcase-head {
    text-align: center;
}

.biz-showcase .showcase-head p {
    max-width: 60ch;
    margin: 0 auto 40px;
}

.browser {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #0e0e12;
    border: 1px solid #26262e;
    box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.85);
    font-family: "Open Sans", "Figtree", sans-serif;
}

.browser-chrome {
    background: #15151b;
    border-bottom: 1px solid #26262e;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
}

.browser-dots {
    display: flex;
    gap: 7px;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ec6a5e; }
.browser-dots span:nth-child(2) { background: #f4bf4f; }
.browser-dots span:nth-child(3) { background: #61c554; }

.browser-url {
    flex: 1;
    background: #0e0e12;
    border: 1px solid #26262e;
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #a8a8b0;
    font-family: ui-monospace, monospace;
}

.browser-body {
    padding: 26px 30px 30px;
    color: #fff;
}

.biz-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.biz-greeting {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.biz-greeting .accent {
    color: var(--yellow);
}

.biz-greeting + .biz-sub {
    font-size: 0.82rem;
    color: #a8a8b0;
    margin: 4px 0 0;
}

.biz-chip-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.biz-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #15151b;
    border: 1px solid #26262e;
    border-radius: 999px;
    padding: 5px 12px 5px 6px;
    color: #fff;
    font-weight: 600;
    font-size: 0.78rem;
}

.biz-chip .biz-chip-badge {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--yellow), #7c2d12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
}

.biz-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e0e12;
    font-weight: 700;
    font-size: 0.72rem;
}

.biz-cards {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.biz-card {
    background: #15151b;
    border: 1px solid #26262e;
    border-radius: 16px;
    padding: 20px;
}

.biz-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.biz-card-head strong {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.biz-delta {
    font-size: 0.75rem;
    color: #13a88b;
    font-weight: 700;
}

.biz-figure {
    font-weight: 800;
    font-size: 2.1rem;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.biz-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 120px;
}

.biz-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.biz-bar .bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: #26262e;
}

.biz-bar.is-peak .bar { background: var(--orange); }
.biz-bar.is-high .bar { background: var(--yellow); }

.biz-bar span {
    font-size: 0.62rem;
    color: #a8a8b0;
}

.biz-bar.is-peak span {
    color: #fff;
    font-weight: 700;
}

.biz-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.biz-top-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.biz-top-item .bt-glyph {
    font-size: 1.1rem;
}

.biz-top-item .bt-info {
    flex: 1;
}

.bt-info strong {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

.bt-info span {
    font-size: 0.68rem;
    color: #a8a8b0;
}

.biz-top-item .bt-amount {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.biz-apps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.biz-app {
    background: #15151b;
    border: 1px solid #26262e;
    border-radius: 14px;
    padding: 16px;
}

.biz-app .biz-app-glyph {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.biz-app strong {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

.biz-app span {
    font-size: 0.72rem;
    color: #a8a8b0;
}

/* Responsive */
@media (max-width: 1150px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .biz-cards {
        grid-template-columns: 1fr;
    }

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

    .browser-body {
        padding: 20px 16px 22px;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .feature-grid,
    .feature-grid-reverse,
    .feature-grid-reverse:has(.feature-visual),
    .onboarding-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid-reverse .feature-visual {
        order: 0;
    }

    .feature-grid-reverse .feature-icon {
        order: 0;
    }

    .main-nav {
        display: none;
    }

    .stats-row,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row-split {
        grid-template-columns: 1fr;
    }
}
