/* =====================================================================
   NanoSWIM — Design system + components
   Dark (OLED) navy theme · cyan accents · nanobubble motif
   Fonts: Space Grotesk (display) + DM Sans (body)
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------- */
:root {
    /* Brand */
    --cyan:        #22d3ee;
    --sky:         #38bdf8;
    --blue:        #0ea5e9;
    --blue-deep:   #0284c7;

    /* Backgrounds (deep navy) */
    --bg-0:        #030b18;
    --bg-1:        #061528;
    --bg-2:        #0a2138;
    --surface:     rgba(15, 38, 66, 0.55);
    --surface-2:   rgba(10, 27, 49, 0.72);
    --surface-3:   rgba(13, 33, 58, 0.9);

    /* Text */
    --text:        #eaf3ff;
    --text-muted:  #9fb6d2;
    --text-dim:    #6e88a6;

    /* Lines */
    --border:        rgba(86, 132, 184, 0.18);
    --border-strong: rgba(56, 189, 248, 0.38);

    /* Effects */
    --glow:        0 0 42px rgba(34, 211, 238, 0.35);
    --glow-soft:   0 0 24px rgba(34, 211, 238, 0.18);
    --shadow-1:    0 8px 24px rgba(2, 8, 18, 0.45);
    --shadow-2:    0 18px 50px rgba(2, 8, 18, 0.55);

    /* Gradients */
    --grad-cyan:   linear-gradient(135deg, var(--sky), var(--cyan));
    --grad-text:   linear-gradient(120deg, var(--sky), var(--cyan));

    /* Spacing scale (4/8) */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

    /* Radius */
    --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

    /* Layout */
    --container: 1200px;
    --nav-h: 76px;

    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* Ensure the [hidden] attribute always wins over component display rules
   (e.g. .form-alert{display:flex}, .mobile-nav{display:flex}). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-0);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100dvh;
    position: relative;
    background-image:
        radial-gradient(1200px 700px at 80% -8%, rgba(14, 90, 150, 0.42), transparent 60%),
        radial-gradient(900px 600px at 0% 8%, rgba(8, 50, 95, 0.40), transparent 55%),
        linear-gradient(180deg, var(--bg-2), var(--bg-1) 22%, var(--bg-0) 70%);
    background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: "Space Grotesk", sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

/* --------------------------- Utilities ------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.section { padding-block: var(--s-9); }
.section--top { padding-top: var(--s-7); }
.section-tight { padding-bottom: var(--s-9); }
.grad {
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.kicker {
    display: inline-block; font-family: "Space Grotesk", sans-serif;
    text-transform: uppercase; letter-spacing: .18em; font-size: .8rem;
    color: var(--cyan); margin-bottom: var(--s-3); font-weight: 600;
}
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--cyan); color: #04121f; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--s-7); }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--text-muted); margin-top: var(--s-3); }

/* Floating bubble backdrop */
.bubble-field { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; }
.bubble-field::before, .bubble-field::after {
    content: ""; position: absolute; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(120, 220, 255, .25), transparent 70%);
    filter: blur(2px);
}
.bubble-field::before { width: 14px; height: 14px; left: 12%; top: 60%; animation: floatUp 16s linear infinite; }
.bubble-field::after  { width: 22px; height: 22px; left: 72%; top: 75%; animation: floatUp 22s linear infinite 4s; }
@keyframes floatUp { from { transform: translateY(0); opacity: 0; } 10% { opacity: .6; } to { transform: translateY(-85vh); opacity: 0; } }

/* ------------------------------ Icons ------------------------------- */
.ns-icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 30px; height: 30px; }

/* ----------------------------- Buttons ------------------------------ */
.btn {
    --btn-bg: var(--grad-cyan);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .98rem;
    padding: 12px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
    white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-primary { background: var(--grad-cyan); color: #04121f; box-shadow: var(--glow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: rgba(56, 189, 248, .12); transform: translateY(-2px); }
.btn-ghost { background: var(--surface-2); color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-more {
    display: inline-flex; align-items: center; gap: 6px; color: var(--sky);
    font-weight: 600; font-family: "Space Grotesk", sans-serif; font-size: .95rem;
    transition: gap .2s var(--ease), color .2s;
}
.link-more:hover { gap: 11px; color: var(--cyan); }

/* Reusable chips */
.chip {
    background: var(--surface-2); color: var(--text-muted);
    border: 1px solid var(--border); border-radius: var(--r-pill);
    padding: 9px 18px; font-size: .92rem; font-weight: 500;
    transition: all .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip--active { background: var(--grad-cyan); color: #04121f; border-color: transparent; font-weight: 600; }

.badge {
    display: inline-block; background: rgba(56, 189, 248, .14); color: var(--sky);
    border: 1px solid var(--border-strong); border-radius: var(--r-pill);
    padding: 4px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}

/* ============================= HEADER =============================== */
.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--nav-h);
    display: flex; align-items: center;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(4, 14, 28, .85), rgba(4, 14, 28, .35));
    border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(4, 12, 24, .92); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-text { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.brand-text strong { font-weight: 700; }
.ns-logo-mark { width: 32px; height: 32px; }
.ns-logo-mark circle { fill: var(--sky); }
.ns-logo-mark .b1 { fill: var(--cyan); animation: pulseB 4s var(--ease) infinite; }
.ns-logo-mark .b2 { fill: var(--sky); animation: pulseB 4s var(--ease) infinite .4s; }
.ns-logo-mark .b3 { fill: #7dd3fc; animation: pulseB 4s var(--ease) infinite .8s; }
.ns-logo-mark .b4 { fill: #bae6fd; animation: pulseB 4s var(--ease) infinite 1.2s; }
@keyframes pulseB { 0%, 100% { opacity: .85; } 50% { opacity: .45; transform: translateY(-1px); } }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 4px; }
.primary-nav a {
    position: relative; padding: 8px 14px; border-radius: 10px; color: var(--text-muted);
    font-weight: 500; font-size: .96rem; transition: color .2s;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a.active { color: var(--text); }
.primary-nav a.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px;
    background: var(--grad-cyan); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: var(--s-3); margin-left: var(--s-2); }
.lang-switch { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; }
.lang-switch a { padding: 5px 11px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; color: var(--text-dim); transition: all .2s; }
.lang-switch a.active { background: var(--grad-cyan); color: #04121f; }
.lang-switch a:not(.active):hover { color: var(--text); }

.nav-toggle { display: none; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 8px; }

/* Mobile drawer */
.mobile-nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    background: var(--surface-3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: var(--s-5);
    display: flex; flex-direction: column; gap: var(--s-4);
    transform: translateY(-12px); opacity: 0; transition: transform .25s var(--ease), opacity .25s;
}
.mobile-nav:not([hidden]) { transform: translateY(0); opacity: 1; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--text-muted); font-weight: 500; }
.mobile-nav a.active, .mobile-nav a:hover { background: var(--surface); color: var(--text); }
.mobile-lang { align-self: flex-start; }
.mobile-lang a { padding: 6px 14px; }

/* ============================== HERO =============================== */
.hero { padding-top: var(--s-8); padding-bottom: var(--s-7); position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-7); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; line-height: 1.04; }
.hero-title span { display: block; }
.hero-text { color: var(--text-muted); font-size: 1.12rem; max-width: 30em; margin-top: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-trust { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-6); color: var(--text-dim); font-size: .92rem; }
.hero-trust .ns-icon { color: var(--cyan); }

/* Device visual */
.hero-visual, .page-hero-visual { display: flex; justify-content: center; }
.device-stage {
    position: relative; width: min(460px, 92%); aspect-ratio: 1 / 1;
    display: grid; place-items: center;
}
.device-ring {
    position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%;
    border: 2px solid transparent;
    background: conic-gradient(from 180deg, transparent, rgba(56,189,248,.1), var(--cyan), rgba(56,189,248,.1), transparent) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    box-shadow: 0 0 60px rgba(34, 211, 238, .35), inset 0 0 60px rgba(34, 211, 238, .15);
    animation: spin 22s linear infinite;
}
.device-glow {
    position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,.28), transparent 65%);
    filter: blur(8px); animation: breathe 6s var(--ease) infinite;
}
.device-unit { position: relative; width: 62%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); z-index: 2; }
.device-strip { fill: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); animation: breathe 3.5s var(--ease) infinite; }
.device-bubbles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.device-bubbles i {
    position: absolute; bottom: 14%; left: var(--x); width: var(--s); height: var(--s);
    border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(125,211,252,.5) 60%, transparent);
    opacity: 0; animation: riseBub var(--d) ease-in infinite;
}
@keyframes riseBub { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-220px) scale(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* =========================== FEATURE CARDS ========================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.feature-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
    padding: var(--s-5); transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-3); }
.feature-icon {
    display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: rgba(56, 189, 248, .12); color: var(--cyan); margin-bottom: var(--s-4);
    border: 1px solid var(--border-strong);
}
.feature-card h3 { font-size: 1.12rem; margin-bottom: var(--s-2); }
.feature-card p { color: var(--text-muted); font-size: .95rem; }
.feature-card--warn .feature-icon { background: rgba(248, 113, 113, .1); color: #fca5a5; border-color: rgba(248,113,113,.3); }

/* ============================ PRODUCTS ============================= */
.products-grid { display: grid; gap: var(--s-4); }
.products-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4);
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.product-card.is-hidden { display: none; }
.product-media {
    position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10;
    background:
        radial-gradient(120% 120% at 70% 0%, rgba(34,211,238,.18), transparent 55%),
        linear-gradient(160deg, #0c2034, #061320);
    display: grid; place-items: center;
}
.product-media .device-stage { width: 78%; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card--compact .product-media { aspect-ratio: 16 / 9; }
.product-name { font-size: 1.2rem; }
.product-desc { color: var(--text-muted); font-size: .94rem; }

.spec-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); margin-top: auto; }
.spec-chip { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; }
.spec-value { display: block; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .82rem; color: var(--text); }
.spec-label { display: block; font-size: .7rem; color: var(--text-dim); margin-top: 2px; }
.product-actions { display: flex; gap: var(--s-2); }
.product-actions .btn { flex: 1; }

/* =========================== HOW IT WORKS ========================= */
.how-section { position: relative; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); position: relative; }
.how-steps::before {
    content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 18px);
    z-index: 0;
}
.how-step { position: relative; z-index: 1; text-align: center; padding: var(--s-4); }
.how-step-head { display: inline-flex; align-items: center; gap: 10px; position: relative; margin-bottom: var(--s-4); }
.step-num {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--grad-cyan); color: #04121f; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .95rem;
    box-shadow: var(--glow-soft);
}
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--cyan); }
.how-step h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.how-step p { color: var(--text-muted); font-size: .94rem; max-width: 30ch; margin-inline: auto; }
.how-steps--vertical { grid-template-columns: 1fr; }
.how-steps--vertical::before { display: none; }
.how-steps--vertical .how-step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); padding: 0 0 var(--s-5); }
.how-steps--vertical .how-step-head { grid-row: span 3; flex-direction: column; }
.how-steps--vertical .how-step p { margin-inline: 0; }

/* =========================== APPLICATIONS ========================= */
.app-grid { display: grid; gap: var(--s-4); }
.app-grid--home { grid-template-columns: repeat(4, 1fr); }
.app-card {
    border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
    border: 1px solid var(--border); display: flex; flex-direction: column;
    transition: transform .25s var(--ease), border-color .25s;
}
.app-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.app-photo { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.app-photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4, 12, 24, .85)); }
/* gradient placeholders per application (used when no photo present) */
.app-photo--0 { background-color: #0e6b5a; background-image: linear-gradient(160deg, #14b8a6, #0e7490 70%, #062c3a); }
.app-photo--1 { background-color: #0c3b66; background-image: linear-gradient(160deg, #1d4ed8, #0c4a6e 70%, #04233a); }
.app-photo--2 { background-color: #1e3a5f; background-image: linear-gradient(160deg, #3b82f6, #1e3a8a 70%, #0a1f3a); }
.app-photo--3 { background-color: #0e5a6b; background-image: linear-gradient(160deg, #0891b2, #155e75 70%, #06283a); }
.app-card-body { padding: var(--s-4); position: relative; }
.app-icon {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--grad-cyan); color: #04121f; margin-top: -42px; margin-bottom: var(--s-3); position: relative; z-index: 2;
    box-shadow: var(--glow-soft); border: 3px solid var(--bg-0);
}
.app-card-body h3 { font-size: 1.1rem; margin-bottom: var(--s-1); }
.app-card-body p { color: var(--text-muted); font-size: .9rem; }

/* App detail (applications page) */
.app-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.app-detail-card { display: grid; grid-template-columns: 200px 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.app-detail-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.app-detail-photo { position: relative; background-size: cover; background-position: center; min-height: 230px; }
.app-detail-body { padding: var(--s-5); }
.app-detail-body .app-icon { margin-top: 0; }
.app-detail-body h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.app-detail-body p { color: var(--text-muted); font-size: .94rem; margin-bottom: var(--s-3); }

/* Check lists */
.check-list { display: grid; gap: var(--s-2); margin: var(--s-4) 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); }
.check-list .ns-icon { color: var(--cyan); margin-top: 2px; }
.check-list--sm li { font-size: .9rem; }

/* App orbs (applications hero) */
.app-orbs { display: flex; gap: var(--s-4); align-items: center; justify-content: center; flex-wrap: wrap; padding: var(--s-6); }
.app-orb {
    display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%;
    background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--cyan);
    box-shadow: var(--glow-soft); animation: bob 5s var(--ease) infinite;
}
.app-orb:nth-child(2) { animation-delay: .6s; } .app-orb:nth-child(3) { animation-delay: 1.2s; } .app-orb:nth-child(4) { animation-delay: 1.8s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================= STATS ============================== */
.stats-band { padding-block: var(--s-6); }
.stats-row {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: var(--s-6); box-shadow: var(--shadow-1);
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.stat-icon { color: var(--cyan); margin-bottom: 4px; }
.stat-value { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--text); }
.stat-label { color: var(--text-dim); font-size: .85rem; }

/* ============================== CTA =============================== */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--r-xl);
    background:
        radial-gradient(120% 160% at 85% 20%, rgba(34, 211, 238, .28), transparent 55%),
        linear-gradient(120deg, #0a3a63, #07233f);
    border: 1px solid var(--border-strong); padding: var(--s-8) var(--s-7);
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta-band p { color: #bfe2f5; margin-top: var(--s-2); max-width: 44ch; }
.cta-bubbles { position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(circle, rgba(255,255,255,.25) 2px, transparent 3px),
                      radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 2px);
    background-size: 90px 90px, 60px 60px; background-position: 0 0, 30px 40px; }

/* =========================== PAGE HERO ============================ */
.page-hero { padding-top: var(--s-8); padding-bottom: var(--s-6); position: relative; z-index: 1; }
.page-hero--split { padding-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-7); align-items: center; }
.page-title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
.page-lead { color: var(--text-muted); font-size: 1.1rem; max-width: 46ch; margin-top: var(--s-4); }
.page-lead--center { margin-inline: auto; text-align: center; }
.page-hero--split .btn { margin-top: var(--s-5); }

/* ===================== TECHNOLOGY / SPLIT ========================= */
.split-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7); align-items: center; }
.split-text h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: var(--s-4); }
.split-text p { color: var(--text-muted); margin-bottom: var(--s-3); }
.split-visual { display: grid; place-items: center; }
.bubble-orb {
    position: relative; width: min(320px, 80%); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(56,189,248,.35), rgba(8, 40, 70, .2) 60%, transparent);
    border: 1px solid var(--border-strong); box-shadow: var(--glow); display: grid; place-items: center;
}
.bubble-orb span { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(125,211,252,.4) 60%, transparent); }
.bubble-orb span:nth-child(1) { width: 30px; height: 30px; top: 18%; left: 26%; animation: bob 6s ease-in-out infinite; }
.bubble-orb span:nth-child(2) { width: 18px; height: 18px; top: 50%; left: 64%; animation: bob 5s ease-in-out infinite .5s; }
.bubble-orb span:nth-child(3) { width: 42px; height: 42px; top: 58%; left: 30%; animation: bob 7s ease-in-out infinite 1s; }
.bubble-orb span:nth-child(4) { width: 14px; height: 14px; top: 30%; left: 60%; animation: bob 4.5s ease-in-out infinite 1.5s; }
.bubble-orb span:nth-child(5) { width: 24px; height: 24px; top: 70%; left: 56%; animation: bob 6.5s ease-in-out infinite .8s; }
.bubble-orb span:nth-child(6) { width: 10px; height: 10px; top: 40%; left: 40%; animation: bob 5.5s ease-in-out infinite 1.2s; }
.problem-section { background: linear-gradient(180deg, transparent, rgba(8, 22, 40, .4), transparent); }

/* ======================= PRODUCT DETAIL =========================== */
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .9rem; margin-bottom: var(--s-5); }
.breadcrumb a { color: var(--text-muted); } .breadcrumb a:hover { color: var(--cyan); }
.product-hero { padding-top: var(--s-7); position: relative; z-index: 1; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s-7); align-items: center; }
.product-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; }
.product-tagline { color: var(--text-muted); font-size: 1.12rem; margin-top: var(--s-3); }
.selector { margin-top: var(--s-5); }
.selector-label { display: block; font-size: .82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.product-cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
.specs-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); }
.specs-table h2 { font-size: 1.3rem; margin-bottom: var(--s-4); }
.specs-table table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td { text-align: left; padding: 11px 4px; font-size: .92rem; vertical-align: top; }
.specs-table th { color: var(--text-dim); font-weight: 500; width: 45%; }
.specs-table td { color: var(--text); }
.how-mini h2 { font-size: 1.3rem; margin-bottom: var(--s-5); }

/* Trust panel */
.trust-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); align-items: center; }
.trust-head { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--text); margin-bottom: var(--s-4); }
.trust-figures { display: flex; gap: var(--s-6); flex-wrap: wrap; }
.trust-figures strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.8rem; color: var(--cyan); }
.trust-figures span { color: var(--text-dim); font-size: .85rem; }
.cert-row { display: flex; gap: var(--s-2); margin-top: var(--s-5); flex-wrap: wrap; }
.cert { display: inline-grid; place-items: center; padding: 8px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-family: "Space Grotesk", sans-serif; font-size: .82rem; color: var(--text-muted); }
.trust-quote { border-left: 3px solid var(--cyan); padding-left: var(--s-5); }
.trust-quote .ns-icon { color: var(--cyan); margin-bottom: var(--s-2); }
.trust-quote p { font-size: 1.15rem; color: var(--text); font-style: italic; }
.trust-quote cite { display: block; margin-top: var(--s-3); color: var(--text-dim); font-style: normal; font-size: .9rem; }

/* Related strip */
.related-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-4); transition: transform .25s var(--ease), border-color .25s; }
.related-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.related-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: var(--s-3); background: linear-gradient(160deg, #0c2034, #061320); display: grid; place-items: center; }
.related-media .device-stage { width: 70%; }
.related-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.related-card p { color: var(--text-muted); font-size: .85rem; margin-bottom: var(--s-3); }

/* ========================= COMPARE PANEL ========================= */
.compare-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); display: grid; grid-template-columns: 1fr 2.4fr; gap: var(--s-6); align-items: center; }
.compare-intro h2 { font-size: 1.4rem; margin-bottom: var(--s-2); }
.compare-intro p { color: var(--text-muted); font-size: .92rem; margin-bottom: var(--s-4); }
.compare-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.compare-col { border-left: 1px solid var(--border); padding-left: var(--s-4); }
.compare-icon { color: var(--cyan); display: inline-flex; margin-bottom: var(--s-2); }
.compare-col h3 { font-size: .95rem; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
.compare-value { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--text); }
.compare-note { color: var(--text-dim); font-size: .82rem; margin-top: 4px; }

/* ========================== HELP BAND ============================ */
.help-band { background: linear-gradient(120deg, rgba(10, 58, 99, .6), rgba(7, 35, 63, .6)); border: 1px solid var(--border-strong); border-radius: var(--r-xl); padding: var(--s-6) var(--s-7); display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.help-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: rgba(56,189,248,.14); color: var(--cyan); border: 1px solid var(--border-strong); flex: none; }
.help-copy { flex: 1; min-width: 240px; }
.help-copy h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.help-copy p { color: var(--text-muted); margin-top: 6px; }

/* ============================ CASES ============================== */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.case-card { display: grid; grid-template-columns: 180px 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.case-photo { position: relative; background-size: cover; background-position: center; min-height: 240px; }
.case-body { padding: var(--s-5); }
.case-body h3 { font-size: 1.2rem; margin: var(--s-2) 0; }
.case-body p { color: var(--text-muted); font-size: .92rem; }
.case-stats { display: flex; gap: var(--s-5); margin: var(--s-4) 0; flex-wrap: wrap; }
.case-stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; color: var(--cyan); }
.case-stats span { font-size: .78rem; color: var(--text-dim); }

/* ============================ ABOUT ============================== */
.mission-card { background: var(--grad-cyan); color: #052235; border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--glow); }
.mission-card .mission-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(4, 18, 31, .15); color: #052235; margin-bottom: var(--s-4); }
.mission-card h3 { font-size: 1.4rem; margin-bottom: var(--s-2); }
.mission-card p { font-size: 1.02rem; }

/* =========================== CONTACT ============================= */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s-6); align-items: start; }
.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); }
.contact-info h2 { font-size: 1.3rem; margin-bottom: var(--s-5); }
.contact-list { display: grid; gap: var(--s-5); }
.contact-list li { display: flex; gap: var(--s-4); }
.ci-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(56,189,248,.12); color: var(--cyan); border: 1px solid var(--border-strong); flex: none; }
.contact-list strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: .95rem; margin-bottom: 2px; }
.contact-list p { color: var(--text-muted); font-size: .92rem; }
.contact-list a:hover { color: var(--cyan); }
.contact-map { position: relative; margin-top: var(--s-5); height: 150px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); display: grid; place-items: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(34,211,238,.18), transparent 60%),
        linear-gradient(160deg, #0b2238, #061320);
    background-image: linear-gradient(rgba(56,189,248,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.08) 1px, transparent 1px);
    background-size: 100% 100%, 28px 28px, 28px 28px; }
.contact-map .map-pin { color: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); animation: bob 3s ease-in-out infinite; }
.contact-map .map-label { position: absolute; bottom: 10px; font-size: .8rem; color: var(--text-muted); }

.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); }
.contact-form-wrap h2 { font-size: 1.3rem; margin-bottom: var(--s-5); }
.contact-form { display: grid; gap: var(--s-4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .88rem; color: var(--text-muted); font-weight: 500; }
.field .req { color: var(--cyan); }
.field input, .field select, .field textarea {
    background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
    padding: 12px 14px; color: var(--text); font: inherit; font-size: .95rem; width: 100%;
    transition: border-color .2s, box-shadow .2s; min-height: 46px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239fb6d2' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field.has-error input, .field.has-error textarea { border-color: #f87171; }
.field-error { color: #fca5a5; font-size: .82rem; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-alert { display: flex; gap: var(--s-3); align-items: flex-start; border-radius: var(--r); padding: var(--s-4); margin-bottom: var(--s-4); }
.form-alert .ns-icon { margin-top: 2px; flex: none; }
.form-alert--ok { background: rgba(16, 185, 129, .12); border: 1px solid rgba(16,185,129,.4); color: #6ee7b7; }
.form-alert--err { background: rgba(248, 113, 113, .12); border: 1px solid rgba(248,113,113,.4); color: #fca5a5; }
.form-alert strong { display: block; font-family: "Space Grotesk", sans-serif; }
.form-alert p { font-size: .9rem; opacity: .9; }

/* ============================= 404 =============================== */
.notfound-inner { text-align: center; padding-block: var(--s-9); display: grid; place-items: center; gap: var(--s-4); }
.notfound-code { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(5rem, 18vw, 12rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .85; }

/* ============================ FOOTER ============================= */
.site-footer { border-top: 1px solid var(--border); margin-top: var(--s-8); background: linear-gradient(180deg, transparent, rgba(4, 12, 24, .6)); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: var(--s-6); padding-block: var(--s-8) var(--s-6); }
.footer-tagline { color: var(--text-muted); font-size: .92rem; margin: var(--s-4) 0; max-width: 28ch; }
.footer-social { display: flex; gap: var(--s-2); }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); transition: all .2s; }
.footer-social a:hover { color: var(--cyan); border-color: var(--border-strong); transform: translateY(-2px); }
.footer-col h4 { font-size: .95rem; margin-bottom: var(--s-4); color: var(--text); }
.footer-col ul { display: grid; gap: var(--s-2); }
.footer-col a { color: var(--text-muted); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: .92rem; margin-bottom: var(--s-3); }
.footer-contact .ns-icon { color: var(--cyan); margin-top: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-5); border-top: 1px solid var(--border); color: var(--text-dim); font-size: .88rem; flex-wrap: wrap; }
.footer-legal { display: flex; gap: var(--s-5); }
.footer-legal a:hover { color: var(--cyan); }

/* ========================== REVEAL ANIM ========================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .device-ring, .device-glow, .device-strip, .device-bubbles i, .app-orb, .bubble-orb span, .ns-logo-mark circle, .bubble-field::before, .bubble-field::after, .map-pin { animation: none !important; }
}

/* ========================== RESPONSIVE =========================== */
@media (max-width: 1024px) {
    .feature-grid, .app-grid--home { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .compare-panel { grid-template-columns: 1fr; }
    .compare-cols { grid-template-columns: repeat(2, 1fr); }
    .related-strip { grid-template-columns: repeat(2, 1fr); }
    .trust-panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .primary-nav, .header-cta { display: none; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .header-inner { justify-content: space-between; }
    .header-actions { margin-left: auto; }
    .hero-grid, .page-hero-grid, .product-hero-grid, .split-feature, .specs-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual, .page-hero-visual { order: -1; }
    .products-grid--3 { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; }
    .how-steps::before { display: none; }
    .app-detail-grid, .case-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(3, 1fr); row-gap: var(--s-5); }
    .cta-band, .help-band { flex-direction: column; align-items: flex-start; text-align: left; }
    .section { padding-block: var(--s-7); }
}

@media (max-width: 560px) {
    .container { padding-inline: var(--s-4); }
    .feature-grid, .app-grid--home { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .compare-cols, .field-row { grid-template-columns: 1fr; }
    .related-strip { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .app-detail-card, .case-card { grid-template-columns: 1fr; }
    .app-detail-photo, .case-photo { min-height: 180px; }
    .hero-actions .btn, .product-cta-row .btn { width: 100%; }
}

/* ============================== BLOG =============================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), border-color .25s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.blog-thumb { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.blog-thumb:not([style*="background-image"]) { background: linear-gradient(160deg, #0c2c4a, #061320); }
.blog-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,12,24,.7)); }
.blog-thumb .badge { position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2; }
.blog-body { padding: var(--s-5); flex: 1; display: flex; flex-direction: column; }
.blog-body h2 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.blog-body h2 a { transition: color .2s; }
.blog-body h2 a:hover { color: var(--cyan); }
.blog-body > p { color: var(--text-muted); font-size: .92rem; flex: 1; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--border); }
.blog-meta time { color: var(--text-dim); font-size: .82rem; }
.blog-content { max-width: 780px; margin: 0 auto; }
.blog-hero-img { width: 100%; border-radius: var(--r); margin-bottom: var(--s-5); }
.prose { color: var(--text-muted); line-height: 1.8; font-size: 1.02rem; }
.prose h2, .prose h3 { color: var(--text); margin: var(--s-5) 0 var(--s-3); }
.prose p { margin-bottom: var(--s-4); }
.prose ul, .prose ol { margin: var(--s-3) 0 var(--s-4) var(--s-5); }
.prose li { margin-bottom: var(--s-2); }
.prose a { color: var(--cyan); text-decoration: underline; }
.blog-footer { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border); flex-wrap: wrap; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

/* ========================== MODAL POPUPS =========================== */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(2, 8, 18, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: var(--s-4); overflow-y: auto; }
.modal-card { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); max-width: 540px; width: 100%; position: relative; box-shadow: var(--shadow-2); animation: modalIn .25s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: var(--s-3); right: var(--s-3); background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px; color: var(--text-muted); transition: all .2s; }
.modal-close:hover { color: var(--text); border-color: var(--border-strong); }
.modal-card h2 { font-size: 1.4rem; margin-bottom: var(--s-1); }
.modal-sub { color: var(--text-muted); font-size: .92rem; margin-bottom: var(--s-4); }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.modal-field { margin-bottom: var(--s-3); }
.modal-field label { display: block; font-size: .86rem; color: var(--text-muted); margin-bottom: 5px; font-weight: 500; }
.modal-field .req { color: var(--cyan); }
.modal-field input, .modal-field textarea, .modal-field select { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); font: inherit; font-size: .94rem; transition: border-color .2s; min-height: 42px; }
.modal-field input:focus, .modal-field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.12); }
.modal-field textarea { resize: vertical; }
.modal-hint { display: block; color: var(--text-dim); font-size: .78rem; margin-top: 4px; }
.modal-alert { display: flex; align-items: center; gap: var(--s-2); border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: var(--s-3); font-size: .9rem; }
.modal-alert--ok { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.35); color: #6ee7b7; }
.modal-alert--err { background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.35); color: #fca5a5; }
@media (max-width: 560px) { .modal-row { grid-template-columns: 1fr; } }

/* ===================== COOKIE CONSENT BAR ===================== */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 180; background: var(--surface-3); border-top: 1px solid var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cookie-inner { max-width: var(--container); margin: 0 auto; padding: var(--s-4) var(--s-5); display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: .95rem; margin-bottom: 2px; }
.cookie-text p { color: var(--text-muted); font-size: .88rem; }

/* ======================== PWA BANNER ======================== */
.pwa-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 170; background: var(--surface-3); border-top: 1px solid var(--border-strong); }
.pwa-inner { max-width: var(--container); margin: 0 auto; padding: var(--s-3) var(--s-5); display: flex; align-items: center; gap: var(--s-3); }
.pwa-icon { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
.pwa-text { flex: 1; }
.pwa-text strong { font-family: "Space Grotesk", sans-serif; font-size: .95rem; }
.pwa-text p { color: var(--text-muted); font-size: .82rem; }
.pwa-dismiss { background: none; border: none; color: var(--text-dim); padding: 6px; cursor: pointer; }
.pwa-dismiss:hover { color: var(--text); }
