/* ==========================================================================
   BillBase — public landing page
   ==========================================================================

   DESIGN NOTE

   The thing BillBase actually does that a standalone invoice generator does
   not is keep one ledger: a customer, an invoice, a payment, a stock level
   and a report are the same record seen from different angles. So the page is
   built to LOOK connected rather than to say it — product panels wired to a
   vertical spine, and one sample business whose numbers carry from the
   billing scene through payments into the dashboard.

   Every panel is drawn in CSS from the application's own components and
   tokens. Nothing here is a screenshot: a real capture would put a live
   tenant's customers and balances on a public page, and it would go stale the
   first time a button moved.

   Sample business throughout: Sunrise Industries, invoice B2B-0142, ₹18,400.
   Fictional, and deliberately the same everywhere so the story joins up.
   ========================================================================== */

:root {
    /* Ground */
    --ink:        #080b12;
    --ink-2:      #10151f;
    --ink-3:      #1a2130;
    --paper:      #f7f8fb;
    --paper-2:    #eef1f7;
    --surface:    #ffffff;

    /* Type on dark / on light */
    --on-ink:     #f2f5fa;
    --on-ink-mut: #93a0b5;
    --on-ink-dim: #8a94a4;   /* was #5f6d83: 3.5:1 on ink; now >= 4.6:1 (WCAG AA) */
    --text:       #0d1420;
    --text-mut:   #55637a;
    --text-dim:   #626e80;   /* was #8494ab: 2.9-3.1:1 on paper/white; now >= 4.5:1 on white, paper and paper-2 */

    /* Brand — the app's indigo, eased so it holds on a dark ground */
    --brand:      #5b5bd6;
    --brand-lift: #7b7bea;
    --brand-deep: #4340ad;
    --brand-wash: #eeeefc;

    /* Signature warm — BillBase's amber, used sparingly as the accent */
    --amber:      #f2a33c;
    --amber-deep: #c97e1c;
    --amber-wash: #fef4e6;

    /* Semantic — money states, separate from the brand hue */
    --paid:       #2fbf87;
    --paid-wash:  #e7f8f1;
    --due:        #f5b740;
    --due-wash:   #fef6e5;
    --over:       #f2555a;
    --over-wash:  #fdeced;

    --line:       #e2e7f0;
    --line-ink:   rgba(255, 255, 255, 0.10);

    --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
    --ui:      "Inter", ui-sans-serif, system-ui, sans-serif;
    --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --r-s: 10px;
    --r:   14px;
    --r-l: 22px;
    --r-xl: 30px;

    --shadow-panel: 0 40px 80px -40px rgba(8, 11, 18, 0.55), 0 2px 8px rgba(8, 11, 18, 0.06);
    --shadow-float: 0 26px 50px -26px rgba(8, 11, 18, 0.42);

    --gut: clamp(1.15rem, 4vw, 2.5rem);
    --max: 1200px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    background: var(--paper);
    color: var(--text);
    font-family: var(--ui);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(100% - (var(--gut) * 2), var(--max)); margin-inline: auto; }
.wrap-wide { width: min(100% - (var(--gut) * 2), 1380px); margin-inline: auto; }

/* ==========================================================================
   Type scale
   ========================================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 500;
}
.on-ink .eyebrow { color: var(--amber); }

h1, h2, h3, .display {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.05;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -0.018em; }

.lede { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--text-mut); max-width: 60ch; }
.on-ink .lede { color: var(--on-ink-mut); }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.92rem 1.5rem;
    border-radius: 100px;
    font-family: var(--ui);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.18s cubic-bezier(.2,.7,.3,1), box-shadow 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: linear-gradient(180deg, var(--brand-lift), var(--brand));
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(91, 91, 214, 0.85);
}
.btn-primary:hover { box-shadow: 0 18px 34px -14px rgba(91, 91, 214, 0.95); transform: translateY(-1px); }
.btn-amber {
    background: linear-gradient(180deg, #f7b45c, var(--amber));
    color: #2a1a05;
    box-shadow: 0 12px 26px -12px rgba(242, 163, 60, 0.8);
}
.btn-amber:hover { transform: translateY(-1px); }
.btn-ghost-ink {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-ink);
    color: var(--on-ink);
    backdrop-filter: blur(6px);
}
.btn-ghost-ink:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 0.62rem 1.05rem; font-size: 0.87rem; }

:where(a, button, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ==========================================================================
   Bands — the page alternates dark and light so scenes read as chapters
   ========================================================================== */

.band { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.band-ink {
    background: var(--ink);
    color: var(--on-ink);
}
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--on-ink); }
.band-paper { background: var(--paper); }
.band-surface { background: var(--surface); }

/* A hairline that ties consecutive light bands together. */
.band-paper + .band-surface, .band-surface + .band-paper { border-top: 1px solid var(--line); }

.band-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.band-head .eyebrow { margin-bottom: 0.9rem; }
.band-head h2 { margin-bottom: 0.75rem; }

/* ==========================================================================
   Scene — a copy column beside a product panel, alternating sides
   ========================================================================== */

.scene {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.scene.flip > .scene-copy { order: 2; }
.scene.flip > .scene-art  { order: 1; }
.scene-copy { min-width: 0; }
.scene-art  { min-width: 0; position: relative; }

.scene-copy .eyebrow { margin-bottom: 0.85rem; }
.scene-copy h2 { margin-bottom: 0.85rem; }
.scene-copy .lede { margin-bottom: 1.6rem; }

.scene-points { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 1.75rem; }
/*
 * The marker is positioned, not a grid column.
 *
 * As a two-column grid this list broke one word per line: <strong> is its own
 * grid item, so the text after it became a THIRD item and fell into the 20px
 * marker track. Padding plus an absolutely-positioned marker is indifferent
 * to whatever markup the line contains.
 */
.scene-points li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-mut);
}
.on-ink .scene-points li { color: var(--on-ink-mut); }
.scene-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px; height: 8px;
    border-radius: 3px;
    background: var(--brand);
    transform: rotate(45deg);
}
.on-ink .scene-points li::before { background: var(--amber); }
.scene-points strong { color: var(--text); font-weight: 620; }
.on-ink .scene-points strong { color: var(--on-ink); }

/* ==========================================================================
   Product panel — the app, drawn
   ========================================================================== */

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
    position: relative;
}
.band-ink .panel { border-color: rgba(255, 255, 255, 0.12); }

.panel-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: linear-gradient(180deg, #fbfcfe, #f4f6fa);
    border-bottom: 1px solid var(--line);
}
.panel-dots { display: flex; gap: 5px; }
.panel-dots i { width: 9px; height: 9px; border-radius: 50%; background: #dfe4ec; display: block; }
.panel-crumb {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 0.2rem 0.7rem;
    margin-left: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.panel-body { padding: clamp(0.95rem, 2vw, 1.35rem); }

/* Rows, cards and chips reused across every scene */
.p-row {
    display: grid;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    background: var(--surface);
}
.p-row + .p-row { margin-top: 0.5rem; }
.p-label { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.p-name { font-size: 0.9rem; font-weight: 600; }
.p-meta { font-size: 0.74rem; color: var(--text-dim); }
.p-amt  { font-family: var(--mono); font-size: 0.9rem; font-weight: 600; }

.pill {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.02em;
    padding: 0.2rem 0.55rem; border-radius: 100px;
    white-space: nowrap;
}
.pill-paid { background: var(--paid-wash); color: #0f7f57; }
.pill-due  { background: var(--due-wash);  color: #9a6b06; }
.pill-over { background: var(--over-wash); color: #bd2a2f; }
.pill-b2b  { background: var(--brand-wash); color: var(--brand-deep); }
.pill-low  { background: var(--over-wash); color: #bd2a2f; }

/* ==========================================================================
   Motion
   --------------------------------------------------------------------------
   One mechanism: an observer adds .in to a scene, and everything inside
   transitions from a resting state. Nothing loops, nothing waits on a timer
   before content is readable, and reduced-motion collapses every one of these
   to the finished state rather than to nothing.
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.62s cubic-bezier(.2,.7,.3,1), transform 0.62s cubic-bezier(.2,.7,.3,1);
    transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* Scene-internal steps: only run once the panel is on screen. */
.step {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.7,.3,1);
    transition-delay: var(--d, 0ms);
}
.in .step { opacity: 1; transform: none; }

.grow { transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0ms); }
.in .grow { transform: scaleX(1); }

.countup { transition: opacity 0.4s ease; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal], .step { opacity: 1 !important; transform: none !important; transition: none !important; }
    .grow { transform: scaleX(1) !important; transition: none !important; }
    .marquee-track { animation: none !important; }
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    background:
        radial-gradient(1100px 620px at 78% 8%, rgba(91, 91, 214, 0.30), transparent 60%),
        radial-gradient(760px 520px at 8% 96%, rgba(242, 163, 60, 0.16), transparent 62%),
        var(--ink);
    color: var(--on-ink);
    padding: clamp(6.5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem);
    overflow: hidden;
}
/* A faint grid, so the dark ground reads as engineered rather than empty. */
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(900px 600px at 62% 22%, #000 20%, transparent 78%);
    pointer-events: none;
}
.hero > * { position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--line-ink);
    border-radius: 100px;
    padding: 0.42rem 0.95rem;
    font-size: 0.8rem;
    color: var(--on-ink-mut);
    margin-bottom: 1.4rem;
    backdrop-filter: blur(8px);
}
.hero-badge b { color: var(--on-ink); font-weight: 600; }
.hero h1 { margin-bottom: 1.15rem; }
.hero h1 .hl {
    background: linear-gradient(100deg, var(--amber), #ffd79a 55%, var(--amber));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--on-ink-mut); max-width: 54ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.1rem; }
.hero-micro { font-size: 0.82rem; color: var(--on-ink-dim); max-width: 46ch; }

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    margin-top: 2.25rem; padding-top: 1.6rem;
    border-top: 1px solid var(--line-ink);
}
.hero-trust div { min-width: 0; }
.hero-trust .k { font-family: var(--mono); font-size: 1.35rem; font-weight: 600; color: var(--on-ink); display: block; }
.hero-trust .v { font-size: 0.76rem; color: var(--on-ink-dim); }

/* --- the hero composition: dashboard behind, invoice in front, phone beside */
.hero-art { position: relative; min-height: 460px; }
.hero-dash {
    position: relative;
    border-radius: var(--r-l);
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 50px 90px -40px rgba(0,0,0,0.75);
    overflow: hidden;
    /*
     * No 3D tilt on this card.
     *
     * perspective() + rotateY() paints a box wider than the element's layout
     * box — about 21px here — and that inflated .hero-art and the grid above
     * it at every desktop width. The band's overflow:hidden meant nothing
     * looked wrong, but an overflow that merely happens to be clipped is still
     * an overflow, and it is the kind that starts scrolling the page the first
     * time somebody removes the clip. The depth comes from layering, the
     * invoice card in front, and shadow instead, none of which cost geometry.
     */
}
.hero-invoice {
    position: absolute;
    left: -6%; bottom: -6%;
    width: min(62%, 330px);
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-float);
    overflow: hidden;
    transform: perspective(1400px) rotateY(6deg);
}
.hero-phone {
    position: absolute;
    right: -3%; bottom: -9%;
    width: 132px;
    border-radius: 22px;
    padding: 6px;
    background: linear-gradient(160deg, #232b3b, #0d1119);
    box-shadow: 0 30px 60px -26px rgba(0,0,0,0.85);
}
.hero-phone .ph-screen { background: var(--paper); border-radius: 17px; overflow: hidden; }

.hero-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: rgba(16, 21, 31, 0.92);
    border: 1px solid var(--line-ink);
    color: var(--on-ink);
    border-radius: 100px;
    padding: 0.45rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 16px 32px -16px rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}
.hero-chip i { color: var(--paid); }
/* Clear of both the dashboard and the invoice that floats over it — the
   first placement put the stock chip on top of the invoice's own header. */
.hero-chip--pay   { top: 8%;  right: -3%; }
.hero-chip--stock { top: 30%; left: -9%; }

/* ==========================================================================
   Flow spine — the connective tissue between scenes
   ========================================================================== */

.spine { position: relative; }
.spine::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
    transform: translateX(-0.5px);
    pointer-events: none;
}
.band-ink.spine::before { background: linear-gradient(180deg, transparent, var(--line-ink) 8%, var(--line-ink) 92%, transparent); }

/* ==========================================================================
   Counter-to-cash flow
   ========================================================================== */

.flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 0.9rem;
    counter-reset: flowstep;
}
.flow-step {
    position: relative;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--line-ink);
    border-radius: var(--r);
    padding: 1.1rem 1rem 1.15rem;
    min-width: 0;
}
.flow-step .n {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--amber);
    display: block;
    margin-bottom: 0.55rem;
}
.flow-step h3 { font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--on-ink); }
.flow-step p { font-size: 0.8rem; color: var(--on-ink-dim); line-height: 1.5; }
.flow-step .val {
    display: inline-block;
    margin-top: 0.6rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--on-ink);
    background: rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 0.12rem 0.45rem;
}

/* ==========================================================================
   Feature universe — category rail + panel
   ========================================================================== */

.fu { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.fu-rail { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 84px; }
.fu-tab {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--r-s);
    border: 1px solid transparent;
    background: none;
    font-family: var(--ui);
    font-size: 0.9rem;
    font-weight: 550;
    color: var(--text-mut);
    cursor: pointer;
    text-align: left;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    width: 100%;
}
.fu-tab i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--paper-2); color: var(--text-dim); font-size: 0.75rem; flex: none; transition: background 0.18s, color 0.18s; }
.fu-tab:hover { background: var(--paper-2); color: var(--text); }
.fu-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--text); box-shadow: 0 1px 2px rgba(8,11,18,0.05); }
.fu-tab[aria-selected="true"] i { background: var(--brand); color: #fff; }
.fu-tab .c { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); }

.fu-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 2rem); min-height: 320px; }
.fu-panel[hidden] { display: none; }
.fu-panel h3 { margin-bottom: 0.4rem; }
.fu-panel > p { color: var(--text-mut); font-size: 0.94rem; margin-bottom: 1.4rem; max-width: 60ch; }
.fu-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; list-style: none; }
.fu-list li {
    display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.65rem;
    align-items: start;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    background: var(--paper);
    font-size: 0.88rem;
    min-width: 0;
}
.fu-list li i { color: var(--brand); font-size: 0.85rem; margin-top: 0.15rem; }
.fu-list li > span { display: grid; gap: 0.28rem; justify-items: start; min-width: 0; }
.fu-list li b { display: block; font-weight: 600; }
.fu-list li > span > span { color: var(--text-dim); font-size: 0.79rem; }
/*
 * The plan badge gets its own line. Inline, it ran on from the description —
 * "…business overview and statistics Basic & Pro" — which reads as part of
 * the sentence rather than as a label.
 */
.fu-plan { margin-left: 0; margin-top: 0.1rem; }

/* ==========================================================================
   Comparison
   ========================================================================== */

.cmp-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.cmp-tab {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-family: var(--ui);
    font-size: 0.85rem;
    font-weight: 550;
    color: var(--text-mut);
    cursor: pointer;
    transition: all 0.18s;
}
.cmp-tab:hover { border-color: var(--brand); color: var(--brand); }
.cmp-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.cmp-shell { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--surface); }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 720px; }
.cmp-table th, .cmp-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th {
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase;
    color: var(--text-dim); font-weight: 500; background: var(--paper); white-space: nowrap;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table .cap { width: 38%; }
.cmp-table .cap b { font-weight: 600; }
.cmp-table .cap span { display: block; font-size: 0.78rem; color: var(--text-dim); margin-top: 0.15rem; }

/* BillBase's column is the featured one: darker ground, held rule both sides. */
.cmp-table .us, .cmp-table thead .us {
    background: linear-gradient(180deg, rgba(91,91,214,0.06), rgba(91,91,214,0.03));
    border-left: 1px solid rgba(91,91,214,0.25);
    border-right: 1px solid rgba(91,91,214,0.25);
    width: 22%;
}
.cmp-table thead .us { background: var(--ink); color: #fff; border-color: var(--ink); }
.cmp-table thead .us b { color: #fff; }

.mark { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.83rem; font-weight: 550; }
.mark-yes { color: #0f7f57; }
.mark-tier { color: #9a6b06; }
.mark-unknown { color: var(--text-dim); font-weight: 450; font-style: italic; }
.mark-no { color: var(--text-dim); }
.mark i { font-size: 0.78rem; }

.adv {
    display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0.75rem;
    padding: 0.9rem 1.05rem;
    background: var(--brand-wash);
    border: 1px solid rgba(91,91,214,0.22);
    border-radius: var(--r-s);
    margin-top: 0.9rem;
}
.adv i { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 0.8rem; }
.adv b { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 0.2rem; }
.adv p { font-size: 0.88rem; color: var(--text); margin: 0; }

.cmp-note { font-size: 0.79rem; color: var(--text-dim); margin-top: 1rem; }
.cmp-note a { color: var(--brand); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.25rem; align-items: start; max-width: 860px; margin-inline: auto; }
.price-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    padding: 1.9rem 1.6rem;
    position: relative;
    min-width: 0;
}
.price-card.feat {
    border-color: transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(150deg, var(--brand), var(--amber)) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 30px 60px -34px rgba(91,91,214,0.6);
}
.price-tag {
    position: absolute; top: -11px; left: 1.6rem;
    background: var(--ink); color: #fff;
    font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.11em; text-transform: uppercase;
    padding: 0.28rem 0.7rem; border-radius: 100px;
}
.price-name { font-family: var(--display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.price-desc { font-size: 0.86rem; color: var(--text-mut); margin-bottom: 1.25rem; min-height: 2.6em; }
.price-fig { display: flex; align-items: baseline; gap: 0.15rem; margin-bottom: 0.3rem; }
.price-fig .cur { font-family: var(--mono); font-size: 1.1rem; color: var(--text-mut); }
.price-fig .amt { font-family: var(--display); font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; }
.price-fig .per { font-size: 0.85rem; color: var(--text-dim); }
.price-year { font-size: 0.79rem; color: var(--text-dim); margin-bottom: 1.35rem; }
.price-list { list-style: none; display: grid; gap: 0.6rem; margin: 1.35rem 0; font-size: 0.88rem; }
.price-list li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 0.6rem; align-items: start; }
.price-list i { color: var(--paid); font-size: 0.8rem; margin-top: 0.22em; }
.price-list li.off { color: var(--text-dim); }
.price-list li.off i { color: var(--line); }
.price-card .btn { width: 100%; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 0.6rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.05rem 1.25rem;
    font-weight: 600;
    font-size: 0.97rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    font-size: 0.7rem; color: var(--text-dim);
    transition: transform 0.25s ease;
    flex: none;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .a { padding: 0 1.25rem 1.15rem; color: var(--text-mut); font-size: 0.92rem; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final {
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(91,91,214,0.35), transparent 62%),
        var(--ink);
    color: var(--on-ink);
    text-align: center;
    padding: clamp(4.5rem, 9vw, 7rem) 0;
}
.final h2 { margin-bottom: 1rem; }
.final .lede { margin-inline: auto; color: var(--on-ink-mut); margin-bottom: 2.1rem; }
.final-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.final-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; }
.final-tags span {
    font-size: 0.78rem; color: var(--on-ink-mut);
    border: 1px solid var(--line-ink); border-radius: 100px;
    padding: 0.35rem 0.85rem;
    background: rgba(255,255,255,0.04);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
    .fu { grid-template-columns: minmax(0, 1fr); }
    .fu-rail { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 0.4rem; gap: 0.4rem; }
    .fu-tab { width: auto; white-space: nowrap; border-color: var(--line); background: var(--surface); }
    .fu-tab .c { display: none; }
}
@media (max-width: 940px) {
    .hero-grid, .scene { grid-template-columns: minmax(0, 1fr); }
    .scene.flip > .scene-copy, .scene.flip > .scene-art { order: 0; }
    .hero-art { min-height: 0; margin-top: 1rem; }
    .hero-dash { transform: none; }
    .hero-invoice { position: static; width: 100%; margin-top: 1rem; transform: none; }
    .hero-phone { display: none; }
    .hero-chip { display: none; }
    .spine::before { display: none; }
}
@media (max-width: 600px) {
    .cmp-table { min-width: 620px; }
    .hero-trust { gap: 1.1rem; }
    .price-card { padding: 1.5rem 1.25rem; }
}

/* ==========================================================================
   Utilities / a11y
   ========================================================================== */

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: 0.75rem 1.1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(8, 11, 18, 0.72);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.25s, border-color 0.25s;
}
.nav.stuck { background: rgba(8, 11, 18, 0.9); border-bottom-color: var(--line-ink); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 66px; }
.nav-brand {
    display: inline-flex; align-items: center; gap: 0.55rem;
    color: var(--on-ink); text-decoration: none;
    font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em;
}
.nav-brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--on-ink-mut); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.18s; }
.nav-links a:hover { color: var(--on-ink); }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-login { color: var(--on-ink-mut); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-login:hover { color: var(--on-ink); }
.nav-burger { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; margin-left: auto; min-width: 44px; min-height: 44px; } /* was 38x32 */
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--on-ink); border-radius: 2px; }
.nav-burger span + span { margin-top: 5px; }
.nav-mobile { display: none; }

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: block; }
    .nav-mobile {
        display: flex; flex-direction: column; gap: 0.25rem;
        padding: 1rem var(--gut) 1.5rem;
        background: var(--ink); border-top: 1px solid var(--line-ink);
    }
    .nav-mobile[hidden] { display: none; }
    .nav-mobile a { color: var(--on-ink); text-decoration: none; padding: 0.7rem 0; font-size: 1rem; border-bottom: 1px solid var(--line-ink); }
    .nav-mobile .btn { margin-top: 0.8rem; border-bottom: 0; }
}

/* ==========================================================================
   Hero internals
   ========================================================================== */

.btn-large { padding: 1.05rem 1.8rem; font-size: 1rem; }

.hd-body { padding: 0.95rem !important; }
.hd-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; margin-bottom: 0.9rem; }
/* Three currency figures will not sit side by side on a 320px screen. */
@media (max-width: 420px) { .hd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hd-kpi:last-child { grid-column: 1 / -1; } }
.hd-kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.6rem 0.7rem; min-width: 0; }
.hd-v { display: block; font-size: 1.02rem; font-weight: 650; margin: 0.15rem 0 0.1rem; overflow-wrap: anywhere; }
.hd-chart { height: 88px; margin-bottom: 0.85rem; }
.hd-chart svg { width: 100%; height: 100%; display: block; }
.hd-line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: hdDraw 1.6s cubic-bezier(.2,.7,.3,1) 0.5s forwards; }
.hd-area { opacity: 0; animation: hdFade 1s ease 1.4s forwards; }
@keyframes hdDraw { to { stroke-dashoffset: 0; } }
@keyframes hdFade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .hd-line { stroke-dashoffset: 0; animation: none; }
    .hd-area { opacity: 1; animation: none; }
}
.hd-rows { display: grid; gap: 0.4rem; }
.hd-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 0.6rem; align-items: center; padding: 0.5rem 0.65rem; border: 1px solid var(--line); border-radius: 9px; }

.hi-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.65rem 0.85rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.hi-no { font-size: 0.78rem; font-weight: 600; }
.hi-body { padding: 0.8rem 0.85rem; }
.hi-body .p-name { margin-top: 0.1rem; }
.hi-line { display: flex; justify-content: space-between; gap: 0.7rem; font-size: 0.76rem; padding: 0.42rem 0; border-bottom: 1px dashed var(--line); color: var(--text-mut); }
.hi-line:first-of-type { margin-top: 0.65rem; }
.hi-tax { color: var(--text-dim); }
.hi-total { display: flex; justify-content: space-between; padding-top: 0.55rem; margin-top: 0.15rem; font-weight: 700; font-size: 0.92rem; }

.ph-bar { height: 20px; background: var(--surface); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.ph-bar span { width: 32px; height: 3px; border-radius: 3px; background: var(--line); display: block; }
.ph-body { padding: 0.7rem 0.6rem; display: grid; gap: 0.25rem; justify-items: start; }
.ph-amt { font-size: 0.95rem; font-weight: 700; }

/* ==========================================================================
   What it solves
   ========================================================================== */

.solve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.solve-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.6rem 1.4rem; min-width: 0; }
.solve-card i { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); display: grid; place-items: center; margin-bottom: 1rem; }
.solve-card h3 { margin-bottom: 0.45rem; }
.solve-card p { font-size: 0.92rem; color: var(--text-mut); }
.solve-card.feat { background: var(--ink); border-color: var(--ink); }
.solve-card.feat h3 { color: var(--on-ink); }
.solve-card.feat p { color: var(--on-ink-mut); }
.solve-card.feat i { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ==========================================================================
   Billing scene
   ========================================================================== */

.bl-av {
    width: 34px; height: 34px; border-radius: 10px; flex: none;
    background: var(--brand-wash); color: var(--brand-deep);
    display: grid; place-items: center; font-size: 0.78rem; font-weight: 700;
}
.bl-cust { border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.7rem 0.85rem; margin-bottom: 0.75rem; background: var(--paper); }
.bl-cust-row { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.4rem; }
.bl-cust-row > span:nth-child(2) { display: grid; min-width: 0; }
.bl-cust-row .pill { margin-left: auto; }
.bl-items { display: grid; gap: 0.45rem; }
.bl-item { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.62rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r-s); }
.bl-item > span:first-child { display: grid; min-width: 0; }
.bl-sum { margin-top: 0.85rem; padding-top: 0.75rem; border-top: 1px dashed var(--line); display: grid; gap: 0.4rem; }
.bl-sum-row { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--text-mut); }
.bl-grand { font-size: 1.06rem; font-weight: 750; color: var(--text); padding-top: 0.5rem; border-top: 1px solid var(--line); }
.bl-out { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.95rem; }
.bl-chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.76rem; font-weight: 550; padding: 0.4rem 0.7rem; border-radius: 100px; border: 1px solid var(--line); color: var(--text-mut); }
.bl-chip-go { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ==========================================================================
   Customers scene
   ========================================================================== */

.cu-search { display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.65rem 0.85rem; color: var(--text-dim); font-size: 0.88rem; }
.cu-search i { font-size: 0.8rem; }
.cu-typed { font-family: var(--mono); color: var(--text); }
.cu-hit { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.5rem; padding: 0.65rem 0.8rem; border: 1px solid var(--brand); border-radius: var(--r-s); background: var(--brand-wash); }
.cu-hit > span:nth-child(2) { display: grid; min-width: 0; }
.cu-hit .pill { margin-left: auto; }
.cu-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 0.6rem; margin-top: 0.75rem; }
.cu-bal { background: var(--over-wash); border: 1px solid rgba(242,85,90,0.25); border-radius: var(--r-s); padding: 0.75rem 0.85rem; min-width: 0; }
.cu-bal-v { display: block; font-size: 1.3rem; font-weight: 750; color: #bd2a2f; margin-top: 0.15rem; }
.cu-meta { display: grid; gap: 0.45rem; align-content: start; }
.cu-meta > div { display: grid; }
.cu-inv { grid-template-columns: minmax(0,1fr) auto auto; margin-top: 0.45rem; }
.cu-inv > span:first-child { display: grid; }

/* ==========================================================================
   Payments scene
   ========================================================================== */

.pay-body { display: grid; gap: 0.85rem; }
.pay-line { display: grid; }
.pay-big { font-size: 1.75rem; font-weight: 780; margin-top: 0.2rem; }
.pay-bar { height: 12px; border-radius: 100px; background: var(--paper-2); overflow: hidden; }
.pay-bar-fill { display: block; height: 100%; width: 46.6%; background: linear-gradient(90deg, var(--paid), #5fd3a6); border-radius: 100px; }
.pay-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; }
.pay-cell { border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.8rem 0.85rem; display: grid; gap: 0.3rem; justify-items: start; min-width: 0; }
.pay-mid { font-size: 1.25rem; font-weight: 720; }
.pay-after { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.75rem 0.9rem; background: var(--paid-wash); border: 1px solid rgba(47,191,135,0.28); border-radius: var(--r-s); font-size: 0.88rem; font-weight: 550; }

/* ==========================================================================
   Inventory scene
   ========================================================================== */

.iv-scan { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; border: 1px dashed var(--brand); border-radius: var(--r-s); background: var(--brand-wash); font-size: 0.86rem; margin-bottom: 0.9rem; }
.iv-scan i { color: var(--brand); }
.iv-scan .pill { margin-left: auto; }
.iv-tablehead { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) 72px; gap: 0.7rem; padding: 0 0.85rem 0.45rem; font-size: 0.66rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.iv-item { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) 72px; gap: 0.7rem; align-items: center; padding: 0.65rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r-s); }
.iv-item + .iv-item { margin-top: 0.45rem; }
.iv-item > span:first-child { display: grid; min-width: 0; }
.iv-qty { font-size: 0.82rem; display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.iv-was { color: var(--text-dim); text-decoration: line-through; font-weight: 500; }
.iv-now { color: var(--text); font-weight: 700; }
.iv-qty i { font-size: 0.6rem; color: var(--text-dim); }
.iv-low { border-color: rgba(242,85,90,0.35); background: var(--over-wash); }
.iv-note { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; font-size: 0.82rem; color: #bd2a2f; }

/* ==========================================================================
   GST scene
   ========================================================================== */

.gs-in { display: grid; gap: 0.3rem; justify-items: start; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); }
.gs-gstin { font-size: 1.02rem; font-weight: 700; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.gs-arrow { text-align: center; font-size: 0.78rem; color: var(--text-dim); padding: 0.6rem 0; }
.gs-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0.5rem; }
.gs-cell { border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.65rem 0.7rem; display: grid; gap: 0.2rem; min-width: 0; }
.gs-cell .num { font-size: 0.98rem; font-weight: 700; }
.gs-on { background: var(--brand-wash); border-color: rgba(91,91,214,0.3); }
.gs-off { opacity: 0.5; }
.gs-r1 { margin-top: 0.95rem; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.gs-r1-head { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.85rem; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; }
.gs-r1-row { display: grid; grid-template-columns: minmax(0,1.4fr) 46px minmax(0,1fr); gap: 0.6rem; padding: 0.55rem 0.85rem; font-size: 0.83rem; border-bottom: 1px solid var(--line); }
.gs-r1-row span:last-child, .gs-r1-row span:nth-child(2) { text-align: right; }
.gs-r1-tot { border-bottom: 0; font-weight: 700; background: var(--paper); }
.scene-fine { font-size: 0.8rem; color: var(--text-dim); margin-top: 1.2rem; max-width: 56ch; }

/* ==========================================================================
   Dashboard scene (on ink)
   ========================================================================== */

.db-panel { background: #0f1420; border-color: rgba(255,255,255,0.12); }
.db-panel .panel-bar { background: rgba(255,255,255,0.04); border-bottom-color: rgba(255,255,255,0.09); }
.db-panel .panel-dots i { background: rgba(255,255,255,0.18); }
.db-panel .panel-crumb { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); color: var(--on-ink-dim); }
.db-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.55rem; margin-bottom: 1.1rem; }
.db-kpi { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-s); padding: 0.7rem 0.8rem; min-width: 0; }
.db-kpi .p-label { color: var(--on-ink-dim); }
.db-v { display: block; font-size: 1.05rem; font-weight: 700; color: var(--on-ink); margin-top: 0.2rem; overflow-wrap: anywhere; }
.db-chart { margin-bottom: 1rem; }
.db-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; align-items: end; height: 118px; }
.db-bar { display: block; height: var(--h); background: linear-gradient(180deg, rgba(91,91,214,0.85), rgba(91,91,214,0.35)); border-radius: 6px 6px 3px 3px; transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0ms); }
.in .db-bar { transform: scaleY(1); }
.db-bar-on { background: linear-gradient(180deg, var(--amber), rgba(242,163,60,0.45)); }
.db-axis { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; margin-top: 0.5rem; font-family: var(--mono); font-size: 0.62rem; color: var(--on-ink-dim); text-align: center; }
.db-alerts { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: var(--on-ink-mut); padding-top: 0.85rem; border-top: 1px solid rgba(255,255,255,0.09); }
.db-alerts span { display: inline-flex; align-items: center; gap: 0.4rem; }
@media (prefers-reduced-motion: reduce) { .db-bar { transform: scaleY(1) !important; transition: none !important; } }

/* ==========================================================================
   Automation timeline
   ========================================================================== */

.auto-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: start; }
.auto-node { text-align: center; padding: 0 0.5rem; min-width: 0; }
.auto-dot { width: 50px; height: 50px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--brand); display: grid; place-items: center; margin: 0 auto 0.85rem; box-shadow: 0 8px 18px -10px rgba(8,11,18,0.3); }
.auto-node h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.auto-node p { font-size: 0.8rem; color: var(--text-dim); }
.auto-done .auto-dot { background: var(--paid); border-color: var(--paid); color: #fff; }
.auto-link { display: none; }
.auto-fine { font-size: 0.82rem; color: var(--text-dim); margin-top: 1.8rem; max-width: 68ch; }
@media (max-width: 820px) {
    .auto-track { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem 0.5rem; }
}

/* ==========================================================================
   Mobile app — five drawn screens
   ========================================================================== */

.mob-stage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.6rem, 1.6vw, 1.25rem); align-items: end; }
.mob-ph { margin: 0; min-width: 0; }
.mob-ph .mob-scr {
    border-radius: 20px; padding: 6px;
    background: linear-gradient(160deg, #232b3b, #0c1017);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9);
    display: flex; flex-direction: column;
    height: 360px;
}
/* The middle phone leads; the outer ones sit back, so the row reads as a
   sequence rather than five equal thumbnails. */
.mob-ph:nth-child(1) .mob-scr, .mob-ph:nth-child(5) .mob-scr { height: 308px; opacity: 0.82; }
.mob-ph:nth-child(2) .mob-scr, .mob-ph:nth-child(4) .mob-scr { height: 336px; opacity: 0.93; }
.mob-ph figcaption { text-align: center; font-size: 0.74rem; color: var(--on-ink-dim); margin-top: 0.7rem; }
.mob-scr > .mob-top { background: #fff; border-radius: 14px 14px 0 0; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); }
.mob-title { font-size: 0.72rem; font-weight: 700; color: var(--text); }
.mob-in { background: var(--paper); flex: 1; padding: 0.55rem; overflow: hidden; display: grid; gap: 0.4rem; align-content: start; }
.mob-in .p-label { font-size: 0.58rem; }
.mob-hero { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.55rem; display: grid; }
.mob-big { font-size: 0.95rem; font-weight: 750; }
.mob-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.mob-pair > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0.42rem 0.5rem; display: grid; min-width: 0; }
.mob-pair .num { font-size: 0.72rem; font-weight: 700; }
.mob-r { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0.45rem 0.55rem; display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; font-size: 0.66rem; font-weight: 600; color: var(--text); }
.mob-r small { font-weight: 400; color: var(--text-dim); font-size: 0.58rem; }
.mob-r.sel { border-color: var(--brand); background: var(--brand-wash); }
.mob-r .num { font-size: 0.66rem; }
.mob-r i { color: var(--brand); font-size: 0.6rem; }
.mob-steps { display: flex; gap: 0.25rem; }
.mob-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.mob-steps .on { background: var(--brand); }
.mob-h { font-size: 0.76rem; font-weight: 700; }
.mob-btn { background: var(--brand); color: #fff; border-radius: 9px; padding: 0.45rem; text-align: center; font-size: 0.64rem; font-weight: 650; }
.mob-btn.ghost { background: #fff; color: var(--text-mut); border: 1px solid var(--line); }
.mob-btn.go { background: var(--paid); display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.mob-search, .mob-scan { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 0.42rem 0.55rem; font-size: 0.64rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.35rem; }
.mob-scan { border-style: dashed; border-color: var(--brand); color: var(--brand); }
.mob-tot { display: flex; justify-content: space-between; font-size: 0.64rem; color: var(--text-mut); padding: 0.2rem 0.1rem; }
.mob-tot.grand { font-weight: 750; color: var(--text); font-size: 0.74rem; border-top: 1px solid var(--line); padding-top: 0.35rem; margin-top: 0.1rem; }
.mob-tabs { background: #fff; border-radius: 0 0 14px 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 0.4rem 0; }
.mob-tabs i { text-align: center; font-size: 0.62rem; color: var(--text-dim); }
.mob-tabs .on { color: var(--brand); }

.mob-foot { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line-ink); }
.mob-caps { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mob-caps span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.79rem; color: var(--on-ink-mut); border: 1px solid var(--line-ink); border-radius: 100px; padding: 0.35rem 0.8rem; background: rgba(255,255,255,0.04); }
.mob-caps i { color: var(--amber); font-size: 0.72rem; }
.mob-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.mob-soon { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 0.6rem; align-items: start; background: rgba(255,255,255,0.05); border: 1px solid var(--line-ink); border-left: 3px solid var(--paid); border-radius: 12px; padding: 0.8rem 1rem; font-size: 0.84rem; color: var(--on-ink-mut); max-width: 420px; }
.mob-soon i { color: var(--paid); margin-top: 0.15rem; }
.mob-soon b { color: var(--on-ink); display: block; }

@media (max-width: 1080px) { .mob-stage { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; } .mob-ph:nth-child(4), .mob-ph:nth-child(5) { display: none; } }
@media (max-width: 700px)  { .mob-stage { grid-template-columns: repeat(2, minmax(0,1fr)); } .mob-ph:nth-child(3) { display: none; } .mob-ph .mob-scr { height: 300px !important; opacity: 1 !important; } }
@media (max-width: 420px)  { .mob-stage { grid-template-columns: minmax(0,1fr); } .mob-ph:nth-child(n+2) { display: none; } }

/* ==========================================================================
   Counter to cash
   ========================================================================== */

.c2c { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 0.75rem; }
.c2c-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1rem; min-width: 0; }
.c2c-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--brand-wash); color: var(--brand-deep); display: grid; place-items: center; font-size: 0.82rem; margin-bottom: 0.7rem; }
.c2c-step h3 { font-size: 0.92rem; margin-bottom: 0.25rem; }
.c2c-step p { font-size: 0.79rem; color: var(--text-dim); line-height: 1.45; }
.c2c-val { display: inline-block; margin-top: 0.6rem; font-size: 0.74rem; background: var(--paper-2); border-radius: 6px; padding: 0.15rem 0.45rem; color: var(--text-mut); }
.c2c-step:last-child .c2c-ico { background: var(--paid); color: #fff; }

/* ==========================================================================
   Feature universe / comparison / pricing extras
   ========================================================================== */

.fu-fine, .price-fine { font-size: 0.8rem; color: var(--text-dim); margin-top: 1.5rem; max-width: 70ch; }
.price-fine { text-align: center; margin-inline: auto; }
.price-fine a, .fu-fine a { color: var(--brand); }
.cmp-advs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.75rem; margin-bottom: 1.75rem; }
.cmp-advs .adv { margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.foot { background: var(--ink); color: var(--on-ink-mut); padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot-brand p { font-size: 0.87rem; margin: 0.9rem 0 1.1rem; max-width: 34ch; }
.foot-social { display: flex; gap: 0.5rem; }
.foot-social a { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-ink); display: grid; place-items: center; color: var(--on-ink-mut); text-decoration: none; transition: all 0.18s; }
.foot-social a:hover { color: var(--on-ink); border-color: var(--on-ink-dim); }
.foot-col h4 { font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 0.9rem; font-weight: 700; }
.foot-col a { display: block; font-size: 0.87rem; text-decoration: none; color: var(--on-ink-mut); padding: 0.28rem 0; transition: color 0.18s; }
.foot-col a:hover { color: var(--on-ink); }
.foot-base { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-ink); font-size: 0.8rem; color: var(--on-ink-dim); }
.foot-base a { color: var(--on-ink-mut); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Real product visuals (hero shot + product tour) & the free-tools section.
   Motion is transform/opacity only and inherits the stylesheet's global
   prefers-reduced-motion override.
   ========================================================================== */

.hero-shot {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line-ink);
    border-radius: var(--r);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
    transform: rotate(0.4deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-shot:hover {
    transform: rotate(0) translateY(-3px);
    box-shadow: var(--shadow-float);
}
.hero-shot img { display: block; width: 100%; height: auto; }

/* ---- Product tour: radio-driven tabs (works without JS) ---- */
.tour { position: relative; }
.tour-radio {
    position: absolute;
    opacity: 0;
    width: 1px; height: 1px;
    pointer-events: none;
}
.tour-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1rem;
}
.tour-tabs label {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-mut);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.14s, color 0.14s, background 0.14s, box-shadow 0.14s;
}
.tour-tabs label:hover { border-color: var(--brand); color: var(--brand); }
#tour-dash:checked ~ .tour-tabs label[for="tour-dash"],
#tour-invoice:checked ~ .tour-tabs label[for="tour-invoice"],
#tour-preview:checked ~ .tour-tabs label[for="tour-preview"],
#tour-customers:checked ~ .tour-tabs label[for="tour-customers"],
#tour-payments:checked ~ .tour-tabs label[for="tour-payments"],
#tour-gst:checked ~ .tour-tabs label[for="tour-gst"],
#tour-mobile:checked ~ .tour-tabs label[for="tour-mobile"] {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
#tour-dash:focus-visible ~ .tour-tabs label[for="tour-dash"],
#tour-invoice:focus-visible ~ .tour-tabs label[for="tour-invoice"],
#tour-preview:focus-visible ~ .tour-tabs label[for="tour-preview"],
#tour-customers:focus-visible ~ .tour-tabs label[for="tour-customers"],
#tour-payments:focus-visible ~ .tour-tabs label[for="tour-payments"],
#tour-gst:focus-visible ~ .tour-tabs label[for="tour-gst"],
#tour-mobile:focus-visible ~ .tour-tabs label[for="tour-mobile"] {
    box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.28);
}

.tour-panel { display: none; margin: 0; }
.tour-panel figcaption {
    margin-top: 0.9rem;
    color: var(--text-mut);
    font-size: 0.95rem;
    text-align: center;
}
#tour-dash:checked ~ .tour-panel--dash,
#tour-invoice:checked ~ .tour-panel--invoice,
#tour-preview:checked ~ .tour-panel--preview,
#tour-customers:checked ~ .tour-panel--customers,
#tour-payments:checked ~ .tour-panel--payments,
#tour-gst:checked ~ .tour-panel--gst,
#tour-mobile:checked ~ .tour-panel--mobile {
    display: block;
    animation: tourIn 0.35s ease;
}
@keyframes tourIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tour-frame {
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    background: var(--surface);
}
.tour-frame img { display: block; width: 100%; height: auto; }
.tour-frame--phone { max-width: 340px; margin: 0 auto; border-radius: 28px; }
.tour-cta {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
@media (prefers-reduced-motion: reduce) {
    .tour-panel { animation: none !important; }
}

/* ---- Free tools on the landing ---- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}
@media (max-width: 960px) { .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    text-decoration: none;
    transition: border-color 0.14s, box-shadow 0.14s, transform 0.14s;
}
.tool-card:hover {
    border-color: var(--brand);
    box-shadow: 0 6px 18px rgba(8, 11, 18, 0.08);
    transform: translateY(-2px);
}
.tool-card:focus-visible { box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.28); outline: none; }
.tool-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--brand-wash);
    color: var(--brand);
}
.tool-name { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.tool-blurb { color: var(--text-dim); font-size: 0.85rem; line-height: 1.45; }
.tools-more { text-align: center; margin-top: 1.25rem; }
.tools-more a { color: var(--brand); font-weight: 600; text-decoration: none; }
.tools-more a:hover { text-decoration: underline; }


/* Narrow phones: button labels come from Admin > Landing page and can be any
   length. white-space:nowrap above let a long one push the whole page 66px
   sideways at 390px (the product-completion audit measured it). Wrap instead. */
@media (max-width: 480px) {
    .btn { white-space: normal; max-width: 100%; text-align: center; }
}


/* ==========================================================================
   REDESIGN (20 Oct 2026)
   Device mockups around REAL screenshots, the trust strip (Startup India),
   the Marketplace Automation spotlight and its who-does-what flow, features
   grouped by workflow, the phone gallery and the support block. The scene
   panels above (drawn in CSS with invented figures) are no longer rendered.
   ========================================================================== */

/* ---- buttons: the light-ground ghost was referenced but never defined ---- */
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn:focus-visible { outline: 3px solid rgba(91, 91, 214, 0.45); outline-offset: 2px; }

/* ---- device mockups ---- */
.device-browser {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-panel);
}
.device-bar {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.55rem 0.9rem;
    background: #eef1f7;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}
.device-url {
    font-family: var(--mono); font-size: 0.68rem; color: var(--text-dim);
    background: #fff; border: 1px solid var(--line); border-radius: 100px;
    padding: 0.12rem 0.7rem; min-width: 0;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.device-browser img { display: block; width: 100%; height: auto; }
.device-phone {
    margin: 0;
    border-radius: 34px;
    padding: 8px;
    background: #0d1018;
    box-shadow: 0 30px 60px -28px rgba(8, 11, 18, 0.65), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16);
}
.device-phone img { display: block; width: 100%; height: auto; border-radius: 27px; }

/* ---- hero ---- */
.hero-devices { position: relative; padding: 0 9% 7% 0; }
.device-phone--hero { position: absolute; right: 0; bottom: 0; width: 27%; min-width: 104px; }
.device-note { font-size: 0.74rem; color: var(--on-ink-dim); margin-top: 0.9rem; }
.hero-mkt {
    display: flex; align-items: center; gap: 0.9rem;
    margin-top: 1.6rem; padding: 0.8rem 1rem;
    max-width: 560px;
    border: 1px solid var(--line-ink); border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-ink-mut); font-size: 0.86rem; line-height: 1.45;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.hero-mkt:hover, .hero-mkt:focus-visible { border-color: var(--amber); background: rgba(242, 163, 60, 0.08); outline: none; }
.hero-mkt-logos { display: flex; flex-direction: column; gap: 0.3rem; flex: 0 0 auto; }
.hero-mkt-logos span {
    font-family: var(--mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink); background: var(--amber); border-radius: 6px; padding: 0.12rem 0.5rem; text-align: center;
}
.hero-mkt-text { min-width: 0; }
.hero-mkt-text b { display: block; color: var(--on-ink); font-size: 0.94rem; }
.hero-mkt > i { margin-left: auto; color: var(--amber); }

/* ---- trust strip ---- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1.5rem 0 1.15rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.trust-item { display: flex; gap: 0.75rem; align-items: flex-start; min-width: 0; }
.trust-ico {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--brand-wash); color: var(--brand);
}
.trust-item--si .trust-ico { background: var(--amber-wash); color: var(--amber-deep); }
.trust-item b { display: block; font-size: 0.9rem; color: var(--text); line-height: 1.3; }
.trust-item span { display: block; font-size: 0.78rem; color: var(--text-dim); line-height: 1.4; margin-top: 0.15rem; overflow-wrap: anywhere; }
.trust-fine { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.95rem; }

/* ---- Marketplace Automation ---- */
.mkt {
    background:
        radial-gradient(900px 520px at 88% 0%, rgba(242, 163, 60, 0.14), transparent 60%),
        radial-gradient(820px 520px at 0% 100%, rgba(91, 91, 214, 0.24), transparent 62%),
        var(--ink);
}
.mkt-head { max-width: 72ch; }
.mkt-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; margin-top: 1.4rem; }
.mkt-avail-k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paid); margin-right: 0.2rem; }
.mkt-chip { font-weight: 700; font-size: 0.92rem; color: var(--ink); background: var(--on-ink); border-radius: 100px; padding: 0.3rem 0.95rem; }
.mkt-avail-next { flex-basis: 100%; font-size: 0.86rem; color: var(--on-ink-mut); margin-top: 0.2rem; }
.mkt-stage { position: relative; margin-top: 2.5rem; padding-right: 13%; }
.mkt-shot { border-color: rgba(255, 255, 255, 0.14); }
.mkt-shot .device-bar { background: #1a2130; border-bottom-color: rgba(255, 255, 255, 0.08); }
.mkt-shot .device-url { background: rgba(255, 255, 255, 0.06); color: var(--on-ink-dim); border-color: rgba(255, 255, 255, 0.1); }
.mkt-phone { position: absolute; right: 0; top: 12%; width: 22%; min-width: 120px; }
.mkt-caption { font-size: 0.76rem; color: var(--on-ink-dim); margin-top: 0.9rem; }
.mkt-value { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.mkt-value > div { border: 1px solid var(--line-ink); border-radius: var(--r); padding: 1.05rem 1.1rem; background: rgba(255, 255, 255, 0.03); min-width: 0; }
.mkt-value i { color: var(--amber); font-size: 1.05rem; }
.mkt-value b { display: block; color: var(--on-ink); margin: 0.55rem 0 0.25rem; font-size: 0.96rem; }
.mkt-value span { display: block; font-size: 0.84rem; color: var(--on-ink-mut); line-height: 1.5; }
.mkt-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.mkt-col { border-radius: var(--r-l); padding: 1.4rem 1.5rem; min-width: 0; }
.mkt-col--bb { background: rgba(91, 91, 214, 0.14); border: 1px solid rgba(123, 123, 234, 0.35); }
.mkt-col--you { background: rgba(242, 163, 60, 0.07); border: 1px solid rgba(242, 163, 60, 0.3); }
.mkt-col h3 { font-size: 1.1rem; margin-bottom: 0.9rem; display: flex; gap: 0.55rem; align-items: center; letter-spacing: -0.01em; }
.mkt-col--bb h3 i { color: var(--brand-lift); }
.mkt-col--you h3 i { color: var(--amber); }
.mkt-col ul { list-style: none; display: grid; gap: 0.65rem; }
.mkt-col li { position: relative; padding-left: 1.1rem; font-size: 0.88rem; color: var(--on-ink-mut); line-height: 1.55; }
.mkt-col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-lift); }
.mkt-col--you li::before { background: var(--amber); }
.mkt-col li b { color: var(--on-ink); font-weight: 600; }
.mkt-cta { justify-content: flex-start; margin-top: 2rem; }
.mkt-fine { font-size: 0.78rem; color: var(--on-ink-dim); margin-top: 0.7rem; }

/* ---- how it works: who does each step ---- */
.mflow { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.75rem; position: relative; }
.mflow::before {
    content: ""; position: absolute; left: 4%; right: 4%; top: 36px; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--amber)); opacity: 0.35;
}
.mflow-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 0.85rem 1.1rem; min-width: 0; }
.mflow-n { position: absolute; top: 0.6rem; right: 0.75rem; font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); }
.mflow-ico {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--brand-wash); color: var(--brand); margin-bottom: 0.7rem; position: relative; z-index: 1;
}
.mflow-step--you .mflow-ico { background: var(--amber-wash); color: var(--amber-deep); }
.mflow-step--both .mflow-ico { background: linear-gradient(135deg, var(--brand-wash) 50%, var(--amber-wash) 50%); }
.mflow-role {
    display: inline-block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.12rem 0.5rem; border-radius: 100px; background: var(--paper-2); color: var(--text-mut); margin-bottom: 0.45rem;
}
.mflow-step--bb .mflow-role { background: var(--brand-wash); color: var(--brand-deep); }
.mflow-step--you .mflow-role { background: var(--amber-wash); color: #7a4f0d; }
.mflow-step h3 { font-size: 0.98rem; margin-bottom: 0.35rem; letter-spacing: -0.01em; line-height: 1.2; }
.mflow-step p { font-size: 0.8rem; color: var(--text-mut); line-height: 1.5; }
.mflow-fine { font-size: 0.8rem; color: var(--text-dim); margin-top: 1.25rem; max-width: 80ch; }

/* ---- features by workflow ---- */
.wf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.wf-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
    padding: 1.35rem 1.35rem 1.2rem; display: flex; flex-direction: column; min-width: 0;
    scroll-margin-top: 90px; transition: border-color 0.15s, box-shadow 0.15s;
}
.wf-card:hover { border-color: rgba(91, 91, 214, 0.4); box-shadow: 0 14px 30px -18px rgba(8, 11, 18, 0.25); }
.wf-card header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.55rem; }
.wf-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); flex: 0 0 auto; }
.wf-card h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.wf-blurb { font-size: 0.86rem; color: var(--text-mut); margin-bottom: 0.95rem; }
.wf-list { list-style: none; display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.wf-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 0.6rem; font-size: 0.88rem; padding-bottom: 0.45rem; border-bottom: 1px dashed var(--line); }
.wf-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.wf-name { font-weight: 600; color: var(--text); min-width: 0; }
.wf-list .pill { font-size: 0.64rem; flex: 0 0 auto; }
.wf-see { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.wf-see:hover { text-decoration: underline; }
.anchor-alias { display: block; height: 0; overflow: hidden; scroll-margin-top: 90px; }

/* ---- phone gallery ---- */
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); max-width: 1100px; margin: 0 auto; }
.phones-item { margin: 0; text-align: center; min-width: 0; }
.phones-item .device-phone { max-width: 250px; margin: 0 auto; }
.phones-item:nth-child(even) { transform: translateY(1.5rem); }
.phones-item figcaption { margin-top: 0.85rem; font-size: 0.8rem; color: var(--on-ink-mut); font-family: var(--mono); letter-spacing: 0.04em; }
.mob-caps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin-top: 3.25rem; }
.mob-caps-grid > div { border: 1px solid var(--line-ink); border-radius: var(--r); padding: 1rem 1.1rem; background: rgba(255, 255, 255, 0.03); min-width: 0; }
.mob-caps-grid > div > i { color: var(--amber); }
.mob-caps-grid > div > b { display: block; color: var(--on-ink); margin: 0.5rem 0 0.25rem; }
.mob-caps-grid > div > span { display: block; font-size: 0.84rem; color: var(--on-ink-mut); line-height: 1.5; }
.mob-caps-grid .pill { margin-left: 0.2rem; }

/* ---- pricing: the Pro list leads with Marketplace Automation ---- */
.price-list li.hi { font-weight: 700; color: var(--brand-deep); }

/* ---- offer strip (moved from an inline <style> in index.php) ---- */
.lp-offers { display: grid; gap: 12px; max-width: 860px; margin: 0 auto 32px; }
.lp-offer { display: flex; gap: 12px; align-items: flex-start; background: rgba(79, 70, 229, 0.07); border: 1px solid rgba(79, 70, 229, 0.2); border-radius: 12px; padding: 14px 16px; }
.lp-offer > i { color: var(--brand, #4f46e5); margin-top: 3px; flex: 0 0 auto; }
.lp-offer strong { display: block; font-size: 1rem; }
.lp-offer span { display: block; font-size: 0.875rem; opacity: 0.82; margin-top: 2px; }
.lp-offer span.terms { font-size: 0.78rem; opacity: 0.65; }
.lp-offer code { background: #fff; color: #4f46e5; border: 1px solid rgba(79, 70, 229, 0.3); border-radius: 5px; padding: 1px 7px; font-weight: 700; letter-spacing: 0.5px; }

/* ---- support ---- */
.support {
    max-width: 860px; margin: 2.5rem auto 0;
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.5rem 1.6rem;
    scroll-margin-top: 90px;
}
.support h3 { font-size: 1.15rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.support p { font-size: 0.88rem; color: var(--text-mut); }
.support-actions { display: flex; flex-direction: column; gap: 0.6rem; align-items: stretch; min-width: 0; }
.support-actions .btn { justify-content: center; overflow-wrap: anywhere; }
.support-legal { font-size: 0.78rem; color: var(--text-dim); text-align: center; }
.support-legal a { color: var(--text-mut); }

/* ---- responsive ---- */
@media (max-width: 1180px) {
    .mflow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mflow::before { display: none; }
}
@media (max-width: 1000px) {
    .trust-grid, .mkt-value { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
    .hero-devices { padding-right: 6%; margin-top: 0.5rem; }
    .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
    .phones-item:nth-child(even) { transform: none; }
}
@media (max-width: 760px) {
    .mkt-split, .mkt-value { grid-template-columns: minmax(0, 1fr); }
    .mkt-stage { padding-right: 0; }
    .mkt-phone { position: static; width: 64%; max-width: 260px; margin: 1.25rem auto 0; }
    .mflow { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
    .mflow-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 0.85rem; padding-right: 2rem; }
    .mflow-ico { grid-row: 1 / span 3; margin: 0; }
    .support { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .wf-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .trust-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-mkt { flex-wrap: wrap; }
    .hero-mkt-logos { flex-direction: row; }
    .phones { gap: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wf-card, .hero-mkt { transition: none; }
}

/* feature cards: a few verified points under the registry list */
.wf-notes { list-style: none; display: grid; gap: 0.4rem; margin: -0.2rem 0 1rem; padding: 0.8rem 0.9rem; background: var(--paper); border-radius: var(--r-s); }
.wf-notes li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 0.5rem; font-size: 0.82rem; color: var(--text-mut); line-height: 1.45; }
.wf-notes i { color: var(--paid); font-size: 0.72rem; margin-top: 0.3rem; }
.mflow-role { justify-self: start; }
.device-note { max-width: 66%; }

/* ---- plans compared (rebuilt 20 Oct 2026): Basic / Pro / myBillBook ---- */
.cmp2-shell { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--surface); }
.cmp2 { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cmp2 th, .cmp2 td { padding: 0.95rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp2 thead th { background: var(--paper-2); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-mut); font-weight: 650; }
.cmp2 thead th.us { color: var(--brand-deep); }
.cmp2 thead th.us-pro { background: var(--brand-wash); }
.cmp2 tbody tr:last-child th, .cmp2 tbody tr:last-child td { border-bottom: 0; }
.cmp2 .cap { width: 36%; }
.cmp2 .cap b { display: block; color: var(--text); font-weight: 650; }
.cmp2 .cap span { display: block; font-size: 0.8rem; color: var(--text-dim); font-weight: 400; margin-top: 0.15rem; line-height: 1.45; }
.cmp2 td.us-pro { background: rgba(91, 91, 214, 0.04); }
.cmp2 .cmp2-price td b { font-size: 1rem; color: var(--text); }
.cmp2 .cmp2-txt { font-size: 0.82rem; color: var(--text-mut); }
.cmp2 tr.cmp2-hi th, .cmp2 tr.cmp2-hi td { background: rgba(242, 163, 60, 0.07); }
.cmp2 .mark-no { color: var(--text-dim); }

@media (max-width: 760px) {
    /* Each row becomes a card: the capability on top, then one line per column. */
    .cmp2, .cmp2 tbody, .cmp2 tr, .cmp2 th, .cmp2 td { display: block; width: 100%; }
    .cmp2 thead { display: none; }
    .cmp2 tbody tr { border-bottom: 1px solid var(--line); padding: 0.85rem 1rem; }
    .cmp2 tbody tr:last-child { border-bottom: 0; }
    .cmp2 th, .cmp2 td { border: 0; padding: 0.2rem 0; }
    .cmp2 .cap { width: 100%; margin-bottom: 0.35rem; }
    .cmp2 td { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.6rem; align-items: baseline; }
    .cmp2 td::before { content: attr(data-th); font-size: 0.74rem; color: var(--text-dim); font-weight: 600; }
    .cmp2 td.us-pro, .cmp2 tr.cmp2-hi th, .cmp2 tr.cmp2-hi td { background: transparent; }
    .cmp2 tr.cmp2-hi { background: rgba(242, 163, 60, 0.07); }
}

/* ==========================================================================
   Website polish (Oct 2026): the hero's sign-up line, the live-demo section,
   BillBase for Android, the accessible mobile menu, and the Android download
   page (download-android.php shares this stylesheet). Same tokens and
   components as above; nothing here animates layout.
   ========================================================================== */

/* ---- hero ---- */
/* The product headline is longer than the old slogan: one step smaller keeps it to three lines on a desktop. */
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.hero-alt { font-size: 0.9rem; color: var(--on-ink-mut); margin-top: 0.85rem; }
.hero-alt a { color: var(--on-ink); font-weight: 600; text-underline-offset: 3px; }
.hero-alt a:hover { color: var(--amber); }
.hero-alt span { margin: 0 0.3rem; color: var(--on-ink-dim); }

/* ---- nav: the menu button becomes a close button; the menu scrolls itself ---- */
.nav-burger span { transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links a[aria-current="page"] { color: var(--on-ink); }
@media (max-width: 900px) {
    .nav-mobile { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
    .nav-mobile .btn { justify-content: center; padding: 0.85rem 1.2rem; }
    .nav-mobile .btn-amber { color: #2a1a05; }
    .nav-mobile .btn-ghost-ink { border: 1px solid var(--line-ink); margin-top: 0.5rem; }
    /* body only: its overflow then applies to the viewport, so the sticky
       header keeps sticking while the page behind it cannot scroll. */
    html.menu-open body { overflow: hidden; }
}
@media (min-width: 901px) and (max-width: 1120px) {
    .nav-inner, .nav-links { gap: 1rem; }
}

/* ---- live demo ---- */
.demo {
    background:
        radial-gradient(820px 480px at 100% 0%, rgba(242, 163, 60, 0.12), transparent 60%),
        radial-gradient(760px 520px at 0% 100%, rgba(91, 91, 214, 0.22), transparent 62%),
        var(--ink);
}
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.demo-copy h2 { margin: 0.9rem 0 0.8rem; }
.demo-steps { list-style: none; counter-reset: demo; display: grid; gap: 0.95rem; margin: 1.8rem 0 2rem; }
.demo-steps li { counter-increment: demo; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 0.9rem; align-items: start; }
.demo-steps li::before {
    content: counter(demo); grid-row: 1 / span 2;
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    font-family: var(--mono); font-weight: 600; color: var(--ink); background: var(--amber);
}
.demo-steps b { color: var(--on-ink); font-size: 1rem; }
.demo-steps span { color: var(--on-ink-mut); font-size: 0.9rem; line-height: 1.5; }
.demo-card {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-ink); border-radius: var(--r-l);
    padding: clamp(1.3rem, 3vw, 1.9rem); min-width: 0;
}
.demo-card h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.demo-list { list-style: none; display: grid; gap: 0.95rem; }
.demo-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0.8rem; align-items: start; }
.demo-list li > i {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(123, 123, 234, 0.16); color: var(--brand-lift); font-size: 0.95rem;
}
.demo-list b { display: block; color: var(--on-ink); font-size: 0.95rem; }
.demo-list span { display: block; color: var(--on-ink-mut); font-size: 0.85rem; line-height: 1.45; }
.demo-fine { font-size: 0.76rem; color: var(--on-ink-dim); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-ink); }

/* ---- BillBase for Android ---- */
.android {
    background:
        radial-gradient(900px 520px at 85% 0%, rgba(47, 191, 135, 0.10), transparent 60%),
        radial-gradient(820px 520px at 0% 100%, rgba(91, 91, 214, 0.22), transparent 62%),
        var(--ink);
}
.android-head {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.android-head .band-head { margin-bottom: 0; }
.android-status { border: 1px solid var(--line-ink); border-radius: var(--r-l); background: rgba(255, 255, 255, 0.04); padding: 1.3rem 1.4rem; min-width: 0; }
.android-state { display: flex; align-items: center; gap: 0.55rem; font-weight: 650; color: var(--on-ink); }
.android-state i { color: var(--amber); }
.android-state.is-live i { color: var(--paid); }
.android-note { font-size: 0.86rem; color: var(--on-ink-mut); margin-top: 0.35rem; }
.android-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }

.final-alt { font-size: 0.9rem; color: var(--on-ink-mut); margin-top: 1.1rem; }
.final-alt a { color: var(--on-ink); font-weight: 600; text-underline-offset: 3px; }
/* An e-mail address is one unbreakable word: let it wrap inside its footer column (it overflowed at 360px). */
.foot-col a { overflow-wrap: anywhere; }

/* ---- download-android.php ---- */
.dl-mono { font-family: var(--mono); letter-spacing: -0.01em; }
.dl-nw { white-space: nowrap; }
.dl-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.8rem; color: var(--on-ink-dim); margin-bottom: 1rem; }
.dl-crumbs li + li::before { content: "/"; margin-right: 0.4rem; }
.dl-crumbs a { color: var(--on-ink-mut); }
.dl-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.dl-hero .hero-badge .dl-mono { color: var(--on-ink); font-size: 0.78rem; }
.dl-card {
    max-width: 600px; margin-top: 1.5rem;
    border: 1px solid var(--line-ink); border-radius: var(--r-l);
    background: rgba(255, 255, 255, 0.05); padding: 1.25rem 1.35rem;
}
.dl-card.is-live { border-color: rgba(47, 191, 135, 0.45); }
.dl-card.is-review { border-color: rgba(242, 163, 60, 0.4); }
.dl-card-k {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.dl-card.is-live .dl-card-k { color: var(--paid); }
.dl-card-h { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 0.55rem 0 0.2rem; color: var(--on-ink); letter-spacing: -0.015em; line-height: 1.25; }
.dl-card-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.2rem; }
.dl-chan { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line-ink); }
.dl-chan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.7rem; align-items: start; }
.dl-chan li > i { color: var(--on-ink-mut); margin-top: 0.25rem; }
.dl-chan b { display: block; color: var(--on-ink); font-size: 0.92rem; }
.dl-chan span { font-size: 0.84rem; color: var(--on-ink-mut); line-height: 1.5; }
.dl-chan .dl-mono { font-size: 0.8rem; color: var(--on-ink); }
.dl-sha { margin-top: 0.9rem; font-size: 0.76rem; color: var(--on-ink-dim); display: grid; gap: 0.25rem; }
.dl-sha code { font-family: var(--mono); color: var(--on-ink); overflow-wrap: anywhere; font-size: 0.74rem; }
.dl-card-fine { font-size: 0.8rem; color: var(--on-ink-dim); margin-top: 0.8rem; }

/* Two real phone captures, stacked in one grid cell; transforms only, so the
   composition never widens the page. */
.dl-phones { display: grid; grid-template-areas: "stack"; justify-items: center; align-items: start; padding: 0.5rem 0 1rem; min-width: 0; }
.dl-phone { grid-area: stack; margin: 0; }
.dl-phone--front { width: min(270px, 56%); transform: translateX(22%); z-index: 2; }
.dl-phone--back { width: min(240px, 50%); transform: translate(-38%, 9%); z-index: 1; }

.dl-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.dl-split .band-head { margin-bottom: 0; }
.dl-facts { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--surface); }
.dl-facts > div { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr); gap: 1rem; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--line); }
.dl-facts > div:last-child { border-bottom: 0; }
.dl-facts > div:nth-child(odd) { background: var(--paper); }
.dl-facts dt { font-size: 0.8rem; color: var(--text-mut); font-weight: 600; }
.dl-facts dd { font-size: 0.92rem; color: var(--text); overflow-wrap: anywhere; min-width: 0; }
.dl-dim { color: var(--text-dim); font-size: 0.88em; }
.dl-hash { font-size: 0.78rem; }

.dl-install { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.dl-step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.35rem 1.4rem; min-width: 0; }
.dl-step-card header { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.dl-step-card header > i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); }
.dl-step-card h3 { font-size: 1.1rem; }
.dl-step-card .pill { margin-left: auto; }
.dl-steps { counter-reset: dls; list-style: none; display: grid; gap: 0.7rem; }
.dl-steps li { counter-increment: dls; position: relative; padding-left: 2.1rem; font-size: 0.9rem; color: var(--text-mut); line-height: 1.55; }
.dl-steps li::before {
    content: counter(dls); position: absolute; left: 0; top: 0.05rem;
    width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--paper-2); color: var(--text); font-family: var(--mono); font-size: 0.75rem; font-weight: 600;
}
.dl-steps b { color: var(--text); }
.dl-step-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 1rem; padding-top: 0.85rem; border-top: 1px dashed var(--line); }

.dl-checks { list-style: none; display: grid; gap: 1.05rem; }
.dl-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.75rem; }
.dl-checks li > i { color: var(--paid); margin-top: 0.2rem; }
.dl-checks b { display: block; color: var(--text); font-size: 0.98rem; margin-bottom: 0.15rem; }
.dl-checks span { font-size: 0.88rem; color: var(--text-mut); line-height: 1.55; }
.dl-checks code { font-family: var(--mono); font-size: 0.78rem; background: var(--paper-2); border-radius: 6px; padding: 0.05rem 0.35rem; overflow-wrap: anywhere; }

.dl-updates {
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
    padding: 1.5rem 1.6rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); scroll-margin-top: 90px;
}
.dl-updates h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 0.6rem; }
.dl-updates p { color: var(--text-mut); font-size: 0.95rem; }
.dl-support { margin-top: 0; }
.dl-page #install, .dl-page #authenticity, .dl-page #troubleshooting, .dl-page #details, .dl-page #get { scroll-margin-top: 80px; }
.dl-foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }

/* ---- responsive ---- */
@media (max-width: 940px) {
    .demo-grid, .android-head, .dl-split, .dl-updates, .dl-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .dl-phones { width: 100%; max-width: 440px; margin: 0.5rem auto 0; }
}
@media (max-width: 860px) {
    .dl-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .dl-install { grid-template-columns: minmax(0, 1fr); }
    .dl-facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
}
@media (max-width: 520px) {
    .hero-cta .btn, .android-cta .btn, .final-cta .btn, .demo-cta .btn, .dl-card-cta .btn { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-burger span { transition: none; }
}
