/* Витрина NoName на поддомене (раздел 1.7 плана, docs/98, этап Н1).
   Подключается после site.css: шрифт, цвета, обе темы, кнопки, карточки и сетки — общие с
   основным сайтом. Здесь только то, чего на основном сайте нет: знак и название программы,
   пример «до и после», неактивная кнопка «Скачать». Встроенных стилей в HTML нет (CSP, 14.3). */

/* ---------------------------------------------------------------- Знак и название */
.nn-logo { gap: 10px; color: var(--header-text); text-decoration: none; }
.nn-logo img { height: 34px; width: 34px; }
.nn-word { display: flex; flex-direction: column; line-height: 1.05; }
.nn-word strong { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.nn-word small { font-size: 12px; font-weight: 600; color: var(--color-muted); }
.site-header .nn-word small { color: #5b6b7a; }
.site-footer .nn-logo { color: var(--color-text); }

/* ---------------------------------------------------------------- Первый экран */
.nn-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 0 0 14px; }
.nn-hero-note { margin: 0 0 28px; color: var(--color-muted); font-size: 15px; }

/* Кнопка «Скачать» до выпуска программы: видна, но не нажимается (установщика ещё нет). */
.nn-soon-wrap { display: inline-flex; align-items: center; gap: 10px; }
.btn.nn-soon,
.btn.nn-soon:hover { background: var(--color-surface); color: var(--color-muted); border-color: var(--color-border-strong); opacity: 1; cursor: not-allowed; box-shadow: none; }
[data-theme="dark"] .btn.nn-soon { background: #151a16; border-color: #2a332b; color: #9fab9f; }
.nn-soon-label { margin: 0; }
.price-card-featured .btn.nn-soon { background: transparent; color: var(--card-featured-muted); border-color: rgba(244, 247, 242, 0.25); }

/* ---------------------------------------------------------------- Пример «до и после» */
.nn-example { padding: 8px; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--card-shadow); }
.nn-example-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 16px; border-radius: var(--radius-small); }
.nn-example-row + .nn-example-row { border-top: 1px dashed var(--color-border); border-radius: 0; }
.nn-example-row dt { color: var(--color-muted); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.nn-example-row dd { margin: 0; font-size: 16px; line-height: 1.55; }
.nn-example-row.is-ai { background: var(--color-bg-soft); border-top-color: transparent; }
.nn-example-row.is-done dd { font-weight: 650; }
.nn-tag { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--color-accent-soft); color: var(--color-accent-text); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.86em; font-weight: 700; white-space: nowrap; }
.nn-real { padding: 0 2px; border-bottom: 2px solid var(--color-accent); }
[data-theme="dark"] .nn-tag { background: rgba(166, 227, 90, 0.14); color: var(--color-accent); }

/* ---------------------------------------------------------------- Разделы */
.nn-groups .feature ul { margin: 0; padding: 0 0 0 18px; color: var(--color-muted); font-size: 15px; }
.nn-groups .feature li { margin: 0 0 4px; }
.nn-readable { margin-top: 24px; }
.nn-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.nn-price-sub { margin: -14px 0 18px; color: var(--color-muted); font-size: 15px; }
.price-card-featured .nn-price-sub,
.price-card-featured .price-soon { color: var(--card-featured-muted); }
.nn-limits { max-width: 860px; margin: 0 auto; }
.nn-limits ul { margin: 12px 0 0; padding-left: 20px; }
.nn-limits li { margin: 0 0 6px; }
.nn-download { max-width: 860px; margin: 0 auto; padding: 32px; text-align: center; }
.nn-download .check-list { justify-items: start; max-width: 560px; margin: 24px auto 0; text-align: left; }
.nn-download h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.nn-stub { max-width: 760px; margin: 0 auto; padding: 32px; }
.nn-stub h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); }
.nn-stub p { margin: 0 0 16px; color: var(--color-muted); font-size: 17px; }

/* Четыре карточки: на средней ширине — две в ряд, а не три с одной «сиротой». */
@media (max-width: 1080px) {
  .feature-grid-4.nn-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nn-price-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid-4.nn-four { grid-template-columns: minmax(0, 1fr); }
  .nn-word small { display: none; }
  .nn-example-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .nn-download,
  .nn-stub { padding: 24px 20px; }
}
