/* Components from the current Hub Cases how-to article template. */
    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; color: #0f172a; }
    h1, h2, h3 { font-family: 'DM Sans', sans-serif; letter-spacing: -0.02em; }

    /* Article typography */
    .article-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
    .article-wrap h1 {
      font-size: 36px; font-weight: 700; line-height: 1.15; margin: 0 0 20px;
    }
    @media (min-width: 768px) {
      .article-wrap h1 { font-size: 48px; }
    }
    .article-wrap .lead { font-size: 19px; line-height: 1.55; color: #475569; margin: 0 0 28px; }
    .article-wrap h2 {
      font-size: 28px; font-weight: 700; line-height: 1.2;
      margin: 56px 0 18px; scroll-margin-top: 80px;
    }
    .article-wrap h3 {
      font-size: 22px; font-weight: 700; line-height: 1.3;
      margin: 36px 0 12px;
    }
    .article-wrap p { font-size: 17px; line-height: 1.7; color: #0f172a; margin: 0 0 16px; }
    .article-wrap ul { font-size: 17px; line-height: 1.7; padding-left: 22px; margin: 0 0 20px; }
    .article-wrap ul li { margin-bottom: 8px; }
    .article-wrap a { color: #ea580c; text-decoration: none; border-bottom: 1px solid rgba(234,88,12,.3); transition: border-color .15s; }
    .article-wrap a:hover { border-bottom-color: #ea580c; }
    .article-wrap strong { font-weight: 700; }

    /* Code-блок промптов */
    .prompt-block {
      position: relative;
      background: #0f172a; color: #f1f5f9;
      border-radius: 12px;
      padding: 20px 60px 20px 22px;
      margin: 14px 0 24px;
      font-family: 'SF Mono', Menlo, Consolas, monospace;
      font-size: 14px;
      line-height: 1.65;
      overflow-x: hidden;
      white-space: pre-wrap;
      word-wrap: break-word;
      overflow-wrap: anywhere;
    }
    .prompt-block pre,
    .prompt-block code {
      white-space: pre-wrap;
      overflow-wrap: anywhere;
      word-break: break-word;
      max-width: 100%;
    }
    .prompt-copy {
      position: absolute;
      top: 12px; right: 12px;
      width: 36px; height: 36px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      color: #cbd5e1;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background .15s, color .15s, border-color .15s;
      padding: 0;
    }
    .prompt-copy:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.25); }
    .prompt-copy svg { width: 16px; height: 16px; pointer-events: none; }
    .prompt-copy.copied {
      background: #16a34a; border-color: #16a34a; color: #fff;
    }
    .prompt-copy.copied .icon-default { display: none; }
    .prompt-copy:not(.copied) .icon-done { display: none; }
    .prompt-result { font-size: 16px; color: #475569; font-style: italic; margin: 0 0 16px; }

    /* CTA */
    .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
    .article-wrap a.cta-primary {
      display: inline-block;
      padding: 14px 28px;
      background: #ea580c;
      color: #ffffff !important;
      border-radius: 9999px;
      font-weight: 600; font-size: 16px;
      border: none !important;
      text-decoration: none;
      transition: background .15s;
    }
    .article-wrap a.cta-primary:hover { background: #c2410c; }
    .article-wrap a.cta-secondary {
      display: inline-block;
      padding: 14px 28px;
      background: transparent;
      color: #0f172a !important;
      border: 1px solid #cbd5e1 !important;
      border-radius: 9999px;
      font-weight: 500; font-size: 16px;
      text-decoration: none;
      transition: border-color .15s;
    }
    .article-wrap a.cta-secondary:hover { border-color: #64748b !important; }

    /* Eyebrow */
    .eyebrow {
      display: inline-block;
      padding: 5px 12px;
      background: #fff7ed; color: #c2410c;
      border-radius: 9999px;
      font-size: 12.5px; font-weight: 600;
      letter-spacing: 0.04em; text-transform: uppercase;
      margin-bottom: 18px;
    }


    /* Header tweaks for article */
    .header-nav-link { font-size: 14px; color: #475569; }
    .header-nav-link:hover { color: #0f172a; }
    @media (max-width: 720px) { .hdr-secondary { display: none !important; } }


    .hero-demo-window {
      position: relative;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      box-shadow: 0 12px 36px -16px rgba(15,23,42,.18), 0 2px 8px -4px rgba(15,23,42,.06);
      overflow: hidden;
      height: 420px;
      display: flex; flex-direction: column;
    }
    @media (max-width: 540px) {
      .hero-demo-window { height: 380px; border-radius: 14px; }
    }
    .hero-demo-titlebar {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 14px;
      background: #f8fafc;
      border-bottom: 1px solid #eef2f6;
      flex-shrink: 0;
    }

    /* ============ HERO SPLIT (текст + фирменная иллюстрация) ============ */
    .hero-band {
      background: linear-gradient(180deg, #fff7ed 0%, #fffaf3 60%, #ffffff 100%);
    }
    .hero-band__inner {
      max-width: 1080px; margin: 0 auto; padding: 56px 24px 48px;
      display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
    }
    @media (min-width: 900px) {
      .hero-band__inner { grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding: 72px 24px 64px; }
    }
    .hero-copy .eyebrow { margin-bottom: 18px; }
    .hero-copy h1 {
      font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
      margin: 0 0 18px; color: #0f172a;
    }
    @media (min-width: 768px) { .hero-copy h1 { font-size: 46px; } }
    .hero-copy .lead {
      font-size: 18px; line-height: 1.6; color: #475569; margin: 0 0 26px; max-width: 560px;
    }
    .hero-copy .cta-row { margin: 0; }
    /* Кнопки hero - дублируем стиль, т.к. .article-wrap a.cta-* сюда не достаёт */
    .hero-band a.cta-primary {
      display: inline-block; padding: 14px 28px;
      background: #ea580c; color: #ffffff !important;
      border-radius: 9999px; font-weight: 600; font-size: 16px;
      border: none; text-decoration: none; transition: background .15s;
    }
    .hero-band a.cta-primary:hover { background: #c2410c; }
    .hero-band a.cta-secondary {
      display: inline-block; padding: 14px 28px;
      background: #ffffff; color: #0f172a !important;
      border-radius: 9999px; font-weight: 500; font-size: 16px;
      text-decoration: none; box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 6px 16px -10px rgba(15,23,42,0.18);
      transition: box-shadow .15s, transform .15s;
    }
    .hero-band a.cta-secondary:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(15,23,42,0.08), 0 10px 22px -12px rgba(15,23,42,0.24); }

    .tips-grid { display: grid; gap: 16px; margin-top: 8px; }
    @media (min-width: 640px) { .tips-grid { grid-template-columns: 1fr 1fr 1fr; } }
    .tip-card { background: #fff7ed; border-radius: 14px; padding: 20px 22px; }
    .tip-card .tip-num { font-weight: 700; color: #ea580c; font-size: 14px; margin-bottom: 6px; }
    .tip-card p { margin: 0; }
