/* ═══════════════════════════════════════════════════════════
   The Vault Suite — Landing Page
   Mobile-first · plain CSS · no framework
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:          #faf9f5;
    --bg-soft:     #f3f1ea;
    --bg-sv:       #f3f4fb;
    --surface:     #ffffff;
    --ink:         #16161e;
    --ink-2:       #504e5a;
    --ink-3:       #8a8894;
    --line:        #e5e2d8;

    --nv:          #d97706;
    --nv-ink:      #b45309;
    --nv-tint:     rgba(217, 119, 6, 0.10);

    --sv:          #3b5bfd;
    --sv-ink:      #2d46c8;
    --sv-tint:     rgba(59, 91, 253, 0.09);

    --gold:        #b8860b;
    --gold-deep:   #92690a;
    --gold-tint:   rgba(217, 164, 32, 0.12);

    --green:       #22c55e;

    --radius:      20px;
    --shadow-sm:   0 1px 2px rgba(22, 22, 30, 0.06);
    --shadow-md:   0 12px 30px -12px rgba(22, 22, 30, 0.18);
    --shadow-lg:   0 32px 70px -28px rgba(22, 22, 30, 0.30);

    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

section {
    scroll-margin-top: 76px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

img, svg {
    display: block;
}

a {
    color: inherit;
}

::selection {
    background: var(--nv-tint);
    color: var(--ink);
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.container.narrow {
    width: min(760px, 92%);
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-nv {
    background: var(--nv);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(217, 119, 6, 0.65);
}
.btn-nv:hover { background: #c26106; }

.btn-sv {
    background: var(--sv);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(59, 91, 253, 0.65);
}
.btn-sv:hover { background: #2d4ae6; }

.btn-gold {
    background: linear-gradient(135deg, #d9a020 0%, var(--gold) 60%, var(--gold-deep) 100%);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(184, 134, 11, 0.65);
}
.btn-gold:hover { filter: brightness(1.06); }

.btn-ink {
    background: var(--ink);
    color: #fff;
}
.btn-ink:hover { background: #000; }

.btn-sm {
    padding: 10px 20px;
    font-size: 13.5px;
}

.btn-block {
    width: 100%;
}

/* ── Kickers & section heads ──────────────────────────────── */

.kicker {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 16px;
}

.kicker-nv { color: var(--nv-ink); }
.kicker-sv { color: var(--sv); }

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
}

/* ── Header ───────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 249, 245, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(22, 22, 30, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--ink);
}

@media (max-width: 780px) {
    .nav-links { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
    padding: clamp(72px, 12vw, 132px) 0 clamp(56px, 8vw, 88px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-weight: 700;
    font-size: clamp(2.4rem, 6.5vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    max-width: 18ch;
    margin-inline: auto;
}

.hero .subheadline {
    font-size: clamp(1.05rem, 2.1vw, 1.25rem);
    color: var(--ink-2);
    max-width: 58ch;
    margin: 24px auto 0;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 38px;
}

/* ── Opening ──────────────────────────────────────────────── */

.opening {
    padding: clamp(48px, 8vw, 80px) 0;
}

.opening p {
    font-size: clamp(1.12rem, 2.4vw, 1.38rem);
    line-height: 1.66;
    color: var(--ink-2);
}

.opening p + p {
    margin-top: 22px;
    color: var(--ink);
    font-weight: 500;
}

/* ── Product sections ─────────────────────────────────────── */

.product {
    padding: clamp(64px, 10vw, 110px) 0;
}

.product-sv {
    background: var(--bg-sv);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 52px;
    align-items: center;
}

@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 72px;
    }
}

.product-copy h2 {
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-bottom: 14px;
}

.product-copy .tagline {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    letter-spacing: -0.01em;
    margin-bottom: 22px;
}

.product-nv .tagline { color: var(--nv-ink); }
.product-sv .tagline { color: var(--sv-ink); }

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 9px 0;
    font-size: 15px;
    line-height: 1.6;
}

.feature-list svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 4px;
}

.product-nv .feature-list svg { color: var(--nv); }
.product-sv .feature-list svg { color: var(--sv); }

/* ── Mock windows ─────────────────────────────────────────── */

.mock-window {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    background: #fbfaf7;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.d1 { background: #ff5f57; }
.d2 { background: #febc2e; }
.d3 { background: #28c840; }

.mock-title {
    margin-left: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-3);
}

.mock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-top: 1px solid var(--line);
    background: #fbfaf7;
    font-size: 11.5px;
    color: var(--ink-3);
}

.saved-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    flex-shrink: 0;
}

/* NoteVault mock */

.mock-nv-body {
    display: flex;
    min-height: 260px;
}

.mock-side {
    width: 42%;
    max-width: 158px;
    border-right: 1px solid var(--line);
    padding: 12px 9px;
    background: #fbfaf7;
}

.mock-note {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 11.5px;
    color: var(--ink-2);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
}

.mock-note.active {
    background: var(--nv-tint);
    color: var(--nv-ink);
    font-weight: 600;
}

.mock-note .mock-t {
    overflow: hidden;
    text-overflow: ellipsis;
}

.nv-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nv);
    flex-shrink: 0;
}

.nv-dot.muted {
    background: var(--line);
}

.mock-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 9px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-3);
    margin-top: 10px;
}

.fold-caret {
    width: 0;
    height: 0;
    border-left: 4px solid currentColor;
    border-top: 3.5px solid transparent;
    border-bottom: 3.5px solid transparent;
    opacity: 0.6;
}

.mock-editor {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mock-title-line {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 5px;
}

.mock-line {
    height: 8px;
    border-radius: 4px;
    background: #ece9e1;
}
.mock-line.w100 { width: 100%; }
.mock-line.w92  { width: 92%; }
.mock-line.w96  { width: 96%; }
.mock-line.w72  { width: 72%; }
.mock-line.w86  { width: 86%; }
.mock-line.w45  { width: 45%; }

/* SnippetVault mock */

.mock-sv-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 260px;
}

.mock-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink-3);
    font-size: 11.5px;
    margin-bottom: 4px;
}

.mock-snippet {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fbfbfe;
    font-size: 12px;
    color: var(--ink-2);
}

.mock-chip {
    flex-shrink: 0;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}
.chip-c { background: var(--sv-tint); color: var(--sv); }
.chip-p { background: rgba(14, 159, 122, 0.10); color: #0e9f7a; }
.chip-l { background: rgba(122, 79, 208, 0.10); color: #7a4fd0; }

.mock-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-copy {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 600;
    color: var(--sv);
    border: 1px solid rgba(59, 91, 253, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
}

.sv-dot {
    background: var(--sv);
    box-shadow: 0 0 0 3px rgba(59, 91, 253, 0.15);
}

/* ── Better together ──────────────────────────────────────── */

.together {
    background: var(--ink);
    color: rgba(244, 242, 234, 0.78);
    padding: clamp(64px, 10vw, 110px) 0;
    text-align: center;
}

.together .kicker {
    color: rgba(244, 242, 234, 0.5);
}

.together h2 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-bottom: 18px;
}

.together p {
    font-size: clamp(1.08rem, 2.2vw, 1.28rem);
    line-height: 1.7;
    max-width: 60ch;
    margin-inline: auto;
}

/* ── Pricing ──────────────────────────────────────────────── */

.pricing {
    padding: clamp(64px, 10vw, 110px) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

@media (min-width: 880px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 30px 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.price-card h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 16px 0 8px;
}

.amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 46px;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}

.amount.strike {
    font-size: 26px;
    color: var(--ink-3);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.per {
    font-size: 13px;
    color: var(--ink-3);
}

.price-desc {
    flex: 1;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.6;
    margin-bottom: 26px;
}

.price-desc.save {
    color: var(--gold-deep);
    font-weight: 600;
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d9a020 0%, var(--gold) 60%, var(--gold-deep) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
}

.card-bundle.featured {
    border: 2px solid var(--gold);
    background: linear-gradient(180deg, #fffdf5 0%, var(--surface) 100%);
    box-shadow: var(--shadow-md);
}

.card-bundle.featured h3 {
    color: var(--gold-deep);
}

.pricing-note {
    text-align: center;
    color: var(--ink-3);
    font-size: 14px;
    margin-top: 30px;
}

/* ── FAQ ──────────────────────────────────────────────────── */

.faq {
    padding: clamp(64px, 10vw, 110px) 0;
    background: var(--bg-soft);
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    overflow: hidden;
    margin-bottom: 14px;
    transition: box-shadow 0.2s ease;
}

.faq-item.open {
    box-shadow: var(--shadow-sm);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: none;
    border: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--ink-3);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--gold);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.faq-a > div {
    overflow: hidden;
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
}

.faq-a p {
    padding: 0 22px 22px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-2);
}

.faq-a p.placeholder-note {
    color: var(--ink-3);
    font-style: italic;
    border-left: 3px solid var(--line);
    padding-left: 18px;
}

/* ── Final CTA ────────────────────────────────────────────── */

.final-cta {
    padding: clamp(80px, 12vw, 140px) 0;
    text-align: center;
}

.final-cta h2 {
    font-weight: 700;
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 22ch;
    margin-inline: auto;
}

/* ── Footer ───────────────────────────────────────────────── */

footer {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    text-align: center;
    color: var(--ink-3);
    font-size: 13px;
}

/* ── Scroll reveal ────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .btn, .price-card, .faq-icon, .faq-a {
        transition: none;
    }
}


/* -----------------------------------------------------------
   Cart + Embedded Checkout
   ----------------------------------------------------------- */

body.has-cart { padding-bottom: 100px; }

.js-add.in-cart { opacity: 0.85; }
.js-add.in-cart::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--green); }

.cart-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.cart-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    flex-wrap: wrap;
}
.cart-summary {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    font-family: var(--font-body);
}
.cart-count {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    font-size: 14px;
}
.cart-sub { color: var(--ink-3); font-size: 13.5px; text-decoration: line-through; }
.cart-save { color: var(--green); font-size: 13.5px; font-weight: 600; }
.cart-total { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.cart-actions { display: flex; align-items: center; gap: 10px; }

.btn-ghost-cart {
    background: transparent;
    color: var(--ink-2);
    border: 1px solid var(--line);
}
.btn-ghost-cart:hover { background: var(--bg-soft); transform: none; }

.btn-primary-cart {
    background: var(--ink);
    color: #fff;
}
.btn-primary-cart:hover { background: #000; }
.btn-primary-cart:disabled { opacity: 0.5; cursor: default; transform: none; }

.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(22, 22, 30, 0.55);
    backdrop-filter: blur(4px);
    align-items: flex-start;
    justify-content: center;
    padding: 5vh 16px 16px;
    overflow-y: auto;
}
.checkout-overlay:not([hidden]) { display: flex; }
.checkout-overlay[hidden] { display: none; }
.checkout-sheet {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 720px;
    padding: 18px 20px 20px;
    animation: rise 260ms cubic-bezier(.4, 0, .2, 1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.checkout-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.checkout-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }
.checkout-stage { min-height: 480px; }
.checkout-loading { color: var(--ink-3); font-family: var(--font-body); font-size: 14px; padding: 40px 0; text-align: center; }
.checkout-error { color: #c0392b; font-family: var(--font-body); font-size: 14px; padding: 40px 20px; text-align: center; }
.checkout-note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.6;
    text-align: center;
}

/* -----------------------------------------------------------
   Mini Apps Factory — nav cart, catalogue, product pages
   ----------------------------------------------------------- */

.section-sub {
    color: var(--ink-2);
    font-size: 15.5px;
    max-width: 52ch;
    margin: 10px auto 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.nav-cart:hover {
    border-color: var(--gold);
    background: var(--bg-soft);
    transform: translateY(-1px);
}
.nav-cart svg {
    width: 19px;
    height: 19px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--bg);
}
.cart-badge[hidden] { display: none; }

/* ── Catalogue ─────────────────────────────────────────────── */

.catalog {
    padding: clamp(64px, 10vw, 110px) 0;
    background: var(--bg-soft);
}

.tier {
    scroll-margin-top: 88px;
}
.tier + .tier {
    margin-top: 56px;
}

.tier-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.tier-head h3 {
    font-size: clamp(1.35rem, 3vw, 1.7rem);
}
.tier-head p {
    color: var(--ink-3);
    font-size: 14px;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.app-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.app-card.in-cart {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.app-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}
.app-icon.nv  { background: linear-gradient(135deg, #e28c2b 0%, var(--nv) 60%, var(--nv-ink) 100%); }
.app-icon.sv  { background: linear-gradient(135deg, #5b74ff 0%, var(--sv) 60%, var(--sv-ink) 100%); }
.app-icon.ink { background: var(--ink); }

.app-card h3 {
    font-size: 19px;
}

.app-tag {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.55;
    flex: 1;
}

.app-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
}
.app-price .amount {
    font-size: 30px;
}
.app-price .per {
    font-size: 12.5px;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 2px;
}
.card-actions .btn {
    flex: 1;
    padding: 11px 14px;
    font-size: 13.5px;
}

.catalog-empty {
    text-align: center;
    color: var(--ink-3);
    padding: 40px 0;
    font-size: 15px;
}

/* ── Bundle price line (inside .together) ──────────────────── */

.bundle-price {
    margin-top: 20px;
    font-size: 15.5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.together .bundle-price .amount { color: #fff; }
.together .bundle-price .amount.strike { color: rgba(244, 242, 234, 0.45); }
.bundle-save { color: var(--gold); font-family: var(--font-display); font-weight: 600; }

/* ── Product pages ─────────────────────────────────────────── */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-3);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    justify-self: start;
    transition: color 0.15s ease;
}
.back-link:hover { color: var(--ink); }

.pp-hero {
    padding: clamp(36px, 7vw, 72px) 0 clamp(32px, 5vw, 56px);
}
.pp-hero .container {
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 880px;
    text-align: center;
}
.pp-hero h1 {
    font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    letter-spacing: -0.03em;
}
.pp-hero .pp-tag {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    color: var(--ink-2);
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.pp-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.pp-price .amount { font-size: 42px; }

.pp-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 4px;
}

.section-pad {
    padding: clamp(56px, 9vw, 96px) 0;
}

.pp-section-head {
    text-align: center;
    margin-bottom: 36px;
}
.pp-section-head h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.pp-section-head p.kicker { margin-bottom: 12px; }

.video-section {
    background: var(--bg-soft);
}
.video-placeholder {
    aspect-ratio: 16 / 9;
    border: 1.5px dashed var(--ink-3);
    border-radius: var(--radius);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-3);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 720px) {
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

.benefit-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}
.benefit-card h3 { font-size: 17px; }
.benefit-card p {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.65;
}

.b-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.b-icon svg { width: 20px; height: 20px; }
.b-icon.nv { background: var(--nv-tint); color: var(--nv-ink); }
.b-icon.sv { background: var(--sv-tint); color: var(--sv-ink); }

.screenshot-slot {
    width: 100%;
    aspect-ratio: 1400 / 941;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.screenshot-slot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.who-for {
    background: var(--bg-soft);
}
.who-list {
    list-style: none;
    display: grid;
    gap: 14px;
    max-width: 640px;
    margin-inline: auto;
}
.who-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15.5px;
    color: var(--ink-2);
    line-height: 1.6;
}
.who-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--green);
}

.recap {
    background: var(--ink);
    color: rgba(244, 242, 234, 0.8);
    padding: clamp(64px, 10vw, 110px) 0;
    text-align: center;
}
.recap .kicker { color: rgba(244, 242, 234, 0.5); }
.recap h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    margin-bottom: 10px;
}
.recap .pp-price { justify-content: center; }
.recap .amount { color: #fff; }
.recap .per { color: rgba(244, 242, 234, 0.55); }
.recap-nudge {
    margin-top: 18px;
    font-size: 14.5px;
}
.recap-nudge a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
}
