/* ==========================================================================
   Tably — landing page styles
   Theme: Dark Fintech (Linear / Revolut / Vercel register)
   Deep dark base, violet + emerald neon accents, glassmorphism, hover glow.
   ========================================================================== */

:root {
    --bg: #08070d;
    --bg-soft: #0d0c16;
    --text: #f3f2fb;
    --text-soft: #a8a6c2;
    --text-faint: #6d6b8a;
    --violet: #8b5cf6;
    --violet-bright: #a78bfa;
    --emerald: #10b981;
    --emerald-bright: #34d399;
    --glass: rgba(255, 255, 255, 0.045);
    --glass-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --border-bright: rgba(167, 139, 250, 0.45);
    --glow-violet: rgba(139, 92, 246, 0.45);
    --glow-emerald: rgba(16, 185, 129, 0.35);
    --font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max-w: 1160px;
    --gutter: clamp(20px, 5vw, 64px);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}


/* Ambient background glow — fixed, sits behind all content */

.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(560px circle at 12% 8%, var(--glow-violet), transparent 60%), radial-gradient(620px circle at 88% 28%, var(--glow-emerald), transparent 60%), radial-gradient(700px circle at 50% 100%, rgba(139, 92, 246, 0.18), transparent 60%);
    opacity: 0.55;
}

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

a {
    color: inherit;
}

.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 560;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

:focus-visible {
    outline: 2px solid var(--violet-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.gradient-text {
    background: linear-gradient(100deg, var(--violet-bright) 10%, var(--emerald-bright) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* ---------- Glass surface (shared) ---------- */

.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(8, 7, 13, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--text);
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.45);
    flex-shrink: 0;
    display: block;
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--emerald) 100%);
    box-shadow: 0 0 18px var(--glow-violet);
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-soft);
    font-size: 15px;
    transition: color 0.2s var(--ease);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(100deg, var(--violet) 0%, #7c5cf0 60%, var(--emerald) 130%);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 8px 24px -8px var(--glow-violet);
}

.btn-primary:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 10px 32px -6px var(--glow-violet);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    border-color: var(--border-bright);
    background: var(--glass-strong);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}


/* ---------- Hero ---------- */

.hero {
    padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 8vw, 96px);
    position: relative;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald-bright);
    box-shadow: 0 0 8px var(--glow-emerald);
}

.hero h1 {
    font-size: clamp(38px, 5.2vw, 60px);
    max-width: 15.5ch;
    color: var(--text);
}

.hero-sub {
    margin-top: 22px;
    max-width: 46ch;
    color: var(--text-soft);
    font-size: 18px;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 20px;
    color: var(--text-faint);
    font-size: 14px;
}


/* Receipt/split glass card mockup */

.phone-card {
    padding: 26px 24px 22px;
    opacity: 0;
    transform: translateY(16px);
    position: relative;
}

.phone-card.is-visible {
    animation: card-in 0.75s var(--ease) forwards;
}

@keyframes card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phone-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(52, 211, 153, 0.35) 60%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.scan-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 4px;
}

.scan-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
}

.scan-badge {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--violet), var(--emerald));
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-badge svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.scan-store {
    color: var(--text-faint);
    font-size: 12px;
}

.receipt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14.5px;
}

.receipt-row:last-of-type {
    border-bottom: none;
}

.receipt-item {
    color: var(--text-soft);
}

.receipt-amount {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.split-avatars {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg-soft);
    margin-left: -8px;
}

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

.split-note {
    font-size: 13px;
    color: var(--text-faint);
}

.split-note strong {
    color: var(--emerald-bright);
    font-weight: 600;
}


/* ---------- Section scaffolding ---------- */

section {
    padding: clamp(60px, 9vw, 104px) 0;
}

.section-head {
    max-width: 62ch;
    margin-bottom: clamp(36px, 6vw, 60px);
}

.section-kicker {
    display: inline-block;
    color: var(--violet-bright);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: clamp(28px, 3.6vw, 40px);
}

.section-head p {
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 17px;
}


/* ---------- Features grid ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px 26px;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--border-bright);
    background: var(--glass-strong);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -20px rgba(139, 92, 246, 0.4);
}

.feature-card.is-soon {
    border-style: dashed;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(16, 185, 129, 0.18));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 21px;
    height: 21px;
    stroke: var(--violet-bright);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.pill-soon {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--emerald-bright);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 3px 8px;
    border-radius: 999px;
}

.feature-card p {
    color: var(--text-soft);
    font-size: 15px;
}


/* ---------- Spotlight: store price comparison ---------- */

.spotlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
}

.spotlight-copy {
    padding: clamp(30px, 4vw, 52px);
}

.spotlight-copy .section-kicker {
    margin-bottom: 12px;
}

.spotlight-copy h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 14px;
}

.spotlight-copy p {
    color: var(--text-soft);
    font-size: 16px;
    max-width: 44ch;
}

.price-compare {
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--border);
    font-size: 14.5px;
}

.price-row.is-best {
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 24px -8px var(--glow-emerald);
}

.price-shop {
    color: var(--text-soft);
}

.price-row.is-best .price-shop {
    color: var(--text);
    font-weight: 600;
}

.price-value {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.price-row.is-best .price-value {
    color: var(--emerald-bright);
}


/* ---------- Roadmap ---------- */

.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 22px;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.roadmap-item:hover {
    border-color: var(--border-bright);
}

.roadmap-index {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text-faint);
}

.roadmap-item.is-active {
    background: var(--glass-strong);
    border-color: var(--border-bright);
}

.roadmap-item.is-active .roadmap-index {
    color: var(--violet-bright);
}

.roadmap-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.roadmap-body p {
    color: var(--text-soft);
    font-size: 14.5px;
    max-width: 62ch;
}

.roadmap-status {
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-soft);
}

.roadmap-status.status-done {
    border-color: rgba(52, 211, 153, 0.4);
    color: var(--emerald-bright);
    background: rgba(16, 185, 129, 0.08);
}

.roadmap-status.status-active {
    border-color: var(--border-bright);
    color: var(--violet-bright);
    background: rgba(139, 92, 246, 0.1);
}


/* ---------- Download / CTA ---------- */

.download {
    padding: clamp(44px, 6vw, 76px);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(480px circle at 20% 20%, rgba(139, 92, 246, 0.28), transparent 60%), radial-gradient(480px circle at 85% 80%, rgba(16, 185, 129, 0.24), transparent 60%);
    pointer-events: none;
}

.download-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
}

.download h2 {
    font-size: clamp(26px, 3.4vw, 36px);
}

.download-inner>div:first-child p {
    color: var(--text-soft);
    margin-top: 14px;
    font-size: 16px;
    max-width: 46ch;
}

.store-buttons {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    position: relative;
}

.store-btn small {
    display: block;
    color: var(--text-faint);
    font-size: 11px;
}

.store-btn strong {
    display: block;
    font-size: 15px;
}

.store-btn.is-live:hover {
    border-color: var(--border-bright);
    box-shadow: 0 0 24px -8px var(--glow-violet);
}

.store-soon {
    position: absolute;
    top: -9px;
    right: -9px;
    background: linear-gradient(100deg, var(--violet), var(--emerald));
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.waitlist {
    padding: 26px;
}

.waitlist p {
    color: var(--text-soft);
    font-size: 14px;
    margin-bottom: 14px;
}

.waitlist-form {
    display: flex;
    gap: 10px;
}

.waitlist-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
}

.waitlist-form input::placeholder {
    color: var(--text-faint);
}

.waitlist-form input:focus {
    border-color: var(--border-bright);
    outline: none;
}

.waitlist-form button {
    flex-shrink: 0;
}

.waitlist-msg {
    margin-top: 12px;
    font-size: 14px;
    min-height: 1.4em;
    color: var(--emerald-bright);
}


/* ---------- Footer ---------- */

.site-footer {
    padding: 40px 0 60px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-faint);
    font-size: 14px;
}

.site-footer .brand {
    font-size: 16px;
}


/* ---------- Reveal-on-scroll ---------- */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .spotlight-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 880px) {
    .main-nav {
        position: fixed;
        inset: 76px 0 auto 0;
        background: rgba(8, 7, 13, 0.97);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px var(--gutter) 26px;
        gap: 18px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    }
    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .main-nav a {
        font-size: 17px;
    }
    .nav-toggle {
        display: block;
    }
    .hero .wrap {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        max-width: none;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .download-inner {
        grid-template-columns: 1fr;
    }
    .roadmap-item {
        grid-template-columns: 36px 1fr;
    }
    .roadmap-status {
        grid-column: 2;
        width: fit-content;
    }
}

@media (max-width: 520px) {
    .waitlist-form {
        flex-direction: column;
    }
}


/* ==========================================================================
   About Page & Interactive Widgets Extensions
   ========================================================================== */

.nav-current {
    color: var(--text) !important;
    font-weight: 600;
    position: relative;
}

.nav-current::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--violet-bright);
    border-radius: 2px;
}


/* About Hero Stats */

.hero-about .wrap {
    align-items: stretch;
}

.about-hero-stats {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 32px 28px;
    gap: 20px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1;
    color: var(--emerald-bright);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--violet-bright);
    font-weight: 600;
}

.stat-desc {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 14px;
    max-width: 32ch;
}

.stat-divider {
    height: 1px;
    background: var(--border);
}


/* Interactive Card: Graph Simplification */

.interactive-card {
    padding: clamp(24px, 4vw, 40px);
}

.interactive-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.view-switch {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.switch-btn {
    background: none;
    border: none;
    color: var(--text-soft);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.switch-btn.is-active {
    background: var(--glass-strong);
    color: var(--text);
    border: 1px solid var(--border-bright);
    box-shadow: 0 0 16px -4px var(--glow-violet);
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-bright);
}

.interactive-summary {
    font-size: 14.5px;
    color: var(--text-soft);
}

.interactive-summary strong {
    color: var(--emerald-bright);
}

.graph-display-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.graph-visual-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tx-node-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    animation: tx-fade-in 0.3s var(--ease) forwards;
}

@keyframes tx-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tx-participants {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tx-arrow {
    color: var(--violet-bright);
    font-weight: 700;
}

.tx-badge-amount {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--emerald-bright);
}

.graph-explanation-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.graph-explanation-box p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-soft);
}


/* Interactive Widget 2: AI OCR Showcase */

.ocr-interactive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
}

.receipt-tape {
    background: rgba(0, 0, 0, 0.35);
    padding: 28px;
    border-right: 1px solid var(--border);
}

.tape-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.store-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.tape-date {
    font-size: 12px;
    color: var(--text-faint);
}

.tape-items-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tape-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid transparent;
    color: var(--text-soft);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    text-align: left;
    transition: all 0.2s var(--ease);
    width: 100%;
}

.tape-row:hover {
    border-color: var(--border);
    color: var(--text);
    background: var(--glass-strong);
}

.tape-row.is-selected {
    border-color: var(--border-bright);
    background: rgba(139, 92, 246, 0.12);
    color: var(--text);
    box-shadow: 0 0 16px -4px var(--glow-violet);
}

.tape-price {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.tape-price.is-negative {
    color: var(--emerald-bright);
}

.ocr-detail-card {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ocr-detail-card .pill-soon {
    margin-bottom: 10px;
    display: inline-block;
}

.detail-header h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.detail-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.detail-stat-row span {
    color: var(--text-soft);
}

.detail-stat-row strong {
    color: var(--text);
}

.accent-emerald {
    color: var(--emerald-bright) !important;
}

.detail-consumers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.consumer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text);
}


/* Philosophy Banner */

.philosophy-inner {
    padding: clamp(36px, 6vw, 64px);
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.philosophy-inner h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.philosophy-inner p {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 920px) {
    .graph-display-grid {
        grid-template-columns: 1fr;
    }
    .ocr-interactive-grid {
        grid-template-columns: 1fr;
    }
    .receipt-tape {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}