/*
 * NearbyLove website, 2026 rebuild.
 *
 * One stylesheet for every page. Tokens come from the NearbyLove design system
 * (https://claude.ai/artifact/3wvsKdVYFJmEscRr2YK3AA): brand red #e94560, slate text, the night
 * colours of the radar canvas, and one hue family per feature. Layout uses logical properties
 * (inline-start/end) so the same rules serve left-to-right and right-to-left pages.
 *
 * Filled buttons use #c72c48, not the brand #e94560: white on #e94560 is 3.9:1 and fails AA at
 * button text sizes; white on #c72c48 passes.
 */

:root {
    --nl-brand: #e94560;
    --nl-brand-strong: #c72c48;
    --nl-brand-deep: #9f1f37;
    --nl-brand-soft: #fff0f3;
    --nl-brand-track: #f8b7c3;
    --nl-coral: #ff6b7a;
    --nl-pink-text: #ffd0d9;

    --nl-ink: #1e293b;
    --nl-ink-2: #475569;
    --nl-ink-3: #5b6a80;
    --nl-muted: #94a3b8;

    --nl-bg: #ffffff;
    --nl-surface: #faf6f7;
    --nl-surface-2: #f8fafc;
    --nl-line: #f0edf2;
    --nl-line-2: #e2e8f0;

    --nl-night: #1a1a2e;
    --nl-night-2: #16213e;
    --nl-night-3: #24304f;
    --nl-night-line: #3d3d5c;
    --nl-night-text: #cbd5e1;
    --nl-green: #4ade80;
    --nl-amber: #fbbf24;

    --nl-date-ink: #4338ca;
    --nl-date-soft: #e0e7ff;
    --nl-vibe-ink: #b8336a;
    --nl-vibe-soft: #ffe0f0;
    --nl-voice-ink: #5b4bd6;
    --nl-voice: #6c5ce7;
    --nl-voice-soft: #f0f0ff;
    --nl-safe-ink: #92400e;
    --nl-safe-soft: #fef3c7;
    --nl-safe-bg: #fffbeb;
    --nl-safe-line: #fde9c0;
    --nl-chat-ink: #15803d;
    --nl-chat-soft: #dcfce7;

    --nl-radius-s: 14px;
    --nl-radius: 22px;
    --nl-radius-l: 32px;
    --nl-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --nl-shadow-lift: 0 16px 40px -18px rgba(30, 41, 59, 0.35);

    --nl-container: 1200px;
    --nl-gutter: clamp(16px, 4vw, 48px);
    --nl-section-y: clamp(64px, 8vw, 112px);
    --nl-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Hebrew", "Noto Sans Arabic", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--nl-bg);
    color: var(--nl-ink);
    font-family: var(--nl-font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--nl-brand-strong); }
a:hover { color: var(--nl-brand-deep); }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 800; }
p { margin: 0; }

.nl-skip {
    position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
    background: #ffffff; color: var(--nl-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.nl-skip:focus { top: 12px; }

.nl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */

.nl-container { max-width: var(--nl-container); margin: 0 auto; padding-inline: var(--nl-gutter); }
.nl-container--narrow { max-width: 900px; }
.nl-section { padding-block: var(--nl-section-y); }
.nl-section--tight { padding-block: 48px; }
.nl-section--tint { background: var(--nl-surface); }
.nl-section--safe { background: var(--nl-safe-bg); }
.nl-section--cool { background: var(--nl-surface-2); }
.nl-section--night { background: var(--nl-night); color: #ffffff; }
.nl-stack { display: flex; flex-direction: column; gap: 16px; }
.nl-stack--l { gap: 32px; }
.nl-center { text-align: center; }
.nl-center .nl-lead { margin-inline: auto; }

.nl-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.nl-split > .nl-split__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.nl-split > .nl-split__visual { flex: 1 1 440px; min-width: 0; }
.nl-split--rev { flex-direction: row-reverse; }

.nl-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.nl-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.nl-grid--narrow { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.nl-grid--steps { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 14px; }

/* ---------- type ---------- */

.nl-h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.08; letter-spacing: -0.015em; }
.nl-h1--page { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; }
.nl-h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.01em; }
.nl-h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.nl-h4 { font-size: 21px; line-height: 1.3; }
.nl-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--nl-ink-2); max-width: 620px; }
.nl-body { font-size: 17px; line-height: 1.65; color: var(--nl-ink-2); }
.nl-small { font-size: 15px; line-height: 1.6; color: var(--nl-ink-2); }
.nl-fine { font-size: 14px; color: var(--nl-muted); }
.nl-accent { color: var(--nl-coral); }
html[lang="he"] .nl-h1, html[lang="ar"] .nl-h1, html[lang="he"] .nl-h2, html[lang="ar"] .nl-h2 { letter-spacing: 0; }
.nl-section--night .nl-lead, .nl-section--night .nl-body { color: var(--nl-night-text); }

/* ---------- chips, buttons, links ---------- */

.nl-chip {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
    background: var(--nl-brand-soft); color: var(--nl-brand-strong);
}
.nl-chip--live { background: rgba(74, 222, 128, 0.12); color: #86efac; }
.nl-chip--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nl-green); }
.nl-chip--spark { background: var(--nl-safe-soft); color: #b45309; }
.nl-chip--date { background: var(--nl-date-soft); color: var(--nl-date-ink); }
.nl-chip--vibe { background: var(--nl-vibe-soft); color: var(--nl-vibe-ink); }
.nl-chip--voice { background: var(--nl-voice-soft); color: var(--nl-voice-ink); }
.nl-chip--safe { background: var(--nl-safe-soft); color: var(--nl-safe-ink); }
.nl-chip--chat, .nl-chip--radar { background: var(--nl-chat-soft); color: var(--nl-chat-ink); }
.nl-chip--blind { background: var(--nl-brand-soft); color: var(--nl-brand-strong); }

.nl-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-tag { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: var(--nl-radius-s); background: #ffffff; border: 1px solid var(--nl-line); }

.nl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
    font: 700 16px/1 var(--nl-font); text-decoration: none; cursor: pointer;
    background: var(--nl-brand-strong); color: #ffffff;
    transition: transform .15s ease, background-color .15s ease;
}
.nl-btn:hover { background: var(--nl-brand-deep); color: #ffffff; }
.nl-btn:active { transform: scale(.98); }
.nl-btn--ghost { background: transparent; color: var(--nl-ink); border: 1px solid var(--nl-line-2); }
.nl-btn--ghost:hover { background: var(--nl-surface); color: var(--nl-ink); }
.nl-btn--light { background: #ffffff; color: var(--nl-night); }
.nl-btn--light:hover { background: #f1f5f9; color: var(--nl-night); }

.nl-store {
    display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 26px;
    border-radius: 30px; background: var(--nl-brand-strong); color: #ffffff; text-decoration: none;
    box-shadow: 0 10px 30px -8px rgba(233, 69, 96, 0.6);
}
.nl-store:hover { background: var(--nl-brand-deep); color: #ffffff; }
.nl-store svg { flex: 0 0 auto; }
.nl-store__text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.nl-store__label { font-size: 12px; font-weight: 600; opacity: .88; }
.nl-store__name { font-size: 19px; font-weight: 800; }
.nl-store--official { background: #000000; border: 1px solid #a6a6a6; border-radius: 12px; box-shadow: none; }
.nl-store--official:hover { background: #111111; }
.nl-store[aria-disabled="true"] { cursor: default; }
/* Google Play, and while live the App Store and the web version (nl_store_button). */
.nl-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nl-final .nl-stores, .nl-band--center .nl-stores { justify-content: center; }
.nl-store--web .nl-store__name { font-size: 16px; }

.nl-more { font-size: 16px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nl-more::after { content: "→"; }
[dir="rtl"] .nl-more::after { content: "←"; }

.nl-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.nl-cta-note { font-size: 14px; color: var(--nl-muted); }

/* ---------- cards ---------- */

.nl-card {
    background: #ffffff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius);
    padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--nl-shadow);
}
.nl-card--flat { box-shadow: none; }
.nl-card--safe { border-color: var(--nl-safe-line); box-shadow: none; }
.nl-card--alert { background: #fef2f2; border-color: #fecaca; box-shadow: none; }
.nl-card--date { background: #eef2ff; border-color: var(--nl-date-soft); box-shadow: none; }
.nl-card h2, .nl-card h3 { font-size: 21px; line-height: 1.3; }
.nl-card p { font-size: 16px; line-height: 1.6; color: var(--nl-ink-2); }
a.nl-card { text-decoration: none; color: var(--nl-ink); transition: transform .15s ease, box-shadow .15s ease; }
a.nl-card:hover { transform: translateY(-2px); box-shadow: var(--nl-shadow-lift); color: var(--nl-ink); }

.nl-icon {
    width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.nl-icon--green { background: var(--nl-chat-soft); color: var(--nl-chat-ink); }
.nl-icon--date { background: var(--nl-date-soft); color: var(--nl-date-ink); }
.nl-icon--safe { background: var(--nl-safe-soft); color: #b45309; }
.nl-icon--red { background: #fef2f2; color: #b91c1c; }
.nl-icon--mint { background: #ecfdf5; color: #047857; }
.nl-icon--brand { background: var(--nl-brand-soft); color: var(--nl-brand-strong); }

.nl-num {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nl-brand-strong); color: #ffffff; font-size: 18px; font-weight: 800;
}
.nl-num--safe { background: #b45309; }

.nl-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.55; }
.nl-list li { display: flex; gap: 10px; }
.nl-list li::before { content: "✓"; color: var(--nl-chat-ink); font-weight: 800; flex: 0 0 auto; }
.nl-list--dot li::before { content: "•"; color: var(--nl-brand-strong); }

.nl-note { padding: 18px 22px; border-radius: 18px; background: var(--nl-surface-2); border: 1px solid var(--nl-line-2); font-size: 16px; line-height: 1.6; color: #334155; }

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

.nl-header { position: sticky; top: 0; z-index: 50; background: rgba(26, 26, 46, 0.95); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
@supports (backdrop-filter: blur(8px)) { .nl-header { background: rgba(26, 26, 46, 0.86); backdrop-filter: saturate(1.4) blur(10px); } }
.nl-nav { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; }
.nl-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nl-logo img { width: 36px; height: 36px; border-radius: 10px; }
.nl-wordmark { font-size: 21px; font-weight: 800; color: #ffffff; letter-spacing: -0.01em; direction: ltr; unicode-bidi: isolate; }
.nl-wordmark span { color: var(--nl-coral); }
.nl-nav__links { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1 1 auto; justify-content: center; margin: 0; padding: 0; list-style: none; }
.nl-nav__links a { color: #e2e8f0; text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 2px; display: inline-block; border-bottom: 2px solid transparent; }
.nl-nav__links a:hover { color: #ffffff; }
.nl-nav__links a[aria-current="page"] { color: #ffffff; font-weight: 700; border-bottom-color: var(--nl-coral); }
.nl-nav__end { display: flex; align-items: center; gap: 10px; }
.nl-nav__download { min-height: 44px; padding: 0 20px; font-size: 15px; }

.nl-menu-btn {
    display: none; width: 44px; height: 44px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent; color: #ffffff; align-items: center; justify-content: center; cursor: pointer;
}

.nl-lang { position: relative; }
.nl-lang__btn {
    display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: #e2e8f0;
    font: 600 14px var(--nl-font); cursor: pointer;
}
.nl-lang__btn:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.nl-lang__menu {
    position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; width: 240px; max-height: 70vh; overflow: auto;
    margin: 0; padding: 8px; list-style: none; background: #ffffff; border-radius: 18px;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.45); display: none;
}
.nl-lang.is-open .nl-lang__menu { display: block; }
.nl-lang__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--nl-ink); font-size: 15px; }
.nl-lang__menu a:hover { background: var(--nl-surface); }
.nl-lang__menu a[aria-current="true"] { background: var(--nl-brand-soft); color: var(--nl-brand-strong); font-weight: 700; }
.nl-lang__code { width: 30px; font-size: 12px; font-weight: 800; color: var(--nl-ink-3); text-transform: uppercase; }

@media (max-width: 900px) {
    .nl-menu-btn { display: inline-flex; }
    .nl-nav { flex-wrap: wrap; min-height: 64px; padding-block: 10px; }
    .nl-logo { flex: 1; }
    .nl-nav__links {
        order: 3; flex: 1 1 100%; flex-direction: column; gap: 0; display: none;
        padding-block: 8px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nl-nav.is-open .nl-nav__links { display: flex; }
    .nl-nav__links a { display: block; padding: 12px 0; font-size: 17px; }
    .nl-nav__download { display: none; }
}

/* ---------- breadcrumb, page head ---------- */

.nl-crumbs { font-size: 14px; color: var(--nl-ink-3); }
.nl-crumbs a { color: var(--nl-ink-3); }
.nl-pagehead { background: var(--nl-surface); padding-block: clamp(40px, 6vw, 80px); }
.nl-pagehead--safe { background: var(--nl-safe-bg); }
.nl-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.nl-jump a { text-decoration: none; color: var(--nl-safe-ink); background: #ffffff; border: 1px solid var(--nl-safe-line); font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 999px; }

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

.nl-hero { background: var(--nl-night); color: #ffffff; overflow: hidden; }
.nl-hero__inner { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.nl-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.nl-hero__visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.nl-hero .nl-lead { color: var(--nl-night-text); max-width: 540px; }
.nl-hero .nl-more { color: var(--nl-pink-text); }

/* ---------- radar ---------- */

.nl-radar-wrap { position: relative; width: min(520px, 100%); aspect-ratio: 1 / 1; }
.nl-radar-glow { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(233, 69, 96, 0.18) 0%, rgba(26, 26, 46, 0) 62%); }
.nl-radar { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, var(--nl-night-3) 0%, var(--nl-night-2) 72%); border: 2px solid var(--nl-night-line); overflow: hidden; }
.nl-radar__ring { position: absolute; border-radius: 50%; border: 1px solid var(--nl-night-line); }
.nl-radar__ring--1 { inset: 12.5%; } .nl-radar__ring--2 { inset: 25%; } .nl-radar__ring--3 { inset: 37.5%; }
.nl-radar__axis-v { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--nl-night-line); }
.nl-radar__axis-h { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--nl-night-line); }
.nl-radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(233, 69, 96, 0) 0deg, rgba(233, 69, 96, 0) 290deg, rgba(233, 69, 96, 0.55) 360deg); animation: nl-spin 4s linear infinite; }
.nl-radar__label { position: absolute; left: 51%; font-size: 11px; color: #8b93b8; font-weight: 600; direction: ltr; }
.nl-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--nl-green); box-shadow: 0 0 14px var(--nl-green); transform: translate(-50%, -50%); animation: nl-blip 4s linear infinite; }
.nl-dot--s { width: 11px; height: 11px; }
.nl-dot--spark { background: var(--nl-amber); box-shadow: 0 0 18px var(--nl-amber); animation: none; width: 16px; height: 16px; }
.nl-ripple { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--nl-amber); transform: translate(-50%, -50%); animation: nl-ripple 2.2s ease-out infinite; }
.nl-me { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--nl-brand); border: 3px solid #ffffff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(233, 69, 96, 0.25); }
.nl-dist { position: absolute; padding: 3px 9px; border-radius: 10px; font-size: 12px; font-weight: 700; white-space: nowrap; direction: ltr; }
.nl-dist--spark { background: rgba(251, 191, 36, 0.16); color: #fde68a; }
.nl-dist--green { background: rgba(74, 222, 128, 0.14); color: #bbf7d0; }
.nl-radar--mini { position: relative; width: 140px; height: 140px; }

.nl-toast {
    position: absolute; bottom: 2%; inset-inline-end: -2%; width: min(300px, 78%);
    display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px;
    background: #ffffff; color: var(--nl-ink); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
    animation: nl-toast 8s ease-in-out infinite;
}
.nl-toast__icon { flex: 0 0 44px; height: 44px; border-radius: 14px; background: var(--nl-safe-soft); color: #b45309; display: flex; align-items: center; justify-content: center; }
.nl-toast__title { display: block; font-size: 14px; font-weight: 800; }
.nl-toast__text { display: block; font-size: 13px; color: var(--nl-ink-2); line-height: 1.4; }

/* ---------- feature visual panels ---------- */

.nl-panel { min-height: 440px; border-radius: var(--nl-radius-l); display: flex; align-items: center; justify-content: center; padding: 32px; position: relative; overflow: hidden; }
.nl-panel--night { background: var(--nl-night); gap: 56px; }
.nl-panel--date { background: linear-gradient(90deg, #e0f2fe, #ede9fe); }
.nl-panel--blind { background: var(--nl-brand-soft); }
.nl-panel--voice { background: linear-gradient(90deg, #f0f0ff, #e8e0ff); }
.nl-panel--vibe { background: linear-gradient(90deg, #fff0e6, #ffe0f0); flex-direction: column; gap: 20px; }
.nl-panel--chat { background: var(--nl-surface-2); border: 1px solid var(--nl-line-2); }
.nl-panel--safe { background: #ffffff; border: 1px solid var(--nl-safe-line); flex-wrap: wrap; gap: 24px; }
.nl-panel--radar { background: var(--nl-night); }

.nl-phone { width: 150px; height: 290px; border-radius: 28px; background: #0f172a; padding: 7px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.6); position: relative; z-index: 1; }
.nl-phone__screen { width: 100%; height: 100%; border-radius: 22px; background: #ffffff; color: var(--nl-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; text-align: center; }
.nl-phone--buzz { animation: nl-buzz 4s ease-in-out infinite; }
.nl-phone--l { width: 300px; height: 600px; border-radius: 44px; padding: 11px; box-shadow: 0 40px 70px -30px rgba(15, 23, 42, 0.55); }
.nl-phone--l .nl-phone__screen { border-radius: 34px; justify-content: flex-start; align-items: stretch; text-align: start; padding: 0; gap: 0; overflow: hidden; }
.nl-pulse { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--nl-amber); transform: translate(-50%, -50%); animation: nl-pulse 4s ease-out infinite; }
.nl-bolt { width: 46px; height: 46px; border-radius: 50%; background: var(--nl-safe-soft); color: #b45309; display: flex; align-items: center; justify-content: center; }

.nl-stack-card { width: min(340px, 100%); display: flex; flex-direction: column; gap: 14px; }
.nl-datecard { background: #ffffff; border-radius: 24px; padding: 22px; box-shadow: 0 10px 30px -12px rgba(67, 56, 202, 0.35); display: flex; flex-direction: column; gap: 12px; }
.nl-row { display: flex; align-items: center; gap: 12px; }
.nl-mini { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 12px; background: #f1f5f9; color: var(--nl-ink-2); }
.nl-mini--date { background: #eef2ff; color: var(--nl-date-ink); }
.nl-bubble { display: flex; align-items: center; gap: 10px; background: #ffffff; border-radius: 18px; padding: 10px 18px 10px 14px; box-shadow: 0 6px 18px -8px rgba(67, 56, 202, 0.35); font-size: 14px; font-weight: 700; animation: nl-pop 7s ease-out infinite; }
.nl-avatar { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; background: #e2e8f0; object-fit: cover; }
.nl-avatar--m { width: 38px; height: 38px; } .nl-avatar--l { width: 48px; height: 48px; }

.nl-profile { width: 260px; background: #ffffff; border-radius: 28px; overflow: hidden; box-shadow: 0 16px 40px -16px rgba(199, 44, 72, 0.4); }
.nl-profile__photo { height: 250px; overflow: hidden; position: relative; background: #fde2e7; }
.nl-profile__photo img, .nl-profile__photo .nl-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nl-profile__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.nl-profile__name { font-size: 20px; font-weight: 800; }
.nl-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.nl-pill { font-size: 12px; padding: 4px 9px; border-radius: 10px; border: 1px solid #e0e0e0; color: #333333; }
.nl-fakebtn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 22px; background: var(--nl-brand-strong); color: #ffffff; font-size: 15px; font-weight: 700; }
.nl-reveal { animation: nl-reveal 7s ease-in-out infinite; }
.nl-press { animation: nl-press 7s ease-out infinite; }
.nl-ph { background: radial-gradient(circle at 50% 38%, #f9a8b8 0 22%, rgba(0, 0, 0, 0) 23%), radial-gradient(ellipse at 50% 100%, #f47a92 0 45%, rgba(0, 0, 0, 0) 46%), linear-gradient(160deg, #ffe4e6, #fbcfe8); }

.nl-voicecard { width: min(360px, 100%); background: #ffffff; border-radius: 28px; padding: 24px; box-shadow: 0 16px 40px -16px rgba(108, 92, 231, 0.4); display: flex; flex-direction: column; gap: 18px; }
.nl-play { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--nl-voice); color: #ffffff; display: flex; align-items: center; justify-content: center; }
.nl-wave { flex: 1; height: 48px; display: flex; align-items: center; gap: 3px; }
.nl-wave span { flex: 1; border-radius: 2px; background: #8b7ed8; transform-origin: center; animation: nl-wave 1.1s ease-in-out infinite; }
.nl-wave span:nth-child(3n) { background: var(--nl-voice); }
.nl-outline-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 23px; border: 2px solid var(--nl-voice); color: var(--nl-voice-ink); font-size: 15px; font-weight: 700; }

.nl-vibe-stack { position: relative; width: 240px; height: 260px; }
.nl-vibe-back { position: absolute; inset: 14px 10px -6px; border-radius: 24px; background: #ffffff; opacity: .7; box-shadow: 0 10px 24px -14px rgba(217, 64, 128, 0.5); }
.nl-vibe-card { position: absolute; inset: 0; border-radius: 24px; background: #ffffff; box-shadow: 0 16px 34px -14px rgba(217, 64, 128, 0.5); overflow: hidden; display: flex; flex-direction: column; animation: nl-swipe 5s ease-in-out infinite; }
.nl-vibe-card__photo { flex: 1; background: linear-gradient(160deg, #ffd6e8, #ffe9d6); overflow: hidden; }
.nl-vibe-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nl-vibe-card__name { padding: 12px 16px; font-size: 17px; font-weight: 800; }
[dir="rtl"] .nl-vibe-card { animation-name: nl-swipe-rtl; }
.nl-round { width: 56px; height: 56px; border-radius: 50%; background: #ffffff; color: var(--nl-ink-3); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.nl-round--like { background: #d94080; color: #ffffff; box-shadow: 0 8px 18px -6px rgba(217, 64, 128, 0.7); animation: nl-like 5s ease-out infinite; }

.nl-chat { width: min(340px, 100%); background: #ffffff; border-radius: 28px; box-shadow: var(--nl-shadow-lift); overflow: hidden; }
.nl-chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #f1f5f9; }
.nl-chat__name { flex: 1; font-size: 16px; font-weight: 800; }
.nl-chat__btn { width: 38px; height: 38px; border-radius: 50%; background: #f1f5f9; color: var(--nl-ink); display: flex; align-items: center; justify-content: center; }
.nl-chat__body { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; background: var(--nl-surface-2); }
.nl-msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-size: 14px; animation: nl-pop 7s ease-out infinite; }
.nl-msg--me { align-self: flex-end; background: var(--nl-brand-strong); color: #ffffff; }
.nl-msg--them { align-self: flex-start; background: #ffffff; border: 1px solid var(--nl-line-2); }
.nl-msg--voice { display: flex; align-items: center; gap: 8px; }
.nl-msg--voice i { display: inline-block; width: 3px; border-radius: 2px; background: #8b7ed8; }

.nl-checkins { width: 250px; display: flex; flex-direction: column; gap: 10px; }
.nl-checkin { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #f0fdf4; border: 1px solid #bbf7d0; font-size: 14px; font-weight: 700; animation: nl-pop 9s ease-out infinite; }
.nl-checkin__mark { width: 28px; height: 28px; border-radius: 50%; background: #22c55e; color: #ffffff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.nl-checkin--missed { background: #fef2f2; border-color: #fecaca; color: #b91c1c; animation: nl-missed 9s ease-in-out infinite; }
.nl-checkin--missed .nl-checkin__mark { background: #dc2626; font-weight: 800; }
.nl-guardian { width: 230px; border-radius: 26px; background: #0f172a; padding: 8px; box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.55); animation: nl-alert 9s ease-in-out infinite; }
.nl-guardian__screen { border-radius: 20px; background: #ffffff; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.nl-guardian__label { font-size: 12px; font-weight: 800; color: var(--nl-ink-3); }
.nl-guardian__msg { font-size: 13px; line-height: 1.45; }
.nl-guardian__btn { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 19px; background: var(--nl-ink); color: #ffffff; font-size: 13px; font-weight: 700; }
.nl-kicker { font-size: 13px; font-weight: 800; color: var(--nl-ink-3); }

.nl-grid-map { position: relative; height: 120px; border-radius: 16px; background-color: var(--nl-surface-2); background-image: linear-gradient(var(--nl-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--nl-line-2) 1px, transparent 1px); background-size: 40px 40px; background-position: center; overflow: hidden; }
.nl-grid-map__cell { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); border: 2px dashed var(--nl-brand-track); border-radius: 6px; }
.nl-grid-map__real { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--nl-muted); transform: translate(-50%, -50%); left: 28%; top: 34%; animation: nl-wander 6s ease-in-out infinite; }
.nl-grid-map__shown { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--nl-brand); border: 3px solid #ffffff; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.nl-grid-map--l { height: auto; aspect-ratio: 1 / 1; width: min(400px, 100%); border-radius: 28px; background-color: #ffffff; background-size: 25% 25%; border: 1px solid var(--nl-line); }
.nl-grid-map--l .nl-grid-map__cell { width: 50%; height: 50%; border-radius: 8px; background: rgba(233, 69, 96, 0.06); }
.nl-grid-map--l .nl-grid-map__real { width: 16px; height: 16px; border: 3px solid #ffffff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.nl-grid-map--l .nl-grid-map__shown { width: 24px; height: 24px; border-width: 4px; }
.nl-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 14px; font-weight: 700; }
.nl-legend span { display: flex; align-items: center; gap: 8px; }
.nl-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* ---------- active radar phone (feature hero) ---------- */

.nl-ar__top { display: flex; align-items: center; gap: 8px; padding: 18px 16px 12px; }
.nl-ar__title { flex: 1; font-size: 17px; font-weight: 800; }
.nl-ar__timer { font-size: 13px; font-weight: 700; color: var(--nl-ink-2); background: #f1f5f9; padding: 4px 9px; border-radius: 10px; direction: ltr; }
.nl-ar__stop { font-size: 13px; font-weight: 800; color: #ffffff; background: var(--nl-brand-strong); padding: 5px 12px; border-radius: 12px; }
.nl-ar__radar { margin: 0 14px; aspect-ratio: 1 / 1; border-radius: 50%; position: relative; background: radial-gradient(circle, var(--nl-night-3) 0%, var(--nl-night-2) 72%); overflow: hidden; }
.nl-ar__count { padding: 10px 16px 6px; font-size: 13px; font-weight: 800; color: var(--nl-ink-3); }
.nl-ar__list { display: flex; flex-direction: column; gap: 8px; padding: 0 12px; }
.nl-ar__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 16px; border: 1px solid var(--nl-line); }
.nl-ar__who { flex: 1; display: flex; flex-direction: column; }
.nl-ar__who b { font-size: 14px; }
.nl-ar__who small { font-size: 12px; color: var(--nl-ink-3); }
.nl-ar__km { font-size: 12px; font-weight: 700; color: var(--nl-chat-ink); }

/* ---------- escalation timeline ---------- */

.nl-escalate { border-radius: var(--nl-radius-l); background: var(--nl-night); color: #ffffff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 26px; }
.nl-escalate ol { margin: 0; padding: 0; list-style: none; }
.nl-escalate li { border-radius: 20px; border: 2px solid var(--nl-safe-line); background: #ffffff; color: var(--nl-ink); padding: 18px; display: flex; flex-direction: column; gap: 8px; animation: nl-glow 10s ease-in-out infinite; }
.nl-escalate li:nth-child(2) { animation-delay: 2s; } .nl-escalate li:nth-child(3) { animation-delay: 4s; }
.nl-escalate li:nth-child(4) { animation-delay: 6s; } .nl-escalate li:nth-child(5) { animation-delay: 8s; }
.nl-escalate__when { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--nl-safe-ink); }
.nl-escalate__when::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fde68a; }
.nl-escalate__what { font-size: 15px; line-height: 1.5; }
.nl-sos { width: 52px; height: 52px; border-radius: 50%; background: #dc2626; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; animation: nl-count 1s ease-in-out infinite; }

/* ---------- story, faq, founders, closing band ---------- */

.nl-story { border-radius: var(--nl-radius-l); background: var(--nl-night); color: #ffffff; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.nl-story__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.nl-story__kicker { font-size: 14px; font-weight: 800; color: #86efac; }
.nl-story__text p { font-size: 18px; line-height: 1.7; color: var(--nl-night-text); }
.nl-story__line { flex: 0 1 280px; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nl-story__line li { padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); font-size: 15px; animation: nl-pop 7s ease-out infinite; }
.nl-story__line li:nth-child(2) { background: rgba(74, 222, 128, 0.14); color: #bbf7d0; animation-delay: .8s; }
.nl-story__line li:nth-child(3) { background: rgba(233, 69, 96, 0.22); color: var(--nl-pink-text); animation-delay: 1.6s; }
.nl-story__line li:nth-child(4) { background: #ffffff; color: var(--nl-ink); font-weight: 700; animation-delay: 2.4s; }

.nl-faq { display: flex; flex-direction: column; gap: 14px; }
.nl-faq details { background: #ffffff; border: 1px solid var(--nl-line); border-radius: 18px; padding: 0 22px; }
.nl-faq summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding-block: 12px; font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; }
.nl-faq summary::-webkit-details-marker { display: none; }
.nl-faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-inline-end: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); margin-inline-start: auto; transition: transform .2s ease; }
.nl-faq details[open] summary::after { transform: rotate(-135deg); }
.nl-faq .nl-faq__a { padding-bottom: 20px; font-size: 16px; line-height: 1.65; color: var(--nl-ink-2); }
.nl-faq .nl-faq__a p + p { margin-top: 10px; }
.nl-faq-group + .nl-faq-group { margin-top: 48px; }

.nl-founders { border-radius: var(--nl-radius-l); background: linear-gradient(90deg, #fff7e0, #ffeac2); border: 1px solid #ffe3b3; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.nl-founders__icon { flex: 0 0 88px; height: 88px; border-radius: 28px; background: #ffffff; color: #b45309; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -10px rgba(180, 83, 9, 0.45); }
.nl-founders__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.nl-founders h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; color: #7c2d12; }
.nl-founders p { font-size: 18px; }
.nl-founders .nl-more { color: #9a3412; font-size: 15px; }

.nl-band { background: var(--nl-night); color: #ffffff; padding-block: clamp(56px, 6vw, 80px); }
.nl-band .nl-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.nl-band h2 { font-size: clamp(28px, 3vw, 40px); }
.nl-final { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.nl-final h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.12; }

.nl-story--photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "media text" "media line"; gap: 24px 48px; align-items: start; }
.nl-story--photo .nl-story__media { grid-area: media; margin: 0; border-radius: 24px; overflow: hidden; align-self: stretch; min-height: 320px; background: var(--nl-night-2); }
.nl-story--photo .nl-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nl-story--photo .nl-story__text { grid-area: text; }
.nl-story--photo .nl-story__line { grid-area: line; flex-direction: row; flex-wrap: wrap; }
.nl-story--photo .nl-story__line li { font-size: 14px; padding: 10px 14px; }
@media (max-width: 860px) {
    .nl-story--photo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "text" "line"; }
    /* No min-height here: with a fixed aspect ratio it would force the width past the column. */
    .nl-story--photo .nl-story__media { min-height: 0; width: 100%; aspect-ratio: 3 / 2; }
}

.nl-section--photo { background: linear-gradient(rgba(26, 26, 46, 0.80), rgba(26, 26, 46, 0.90)), var(--nl-photo) center / cover no-repeat, var(--nl-night); color: #ffffff; }
.nl-pagehead__photo { margin: 0; flex: 1 1 380px; min-width: 0; border-radius: var(--nl-radius-l); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--nl-shadow-lift); }
.nl-pagehead__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nl-videophone { width: min(320px, 100%); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 40px; background: #0f172a; padding: 10px; box-shadow: 0 40px 70px -30px rgba(15, 23, 42, 0.55); }
.nl-videophone video { width: 100%; height: 100%; border-radius: 30px; object-fit: cover; background: #000000; display: block; }

.nl-vthumb { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 20px; border: 1px solid var(--nl-line-2); background: #ffffff; color: var(--nl-ink); font: inherit; text-align: start; cursor: pointer; box-shadow: 0 10px 28px -14px rgba(15, 23, 42, 0.45); transition: transform .15s ease, box-shadow .15s ease; }
[dir="rtl"] .nl-vthumb { padding: 8px 8px 8px 16px; }
.nl-vthumb:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(15, 23, 42, 0.5); }
.nl-vthumb__img { position: relative; flex: 0 0 auto; width: 54px; height: 96px; border-radius: 12px; overflow: hidden; background: #0f172a; }
.nl-vthumb__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nl-vthumb__play { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; border-radius: 50%; background: rgba(199, 44, 72, 0.92); color: #ffffff; display: flex; align-items: center; justify-content: center; animation: nl-vpulse 2.4s ease-out infinite; }
.nl-vthumb__text { display: flex; flex-direction: column; gap: 2px; }
.nl-vthumb__text b { font-size: 15px; line-height: 1.3; }
.nl-vthumb__text small { font-size: 13px; color: var(--nl-ink-3); }
.nl-vthumb--dark { align-self: flex-start; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #ffffff; box-shadow: none; }
.nl-vthumb--dark .nl-vthumb__text small { color: var(--nl-night-text); }
.nl-visual-wrap { position: relative; display: flex; justify-content: center; }
.nl-visual-wrap .nl-vthumb--float { position: absolute; bottom: 4%; inset-inline-start: -4%; z-index: 2; }
@media (max-width: 760px) {
    .nl-visual-wrap { flex-direction: column; align-items: center; gap: 18px; }
    .nl-visual-wrap .nl-vthumb--float { position: static; }
}
@keyframes nl-vpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

.nl-vmodal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.nl-vmodal::backdrop { background: rgba(10, 12, 24, 0.82); }
.nl-vmodal__box { position: relative; width: min(360px, 88vw); }
.nl-vmodal .nl-videophone { width: 100%; max-height: 82vh; aspect-ratio: 9 / 16; }
.nl-vmodal__close { position: absolute; top: -14px; inset-inline-end: -14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #ffffff; color: var(--nl-ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5); }
.nl-vmodal__note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--nl-night-text); }

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

.nl-footer { background: var(--nl-night-2); color: var(--nl-night-text); padding-block: 48px 32px; font-size: 15px; }
.nl-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.nl-footer h2 { font-size: 14px; font-weight: 800; color: #ffffff; margin-bottom: 12px; text-transform: none; }
.nl-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nl-footer a { color: var(--nl-night-text); text-decoration: none; display: inline-block; padding: 6px 0; }
.nl-footer a:hover { color: #ffffff; text-decoration: underline; }
.nl-footer__resp { margin-top: 36px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; line-height: 1.6; color: var(--nl-night-text); }
.nl-footer__bottom { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--nl-muted); }
.nl-footer__bottom a { padding: 0; }

/* ---------- cookie notice and accessibility panel ---------- */

.nl-cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin-inline: auto; display: none; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: #ffffff; color: var(--nl-ink); box-shadow: 0 20px 50px -14px rgba(15, 23, 42, 0.45); font-size: 14px; }
.nl-cookie.is-visible { display: flex; }
.nl-cookie p { flex: 1; }
.nl-cookie .nl-btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

.nl-a11y-btn { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 65; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #1d4ed8; color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(29, 78, 216, 0.6); }
.nl-a11y { position: fixed; inset-inline-start: 16px; bottom: 76px; z-index: 66; width: 280px; border-radius: 20px; background: #ffffff; color: var(--nl-ink); box-shadow: 0 24px 60px -14px rgba(15, 23, 42, 0.5); padding: 16px; display: none; }
.nl-a11y.is-open { display: block; }
.nl-a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.nl-a11y__head h2 { font-size: 17px; }
.nl-a11y__close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f5f9; font-size: 20px; cursor: pointer; }
.nl-a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nl-a11y__opt { min-height: 64px; border-radius: 14px; border: 1px solid var(--nl-line-2); background: #ffffff; font: 600 13px var(--nl-font); color: var(--nl-ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nl-a11y__opt[aria-pressed="true"] { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }
.nl-a11y__opt b { font-size: 16px; }
.nl-a11y__reset { grid-column: 1 / -1; min-height: 44px; }

html.a11y-contrast { filter: contrast(1.35); }
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-contrast.a11y-grayscale { filter: contrast(1.35) grayscale(1); }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html.a11y-font-1 { font-size: 112.5%; } html.a11y-font-1 body { font-size: 19px; }
html.a11y-font-2 { font-size: 125%; } html.a11y-font-2 body { font-size: 21px; }
.nl-reading-guide { position: fixed; left: 0; right: 0; height: 12px; background: rgba(250, 204, 21, 0.35); pointer-events: none; z-index: 80; display: none; }
html.a11y-guide .nl-reading-guide { display: block; }

/* ---------- reveal on scroll ---------- */

.nl-js .nl-reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.nl-js .nl-reveal-up.is-in { opacity: 1; transform: none; }

/* ---------- legacy page bodies (faq, contact, partners, invite, legal) ---------- */

.page-header { background: var(--nl-surface); padding-block: clamp(40px, 6vw, 72px); text-align: center; }
.page-header h1 { font-size: clamp(32px, 4.2vw, 52px); }
.page-header p { margin-top: 12px; font-size: 18px; color: var(--nl-ink-2); }
.container { max-width: var(--nl-container); margin: 0 auto; padding-inline: var(--nl-gutter); }
.section { padding-block: clamp(48px, 6vw, 80px); }
.legal-content { max-width: 860px; margin: 0 auto; padding-block: clamp(40px, 5vw, 72px); font-size: 17px; line-height: 1.7; }
.legal-content h2 { font-size: 26px; margin: 40px 0 14px; }
.legal-content h3 { font-size: 20px; margin: 28px 0 10px; }
.legal-content p, .legal-content ul, .legal-content ol { margin: 0 0 14px; color: #334155; }
.legal-content ul, .legal-content ol { padding-inline-start: 24px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { word-break: break-word; }
.last-updated { font-size: 14px; color: var(--nl-ink-3); }
.fade-in { opacity: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 700 16px var(--nl-font); text-decoration: none; cursor: pointer; background: var(--nl-brand-strong); color: #ffffff; }
.btn:hover { background: var(--nl-brand-deep); color: #ffffff; }
.contact-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; }
.contact-info, .contact-form { background: #ffffff; border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 28px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--nl-brand-soft); color: var(--nl-brand-strong); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-weight: 700; font-size: 15px; }
.form-group input, .form-group select, .form-group textarea { font: 16px var(--nl-font); padding: 12px 14px; border-radius: 12px; border: 1px solid #cbd5e1; background: #ffffff; color: var(--nl-ink); width: 100%; }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 3px solid rgba(37, 99, 235, 0.35); border-color: #2563eb; }
.form-message { padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600; }
.form-message.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-message.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cta-section { background: var(--nl-night); color: #ffffff; padding-block: clamp(56px, 6vw, 80px); text-align: center; }
.cta-section h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.cta-section p { color: var(--nl-night-text); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px; border-radius: 28px; background: var(--nl-brand-strong); color: #ffffff; text-decoration: none; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge-label { font-size: 12px; opacity: .88; }
.store-badge-store { font-size: 18px; font-weight: 800; }
.faq-section .faq-category { margin-bottom: 40px; }
.faq-item { background: #ffffff; border: 1px solid var(--nl-line); border-radius: 18px; margin-bottom: 12px; }
.faq-question { width: 100%; text-align: start; background: none; border: 0; padding: 18px 22px; font: 800 17px var(--nl-font); color: var(--nl-ink); cursor: pointer; }
.faq-answer { display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-answer-inner { padding: 0 22px 20px; color: var(--nl-ink-2); }

/* ---------- keyframes ---------- */

@keyframes nl-spin { to { transform: rotate(360deg); } }
@keyframes nl-blip { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: .3; transform: translate(-50%, -50%) scale(1); } }
@keyframes nl-ripple { 0% { transform: translate(-50%, -50%) scale(.5); opacity: .85; } 100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; } }
@keyframes nl-toast { 0%, 18% { opacity: 0; transform: translateY(18px); } 26%, 72% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes nl-buzz { 0%, 34%, 100% { transform: rotate(0); } 4% { transform: rotate(-4deg); } 8% { transform: rotate(4deg); } 12% { transform: rotate(-3deg); } 16% { transform: rotate(3deg); } 20% { transform: rotate(-2deg); } 24% { transform: rotate(2deg); } 28% { transform: rotate(0); } }
@keyframes nl-pulse { 0%, 30% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 34% { opacity: .9; } 100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }
@keyframes nl-pop { 0%, 8% { opacity: 0; transform: translateY(14px) scale(.92); } 16%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nl-reveal { 0%, 30% { filter: blur(18px); } 48%, 82% { filter: blur(0); } 100% { filter: blur(18px); } }
@keyframes nl-press { 0%, 22% { transform: scale(1); box-shadow: 0 0 0 0 rgba(233, 69, 96, 0); } 27% { transform: scale(.95); } 33% { transform: scale(1); box-shadow: 0 0 0 10px rgba(233, 69, 96, .22); } 45%, 100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0); } }
@keyframes nl-wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes nl-swipe { 0%, 35% { transform: none; opacity: 1; } 55% { transform: translateX(130%) rotate(16deg); opacity: 0; } 56%, 70% { transform: scale(.94); opacity: 0; } 85%, 100% { transform: none; opacity: 1; } }
@keyframes nl-swipe-rtl { 0%, 35% { transform: none; opacity: 1; } 55% { transform: translateX(-130%) rotate(-16deg); opacity: 0; } 56%, 70% { transform: scale(.94); opacity: 0; } 85%, 100% { transform: none; opacity: 1; } }
@keyframes nl-like { 0%, 22% { transform: scale(1); } 28% { transform: scale(.88); } 36% { transform: scale(1.14); } 46%, 100% { transform: scale(1); } }
@keyframes nl-wander { 0% { left: 28%; top: 34%; } 25% { left: 68%; top: 30%; } 50% { left: 64%; top: 70%; } 75% { left: 32%; top: 66%; } 100% { left: 28%; top: 34%; } }
@keyframes nl-missed { 0%, 40% { opacity: 0; } 46% { opacity: 1; } 50% { opacity: .5; } 54% { opacity: 1; } 58% { opacity: .5; } 62%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nl-alert { 0%, 56% { opacity: 0; transform: translateY(16px); } 63%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes nl-glow { 0% { background: #ffffff; border-color: var(--nl-safe-line); } 3%, 18% { background: #fff7ed; border-color: #f59e0b; box-shadow: 0 8px 22px -12px rgba(217, 119, 6, .6); } 22%, 100% { background: #ffffff; border-color: var(--nl-safe-line); box-shadow: none; } }
@keyframes nl-count { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .nl-js .nl-reveal-up { opacity: 1; transform: none; }
}

/* --- Plans (/plans, only while PAID_PLANS_LIVE is on) --- */
.nl-note--safe { background: var(--nl-safe-bg); border-color: var(--nl-safe-line); color: var(--nl-safe-ink); font-weight: 600; }
.nl-plans__scroll { overflow-x: auto; border-radius: var(--nl-radius); border: 1px solid var(--nl-line-2); background: #ffffff; }
.nl-plans__scroll:focus-visible { outline: 3px solid var(--nl-brand); outline-offset: 2px; }
.nl-plans { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.nl-plans th, .nl-plans td { padding: 14px 16px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--nl-line); }
.nl-plans tbody tr:last-child th, .nl-plans tbody tr:last-child td { border-bottom: 0; }
.nl-plans thead th { font-size: 17px; font-weight: 800; color: var(--nl-ink); background: var(--nl-surface-2); }
.nl-plans thead td { background: var(--nl-surface-2); }
.nl-plans thead .nl-plans__paid { color: var(--nl-brand-strong); }
.nl-plans tbody th { font-weight: 600; color: var(--nl-ink); width: 34%; }
.nl-plans tbody td { color: var(--nl-ink-2); width: 22%; }
.nl-plans__open { color: var(--nl-chat-ink); font-weight: 700; }
.nl-plans__yes { color: var(--nl-chat-ink); display: inline-flex; }
.nl-plans__no { color: var(--nl-ink-3); }
.nl-plans__foot { font-size: 14px; line-height: 1.6; color: var(--nl-ink-3); margin: 0; }
/* Centred headings on /plans (Nir, 2026-10-15): the page head, the section titles, the plan columns
   (names and values together, so they line up) and the closing band. Row names and lists stay at the start. */
.nl-plans-head { text-align: center; align-items: center; }
.nl-plans thead th, .nl-plans tbody td { text-align: center; }
.nl-band--center .nl-container { flex-direction: column; justify-content: center; text-align: center; }
/* On a phone all three plans must stay in view, in every language (Russian and Ukrainian have
   words too long for four narrow columns): each row becomes its name on a line of its own, with the
   three plans side by side under it. The template carries ARIA table roles, so a screen reader keeps
   the table when display changes. */
@media (max-width: 560px) {
    .nl-plans { min-width: 0; font-size: 13px; }
    .nl-plans, .nl-plans thead, .nl-plans tbody { display: block; }
    /* The empty corner keeps a zero-width column, so every row still has four cells for a screen reader. */
    /* Free gets a little more room: its values ("2 hours a day") and its name are the longest. */
    .nl-plans tr { display: grid; grid-template-columns: 0 minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
    .nl-plans thead td { padding: 0; overflow: hidden; }
    .nl-plans th, .nl-plans td { padding: 10px 5px; overflow-wrap: break-word; hyphens: auto; }
    .nl-plans thead th { font-size: 14px; }
    .nl-plans tbody th { grid-column: 1 / -1; width: auto; padding: 12px 10px 0; border-bottom: 0; }
    .nl-plans tbody td { width: auto; padding-top: 6px; }
    .nl-plans tbody td:nth-of-type(1) { grid-column: 2; }
    .nl-plans tbody td:nth-of-type(2) { grid-column: 3; }
    .nl-plans tbody td:nth-of-type(3) { grid-column: 4; }
    .nl-plans tbody td:nth-of-type(1), .nl-plans thead th:nth-of-type(1) { padding-inline-start: 10px; }
}

/* --- Radar night (RADAR_NIGHT_LIVE): the founders block in night colours --- */
.nl-rn { background: linear-gradient(90deg, var(--nl-night), var(--nl-night-3)); border-color: var(--nl-night-line); }
.nl-rn .nl-founders__icon { background: var(--nl-night-2); color: var(--nl-brand); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6); }
.nl-rn h2 { color: #ffffff; }
.nl-rn p { color: var(--nl-night-text); }
.nl-rn .nl-more { color: var(--nl-pink-text); }

/* --- Admin preview link (includes/preview.php): a bar no visitor ever sees --- */
.nl-preview-bar { background: #fef3c7; border-bottom: 1px solid #fcd34d; color: #78350f; padding: 10px 16px; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 2px; text-align: center; }

/* --- The question of the day (DAILY_QUESTION_LIVE): the text beside a real question from the app --- */
.nl-dq { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.nl-dq__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nl-dq__text h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; }
.nl-dq__text p { font-size: 18px; line-height: 1.6; color: var(--nl-ink-2); }
.nl-dq__card { flex: 1 1 320px; min-width: 0; margin: 0; background: #ffffff; border: 1px solid var(--nl-line-2); border-radius: var(--nl-radius); padding: 24px; box-shadow: 0 12px 30px -18px rgba(30, 41, 59, 0.35); }
.nl-dq__label { font-size: 13px; font-weight: 700; color: var(--nl-brand-strong); text-transform: none; }
.nl-dq__q { font-size: 20px; font-weight: 800; color: var(--nl-ink); margin: 8px 0 14px; line-height: 1.35; }
.nl-dq__opts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nl-dq__opts li { border: 1px solid var(--nl-line-2); border-radius: 14px; padding: 10px 14px; font-size: 15px; color: var(--nl-ink-2); background: var(--nl-surface-2); }
