  :root {
    --bg:           #0B0805;
    --card:         #120C06;
    --surface:      #0E0A06;
    --flame:        #F0C040;
    --accent:       #E8A81C;
    --wood:         #8A5E05;
    --text:         #F2E7C9;
    --muted:        #B09A6C;
    --dim:          #8C7850;
    --border:       rgba(232,168,28,0.18);
    --border-hover: rgba(232,168,28,0.45);
    --font-display: 'Bitter', Georgia, serif;
    --font-body:    'PT Sans', system-ui, sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
  }

  body::after {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(240,192,64,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .page-wrap {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
  }

  /* Hero */
  .about-hero {
    text-align: center;
    margin-bottom: 64px;
  }

  .about-hero h1 {
    font-family: var(--font-display); letter-spacing: var(--ls-display, .05em);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 900;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .about-hero h1 span { color: var(--flame); }

  .about-hero p {
    font-size: 18px;
    color: var(--muted);
    font-style: italic;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 32px;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #0B0805;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 28px;
    text-decoration: none;
    transition: all 0.2s;
  }

  .hero-cta:hover {
    background: var(--flame);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(240,192,64,0.2);
  }

  /* Блоки */
  .section {
    margin-bottom: 52px;
  }

  .section h2 {
    font-family: var(--font-display); letter-spacing: var(--ls-display, .05em);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }

  .section p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 14px;
  }

  /* Карточки фичей */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
  }

  .feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px;
    transition: border-color 0.2s;
  }

  .feature-card:hover { border-color: var(--border-hover); }

  .feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .feature-title {
    font-family: var(--font-display); letter-spacing: var(--ls-display, .05em);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }

  .feature-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
  }

  /* Цикл виральности */
  .viral-cycle {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .viral-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.4;
  }

  .viral-arrow {
    color: var(--accent);
    font-size: 18px;
    padding: 0 6px;
    flex-shrink: 0;
  }

  /* Стек */
  .stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
  }

  .stack-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .stack-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
  }

  .stack-role {
    font-size: 12px;
    color: var(--dim);
  }

  /* Цитата */
  blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 22px;
    background: var(--surface);
    border-radius: 0 10px 10px 0;
    margin-bottom: 16px;
  }

  blockquote p {
    font-style: italic;
    color: var(--muted);
    margin-bottom: 0;
  }

  @media (max-width: 600px) {
    .page-wrap { padding: 40px 16px 60px; }
    .viral-cycle { gap: 6px; }
    .viral-arrow { display: none; }
  }

  /* ══ Фирменный стиль (07.10) ══ */
  .about-cat {
    width: 132px; height: 120px; margin: 0 auto 26px;
    background: url(/img/px/logoNew.svg) center / contain no-repeat; image-rendering: pixelated;
    filter: drop-shadow(0 0 30px rgba(232,168,28,.25));
  }
  .about-hero p { font-style: normal; color: var(--text-2); }
  .hero-cta { background: var(--key-gold); color: var(--outline); border-radius: 6px; padding: 16px 32px; font-size: 17px;
              border-bottom: 4px solid #6E4E06; box-shadow: inset 0 1px 0 rgba(255,235,190,.4); }
  .hero-cta:hover { background: var(--key-gold); color: var(--outline); transform: none; }
  .section h2 { font-weight: 900; letter-spacing: var(--ls-display, .05em); }
  .section p { color: var(--text-2); }
  .feature-card { border-radius: 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
  .feature-card:hover { border-color: var(--gold-mid); box-shadow: var(--glow); }
  .feature-icon { grid-row: span 2; font-size: 0; margin: 2px 0 0; }
  .feature-icon .px { width: 36px; height: 36px; }
  .feature-title { color: var(--gold); font-weight: 900; }
  .feature-desc { color: var(--text-2); }
  .viral-cycle { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; justify-content: space-between; }
  .viral-step { display: flex; flex-direction: column; align-items: center; gap: 10px; background: none !important; border: 0 !important; color: var(--text); font-size: 14px; }
  .viral-arrow { color: var(--gold-mid); font-family: var(--font-mono); }
  blockquote { border: 0 !important; background: none !important; text-align: center; }
  blockquote p { font: var(--fw-display, 700) 24px var(--font-display) !important; letter-spacing: var(--ls-display, .05em); color: var(--gold) !important; font-style: normal !important; }

  /* «Создай и поделись» ведёт в каталог (21.10) */
  .quote-link { color: inherit; text-decoration: none; border-bottom: 2px dashed rgba(240,192,64,.35); transition: border-color .2s, text-shadow .2s; }
  .quote-link:hover, .quote-link:focus-visible { border-bottom-color: var(--gold); text-shadow: 0 0 18px rgba(240,192,64,.35); }

  /* Финал страницы: консоль «привет кролик» и лампа (21.10) */
  .about-finale { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 44px; }
  .console {
    width: 100%; max-width: 560px; background: #0E0A06; border: 1px solid var(--border-strong, #3a2a12);
    border-radius: 6px; border-bottom: 4px solid #1C1409; overflow: hidden;
    box-shadow: 0 0 0 1px #000, 0 18px 40px rgba(0,0,0,.45), 0 0 46px rgba(232,168,28,.08);
  }
  .console-bar {
    display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1C1409;
    border-bottom: 1px solid #2a1e10; font: 12px var(--font-mono); color: var(--text-3, #8C7850); letter-spacing: .04em;
  }
  .console-bar i { width: 10px; height: 10px; background: #3a2a12; display: block; }   /* квадратные «пиксельные» кнопки */
  .console-bar i:first-child { background: #E8A81C; }
  .console-bar span { margin-left: 8px; }
  .console-body {
    position: relative; padding: 22px 20px 26px; font: 500 18px/1.5 var(--font-mono); color: var(--text);
    background: repeating-linear-gradient(0deg, rgba(240,192,64,.035) 0 2px, transparent 2px 4px);   /* строки развёртки */
  }
  .console-line { display: flex; align-items: center; white-space: nowrap; }
  .console-prompt { color: var(--gold-mid, #E8A81C); margin-right: .6ch; }
  .console-typed {
    display: inline-block; overflow: hidden; width: 13ch; color: var(--gold, #F0C040);
    text-shadow: 0 0 10px rgba(240,192,64,.35);
    animation: consoleType 9s .6s infinite both;   /* набрал — подождал — стёр — набирает снова */
  }
  .console-caret { display: inline-block; width: .6em; height: 1.1em; margin-left: 2px; background: var(--gold, #F0C040);
                   animation: consoleCaret 1s steps(1, end) infinite; }
  @keyframes consoleType {
    0%   { width: 0;    animation-timing-function: steps(13, end); }   /* набор ~2,3 с */
    25%  { width: 13ch; }
    70%  { width: 13ch; animation-timing-function: steps(13, end); }   /* ~4 с на виду, потом стирается */
    82%  { width: 0; }
    100% { width: 0; }                                                 /* пауза перед новым набором */
  }
  @keyframes consoleCaret { 50% { opacity: 0; } }

  .idea-lamp { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .idea-lamp img { display: block; width: 120px; height: auto; filter: drop-shadow(0 0 28px rgba(255,170,40,.35));
                   animation: lampGlow 3.2s ease-in-out infinite; }
  .idea-lamp figcaption { font: 900 22px var(--font-display); letter-spacing: var(--ls-display, .05em); color: var(--gold, #F0C040); text-align: center; }
  @keyframes lampGlow { 0%, 100% { filter: drop-shadow(0 0 22px rgba(255,170,40,.28)); } 50% { filter: drop-shadow(0 0 40px rgba(255,170,40,.5)); } }

  @media (max-width: 600px) {
    .console-body { font-size: 15px; padding: 18px 14px 22px; }
    .idea-lamp img { width: 96px; }
    .idea-lamp figcaption { font-size: 19px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .console-typed, .console-caret, .idea-lamp img { animation: none; }
  }
