/* ============================================================
 * Theme tokens
 * ------------------------------------------------------------
 * Dark is the default (site was designed dark-first). Light is
 * applied when either (a) the user's OS prefers light AND has
 * not overridden with a manual dark choice, or (b) the user has
 * manually toggled to light.
 *
 * The DOM contract:
 *   <html>                        → follow system
 *   <html data-theme="light">     → light forced
 *   <html data-theme="dark">      → dark forced
 * The paint script in every page's <head> sets the attribute
 * from localStorage before first paint (no FOUC).
 *
 * Light palette follows a "serious fintech / fiscal software"
 * direction: off-white page, white cards, hairline borders
 * instead of shadows, one deep-blue brand accent for the sole
 * primary CTA per screen, one green-petrol accent reserved for
 * "conform / verified / live" semantics. Semantic colors
 * (danger, warn) match ERP UI conventions so the same red that
 * means "stoc negativ" in the app also means "stoc negativ" on
 * the marketing site. Do NOT introduce a third accent hue —
 * green-petrol and warn share the "meaning" load.
 * ============================================================ */
:root {
    /* Dark tokens (baseline) */
    --bg: #0e1116;
    --bg-card: #161b22;
    --bg-elevated: #1f2630;
    --border: #2a313c;
    --border-strong: #3a424f;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #2f81f7;
    --accent-hover: #4f9bff;
    --accent-soft: rgba(47, 129, 247, 0.12);
    --success: #3fb950;
    --success-soft: rgba(63, 185, 80, 0.14);
    --warn: #d29922;
    --danger: #f85149;
    --card-shadow: 0 0 0 transparent;      /* dark uses none by default */
    --header-bg: rgba(14, 17, 22, 0.85);
    --maxw: 1080px;
    color-scheme: dark;
}

/* Light palette — applied when the OS prefers light AND the user
 * has not manually forced dark. */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --bg: #F7F9FB;
        --bg-card: #FFFFFF;
        --bg-elevated: #F1F4F8;
        --border: #E4E9EF;
        --border-strong: #C9D1DB;
        --text: #0F1722;
        --text-muted: #6B7686;
        --accent: #1C4E8A;
        --accent-hover: #10396B;
        --accent-soft: rgba(28, 78, 138, 0.08);
        --success: #0E7C66;
        --success-soft: rgba(14, 124, 102, 0.10);
        --warn: #A8620A;
        --danger: #B3261E;
        --card-shadow: 0 0 0 transparent;   /* rely on borders */
        --header-bg: rgba(247, 249, 251, 0.88);
        color-scheme: light;
    }
}

/* Manual override — light forced regardless of system preference. */
:root[data-theme="light"] {
    --bg: #F7F9FB;
    --bg-card: #FFFFFF;
    --bg-elevated: #F1F4F8;
    --border: #E4E9EF;
    --border-strong: #C9D1DB;
    --text: #0F1722;
    --text-muted: #6B7686;
    --accent: #1C4E8A;
    --accent-hover: #10396B;
    --accent-soft: rgba(28, 78, 138, 0.08);
    --success: #0E7C66;
    --success-soft: rgba(14, 124, 102, 0.10);
    --warn: #A8620A;
    --danger: #B3261E;
    --card-shadow: 0 0 0 transparent;
    --header-bg: rgba(247, 249, 251, 0.88);
    color-scheme: light;
}

/* Manual override — dark forced regardless of system preference.
 * Duplicated from the baseline :root so it survives inside a light
 * @media block too. */
:root[data-theme="dark"] {
    --bg: #0e1116;
    --bg-card: #161b22;
    --bg-elevated: #1f2630;
    --border: #2a313c;
    --border-strong: #3a424f;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #2f81f7;
    --accent-hover: #4f9bff;
    --accent-soft: rgba(47, 129, 247, 0.12);
    --success: #3fb950;
    --success-soft: rgba(63, 185, 80, 0.14);
    --warn: #d29922;
    --danger: #f85149;
    --header-bg: rgba(14, 17, 22, 0.85);
    color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    /* Emoji fonts appended at end of cascade so text glyphs still resolve
     * through Segoe UI/Roboto/etc. first; emoji code points that don't
     * exist in those fonts fall through to color-emoji fonts. Fixes 🇲🇩
     * flag rendering as raw "M D" regional indicators on Linux/Chrome. */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "EmojiOne Color", emoji;
    /* `font-variant-emoji: emoji` was tried globally but breaks digit
     * kerning (2018 → "2 0 1 8", 9-18 → "9 -1 8") because browsers
     * treat digits as keycap-emoji bases. Kept the emoji cascade in
     * `font-family` above for pure-emoji code points (🇲🇩 etc.) and
     * force color presentation only on dedicated emoji containers
     * (.tile-em, .persona-emoji) via emoji-first font-family there. */
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* Skip-to-content — a11y */
.skip {
    position: absolute; left: -9999px; top: 8px;
    background: var(--accent); color: #fff;
    padding: 8px 12px; border-radius: 6px;
    z-index: 1000;
}
.skip:focus { left: 12px; }

/* Header */
header {
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0 0.5rem;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    position: sticky; top: 0; z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
    display: flex; align-items: center; gap: 0.6rem;
    font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
    color: var(--text);
}
.brand-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}
.nav-links { display: flex; gap: 1.4rem; font-size: 0.9rem; align-items: center; }
.nav-links a {
    color: var(--text-muted);
    position: relative;
    padding: 0.35rem 0;
    transition: color 0.15s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
    border-radius: 1px;
}
.nav-links a:hover {
    color: var(--text);
    text-decoration: none;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .cta {
    background: var(--accent); color: #fff;
    padding: 0.45rem 0.9rem; border-radius: 6px;
    font-weight: 500;
}
.nav-links .cta:hover { background: var(--accent-hover); color: #fff; }

/* Secondary nav — al doilea rând din header cu link-uri către persona pages
 * (Retail mic / Retail mare / Producție / Verticale / Decident / Enterprise / AI).
 * Text mai mic + muted, separator dot între linkuri (::after pseudo-element).
 * Border-top subtle între cele două rânduri; mobil ≤640px devine scroll orizontal
 * cu fadout la margini ca hint că se poate glisa. */
.nav-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 0.35rem;
    padding: 0.45rem 1.5rem 0.15rem;
    font-size: 0.78rem;
    border-top: 1px solid var(--border);
    margin-top: 0.55rem;
}
.nav-secondary a {
    color: var(--text-muted);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease, transform 0.1s ease;
    position: relative;
}
.nav-secondary a:hover {
    color: var(--accent);
    background: var(--accent-soft);
    text-decoration: none;
    transform: translateY(-1px);
}
.nav-secondary a + a::before {
    content: "·";
    color: var(--border-strong);
    margin: 0 0.25rem 0 -0.15rem;
    display: inline-block;
    font-weight: 400;
}
@media (max-width: 640px) {
    .nav-secondary {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.4rem 1rem 0.3rem;
        font-size: 0.72rem;
        mask-image: linear-gradient(90deg, transparent, black 10px, black calc(100% - 24px), transparent);
    }
    .nav-secondary::-webkit-scrollbar { display: none; }
    .nav-secondary a { white-space: nowrap; }
}

/* Hero */
.hero { padding: 4.5rem 0 1rem; }
.badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    margin-bottom: 1.2rem;
}
.badge.success {
    background: var(--success-soft);
    color: var(--success);
    border-color: color-mix(in srgb, var(--success) 35%, transparent);
}
.hero h1 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.hero p.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 2rem;
}
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.15s, transform 0.05s;
    cursor: pointer;
    border: 0;
}
.btn-primary {
    background: var(--accent);
    color: white;
}
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-elevated); text-decoration: none; color: var(--text); }

/* Trust bar under hero */
.trust {
    padding: 1rem 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 1.5rem 0 1rem;
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust strong { color: var(--text); font-weight: 600; }

/* Hero laptop mockup — real product screenshot embedded in a minimalist
 * laptop frame (bezel + trackpad silhouette). CSS-only, no external SVG.
 * The chassis stays dark regardless of theme (real laptops are dark), so
 * the screenshot's own UI (dark or light) sits inside a neutral frame.
 *
 * Deliberately sized SMALLER than the natural screenshot resolution so
 * details (K-# codes, sume, POS IDs, uid stubs) become visually
 * unreadable while the overall UI shape stays recognizable — visitors
 * see "yes, this is a real dashboard" without extracting operational
 * data. Privacy-through-scale trade-off, aligned with the "nu listăm
 * public" policy in the referințe banner. */
.hero-mockup {
    max-width: 640px;
    margin: 2rem auto 0.5rem;
    position: relative;
}

/* When two mockups share the hero, stack them side-by-side on desktop
 * (each ~half-width so they fit next to each other while remaining
 * legible-shapes only, still unreadable-details). Falls back to single-
 * column stack on tablets/mobile so neither becomes tiny. */
.hero-mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 0.5rem;
    align-items: end;
}
.hero-mockup-grid .hero-mockup,
.hero-mockup-grid .pos-mockup {
    max-width: none;
    margin: 0;
}
@media (max-width: 780px) {
    .hero-mockup-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Clickable mockup wrappers — the two hero screenshots link to their
 * relevant landing pages. Explicit cursor + hover overlay so the affordance
 * is obvious (image-as-link isn't a pattern visitors default-expect). */
.hero-mockup-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}
.hero-mockup-link:hover,
.hero-mockup-link:focus-visible {
    transform: translateY(-3px);
    filter: brightness(1.03);
    text-decoration: none;
}
.hero-mockup-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 6px;
}
.hero-mockup-link .hero-mockup-screen,
.hero-mockup-link .pos-mockup-screen {
    position: relative;
}
.hero-mockup-hover {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    padding: 0.55rem 1.1rem;
    background: rgba(20, 26, 42, 0.92);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border-radius: 999px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
    z-index: 5;
}
.hero-mockup-link:hover .hero-mockup-hover,
.hero-mockup-link:focus-visible .hero-mockup-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
/* On touch devices (no hover), keep the hint permanently visible
 * as a corner badge so mobile users still see the affordance. */
@media (hover: none) {
    .hero-mockup-hover {
        top: auto; left: auto;
        right: 10px; bottom: 10px;
        transform: none;
        opacity: 0.92;
        font-size: 0.78rem;
        padding: 0.35rem 0.7rem;
    }
    .hero-mockup-link:hover .hero-mockup-hover,
    .hero-mockup-link:focus-visible .hero-mockup-hover {
        transform: none;
    }
}

/* POS touchscreen terminal mockup — for screenshots of the touch-mode POS
 * (grid tiles cu foto de produse). Different from .hero-mockup:
 *   - thicker bezel (touchscreen frame is chunkier than laptop screen)
 *   - trapezoid "neck" between screen and base (typical desk POS stand)
 *   - flat wide base (foot pedestal instead of keyboard silhouette)
 * Green LED bottom-center = "device on / ready" — subtle brand-color signal
 * that matches SGApps's --success accent. Chassis dark to match .hero-mockup. */
.pos-mockup {
    max-width: 520px;
    margin: 2rem auto 0.5rem;
    position: relative;
}
.pos-mockup-screen {
    background: #1a1a1a;
    padding: 22px 20px 30px;
    border-radius: 16px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    position: relative;
}
.pos-mockup-screen::after {
    /* small green LED bottom-center — "device powered on" indicator */
    content: '';
    position: absolute;
    bottom: 10px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3fb950;
    box-shadow: 0 0 8px rgba(63, 185, 80, 0.6);
}
.pos-mockup-screen img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    background: var(--bg);
}
.pos-mockup-neck {
    width: 70px;
    height: 28px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    margin: 0 auto;
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}
.pos-mockup-base {
    width: 60%;
    max-width: 260px;
    height: 10px;
    margin: 0 auto;
    background: linear-gradient(180deg, #2a2a2a 0%, #0d0d0d 100%);
    border-radius: 4px 4px 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.pos-mockup-caption {
    margin-top: 1.1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-style: italic;
}
@media (max-width: 640px) {
    .pos-mockup { margin: 1.5rem auto 0.5rem; }
    .pos-mockup-screen { padding: 14px 12px 22px; border-radius: 12px; }
    .pos-mockup-neck { width: 50px; height: 20px; }
    .pos-mockup-base { max-width: 180px; height: 7px; }
    .pos-mockup-caption { font-size: 0.74rem; margin-top: 0.8rem; }
}

/* Overlay compus deasupra zonei blurate a screenshot-ului POS. Coordonatele
 * sunt calculate ca % din pos-fiscal-side-panel.png (1558×963) —
 * grid area începe la x≈540 (34.66%), y≈32 (3.3%), până la marginile din
 * dreapta/jos ale zonei aplicative. Tile-urile sunt HTML/CSS pur (fără
 * dependință de altă imagine); emoji + text pentru concept + gradient
 * color-coded per categorie de produs (cafea maro, băuturi reci albastru/
 * roșu, mâncare gătită tan/warm, deserturi roz). */
.pos-mockup-screen { position: relative; }
/* Wrapper direct în jurul <img> — ancorează overlay-ul la marginile IMAGINII,
 * nu la marginile chassis-ului (care are 20px padding pentru bezel).
 * Fără wrapper, procentele s-ar calcula față de padding-box și overlay-ul
 * ar fi shift-uit cu ~20px față de zona reală a grid-ului din PNG. */
.pos-mockup-image-wrap { position: relative; }
.pos-grid-overlay {
    position: absolute;
    left: 34.75%;
    top: 4.4%;
    right: 1.3%;
    bottom: 5.8%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px;
    background: #f5f7fa;
    border-radius: 3px;
    overflow: hidden;
    pointer-events: none;
}
.pos-grid-overlay-header {
    padding: 3px 6px;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4a5560;
    font-weight: 700;
    background: #e8ecf1;
    border-radius: 2px;
    text-align: center;
}
.pos-grid-tiles {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
}
.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px;
    border-radius: 3px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.15);
    line-height: 1;
    overflow: hidden;
}
/* Emoji-only container: emoji fonts FIRST so old browsers (pre-font-variant-emoji
 * support) also render the color glyph instead of the tiny text one from
 * Roboto/Arial for dual-presentation code points like ☕ 🥛 🥤. */
.tile-em { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "EmojiOne Color", emoji, sans-serif; font-size: 1.3em; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3)); }
.tile-n  { font-size: 0.55rem; letter-spacing: 0.01em; text-align: center; }

/* Gradient palette per categorie — desaturat / muted deliberat ca emoji-le
 * de produs (☕🥤🍔🥗) să iasă în față ca signal principal, nu culoarea.
 * Fundalul e o "sugestie" de categorie (cafea maro / rece albastru-roșu /
 * mâncare tan / desert roz) fără să obstrueze conținutul. */
.tile[data-c="coffee-dark"]  { background: linear-gradient(135deg, #3a2618, #4d3220); }
.tile[data-c="coffee-med"]   { background: linear-gradient(135deg, #4d3220, #6b4a30); }
.tile[data-c="coffee-light"] { background: linear-gradient(135deg, #7a6248, #9a815e); }
.tile[data-c="drink-red"]    { background: linear-gradient(135deg, #4e1a22, #7a2530); }
.tile[data-c="drink-orange"] { background: linear-gradient(135deg, #955010, #b56b1a); }
.tile[data-c="drink-blue"]   { background: linear-gradient(135deg, #2a5580, #4272a0); }
.tile[data-c="food-golden"]  { background: linear-gradient(135deg, #7a5a1a, #a08028); }
.tile[data-c="food-tan"]     { background: linear-gradient(135deg, #5a3820, #7a5028); }
.tile[data-c="food-warm"]    { background: linear-gradient(135deg, #4a2814, #6a4222); }
.tile[data-c="food-green"]   { background: linear-gradient(135deg, #365828, #547840); }
.tile[data-c="dessert"]      { background: linear-gradient(135deg, #7a3055, #a05580); }
.tile[data-c="menu"]         { background: linear-gradient(135deg, #3a1878, #2a68c0); }

/* POS hero layout — terminal mockup (stânga) + sidebar cu capabilități
 * (dreapta) pe desktop; stacked pe mobile. Feature list e lungă (9+ items),
 * sidebar-ul o organizează vizual fără să domine pagina în verticală. */
.pos-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin: 2rem 0 0;
}
.pos-hero-layout .pos-mockup { max-width: none; margin: 0; }
@media (max-width: 900px) {
    .pos-hero-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Sidebar containing the feature list — se extinde natural pe lungimea
 * conținutului. Golul potențial din stânga (sub mockup) e umplut de
 * scena de periferice (scanner + printer) plasată sub figcaption. */
.pos-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.2rem 1.3rem;
}
.pos-sidebar-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 700;
    margin: 0 0 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}
/* Subtitle for grouped feature lists (POS · Retail universal / Doar în HoReCa) */
.pos-sidebar-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 600;
    margin: 1.2rem 0 0.5rem;
    padding-left: 0.2rem;
}
.pos-sidebar-subtitle:first-of-type { margin-top: 0; }

/* HoReCa-specific list variant — same layout, distinct accent color left border
 * (--success green) to visually differentiate from generic-retail items. */
.pos-feature-list--horeca li { border-left-color: var(--success); }

/* 2-column grid variant — folosit pe persona pages (retail-mic/mare/productie)
 * unde feature list-ul apare sub hardware strip și avem lățime full container
 * pentru afișare compactă în 2 coloane pe desktop. */
.pos-feature-list--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
    margin-top: 1rem;
}
@media (max-width: 720px) {
    .pos-feature-list--grid { grid-template-columns: 1fr; }
}

/* Intermediate section title inside hardware-strip when it also carries the
 * generic feature list — sub-heading between peripherals grid and features. */
.pos-generic-title {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 700;
    margin: 2rem 0 0.4rem;
}

/* Enterprise architecture diagrams — 2 inline SVG:
 *  (1) 5-tier isolation progression: Micro/Start → Standard → Extra → Super → Enterprise
 *  (2) Support model comparison: Standard (queue) vs Enterprise (dedicated engineer)
 * All colors use theme tokens so diagrams adapt to light/dark automatically.
 * Enterprise tier + Enterprise column get --success accent for "your target"
 * signal; muted tiers use --border-strong so eye focuses on Enterprise. */
.arch-section {
    padding: 2rem 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.arch-diagram {
    margin: 1.8rem 0 0;
    padding: 1.2rem 1.4rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.arch-diagram-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 700;
    margin: 0 0 1rem;
    text-align: center;
}
.arch-diagram svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 820px;
    margin: 0 auto;
}
.arch-diagram figcaption {
    margin-top: 1rem;
    text-align: center;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.arch-diagram figcaption strong { color: var(--accent); }

/* Diagram 1 — isolation tiers styling */
.arch-tier-progression {
    font-size: 11px;
    letter-spacing: 0.1em;
    fill: var(--text-muted);
    font-weight: 600;
}
.arch-tier-cloud {
    fill: var(--bg);
    stroke: var(--border-strong);
    stroke-width: 1.5;
}
.arch-tier-cloud--shared { stroke-dasharray: 5 3; }
.arch-tier-cloud--isolated {
    stroke: var(--accent);
    stroke-width: 2;
    fill: var(--accent-soft);
    stroke-dasharray: none;
}
.arch-tier-cloud--hardware {
    stroke: var(--success);
    stroke-width: 2.5;
    fill: color-mix(in srgb, var(--success) 8%, var(--bg));
    stroke-dasharray: none;
}
.arch-tier-cell {
    fill: var(--bg-elevated);
    stroke: var(--text-muted);
    stroke-width: 1;
}
.arch-tier-cell--dashed { stroke-dasharray: 2 2; }
.arch-tier-cell--self {
    stroke: var(--accent);
    stroke-width: 2;
    fill: var(--accent-soft);
    stroke-dasharray: none;
}
.arch-tier-storage {
    fill: var(--bg-elevated);
    stroke: var(--accent);
    stroke-width: 1;
}
.arch-tier-storage-line { stroke: var(--accent); stroke-width: 1; }
.arch-tier-lxc {
    font-size: 12px;
    fill: var(--accent);
    font-weight: 600;
}
.arch-tier-lock {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.arch-tier-rack {
    fill: var(--bg-elevated);
    stroke: var(--success);
    stroke-width: 1.2;
}
.arch-tier-led {
    fill: var(--success);
}
.arch-tier-rack-line {
    stroke: var(--text-muted);
    stroke-width: 0.8;
    stroke-dasharray: 2 2;
}
.arch-tier-name {
    font-size: 13px;
    fill: var(--text);
    font-weight: 600;
}
.arch-tier-name--enterprise { fill: var(--success); font-weight: 700; }
.arch-tier-desc {
    font-size: 11px;
    fill: var(--text-muted);
}
.arch-tier-desc--enterprise { fill: var(--text); font-weight: 500; }

/* Diagram 2 — support model comparison */
.arch-support-col rect {
    fill: var(--bg-elevated);
    stroke: var(--text-muted);
    stroke-width: 1;
}
.arch-support-col text {
    font-size: 13px;
    fill: var(--text-muted);
}
.arch-support-col-title {
    font-size: 12px !important;
    letter-spacing: 0.12em;
    font-weight: 700;
    fill: var(--text-muted) !important;
}
.arch-support-col--muted rect {
    fill: var(--bg-elevated);
    stroke: var(--border-strong);
    opacity: 0.75;
}
.arch-support-col--muted text { fill: var(--text-muted); opacity: 0.85; }
.arch-support-col--enterprise rect {
    stroke: var(--success);
    fill: color-mix(in srgb, var(--success) 6%, var(--bg-card));
    stroke-width: 1.5;
}
.arch-support-col--enterprise text {
    fill: var(--text);
}
.arch-support-col-title--enterprise {
    fill: var(--success) !important;
    letter-spacing: 0.12em;
}
.arch-support-strong { font-weight: 700; font-size: 14px !important; }
.arch-support-sub { font-size: 11px !important; fill: var(--text-muted) !important; font-style: italic; }
.arch-support-divider {
    stroke: var(--border);
    stroke-width: 1;
    stroke-dasharray: 3 3;
}
.arch-arrow-muted { fill: var(--text-muted); opacity: 0.6; }
.arch-arrow-enterprise { fill: var(--success); }
.arch-support-col--muted path[marker-end] { stroke: var(--text-muted); stroke-width: 1.5; opacity: 0.6; }
.arch-support-col--enterprise path[marker-end] { stroke: var(--success); stroke-width: 2; }

/* HoReCa-specific block — mutat sub pos-hero-layout ca să nu prelungească
 * sidebar-ul dincolo de mockup. Grid 2-coloane pe desktop, 1-coloană pe mobile.
 * Titlu centrat în accent verde (--success) pentru distincție vizuală față de
 * lista generic-retail din sidebar (albastru). */
.horeca-specific {
    margin: 2rem 0 0;
}
.horeca-specific-title {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--success);
    font-weight: 700;
    margin: 0 0 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed color-mix(in srgb, var(--success) 40%, transparent);
}

/* POS features (only peripherals now — feature list moved to sidebar). */
.pos-features {
    max-width: 720px;
    margin: 1.5rem auto 0;
}
.pos-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}
.pos-feature-list li {
    padding: 0.55rem 0.7rem;
    background: var(--bg-elevated);
    border-left: 3px solid var(--accent);
    border-radius: 5px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text);
}
.pos-feature-list strong { color: var(--text); }
.pos-peripherals {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px dashed var(--border);
}
.pos-peripherals .peripheral {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.pos-peripherals .peripheral svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
}
.pos-peripherals .peripheral em {
    font-style: normal;
    font-weight: 500;
    color: var(--text);
}

/* Peripherals-on-desk scene — reutilizat în 2 contexte:
 *   1. INSIDE .pos-mockup pe /horeca/ — sub terminal cu border-top dashed
 *      (separator vizual de mockup, "pe aceeași tejghea").
 *   2. INSIDE .hardware-strip pe homepage — fără border-top (secțiune
 *      proprie cu titlu + lead, nu e continuare directă a alt element). */
.pos-peripherals-scene {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 1.1rem;
}
.pos-mockup .pos-peripherals-scene {
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px dashed var(--border);
}

/* Hardware ecosystem strip — pe homepage, între price-hook și Garanții. */
.hardware-strip {
    padding: 2rem 0 1rem;
}
.hardware-strip-title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.4rem;
}
.hardware-strip-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 640px;
    margin: 0 auto 1.4rem;
    line-height: 1.5;
}
.pos-peripherals-scene .peripheral-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.pos-peripherals-scene a.peripheral-large {
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease;
}
.pos-peripherals-scene a.peripheral-large:hover {
    transform: translateY(-2px);
}
.pos-peripherals-scene a.peripheral-large:hover img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border-color: var(--accent);
}
.pos-peripherals-scene .peripheral-large img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.pos-peripherals-scene .peripheral-large em {
    font-style: normal;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    letter-spacing: 0.02em;
}
.pos-peripherals-scene .peripheral-large em a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
    padding-bottom: 1px;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.pos-peripherals-scene .peripheral-large em a:hover {
    color: var(--accent);
    border-bottom-color: currentColor;
    border-bottom-style: solid;
}
@media (max-width: 640px) {
    .pos-peripherals-scene { gap: 1.5rem; padding-top: 1rem; }
    .pos-peripherals-scene .peripheral-large img { width: 96px; height: 96px; }
    .pos-peripherals-scene .peripheral-large em { font-size: 0.78rem; }
}
@media (max-width: 640px) {
    .pos-grid-tiles { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); }
    .tile-em { font-size: 1.1em; }
    .tile-n  { font-size: 0.48rem; }
}
.hero-mockup-screen {
    background: #1a1a1a;
    padding: 14px 14px 12px;
    border-radius: 14px 14px 4px 4px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    position: relative;
}
.hero-mockup-screen::before {
    /* webcam dot centered on top bezel */
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #3a3a3a;
    box-shadow: 0 0 0 1px #4a4a4a;
}
.hero-mockup-screen img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    background: var(--bg);
}
.hero-mockup-base {
    height: 12px;
    width: 106%;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 60%, #0d0d0d 100%);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.hero-mockup-base::after {
    /* trackpad indicator centered on chassis */
    content: '';
    position: absolute;
    top: 3.5px; left: 50%;
    transform: translateX(-50%);
    width: 96px; height: 3px;
    border-radius: 2px;
    background: #444;
    opacity: 0.7;
}
.hero-mockup-caption {
    margin-top: 1.1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-style: italic;
}
@media (max-width: 640px) {
    .hero-mockup { margin: 1.5rem auto 0.5rem; }
    .hero-mockup-screen { padding: 8px 8px 6px; border-radius: 10px 10px 3px 3px; }
    .hero-mockup-base { height: 8px; }
    .hero-mockup-base::after { width: 60px; height: 2px; top: 2.5px; }
    .hero-mockup-caption { font-size: 0.74rem; margin-top: 0.8rem; }
}

/* Status strip (fiscal page mostly) */
.status-strip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    display: flex; align-items: center; gap: 0.9rem;
    margin: 2.5rem 0 3rem;
}
.status-strip .pulse {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--warn);
    box-shadow: 0 0 10px var(--warn);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.status-strip .label {
    font-weight: 600;
    color: var(--warn);
    margin-right: 0.4rem;
    white-space: nowrap;
}
.status-strip .desc { color: var(--text-muted); font-size: 0.95rem; }

/* Sections */
section { padding: 3rem 0; border-top: 1px solid var(--border); }
section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
section .section-lead {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 720px;
}

/* Feature/product grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.grid-tight { gap: 0.75rem; }
.grid.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* --- AI MCP section --- privacy-friendly YouTube facade ------------------- */
/* Video is a mobile-portrait screen recording (~9:20 aspect from Redmi
 * Note 9). Desktop layout puts the video on the left as a phone-shaped
 * frame with the 3 feature cards + CTA stacked in a right column that
 * consumes the remaining width. Mobile stacks everything, capping the
 * video height so it doesn't dominate the viewport. */
.ai-mcp-section {
    background:
        radial-gradient(ellipse at top left, rgba(47,129,247,0.08), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(63,185,80,0.06), transparent 55%);
    padding: 3.5rem 0 3rem;
    margin: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ai-mcp-split {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0 0;
}
.ai-mcp-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* /ai/ page video demo section — reutilizează stilurile .ai-mcp-video adăugând
 * clasa acesteia pe wrapper. Containerul de secțiune are padding și fundal
 * subtile ca să separe video-ul de hero (deasupra) și #ce-face (dedesubt). */
.ai-demo-section {
    padding: 1.5rem 0 2rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}
.ai-demo-wrap {
    max-width: 260px;
    margin: 0 auto;
    position: relative; /* override sticky din .ai-mcp-video */
    top: auto;
}

/* /ai/ demo layout — 2 coloane: video portrait stânga + 2 screenshots stacked
 * dreapta. Below both: lista de exemple întrebări full-width. Pe mobile stack. */
.ai-demo-layout {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 980px;
    margin: 0 auto 2rem;
}
.ai-demo-video-col {
    position: relative;
    top: auto;
}
.ai-demo-shots-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ai-demo-shot {
    margin: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.ai-demo-shot img {
    display: block;
    width: 100%;
    height: auto;
    background: #ffffff;
}
.ai-demo-shot figcaption {
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.45;
    border-top: 1px solid var(--border);
}
.ai-demo-shot figcaption strong { color: var(--accent); font-weight: 600; }

.ai-demo-examples {
    max-width: 980px;
    margin: 0 auto;
    background: var(--bg-card);
    border-left: 3px solid var(--success);
    border-radius: 6px;
    padding: 1rem 1.4rem;
}
.ai-demo-examples-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--success);
    font-weight: 700;
    margin: 0 0 0.7rem;
}
.ai-demo-examples ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 1.2rem;
}
.ai-demo-examples li {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.ai-demo-examples em { color: var(--text); font-style: italic; }
.ai-demo-examples .req-write {
    font-size: 0.75rem;
    color: var(--warn);
    font-style: normal;
    margin-left: 0.2rem;
}
@media (max-width: 780px) {
    .ai-demo-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .ai-demo-video-col { max-width: 260px; margin: 0 auto; }
    .ai-demo-examples ul { grid-template-columns: 1fr; }
}
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ai-mcp-video {
    position: sticky;
    top: 1.5rem;
}
.ai-mcp-video .video-thumb {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #000;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.ai-mcp-video .video-thumb--portrait {
    /* Phone-shape frame for the mobile screen recording. 9:20 matches
     * Redmi Note 9's native display ratio. */
    aspect-ratio: 9 / 20;
    border-radius: 22px;
    border-width: 6px;
    border-color: #1a1a1a;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.35),
        inset 0 0 0 2px rgba(255,255,255,0.04);
}
.ai-mcp-video .video-thumb:hover { border-color: rgba(47,129,247,0.55); }
.ai-mcp-video .video-thumb--portrait:hover {
    border-color: rgba(47,129,247,0.75);
}
.ai-mcp-video .video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}
.ai-mcp-video .video-thumb--portrait img {
    /* YouTube thumbs are 16:9 landscape; centre-crop them in the
     * portrait frame so the play button stays visually anchored. */
    object-fit: cover;
    object-position: center;
}
.ai-mcp-video .video-thumb .play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.94);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
    /* Hide the ▶ character — some Linux font stacks render U+25B6 as a
     * tofu square. Replaced with a pure-CSS triangle so rendering is
     * font-independent. */
    color: transparent;
    font-size: 0;
    padding-left: 6px;
}
.ai-mcp-video .video-thumb .play-icon::before {
    content: "";
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #cc0000;
    margin-left: -3px;
}
.ai-mcp-video .video-thumb .play-hint {
    position: absolute;
    bottom: 14px; left: 14px; right: 14px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0.02em;
    text-align: center;
}
.ai-mcp-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 20;
    border: 6px solid #1a1a1a;
    border-radius: 22px;
    background: #000;
}
.ai-mcp-video .video-note {
    margin: 0.7rem 0 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
    line-height: 1.45;
}
.ai-mcp-cta {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-start;
    margin: 0.8rem 0 0;
    flex-wrap: wrap;
}
@media (max-width: 820px) {
    /* Below tablet — stack video on top, cards below, cap video height
     * so it doesn't push cards below the fold. */
    .ai-mcp-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .ai-mcp-video {
        position: static;
        max-width: 280px;
        margin: 0 auto;
    }
    .ai-mcp-cta { justify-content: center; }
}
@media (max-width: 600px) {
    .ai-mcp-video .video-thumb .play-icon { width: 60px; height: 60px; }
    .ai-mcp-video .video-thumb .play-icon::before { border-width: 10px 0 10px 16px; }
    .ai-mcp-section { padding: 2.5rem 0 2rem; }
    .ai-mcp-video { max-width: 240px; }

    /* Tighter comparison table on narrow viewports — before this, the
     * default 0.92rem font + 0.9rem×1rem padding made technical strings
     * with hyphens (like `sgapps-server`) break at every hyphen and
     * words wrapped one-per-line. Reducing padding + font keeps the
     * 3-column layout readable without forcing horizontal scroll,
     * which mobile users rarely discover on tables. `code` gets extra
     * shrinking because monospace is visually wider than proportional.
     * Selectors qualified with `.compare-wrap` to beat the default
     * `.compare th, td` cascade order later in this file. */
    .compare-wrap .compare th, .compare-wrap .compare td { padding: 0.6rem 0.55rem; font-size: 0.82rem; line-height: 1.4; }
    .compare-wrap .compare th { font-size: 0.7rem; letter-spacing: 0.03em; }
    .compare-wrap .compare code { font-size: 0.78em; word-break: normal; overflow-wrap: anywhere; }
    /* Prevent the hyphen in tech identifiers from becoming a break-point. */
    .compare-wrap .compare td strong { word-break: keep-all; }
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.3rem;
    position: relative;
    transition: transform 0.1s ease, border-color 0.15s ease;
}
.card:hover { border-color: rgba(47, 129, 247, 0.4); }
.card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}
.card .icon {
    font-size: 1.4rem; line-height: 1;
    margin-bottom: 0.7rem;
    display: inline-block;
    color: var(--accent);
    /* Emoji-first so dual-presentation code points (⬆️ ⚙️ 🏗️ ⚠️ etc.)
     * pick the color glyph instead of the accent-colored text one. */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "EmojiOne Color", emoji, sans-serif;
}
.card .card-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
}
.card .card-link::after { content: " →"; }
.card:has(> .card-link) { cursor: pointer; }
.card:has(> .card-link):hover { border-color: rgba(47, 129, 247, 0.65); }
.card > .card-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.card .tag {
    position: absolute; top: 0.7rem; right: 0.7rem;
    font-size: 0.68rem; text-transform: uppercase;
    letter-spacing: 0.05em; font-weight: 600;
    padding: 0.15rem 0.5rem; border-radius: 4px;
    background: var(--accent-soft); color: var(--accent);
}
.card .tag.tag-live { background: var(--success-soft); color: var(--success); }
.card .tag.tag-beta { background: rgba(210,153,34,0.16); color: var(--warn); }
.card code {
    background: var(--bg-elevated);
    padding: 0.08rem 0.3rem;
    border-radius: 3px;
    font-size: 0.85em;
    color: var(--text);
}

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 1.5rem; }
.compare {
    width: 100%; border-collapse: collapse; font-size: 0.92rem;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
}
.compare th, .compare td {
    padding: 0.9rem 1rem; text-align: left;
    border-bottom: 1px solid var(--border);
}
.compare th {
    background: var(--bg-elevated);
    font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--text-muted);
}
.compare th:last-child, .compare td:last-child { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--success); font-weight: 600; }
.compare .no { color: var(--text-muted); }
.compare .partial { color: var(--warn); }

/* Reassurance note under the packages comparison — soft advisory, not a
 * body paragraph. Sits between the tier table and the CTA, tells a buyer
 * they aren't locked into a tier (upsell: users, POS, AI, integrations). */
.compare-note {
    margin-top: 1.2rem;
    padding: 0.9rem 1.1rem;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text);
}
.compare-note strong { color: var(--text); }
.compare-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.compare-note a:hover { color: var(--accent-hover); }

/* About list */
.about-list { display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.about-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.about-item .marker {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem;
    flex-shrink: 0;
}
.about-item h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.2rem; }
.about-item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }
.about-item code {
    background: var(--bg-elevated);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--text);
}
.about-cta {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
}
.about-cta:hover { text-decoration: underline; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
}
.contact-card .label {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}
.contact-card .value {
    font-weight: 500;
    font-size: 0.98rem;
    word-break: break-word;
}

/* Callout box */
.callout {
    padding: 1.1rem 1.3rem;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.callout strong { color: var(--text); }

/* Referințe · businesses ale grupului care rulează pe platformă.
 * Registru afirmativ scurt (per framework 3-straturi): fiecare card =
 * URL + entitate proprietară + activitate în ~10 cuvinte. Fără narativ
 * marketing, fără studiu de caz — link-ul e dovada, cititorul verifică. */
.references { background: var(--bg-elevated); }
.ref-card { display: flex; flex-direction: column; gap: 0.35rem; }
.ref-card h3 { margin: 0; font-size: 1.05rem; }
.ref-card h3 a {
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.ref-card h3 a:hover {
    color: var(--accent-hover, var(--accent));
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ref-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; }
.ref-card p strong { color: var(--text); }
.ref-footnote {
    margin-top: 1.2rem;
    padding: 0.8rem 1.1rem;
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.55;
}

/* Privacy banner — turns the absence of public client names from a weakness
 * into a signal of professional discretion + reciprocity ("aceleași reguli
 * pentru numele tău"). Sits under the group-references list. Green accent
 * (--success) reads as "protective / safe" universally, distinct from the
 * blue --accent used on the sibling ref-footnote. */
.ref-privacy {
    margin-top: 0.8rem;
    padding: 0.9rem 1.1rem;
    background: var(--bg-card);
    border-left: 3px solid var(--success);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.55;
}
.ref-privacy strong { color: var(--text); }
.ref-privacy em { color: var(--text-muted); font-style: normal; display: block; margin-top: 0.4rem; }

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Trust bar — factual "runs on / compatible with / compliance" band shown
 * above the address row on every page. Text-only wordmark badges (no third-
 * party logos) — nominative fair use, trademark-safe. Communicates the tech
 * ecosystem at a glance: infra (Hetzner), AI (Claude/ChatGPT via MCP),
 * regulatory (SFS + CIECC), fiscal hardware (IntelectSoft/SoftLider APIs),
 * ERP legacy (1C via partener). */
footer .foot-trust {
    margin: -2rem 0 1.8rem;
    padding: 1.4rem 0 1.6rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}
footer .foot-trust-lead {
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0 0 1rem;
    font-weight: 600;
}
footer .foot-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.6rem;
}
footer .trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.12s ease, border-color 0.15s ease;
}
footer .trust-badge:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
footer .trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
footer .trust-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
footer .trust-badge:hover .trust-icon { color: var(--accent-hover, var(--accent)); }
footer .trust-name {
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--text);
    text-transform: uppercase;
    line-height: 1.25;
}
footer .trust-caption {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}
@media (max-width: 640px) {
    footer .foot-trust-grid { grid-template-columns: repeat(2, 1fr); }
    footer .trust-name { font-size: 0.72rem; }
    footer .trust-caption { font-size: 0.65rem; }
}
footer .foot-row {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    flex-wrap: wrap;
}
footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.85rem; }
footer nav a { color: var(--text-muted); }
footer nav a:hover { color: var(--text); text-decoration: none; }

/* Legal strip — Legea 195/2024 art. 13 information notice + links */
footer .foot-legal {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--text-muted);
    text-align: center;
}
footer .foot-legal a { color: var(--text-muted); text-decoration: underline; }
footer .foot-legal a:hover { color: var(--text); }
footer .foot-legal .foot-legal-links { margin-top: 0.35rem; }
footer .foot-legal .foot-legal-links a { margin: 0 0.35rem; }

/* Price hook band — anchor preț sub hero */
.price-hook { padding: 0.6rem 0 0.6rem; }
.price-hook-band {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.4rem;
    background: linear-gradient(135deg, rgba(47,129,247,0.13), rgba(63,185,80,0.09)), var(--bg-card);
    border: 1px solid rgba(47, 129, 247, 0.35);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.1s ease;
    flex-wrap: wrap;
}
.price-hook-band:hover {
    border-color: rgba(47, 129, 247, 0.75);
    text-decoration: none;
    transform: translateY(-1px);
}
.price-hook-tag {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}
.price-hook-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}
.price-hook-desc {
    color: var(--text);
    font-size: 0.95rem;
    flex: 1;
    min-width: 260px;
}
.price-hook-cta {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}
.price-hook-band:hover .price-hook-cta { color: var(--text); }

/* Persona grid — "Ce cauți?" section */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.persona-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.1s ease, background 0.15s ease;
}
.persona-card:hover {
    border-color: rgba(47, 129, 247, 0.65);
    text-decoration: none;
    background: var(--bg-elevated);
}
.persona-card:hover .persona-role { color: var(--accent); }
.persona-emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "EmojiOne Color", emoji, sans-serif; font-size: 1.6rem; line-height: 1; }
.persona-role { font-weight: 600; font-size: 0.98rem; color: var(--text); transition: color 0.15s ease; }
.persona-hint { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* Group labels above each persona-grid — subtle "Pentru organizații / Pentru
 * afaceri mici" separator so the enterprise/organization audience recognises
 * itself first, not after scrolling past a chioșc and a fermă card. */
.persona-group-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
    margin: 1.6rem 0 0.4rem;
}
.persona-group-label:first-of-type { margin-top: 1.2rem; }

/* Garanții de continuitate — the "3 things you put in the contract" band
 * that follows the price hook. Subtly emphasised so the bloc reads as a
 * commitments statement, not just three more cards among many. */
.guarantees { background: var(--bg-elevated); }
.guarantees .card { border-top: 3px solid var(--accent); }
.guarantees .card .icon {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    background: var(--accent-soft);
    border-radius: 8px;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    /* Emoji-first so ⬆️ (dual-presentation) doesn't fall to the tiny blue
     * monochrome text glyph in Roboto — same rationale as .tile-em. */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "EmojiOne Color", emoji, sans-serif;
}

/* Screenshot gallery — for HoReCa/product pages */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.screenshot-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.1s ease;
}
a.screenshot-item { cursor: pointer; }
a.screenshot-item:hover {
    border-color: rgba(47, 129, 247, 0.65);
    text-decoration: none;
    transform: translateY(-1px);
}
a.screenshot-item:hover .screenshot-caption strong { color: var(--accent); }
a.screenshot-item:hover .screenshot-caption strong::after {
    content: " →";
    color: var(--accent);
    font-weight: 500;
}
.screenshot-item img {
    width: 100%;
    display: block;
    background: #0a0d12;
    object-fit: contain;
    max-height: 260px;
}
.screenshot-caption {
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    border-top: 1px solid var(--border);
}
.screenshot-caption strong { color: var(--text); display: block; margin-bottom: 0.15rem; font-size: 0.9rem; transition: color 0.15s ease; }

/* Hero screenshot — full-width feature in the grid */
.screenshot-item.screenshot-hero {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(47,129,247,0.08), rgba(129,140,248,0.05)), var(--bg-card);
    border-color: rgba(47, 129, 247, 0.35);
}
.screenshot-item.screenshot-hero img {
    max-height: 420px;
}
.screenshot-item.screenshot-hero .screenshot-caption {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
}
.screenshot-item.screenshot-hero .screenshot-caption strong { font-size: 1.05rem; margin-bottom: 0.35rem; }
.screenshot-badge {
    display: inline-block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 0.5rem;
}
a.screenshot-item.screenshot-hero:hover { border-color: rgba(47, 129, 247, 0.85); }

/* Breadcrumbs — used on Q&A pages under /scenarii/ and other deep pages.
 * Style them like a real trail: subtle text-muted separators (›), links
 * with accent color + underline on hover, current page bolded and
 * non-clickable. Wrap on narrow screens via inline-flex. */
.breadcrumbs {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    line-height: 1.5;
}
.breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: var(--accent-hover);
    border-bottom-color: currentColor;
}
.breadcrumbs .sep,
.breadcrumbs::before {
    color: var(--line);
    font-weight: 400;
    user-select: none;
    -webkit-user-select: none;
}
.breadcrumbs [aria-current="page"] {
    color: var(--text);
    font-weight: 600;
    cursor: default;
}

@media (max-width: 700px) {
    /* Wrap primary nav to 2 rows instead of hiding non-CTA links.
     * The previous rule (`display:none` on non-CTA) made HoReCa,
     * Casa fiscală, API and Produse invisible on mobile with no
     * hamburger fallback, orphaning the primary navigation entirely. */
    .container.nav { flex-wrap: wrap; }
    .nav-links {
        gap: 0.7rem 0.9rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 0.5rem;
    }
    .hero { padding: 2.5rem 0 2rem; }
    .status-strip { flex-direction: column; align-items: flex-start; }
    footer .foot-row { flex-direction: column; align-items: flex-start; }
    .persona-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.5rem; }
    .persona-card { padding: 0.8rem; }
    .persona-emoji { font-size: 1.3rem; }
}

/* ============================================================
 * Theme toggle button (in nav) + light-theme spot adjustments
 * ------------------------------------------------------------
 * The button lives just before the Contact CTA in every nav.
 * On dark, it shows a sun (click to switch to light). On
 * light, a moon (click to switch to dark). CSS handles the
 * icon swap purely with `[data-theme]` selectors on <html>,
 * plus prefers-color-scheme fallback for un-toggled visits.
 * The button is deliberately unobtrusive — no fill, hairline
 * border, same height as nav text.
 * ============================================================ */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    padding: 0.36rem 0.6rem;
    font-size: 0.95rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
}
.theme-toggle:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
}
.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Language switcher — populated by /_assets/script.js from the page's
 * <link rel="alternate" hreflang="…"> tags. Rendered as a compact
 * pill (RO · EN · RU) that sits next to the theme toggle in .nav-links.
 * Active locale is dim and non-clickable; the others are text links. */
.lang-switcher-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    line-height: 1;
    color: var(--text-muted);
}
.lang-switcher__item {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.05rem 0.15rem;
    transition: color 0.15s;
}
.lang-switcher__item:hover,
.lang-switcher__item:focus-visible {
    color: var(--accent);
    text-decoration: none;
}
.lang-switcher__item--active {
    color: var(--text);
    cursor: default;
}
.lang-switcher__sep {
    color: var(--line);
    font-weight: 400;
}
.lang-switcher-slot:empty {
    /* Hide entirely until JS populates it — prevents empty pill flash. */
    border-color: transparent;
    padding: 0;
}
/* Icon + label switch — .theme-toggle cycles through 3 states,
 * cycled by JS: no data-theme (auto/follow system) → light forced
 * → dark forced → back to auto. Each state shows a distinct icon
 * + label so the user always sees which state is active (not
 * "click to go to X" — CURRENT state, which is clearer with 3
 * choices). Emojis kept as the visible glyph for legibility
 * without shipping icon fonts. */
/* Default state — no data-theme attribute = auto/follow-system. */
.theme-toggle-icon::before { content: "🖥️"; }
.theme-toggle-text::before { content: "Temă"; }
/* Light forced */
:root[data-theme="light"] .theme-toggle-icon::before { content: "☀️"; }
:root[data-theme="light"] .theme-toggle-text::before { content: "Luminos"; }
/* Dark forced */
:root[data-theme="dark"] .theme-toggle-icon::before { content: "🌙"; }
:root[data-theme="dark"] .theme-toggle-text::before { content: "Întunecat"; }

.theme-toggle-text {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
@media (max-width: 700px) {
    /* Keep the toggle visible on mobile — mid-nav links hide, but the
     * theme toggle stays useful. Compact form: icon only. */
    .theme-toggle-text { display: none; }
    .theme-toggle { padding: 0.3rem 0.5rem; }
}

/* ============================================================
 * Light-theme spot adjustments
 * ------------------------------------------------------------
 * A handful of components had dark-tuned gradients or shadow
 * rgb() values baked in. Under light, they either read as
 * dirty smudges or as a phantom "hover state". We override
 * only the elements that need it — the rest inherit from
 * updated CSS custom properties automatically.
 * ============================================================ */
/* On light, replace any faint dark shadow with the hairline
 * border (already applied via var(--border)). Claude agent's
 * principle: borders in place of shadows on light theme. */
:root[data-theme="light"] .card { box-shadow: none; }
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .card { box-shadow: none; }
}

/* Price-hook and status-strip gradients — the dark-original
 * mixes rgba(47,129,247,X) with card bg. On light, the brand
 * blue is #1C4E8A (much darker), so the same 13% opacity would
 * read as muddy. Override with brand-appropriate faint tint. */
:root[data-theme="light"] .price-hook-band,
:root[data-theme="light"] .status-strip {
    background: linear-gradient(135deg,
        rgba(28, 78, 138, 0.06),
        rgba(14, 124, 102, 0.05)
    ), var(--bg-card);
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .price-hook-band,
    :root:not([data-theme="dark"]) .status-strip {
        background: linear-gradient(135deg,
            rgba(28, 78, 138, 0.06),
            rgba(14, 124, 102, 0.05)
        ), var(--bg-card);
    }
}

/* AI MCP section — the radial gradient uses rgba(47,129,247)
 * which is the dark accent. On light, tone it down to match
 * the deeper brand blue. */
:root[data-theme="light"] .ai-mcp-section {
    background:
        radial-gradient(ellipse at top left, rgba(28, 78, 138, 0.05), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(14, 124, 102, 0.04), transparent 55%);
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .ai-mcp-section {
        background:
            radial-gradient(ellipse at top left, rgba(28, 78, 138, 0.05), transparent 55%),
            radial-gradient(ellipse at bottom right, rgba(14, 124, 102, 0.04), transparent 55%);
    }
}

/* Comparison table — the yes/partial/no color classes read
 * as high-saturation on light. Tune down slightly. */
:root[data-theme="light"] .compare .partial { color: #B87400; }
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .compare .partial { color: #B87400; }
}

/* Turnkey hook — "deschideți un magazin? nu alergați după cinci furnizori"
 * A hook section that appears both on the homepage (banner variant with
 * copy only) and on /retail-mic/ (variant with a 4-card grid). We give
 * it a subtle accent-soft gradient so it reads as a highlighted moment
 * between neighbouring sections (#hardware / #garantii on home, #pachet /
 * #docs on retail-mic). Card and grid children inherit `.card` and
 * `.grid.grid-tight` styles already defined above, so the block only
 * needs the wrapper accent + the specific `.turnkey-footnote` styling. */
.turnkey {
    background:
        radial-gradient(ellipse at top left, var(--accent-soft), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(63,185,80,0.06), transparent 60%);
}
.turnkey .container { position: relative; }
.turnkey h2 { color: var(--text); }
.turnkey h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 0.9rem;
}
.turnkey .section-lead { max-width: 780px; }
.turnkey .section-lead strong { color: var(--accent); }
.turnkey p a { font-weight: 500; }
.turnkey .grid { margin-top: 1.5rem; }
.turnkey-footnote {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}
.turnkey-footnote strong {
    color: var(--text);
    letter-spacing: 0.01em;
}

/* Turnkey light-mode toning — the dark-mode accent-soft (rgba 47,129,247)
 * reads a shade too electric on light. Swap to the deep brand blue's
 * softened variant so the gradient stays legible without dominating. */
:root[data-theme="light"] .turnkey {
    background:
        radial-gradient(ellipse at top left, rgba(28, 78, 138, 0.07), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(14, 124, 102, 0.05), transparent 60%);
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .turnkey {
        background:
            radial-gradient(ellipse at top left, rgba(28, 78, 138, 0.07), transparent 60%),
            radial-gradient(ellipse at bottom right, rgba(14, 124, 102, 0.05), transparent 60%);
    }
}
