/* NLauncher — общий каркас продуктовых страниц (2026-10-01: /hosting, /mods). Токены и шапка — как на главной (home.v1.css),
 * тема — html[data-theme] (ключ nl-site-theme; без ключа — prefers-color-scheme, ставит скрипт в <head>).
 * Версионированный файл: прокси кэширует /assets/* по имени — правки только новым файлом land.v2.css. */
:root {
  --bg: #F5F6F8; --bg-2: #ECEEF2; --surface: #FFFFFF; --surface-2: #F8F9FB; --ink: #0E1116; --ink-2: #454B57; --mute: #6B7280;
  --line: rgba(14,17,22,.1); --line-2: rgba(14,17,22,.18);
  --acc: #2E6CF6; --acc-h: #1F57D6; --acc-ink: #FFFFFF; --acc-soft: rgba(46,108,246,.1); --acc-line: rgba(46,108,246,.35);
  --ok: #15803D; --ok-soft: rgba(21,128,61,.1); --warn: #B45309; --warn-soft: rgba(217,119,6,.12); --bad: #C2410C; --bad-soft: rgba(194,65,12,.1);
  --term: #10141B; --term-2: #171C25; --term-ink: #D7DEEA; --term-mute: #7D8798;
  --stage: url(/assets/home/bg-valley-1600.v1.webp);
  --r-l: 24px; --r: 18px; --r-s: 12px;
  --shadow: 0 1px 2px rgba(14,17,22,.05), 0 18px 40px -26px rgba(14,17,22,.38);
  color-scheme: light;
}
@media (max-width: 900px) { :root { --stage: url(/assets/home/bg-valley-900.v1.webp); } }
html[data-theme="dark"] {
  --bg: #0D0F13; --bg-2: #13161C; --surface: #171A21; --surface-2: #1C2029; --ink: #EDEFF3; --ink-2: #B2B7C2; --mute: #8A91A0;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.17);
  --acc: #5B8CFF; --acc-h: #7AA2FF; --acc-ink: #0B1020; --acc-soft: rgba(91,140,255,.14); --acc-line: rgba(91,140,255,.45);
  --ok: #6FE3A0; --ok-soft: rgba(111,227,160,.12); --warn: #F5B84B; --warn-soft: rgba(245,184,75,.12); --bad: #FF9A6B; --bad-soft: rgba(255,154,107,.12);
  --term: #0A0D12; --term-2: #12161E;
  --stage: url(/assets/home/bg-dusk-1600.v1.webp);
  --shadow: none;
  color-scheme: dark;
}
@media (max-width: 900px) { html[data-theme="dark"] { --stage: url(/assets/home/bg-dusk-900.v1.webp); } }

html, body { margin: 0; padding: 0; background: var(--bg); }
body { color: var(--ink); font-family: Onest, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; }
img, video, canvas { display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-h); }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
button { font: inherit; color: inherit; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.th-d { display: none !important; }
html[data-theme="dark"] .th-l { display: none !important; }
html[data-theme="dark"] .th-d { display: block !important; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.l-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .l-wrap { padding: 0 16px; } }

/* ---------- header (как на главной) ---------- */
.h-top { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .h-top { background: var(--bg); } }
.h-top nav { max-width: 1240px; margin: 0 auto; padding: 11px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.h-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.h-brand:hover { color: var(--ink); }
.h-brand img { width: 32px; height: 32px; border-radius: 9px; }
.h-brand span { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.h-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.h-ibtn { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; padding: 0; font: inherit; }
.h-ibtn:hover { border-color: var(--line-2); color: var(--ink); }
.nl-me { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 5px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; max-width: 180px; }
.nl-me:hover { border-color: var(--line-2); color: var(--ink); }
.nl-me .av { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: #fff; display: grid; place-items: center; font-size: 13px; overflow: hidden; flex: none; }
.nl-me .av img { width: 100%; height: 100%; image-rendering: pixelated; }
.nl-me span:last-child { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .h-top nav { gap: 10px; padding: 10px 16px; }
  .h-top .nlx-bar { order: 3; flex: 1 1 100%; justify-content: center; }
  .h-top .h-dl-top span { display: none; }
}

/* ---------- buttons ---------- */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; font-weight: 700; font-size: 15px;
  padding: 11px 18px; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; white-space: nowrap; text-align: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.l-btn.pri { background: var(--acc); color: var(--acc-ink); }
.l-btn.pri:hover { background: var(--acc-h); color: var(--acc-ink); }
.l-btn.sec { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.l-btn.sec:hover { border-color: var(--ink-2); color: var(--ink); }
.l-btn.lg { font-size: 16.5px; padding: 15px 24px; border-radius: 14px; }
.l-btn.sm { font-size: 13.5px; padding: 8px 13px; border-radius: 10px; }
.l-btn:active { transform: translateY(1px); }
.l-btn svg { flex: none; }
.l-btn[disabled] { opacity: .55; cursor: default; }

/* ---------- sections ---------- */
.l-sec { padding: 104px 0 0; }
.l-head { max-width: 760px; margin: 0 0 40px; }
.l-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.032em; font-weight: 800; text-wrap: balance; }
.l-head p { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 640px; text-wrap: pretty; }
.l-head.c { margin-left: auto; margin-right: auto; text-align: center; }
.l-head.c p { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .l-sec { padding-top: 72px; } .l-head { margin-bottom: 28px; } .l-head p { font-size: 16.5px; } }

/* ---------- segmented controls / chips ---------- */
.l-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg-2); border: 1px solid var(--line); }
.l-seg button { border: 0; background: transparent; padding: 8px 13px; border-radius: 9px; font-weight: 650; font-size: 14px; color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.l-seg button:hover { color: var(--ink); }
.l-seg button[aria-pressed="true"], .l-seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(14,17,22,.08), 0 0 0 1px var(--line); }
html[data-theme="dark"] .l-seg button[aria-pressed="true"], html[data-theme="dark"] .l-seg button[aria-selected="true"] { background: #262B36; box-shadow: none; }
.l-seg .s { font-size: 11.5px; font-weight: 700; color: var(--ok); }
.l-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }

/* ---------- FAQ ---------- */
.l-faq { display: grid; gap: 10px; max-width: 880px; }
.l-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.l-faq details[open] { border-color: var(--line-2); }
.l-faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 16.5px; position: relative; line-height: 1.4; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); transition: transform .2s ease; }
.l-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.l-faq .a { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.6; max-width: 760px; }
.l-faq .a p { margin: 0 0 10px; }
.l-faq .a p:last-child { margin: 0; }

/* ---------- final CTA ---------- */
.l-end { margin-top: 104px; position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--stage) center 62% / cover no-repeat; color: #fff; }
.l-end::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,22,.86) 0%, rgba(8,12,22,.62) 55%, rgba(8,12,22,.25) 100%); }
.l-end .in { position: relative; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.l-end h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; max-width: 620px; }
.l-end p { margin: 12px 0 0; font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; }
.l-end .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.l-end .l-btn.sec { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.l-end .l-btn.sec:hover { background: rgba(255,255,255,.2); }
html[data-theme="dark"] .l-end .l-btn.pri { color: #0B1020; }
@media (max-width: 760px) { .l-end .in { padding: 36px 22px; } .l-end .acts, .l-end .l-btn { width: 100%; } }

/* ---------- SEO-блоки внутри страницы ---------- */
.l-seo { padding-top: 72px; }
.l-seo .seo { max-width: none; padding-left: 0; padding-right: 0; --s-ink: var(--ink); --s-ink2: var(--ink-2); --s-mute: var(--mute); --s-card: var(--surface); --s-line: var(--line); --s-acc: var(--acc); --s-acc-soft: var(--acc-soft); }
.l-seo .seo:first-child { padding-top: 0; }
.l-seo .seo-k { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; color: var(--mute); }
.l-seo .seo h2 { font-weight: 760; letter-spacing: -.024em; }

/* ---------- footer (как на главной) ---------- */
.h-foot { margin-top: 88px; border-top: 1px solid var(--line); padding: 56px 0 30px; color: var(--ink-2); font-size: 14.5px; }
.h-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.h-foot h3 { margin: 0 0 14px; font-size: 13px; font-weight: 650; color: var(--mute); }
.h-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.h-foot a { color: var(--ink-2); }
.h-foot a:hover { color: var(--acc); }
.h-foot p { margin: 12px 0 0; max-width: 320px; line-height: 1.55; }
.h-foot-bot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; font-size: 13px; color: var(--mute); }
.h-foot-bot a { color: var(--mute); }
.h-social { display: flex; flex-wrap: wrap; gap: 8px; }
.h-social a { padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; }
@media (max-width: 860px) { .h-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-foot-grid > :first-child { grid-column: 1 / -1; } }
