/* ==========================================================================
   Bulk IPO Result — bulkiporesult.com
   Light theme, mobile-first. No frameworks, no external fonts.
   ========================================================================== */

:root {
    /* Brand palette — taken from the app icon: navy #323957, red #F44235 */
    --bg:            #ffffff;  /* page base: full white */
    --bg-soft:       #f6f7f9;  /* "slightly less white" — segments alt sections */
    --surface:       #ffffff;
    --surface-2:     #eff0f4;
    --text:          #20263d;
    --text-muted:    #565d78;
    --text-soft:     #838aa1;
    --accent:        #323957;
    --accent-dark:   #232941;
    --accent-soft:   #edeef4;
    --hot:           #f44235;
    --hot-dark:      #d63327;
    --hot-soft:      #fdedeb;
    --green:         #15803d;
    --green-soft:    #f0fdf4;
    --border:        #e3e5ec;
    --border-strong: #c9ccd8;
    --radius:        12px;
    --radius-sm:     8px;
    --shadow:        0 1px 3px rgba(32, 38, 61, .06), 0 1px 2px rgba(32, 38, 61, .04);
    --shadow-lift:   0 10px 30px rgba(32, 38, 61, .10);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.015em; }

code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .1em .45em;
    font-size: .95em;
}

.wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

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

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--accent); color: #fff;
    padding: .5rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
    z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------ buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem;
    font-weight: 600; font-size: .95rem;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }

.text-link { font-weight: 600; }

/* ------------------------------------------------------------- header */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    min-height: 60px;
}

.brand {
    display: inline-flex; align-items: center; gap: .6rem;
    font-weight: 700; font-size: 1.02rem; color: var(--text);
}
.brand:hover { color: var(--text); }
.brand img { border-radius: 8px; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

/* Nav Play-Store chip — white so the real logo colours read */
.play-link {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: .48rem .58rem;
    font-weight: 600; font-size: .88rem;
}
.play-link:hover { border-color: var(--accent); color: var(--text); }
.play-link-text { display: none; }

/* Official-style dark Google Play badge */
.play-badge {
    display: inline-flex; align-items: center; gap: .65rem;
    background: #10142b;
    color: #fff;
    border: 1px solid #2c3352;
    border-radius: 10px;
    padding: .5rem 1.05rem .5rem .85rem;
    line-height: 1.15;
}
.play-badge:hover { background: #1c2140; color: #fff; }
.play-badge-text { display: flex; flex-direction: column; text-align: left; }
.play-badge-text small { font-size: .6rem; letter-spacing: .08em; opacity: .85; }
.play-badge-text strong { font-size: 1.02rem; font-weight: 600; letter-spacing: .01em; }

.nav-toggle {
    display: inline-flex; flex-direction: column; gap: 4px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .62rem .55rem;
    cursor: pointer;
}
.nav-toggle-bar {
    width: 18px; height: 2px; border-radius: 2px;
    background: var(--text);
    transition: transform .2s, opacity .2s;
}
.drawer-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.drawer-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.drawer-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Desktop inline nav (hidden on mobile — drawer takes over) */
.site-nav { display: none; }

/* Drawer (mobile) */
.drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 60;
}

.drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(300px, 84vw);
    background: var(--surface);
    box-shadow: var(--shadow-lift);
    z-index: 70;
    display: flex; flex-direction: column;
    transform: translateX(105%);
    transition: transform .25s ease;
    visibility: hidden;
}
.drawer-open .drawer { transform: translateX(0); visibility: visible; }

.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--border);
}
.drawer-head .brand { font-size: .95rem; }

.drawer-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    cursor: pointer;
}
.drawer-close:hover { color: var(--accent); border-color: var(--accent); }

.drawer-nav { flex: 1; padding: .8rem .75rem; overflow-y: auto; }
.drawer-nav a {
    display: flex; align-items: center; gap: .8rem;
    padding: .78rem .8rem;
    border-radius: 10px;
    color: var(--text);
    font-weight: 600; font-size: .98rem;
}
.drawer-nav a:hover { background: var(--surface-2); }
.drawer-nav a.is-active { background: var(--accent-soft); color: var(--accent); }
.drawer-nav a.is-active .drawer-ico { background: var(--accent); color: #fff; }

.drawer-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--accent);
    flex-shrink: 0;
}

.drawer-hint {
    margin-left: auto;
    font-size: .68rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    background: var(--hot-soft); color: var(--hot);
    border: 1px solid #f6cfca;
    border-radius: 999px;
    padding: .12rem .55rem;
}

.drawer-foot {
    padding: 1rem;
    border-top: 1px solid var(--border);
}
.drawer-foot .btn { width: 100%; }
.drawer-foot .play-badge { width: 100%; justify-content: center; }

@media (min-width: 800px) {
    .nav-toggle, .drawer, .drawer-backdrop { display: none; }
    .play-link { padding: .5rem .95rem; }
    .play-link-text { display: inline; }
    .site-nav { display: block; }
    .site-nav ul { display: flex; gap: 1.4rem; list-style: none; }
    .site-nav li a {
        padding: .25rem 0;
        border-bottom: 2px solid transparent;
        font-size: .95rem;
        font-weight: 500;
        color: var(--text);
    }
    .site-nav li a:hover { color: var(--accent); }
    .site-nav li a.is-active { color: var(--accent); border-bottom-color: var(--accent); }
}

/* --------------------------------------------------------------- hero */

.hero { padding: 2.25rem 0 2.5rem; }

.hero-grid { display: grid; gap: 2rem; align-items: center; }

.hero-eyebrow {
    display: block;
    font-size: .76rem; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--hot);
    margin-bottom: .7rem;
}

.hero h1 {
    font-size: clamp(1.6rem, 5.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: .7rem;
}

.hero-sub {
    color: var(--text-muted);
    font-size: clamp(.95rem, 2.6vw, 1.06rem);
    max-width: 32rem;
    margin-bottom: 1.25rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.35rem; }

.hero-points {
    list-style: none;
    display: flex; flex-wrap: wrap; gap: .45rem;
}
.hero-points li {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .3rem .8rem;
    color: var(--text-muted);
    font-size: .82rem; font-weight: 600;
}
.hero-points li::before {
    content: "✓";
    color: var(--green); font-weight: 800;
}

/* image-hero: on mobile the promo image comes first, copy below */
.hero-grid-image .hero-visual-image { order: -1; }

/* mobile: in-hero buttons move below the hero as full-width CTAs */
.hero-mobile-cta { display: grid; gap: .65rem; margin-top: 1.5rem; }
.hero-mobile-cta .play-badge,
.hero-mobile-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 879.98px) {
    .hero-actions { display: none; }
}
@media (min-width: 880px) {
    .hero-mobile-cta { display: none; }
}

@media (min-width: 880px) {
    .hero { padding: 4rem 0 4.5rem; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; }
    /* the promo image is landscape — give it more room than the phone mock */
    .hero-grid-image { grid-template-columns: .9fr 1.35fr; }
    .hero-grid-image .hero-visual-image { order: 0; }
}

.hero-visual-image { display: flex; justify-content: center; }
.hero-image {
    width: 100%;
    max-width: 760px;
    height: auto;
    border-radius: var(--radius);
}

/* stat strip */

.stat-strip {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
    margin-top: 2.25rem;
}

.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .9rem .6rem;
    text-align: center;
}
.stat-value {
    display: block;
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--accent);
    line-height: 1.2;
}
.stat:nth-child(2) .stat-value { color: var(--hot); }
.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: .78rem; font-weight: 600;
    margin-top: .15rem;
}

/* phone mockup */

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

.phone {
    width: min(310px, 82vw);
    border-radius: 34px;
    background: var(--accent-dark);
    padding: 12px;
    box-shadow: var(--shadow-lift);
}

.phone-screen {
    background: var(--bg);
    border-radius: 24px;
    padding: .9rem .8rem 1rem;
    display: flex; flex-direction: column; gap: .55rem;
}

.mock-appbar {
    display: flex; align-items: center; gap: .45rem;
    font-size: .8rem; font-weight: 700;
    padding-bottom: .2rem;
}
.mock-appbar img { border-radius: 5px; }

.mock-portfolio {
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    padding: .8rem .9rem;
    display: flex; flex-direction: column;
}
.mock-label { font-size: .66rem; opacity: .85; }
.mock-amount { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.mock-change { font-size: .68rem; opacity: .9; }

.mock-section-title {
    font-size: .72rem; font-weight: 700; color: var(--text-muted);
    margin-top: .15rem;
}

.mock-row {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .5rem .65rem;
}
.mock-name { font-size: .8rem; font-weight: 600; }

.chip {
    font-size: .62rem; font-weight: 700;
    border-radius: 999px;
    padding: .18rem .55rem;
    white-space: nowrap;
}
.chip-green { background: var(--green-soft); color: var(--green); border: 1px solid #bbe7c8; }
.chip-gray  { background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }

.mock-footnote {
    text-align: center;
    font-size: .68rem; color: var(--text-soft);
    padding-top: .15rem;
}

/* ------------------------------------------------------------ sections */

.section { padding: 2.25rem 0; }
@media (min-width: 720px) { .section { padding: 3rem 0; } }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 40rem; margin-bottom: 1.5rem; }
.section-head h2 { font-size: clamp(1.3rem, 3.5vw, 1.9rem); margin-bottom: .4rem; }
.section-head p { color: var(--text-muted); font-size: .95rem; }

.section-foot { margin-top: 1.75rem; }

.group-title {
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}
.group-title:not(:first-child) { margin-top: 2.5rem; }

/* feature cards (home) — compact icon-row on mobile, tile on desktop */

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .95rem 1rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .3rem .85rem;
    align-items: center;
}
.feature-card .feature-icon { grid-row: 1 / 3; }
.feature-card h3 { font-size: .98rem; margin: 0; }
.feature-card p { color: var(--text-muted); font-size: .85rem; }

@media (min-width: 640px) {
    .feature-card { display: block; padding: 1.3rem 1.2rem; }
    .feature-card h3 { font-size: 1.05rem; margin: .8rem 0 .35rem; }
    .feature-card p { font-size: .92rem; }
}

.feature-icon {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
}

/* icon tints — brand family only (navy / red / neutral) */
.tint-navy  { background: var(--accent-soft); color: var(--accent); }
.tint-red   { background: var(--hot-soft); color: var(--hot); }
.tint-slate { background: var(--surface-2); color: var(--text-muted); }

/* feature rows (features page) */

.feature-row {
    display: flex; gap: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem 1.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
.feature-row h3 {
    font-size: 1.08rem; margin-bottom: .35rem;
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.feature-row p { color: var(--text-muted); font-size: .95rem; }

.tier-badge {
    font-size: .68rem; font-weight: 700;
    letter-spacing: .03em; text-transform: uppercase;
    border-radius: 999px;
    padding: .14rem .6rem;
}
.tier-badge.tier-plus { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border); }
.tier-badge.tier-pro  { background: var(--hot-soft); color: var(--hot); border: 1px solid #f6cfca; }

/* steps */

.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.steps li {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .15rem .8rem;
    align-items: center;
}
.section:not(.section-alt) .steps li { background: var(--surface); }

.step-num {
    grid-row: 1 / 3;
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 999px;
    background: var(--accent); color: #fff;
    font-weight: 700; font-size: .95rem;
}
.steps h3 { font-size: .98rem; }
.steps p { color: var(--text-muted); font-size: .86rem; }

@media (min-width: 760px) {
    .steps li { display: block; padding: 1.4rem 1.25rem; }
    .step-num { margin-bottom: .8rem; }
    .steps h3 { font-size: 1.02rem; margin-bottom: .3rem; }
    .steps p { font-size: .92rem; }
}

/* FAQ accordions */

.faq-list { display: grid; gap: .65rem; }
.faq-list:not(:last-child) { margin-bottom: 1.5rem; }

.faq-list details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    padding: .9rem 2.4rem .9rem 1.1rem;
    list-style: none;
    position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    position: absolute; right: 1.1rem; top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem; font-weight: 400;
    color: var(--text-soft);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p,
.faq-list details ul {
    padding: 0 1.1rem 1rem;
    color: var(--text-muted);
    font-size: .94rem;
}
.faq-list details ul { padding-left: 2.3rem; }
.faq-list details ul li { margin-bottom: .3rem; }

.faq-wrap { max-width: 760px; }

/* reviews */

.review-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; flex-wrap: wrap;
    max-width: none;
}

.review-rating {
    font-weight: 700; font-size: .92rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .35rem .9rem;
    box-shadow: var(--shadow);
}

.star { color: #f0a30a; }
.star-off { color: var(--border-strong); }

.review-grid { display: grid; gap: .75rem; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.1rem 1.15rem;
    margin: 0;
}
.review-stars { display: block; font-size: .95rem; letter-spacing: .1em; margin-bottom: .5rem; }
.review-card p { color: var(--text-muted); font-size: .93rem; margin-bottom: .7rem; }
.review-card footer { font-size: .85rem; color: var(--text-soft); }
.review-card footer strong { color: var(--text); font-weight: 600; }

/* community + CTA bands */

.community-band {
    display: grid; gap: 1.25rem; align-items: center;
}
.community-band h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.community-band p { color: var(--text-muted); max-width: 34rem; }
.community-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 760px) {
    .community-band { grid-template-columns: 1fr auto; }
}

.cta-final { padding: 2.5rem 0 3rem; }
@media (min-width: 720px) { .cta-final { padding: 3.5rem 0 4rem; } }
.cta-final h2 { font-size: clamp(1.35rem, 4vw, 2rem); margin-bottom: .4rem; }
.cta-final p { color: var(--text-muted); margin-bottom: 1.25rem; }
.cta-aside { margin-top: 1.1rem; font-size: .92rem; }

/* ----------------------------------------------------------- page hero */

.page-hero {
    padding: 2rem 0 1.75rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) { .page-hero { padding: 2.75rem 0 2.25rem; } }
.page-hero h1 { font-size: clamp(1.45rem, 4.5vw, 2.3rem); margin-bottom: .5rem; }
.page-hero p { color: var(--text-muted); max-width: 44rem; font-size: clamp(.92rem, 2.5vw, 1.02rem); }

/* ------------------------------------------------- plans teaser (home) */

.plan-teaser-grid { display: grid; gap: .75rem; }
@media (min-width: 720px) { .plan-teaser-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.plan-teaser {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .2rem .85rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .95rem 1rem;
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.plan-teaser:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); color: var(--text); }

.plan-teaser-ico {
    grid-column: 1; grid-row: 1 / 3;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-weight: 800; font-size: 1.05rem;
}
.plan-teaser h3 { grid-column: 2; grid-row: 1; font-size: 1rem; }
.plan-teaser p { grid-column: 2; grid-row: 2; color: var(--text-muted); font-size: .84rem; }
.plan-teaser-arrow {
    grid-column: 3; grid-row: 1 / 3;
    color: var(--text-soft);
    font-size: 1.2rem;
}

@media (min-width: 720px) {
    .plan-teaser { grid-template-columns: auto 1fr; padding: 1.2rem 1.15rem; }
    .plan-teaser-arrow { display: none; }
}

.plan-teaser-cta { margin-top: 1rem; }

/* -------------------------------------------------------------- pricing */

.tier-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .tier-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.tier-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.tier-featured { border-color: var(--hot); box-shadow: var(--shadow-lift); }

.tier-flag {
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--hot); color: #fff;
    font-size: .7rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    border-radius: 999px;
    padding: .2rem .8rem;
    white-space: nowrap;
}

.tier-card h2 { font-size: 1.25rem; margin-bottom: .2rem; }
.tier-tagline { color: var(--text-muted); font-size: .9rem; min-height: 2.6em; }

.tier-price { margin: 1rem 0 1.1rem; }
.tier-price .price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.tier-price .period { color: var(--text-soft); font-size: .9rem; margin-left: .3rem; }
.price-ask {
    display: inline-block;
    font-weight: 600; font-size: .92rem;
    background: var(--accent-soft);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-sm);
    padding: .5rem .85rem;
}

.tier-features {
    list-style: none;
    margin-bottom: 1.4rem;
    display: grid; gap: .45rem;
    flex-grow: 1;
}
.tier-features li {
    position: relative;
    padding-left: 1.4rem;
    font-size: .93rem;
    color: var(--text-muted);
}
.tier-features li::before {
    content: "✓";
    position: absolute; left: 0;
    color: var(--green); font-weight: 700;
}

.tier-cta { width: 100%; }

.tier-note {
    margin-top: 1.5rem;
    color: var(--text-soft);
    font-size: .9rem;
    text-align: center;
}

/* comparison matrix */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.matrix {
    width: 100%; min-width: 560px;
    border-collapse: collapse;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: .93rem;
}
.section-alt .matrix { background: var(--surface); }

.matrix th, .matrix td {
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.matrix thead th {
    background: var(--surface-2);
    font-size: .85rem; letter-spacing: .02em;
}
.matrix tbody th {
    text-align: left;
    font-weight: 500; color: var(--text);
}
.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td { border-bottom: 0; }

.cell-yes { color: var(--green); font-weight: 700; }
.cell-no { color: var(--border-strong); }
.cell-text { font-weight: 600; }

.matrix-note { margin-top: .8rem; color: var(--text-soft); font-size: .88rem; }

/* payment steps */

.pay-steps {
    list-style: none;
    counter-reset: pay;
    display: grid; gap: 1rem;
    max-width: 720px;
    margin-bottom: 1.5rem;
}
.pay-steps li {
    counter-increment: pay;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.25rem 1.2rem 3.4rem;
    position: relative;
}
.pay-steps li::before {
    content: counter(pay);
    position: absolute; left: 1.1rem; top: 1.25rem;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: var(--accent); color: #fff;
    font-weight: 700; font-size: .85rem;
}
.pay-steps h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.pay-steps p { color: var(--text-muted); font-size: .94rem; }
.pay-steps .btn { margin-top: .6rem; }

.copy-wrap { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }

.copy-btn {
    font: inherit; font-size: .78rem; font-weight: 600;
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: .12rem .55rem;
    cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn.copied { background: var(--green-soft); color: var(--green); border-color: var(--green); }

/* notices */

.notice {
    border-radius: var(--radius-sm);
    padding: .9rem 1.1rem;
    font-size: .93rem;
    margin: 1.25rem 0;
    max-width: 720px;
}
.notice-muted {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.notice-blue {
    background: var(--accent-soft);
    border: 1px solid var(--border);
    color: var(--text);
}

/* QR cards */

.qr-title { font-size: 1.15rem; margin: 2rem 0 1rem; }

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

.qr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    text-align: center;
}
.qr-card img { border-radius: var(--radius-sm); margin: 0 auto .6rem; width: 100%; max-width: 260px; height: auto; }
.qr-card figcaption { font-weight: 600; font-size: .92rem; }

/* donate */

.donate-band h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.donate-band p { color: var(--text-muted); max-width: 46rem; }
.donate-thanks { margin-top: .5rem; font-size: .92rem; }

/* ------------------------------------------------------------ changelog */

.changelog-wrap { max-width: 760px; }

.release {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.4rem;
    margin-bottom: 1.25rem;
}

.release-head {
    display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
    margin-bottom: .9rem;
}
.release-head h2 { font-size: 1.15rem; flex: 1 1 auto; }

.release-version {
    background: var(--accent); color: #fff;
    font-weight: 700; font-size: .8rem;
    border-radius: 999px;
    padding: .18rem .7rem;
}
.release-date { color: var(--text-soft); font-size: .85rem; }

.release-items {
    list-style: none;
    display: grid; gap: .6rem;
}
.release-items li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: .94rem;
}
.release-items li::before {
    content: "";
    position: absolute; left: 0; top: .55em;
    width: 7px; height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

.changelog-foot { color: var(--text-muted); font-size: .93rem; margin-top: 1.75rem; }

/* -------------------------------------------------------------- support */

.contact-grid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.4rem 1.25rem;
    display: flex; flex-direction: column; align-items: flex-start;
}
.contact-card h2 { font-size: 1.1rem; margin-bottom: .35rem; }
.contact-card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 1rem; flex-grow: 1; }
.contact-card .btn { max-width: 100%; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

.quick-help { display: grid; gap: 1rem; }
@media (min-width: 760px) { .quick-help { grid-template-columns: repeat(3, 1fr); } }

.quick-help-item {
    display: block;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.2rem;
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.quick-help-item:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--text); }
.quick-help-item h3 { font-size: 1rem; margin-bottom: .3rem; color: var(--accent); }
.quick-help-item p { color: var(--text-muted); font-size: .9rem; }

/* --------------------------------------------------------------- docs */

.doc-hero-inner {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}

.updated-badge {
    background: var(--green-soft);
    color: var(--green);
    border: 1px solid #bbe7c8;
    font-weight: 600; font-size: .82rem;
    border-radius: 999px;
    padding: .3rem .85rem;
    white-space: nowrap;
}

.doc-grid { display: grid; gap: 2rem; }
@media (min-width: 920px) {
    .doc-grid { grid-template-columns: 230px 1fr; align-items: start; }
    .doc-toc { position: sticky; top: 84px; }
}

.doc-toc h2 {
    font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--text-soft);
    margin: 0 0 .5rem;
}
.doc-toc h2:not(:first-child) { margin-top: 1.4rem; }
.doc-toc nav { display: grid; }
.doc-toc nav a {
    color: var(--text-muted);
    font-size: .88rem;
    padding: .3rem .6rem;
    border-left: 2px solid var(--border);
}
.doc-toc nav a:hover { color: var(--accent); }
.doc-toc nav a.is-active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-soft);
}

.doc-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem 1.5rem;
    max-width: 760px;
}
@media (min-width: 640px) { .doc-body { padding: 2.25rem 2.5rem; } }

.doc-intro { font-size: 1.02rem; margin-bottom: 1.25rem; }

.doc-body section { margin-top: 2rem; scroll-margin-top: 84px; }
.doc-body section h2 {
    font-size: 1.2rem;
    margin-bottom: .7rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--border);
}
.doc-body p { color: var(--text-muted); margin-bottom: .8rem; }
.doc-body ul { color: var(--text-muted); padding-left: 1.3rem; margin-bottom: .8rem; }
.doc-body li { margin-bottom: .4rem; }
.doc-body strong { color: var(--text); }

.pill-list {
    list-style: none;
    display: flex; flex-wrap: wrap; gap: .5rem;
    padding: 0 !important;
}
.pill-list li {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .2rem .8rem;
    font-size: .85rem;
    margin: 0;
}

/* ---------------------------------------------------------------- 404 */

.notfound { text-align: center; padding: 5rem 0; }
.notfound-code {
    font-size: 4.5rem; font-weight: 800;
    color: var(--border-strong);
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: .5rem;
}
.notfound h1 { font-size: 1.6rem; margin-bottom: .6rem; }
.notfound p { color: var(--text-muted); margin-bottom: 1.75rem; }
.notfound-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* -------------------------------------------------------------- footer */

.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-top: 1rem;
}

.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand p {
    color: var(--text-muted);
    font-size: .92rem;
    margin: .9rem 0 1.1rem;
    max-width: 22rem;
}

/* footer uses the shared .play-badge component (defined near the header) */

.footer-col { display: grid; align-content: start; gap: .45rem; }
.footer-col h3 {
    font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--text-soft);
    margin-bottom: .3rem;
}
.footer-col a { color: var(--text-muted); font-size: .92rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    color: var(--text-soft);
    font-size: .84rem;
    display: grid; gap: .5rem;
}
.footer-disclaimer { max-width: 46rem; }

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
