/* =====================================================================
   QuickPaste article + guide styles (loaded after style.css and blog.css)
   Each article sets its own --a-rgb accent on <body>.
   ===================================================================== */

/* ---------- Reading progress ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1300; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, rgb(var(--a-rgb, 115, 103, 240)), #fff); box-shadow: 0 0 12px rgba(var(--a-rgb, 115, 103, 240), 0.8); }

/* ---------- Hero (shared) ---------- */
.art-hero {

    position: relative; overflow: hidden;
    padding: 132px 1.5rem 3.4rem;
    border-bottom: 1px solid rgba(var(--a-rgb), 0.4);
    background:
        radial-gradient(75% 130% at 12% 0%, rgba(var(--a-rgb), 0.45), transparent 62%),
        radial-gradient(55% 100% at 100% 100%, rgba(var(--a-rgb), 0.2), transparent 70%),
        #050507;
}
.art-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px);
    background-size: 20px 20px;
    -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 65%);
            mask-image: linear-gradient(120deg, #000 0%, transparent 65%);
}
.art-hero-inner { position: relative; max-width: 1160px; margin: 0 auto; }
.art-hero .breadcrumbs { margin-bottom: 1.3rem; }
.art-hero .article-cat {
    color: #fff; background: rgba(0, 0, 0, 0.45); border-color: rgba(var(--a-rgb), 0.85);
    margin-bottom: 1.1rem;
}
.art-hero h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.1rem;
}
.art-hero .article-lede { max-width: 700px; }
.art-hero .article-meta { border-bottom: 0; padding-bottom: 0; }
.hero-text { position: relative; z-index: 2; max-width: 780px; }

.hero-art { position: relative; }
.ha-icon {
    display: grid; place-items: center; width: 120px; height: 120px; border-radius: 34px; font-size: 3.6rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(var(--a-rgb), 0.55);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ha-num {
    font-weight: 800; line-height: 1; letter-spacing: -0.05em;
    color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
}

/* -- variant: split (text left, big art card right) -- */
.hv-split .art-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: center; }
.hv-split .hero-art {
    height: 340px; border-radius: 40px; overflow: hidden;
    background: radial-gradient(90% 90% at 20% 15%, rgba(var(--a-rgb), 0.75), rgba(var(--a-rgb), 0.12) 60%), #0d0d12;
    border: 1px solid rgba(var(--a-rgb), 0.7);
    box-shadow: 0 30px 80px -20px rgba(var(--a-rgb), 0.6);
}
.hv-split .hero-art::before {
    content: ""; position: absolute; width: 360px; height: 360px; right: -110px; bottom: -150px; border-radius: 50%;
    background: rgba(var(--a-rgb), 0.18); border: 1px solid rgba(var(--a-rgb), 0.8);
    box-shadow: 0 0 0 40px rgba(var(--a-rgb), 0.1), 0 0 0 84px rgba(var(--a-rgb), 0.06);
}
.hv-split .ha-icon { position: absolute; left: 32px; top: 32px; width: 150px; height: 150px; font-size: 4.6rem; border-radius: 42px; }
.hv-split .ha-num { position: absolute; right: 28px; bottom: 14px; font-size: 7rem; }

/* -- variant: banner (wide art strip above the title) -- */
.hv-banner .art-hero-inner { display: flex; flex-direction: column; }
.hv-banner .hero-art {
    order: -1; display: flex; align-items: center; justify-content: space-between;
    height: 130px; padding: 0 2rem; margin-bottom: 2rem; border-radius: 28px; overflow: hidden;
    background: linear-gradient(100deg, rgba(var(--a-rgb), 0.85), rgba(var(--a-rgb), 0.18) 60%, rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(var(--a-rgb), 0.8);
    box-shadow: 0 24px 60px -24px rgba(var(--a-rgb), 0.7);
}
.hv-banner .hero-art::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 22px);
    background-size: 22px 100%; opacity: 0.5; pointer-events: none;
}
.hv-banner .ha-icon { width: 86px; height: 86px; font-size: 2.7rem; border-radius: 26px; position: relative; z-index: 1; }
.hv-banner .ha-num { font-size: 5.4rem; position: relative; z-index: 1; }

/* -- variant: stat (giant ghost number behind the title) -- */
.hv-stat .art-hero-inner { min-height: 250px; }
.hv-stat .hero-art { position: absolute; right: 0; top: -20px; bottom: 0; display: flex; align-items: center; z-index: 1; pointer-events: none; }
.hv-stat .ha-num { font-size: clamp(9rem, 24vw, 19rem); -webkit-text-stroke: 2px rgba(var(--a-rgb), 0.75); opacity: 0.85; }
.hv-stat .ha-icon { position: absolute; right: 12%; bottom: 8px; width: 96px; height: 96px; font-size: 3rem; border-radius: 28px; }
.hv-stat .hero-text { max-width: 700px; }

/* -- variant: center -- */
.hv-center { text-align: center; }
.hv-center .art-hero-inner { display: flex; flex-direction: column; align-items: center; }
.hv-center .hero-art { order: -1; margin: 1.6rem 0 4rem; }
.hv-center .hero-art::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%); border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(var(--a-rgb), 0.16), 0 0 0 50px rgba(var(--a-rgb), 0.09), 0 0 0 80px rgba(var(--a-rgb), 0.05);
}
.hv-center .ha-num { display: none; }
.hv-center .hero-text { display: flex; flex-direction: column; align-items: center; }
.hv-center .breadcrumbs ol, .hv-center .article-meta { justify-content: center; }
.hv-center .article-lede { margin-left: auto; margin-right: auto; }

/* ---------- Article shell: left sidebar + content ---------- */
.article-shell {
    max-width: 1160px; margin: 0 auto; padding: 2.8rem 1.5rem 0;
    display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3.2rem; align-items: start;
}
.article-main { min-width: 0; max-width: 740px; }

.side { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 0.3rem; scrollbar-width: thin; }
.side-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 0.9rem; }
.side-toc { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(255, 255, 255, 0.1); }
.side-toc li { margin: 0; }
.side-toc a {
    display: block; padding: 0.42rem 0.9rem; margin-left: -2px; border-left: 2px solid transparent;
    font-size: 0.9rem; line-height: 1.4; color: #a1a1aa; text-decoration: none; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.side-toc a:hover { color: #fff; }
.side-toc a.is-active { color: #fff; font-weight: 600; border-left-color: rgb(var(--a-rgb)); background: linear-gradient(90deg, rgba(var(--a-rgb), 0.16), transparent); }

.side-card {
    margin-top: 1.8rem; padding: 1.15rem; border-radius: 16px;
    background: linear-gradient(160deg, rgba(var(--a-rgb), 0.22), rgba(18, 18, 22, 0.95) 70%);
    border: 1px solid rgba(var(--a-rgb), 0.55);
}
.side-card strong { display: block; color: #fff; font-size: 0.98rem; margin-bottom: 0.35rem; }
.side-card span { display: block; font-size: 0.83rem; line-height: 1.5; color: #b5b5bf; margin-bottom: 0.9rem; }
.side-card a { display: block; text-align: center; padding: 0.6rem 0.8rem; border-radius: 10px; background: rgb(var(--a-rgb)); color: #fff; font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.side-card a:hover { filter: brightness(1.12); }

/* ---------- Accent-coloured body ---------- */

.article-main .tldr {
    margin-top: 0; background: linear-gradient(160deg, rgba(var(--a-rgb), 0.2), rgba(20, 20, 23, 0.92));
    border-color: rgba(var(--a-rgb), 0.55);
}
.article-main .tldr h2 { color: color-mix(in srgb, rgb(var(--a-rgb)) 55%, #fff); }
.article-main .article-body h2 { display: flex; align-items: baseline; gap: 0.75rem; }
.article-main .article-body h2::before {
    content: ""; flex: none; width: 8px; height: 0.95em; border-radius: 4px; transform: translateY(0.12em);
    background: linear-gradient(180deg, rgb(var(--a-rgb)), rgba(var(--a-rgb), 0.3));
}
.article-main .article-body a { color: color-mix(in srgb, rgb(var(--a-rgb)) 50%, #fff); text-decoration-color: rgba(var(--a-rgb), 0.5); }
.article-main .article-body a:hover { color: #fff; }
.article-main .article-body li::marker { color: rgb(var(--a-rgb)); }
.article-main .article-body blockquote { border-left-color: rgb(var(--a-rgb)); }
.article-main .article-body .hl, .article-main .article-body tr.hl-row td { background: rgba(var(--a-rgb), 0.13); }
.article-main .article-body th.hl { color: color-mix(in srgb, rgb(var(--a-rgb)) 55%, #fff); }
.article-main .callout { border-left-color: rgb(var(--a-rgb)); background: rgba(var(--a-rgb), 0.07); }
.article-main .callout.disclosure { border-left-color: #eab308; background: rgba(234, 179, 8, 0.07); }
.article-main .table-wrap { border-color: rgba(var(--a-rgb), 0.3); }
.article-main .qp-cta {
    background: radial-gradient(circle at 50% 0%, rgba(var(--a-rgb), 0.32), rgba(20, 20, 23, 0.95) 65%);
    border-color: rgba(var(--a-rgb), 0.6); box-shadow: 0 0 46px rgba(var(--a-rgb), 0.2);
}
.article-main .qp-cta-badge { color: color-mix(in srgb, rgb(var(--a-rgb)) 55%, #fff); }
.article-main .faq-item[open] { border-color: rgba(var(--a-rgb), 0.6); }
.article-main .author-avatar { background: rgb(var(--a-rgb)); }

/* ---------- 3-button download group ---------- */
.get-block { display: flex; flex-direction: column; align-items: center; gap: 0.95rem; }
.get-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.btn-get {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.5rem; border-radius: 12px;
    font-size: 1rem; font-weight: 650; color: #fff; text-decoration: none; white-space: nowrap;
    background: #141418; border: 1px solid #34343e; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-get svg { width: 20px; height: 20px; flex: none; }
.btn-get:hover { transform: translateY(-2px); border-color: rgba(115, 103, 240, 0.85); background: #1c1c24; }
.btn-get-primary { background: var(--theme-accent); border-color: var(--theme-accent); box-shadow: 0 8px 28px rgba(115, 103, 240, 0.4); }
.btn-get-primary:hover { background: #8479f7; border-color: #8479f7; }
.btn-get[hidden] { display: none !important; }
.get-note { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin: 0; font-size: 0.86rem !important; line-height: 1.4; color: var(--text-secondary); text-align: center; }
.get-note svg { width: 15px; height: 15px; flex: none; opacity: 0.85; }
.get-block.hero-get { margin-top: 0.4rem; }
.get-block.hero-get .btn-get { padding: 1rem 1.7rem; }
.qp-cta .get-block { margin-top: 0.2rem; }
.qp-cta .get-note { color: #b5b5bf; }

/* ---------- Blog index: golden guide banner ---------- */
.guide-banner {
    display: flex; align-items: center; gap: 1.6rem; margin: 0 0 2.4rem; padding: 1.6rem 1.9rem; border-radius: 22px;
    text-decoration: none; color: inherit; position: relative; overflow: hidden;
    background: radial-gradient(90% 200% at 0% 50%, rgba(245, 183, 49, 0.3), transparent 60%), linear-gradient(180deg, #1c1707, #0f0d05);
    border: 1px solid rgba(245, 183, 49, 0.7);
    box-shadow: 0 0 0 4px rgba(245, 183, 49, 0.06), 0 30px 70px -30px rgba(245, 183, 49, 0.55);
    transition: transform 0.25s ease;
}
.guide-banner:hover { transform: translateY(-4px); }
.guide-banner[hidden] { display: none !important; }
.gb-icon {
    flex: none; width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; font-size: 2.9rem;
    background: linear-gradient(145deg, #fde68a, #f59e0b 60%, #b45309);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.gb-copy { flex: 1; min-width: 0; }
.gb-kicker { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #fbbf24; margin-bottom: 0.4rem; }
.gb-copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4rem; color: #fff8e1; }
.gb-copy p { font-size: 1rem; line-height: 1.55; color: #cbbf9a; margin: 0; }
.gb-go { flex: none; padding: 0.75rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; color: #1a1200; background: linear-gradient(135deg, #fde68a, #f59e0b); white-space: nowrap; }

/* =====================================================================
   THE GOLDEN GUIDE PAGE  (body.guide-page)
   ===================================================================== */
.guide-page { --a-rgb: 245, 183, 49; --gold: #f5b731; --gold-light: #fde68a; --gold-dark: #b45309; }
.guide-page .art-hero {
    background:
        radial-gradient(80% 140% at 10% 0%, rgba(245, 183, 49, 0.42), transparent 62%),
        radial-gradient(50% 100% at 100% 100%, rgba(217, 119, 6, 0.25), transparent 70%), #070502;
    border-bottom-color: rgba(245, 183, 49, 0.55);
}
.guide-page .article-cat { border-color: rgba(245, 183, 49, 0.9); color: var(--gold-light); }
.gold-text { background: linear-gradient(135deg, #fff3c4 0%, #f5b731 50%, #d97706 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guide-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.gbadge { font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(245, 183, 49, 0.5); color: var(--gold-light); background: rgba(245, 183, 49, 0.1); }
.gbadge.free { border-color: rgba(52, 211, 153, 0.5); color: #6ee7b7; background: rgba(16, 185, 129, 0.1); }
.gbadge.pro { border-color: transparent; color: #1a1200; background: linear-gradient(135deg, #fde68a, #f59e0b); }

.guide-page .side-toc a.is-active { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(245, 183, 49, 0.18), transparent); }
.guide-page .side-card { background: linear-gradient(160deg, rgba(245, 183, 49, 0.24), rgba(18, 16, 8, 0.95) 70%); border-color: rgba(245, 183, 49, 0.6); }
.guide-page .side-card a { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #1a1200; }

.g-card {
    scroll-margin-top: 100px; margin: 0 0 1.6rem; padding: 1.8rem 1.9rem; border-radius: 22px;
    background: linear-gradient(180deg, #17140a 0%, #0e0c06 100%);
    border: 1px solid rgba(245, 183, 49, 0.28);
    box-shadow: 0 1px 0 rgba(255, 236, 170, 0.08) inset, 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}
.g-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.2rem; }
.g-icon {
    flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #1a1200;
    background: linear-gradient(145deg, #fde68a, #f59e0b 65%, #b45309); box-shadow: 0 10px 26px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.g-head h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: #fff8e1; }
.g-head .g-tag { display: block; font-size: 0.95rem; color: #cbbf9a; margin-top: 0.2rem; }
.g-body p { font-size: 1.04rem; line-height: 1.75; color: #ddd6c0; margin: 0 0 1rem; }
.g-tips { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; display: grid; gap: 0.5rem; }
.g-tips li { position: relative; padding-left: 1.8rem; color: #e9e2cc; font-size: 0.98rem; line-height: 1.5; }
.g-tips li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; color: #1a1200; background: var(--gold); }
.g-more { display: inline-block; margin-bottom: 1.2rem; color: var(--gold-light); font-weight: 600; font-size: 0.95rem; }

.g-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.g-plan { padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid; }
.g-plan .lbl { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem; }
.g-plan p { margin: 0 !important; font-size: 0.97rem !important; line-height: 1.55 !important; }
.g-plan.free { background: rgba(16, 185, 129, 0.07); border-color: rgba(52, 211, 153, 0.35); }
.g-plan.free .lbl { color: #6ee7b7; background: rgba(16, 185, 129, 0.16); }
.g-plan.free p { color: #cfeadf !important; }
.g-plan.pro { background: linear-gradient(160deg, rgba(245, 183, 49, 0.2), rgba(245, 183, 49, 0.05)); border-color: rgba(245, 183, 49, 0.6); }
.g-plan.pro .lbl { color: #1a1200; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.g-plan.pro p { color: #fdf3d0 !important; }

.g-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.8rem; }
.g-step { padding: 1.2rem; border-radius: 18px; background: linear-gradient(180deg, #1b170a, #0f0d06); border: 1px solid rgba(245, 183, 49, 0.35); }
.g-step b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 0.7rem; font-size: 0.95rem; color: #1a1200; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.g-step strong { display: block; color: #fff8e1; font-size: 1.02rem; margin-bottom: 0.25rem; }
.g-step span { font-size: 0.9rem; line-height: 1.5; color: #cbbf9a; }

.guide-page .g-table-wrap { border: 1px solid rgba(245, 183, 49, 0.4); border-radius: 18px; overflow-x: auto; background: #0f0d06; margin: 1.4rem 0 0; }
.guide-page .g-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.guide-page .g-table th { text-align: left; padding: 0.9rem 1.1rem; font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-light); border-bottom: 1px solid rgba(245, 183, 49, 0.35); }
.guide-page .g-table td { padding: 0.8rem 1.1rem; color: #e6dfc8; vertical-align: top; line-height: 1.45; }
.guide-page .g-table tbody tr:not(:last-child) td { border-bottom: 1px solid rgba(255, 236, 170, 0.08); }
.guide-page .g-table td:first-child { color: #fff8e1; font-weight: 600; }
.guide-page .g-table td:last-child { color: var(--gold-light); font-weight: 600; }
.guide-page .article-main .qp-cta, .guide-page .qp-cta { background: radial-gradient(circle at 50% 0%, rgba(245, 183, 49, 0.3), #100d05 68%); border-color: rgba(245, 183, 49, 0.65); box-shadow: 0 0 46px rgba(245, 183, 49, 0.18); }
.guide-page .qp-cta-badge { color: var(--gold-light); }
.guide-page .faq-item[open] { border-color: rgba(245, 183, 49, 0.6); }
.guide-page .article-main .article-faq h2 { color: #fff8e1; }
.guide-page .breadcrumbs [aria-current] { color: var(--gold-light); }

/* =====================================================================
   HOMEPAGE GUIDE SECTION  (matches the site's purple theme)
   ===================================================================== */
.guide-home .hg-head { text-align: center; margin-bottom: 3rem; }
.guide-home .hg-head p { max-width: 640px; margin: 0.6rem auto 0; color: var(--text-secondary); font-size: 1.08rem; }
.hg-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.6rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.hg-tabs { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.7rem; border-radius: 18px; background: var(--app-card); border: 1px solid var(--border-color); position: sticky; top: 100px; }
.hg-tab {
    display: flex; align-items: center; gap: 0.7rem; width: 100%; padding: 0.65rem 0.8rem; border-radius: 11px; cursor: pointer;
    font: inherit; font-size: 0.93rem; font-weight: 600; text-align: left; color: #a1a1aa; background: transparent; border: 1px solid transparent; transition: all 0.2s ease;
}
.hg-tab .hg-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 0.95rem; background: #1b1b21; }
.hg-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.hg-tab.is-on { color: #fff; background: linear-gradient(90deg, rgba(115, 103, 240, 0.32), rgba(115, 103, 240, 0.1)); border-color: rgba(115, 103, 240, 0.65); }
.hg-tab.is-on .hg-ic { background: var(--theme-accent); }

.hg-panel {
    padding: 2rem 2.1rem; border-radius: 22px; min-height: 420px;
    background: radial-gradient(90% 60% at 0% 0%, rgba(115, 103, 240, 0.16), transparent 70%), linear-gradient(180deg, #16161b, #101014);
    border: 1px solid rgba(115, 103, 240, 0.4);
    box-shadow: 0 30px 70px -40px rgba(115, 103, 240, 0.6);
}
.hg-panel[hidden] { display: none !important; }
.hg-phead { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.hg-pic { flex: none; width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; background: linear-gradient(145deg, #8b80f8, #5b4fe0); box-shadow: 0 12px 28px rgba(115, 103, 240, 0.45); }
.hg-panel h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: #fff; }
.hg-tag { display: block; color: #a5a5b0; font-size: 0.95rem; margin-top: 0.15rem; }
.hg-panel p { font-size: 1.02rem; line-height: 1.7; color: #cfcfd8; margin: 0 0 0.9rem; }
.hg-tips { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; gap: 0.45rem; }
.hg-tips li { position: relative; padding-left: 1.7rem; color: #e4e4ea; font-size: 0.96rem; line-height: 1.5; }
.hg-tips li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: #fff; background: var(--theme-accent); }
.hg-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.hg-plan { padding: 1rem 1.1rem; border-radius: 15px; border: 1px solid var(--border-color); background: #121216; }
.hg-plan .lbl { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; padding: 0.22rem 0.65rem; border-radius: 999px; margin-bottom: 0.55rem; color: #cfcfd8; background: #23232a; }
.hg-plan p { margin: 0 !important; font-size: 0.95rem !important; line-height: 1.5 !important; }
.hg-plan.pro { border-color: rgba(115, 103, 240, 0.7); background: linear-gradient(160deg, rgba(115, 103, 240, 0.24), rgba(115, 103, 240, 0.06)); }
.hg-plan.pro .lbl { color: #fff; background: var(--theme-accent); }
.hg-more { display: inline-block; margin: 0.2rem 0 1rem; color: #a59dff; font-weight: 600; text-decoration: none; }
.hg-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: 14px; margin-top: 0.8rem; }
.hg-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 460px; }
.hg-table th { text-align: left; padding: 0.7rem 0.9rem; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); }
.hg-table td { padding: 0.6rem 0.9rem; color: #d4d4da; vertical-align: top; }
.hg-table tbody tr:not(:last-child) td { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.hg-table td:first-child { color: #fff; font-weight: 600; }
.hg-table td:last-child { color: #a59dff; font-weight: 600; }
.hg-foot { text-align: center; margin-top: 2.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .article-shell { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2rem; }
    .side { position: static; max-height: none; overflow: visible; padding: 1rem 1.1rem; border: 1px solid var(--border-color); border-radius: 16px; background: var(--app-card); }
    .side-card { display: none; }
    .hv-split .art-hero-inner { grid-template-columns: 1fr; }
    .hv-split .hero-art { display: none; }
    .hv-stat .ha-icon { display: none; }
    .hv-stat .hero-art { display: none; }
    .hg-shell { grid-template-columns: 1fr; }
    .hg-tabs { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; padding: 0.5rem; scrollbar-width: thin; }
    .hg-tab { flex: none; width: auto; white-space: nowrap; scroll-snap-align: center; }
}
@media (max-width: 680px) {
    .art-hero { padding: 108px 1.2rem 2.4rem; }
    .hv-banner .hero-art { height: 96px; padding: 0 1.1rem; margin-bottom: 1.4rem; border-radius: 22px; }
    .hv-banner .ha-icon { width: 62px; height: 62px; font-size: 1.9rem; border-radius: 19px; }
    .hv-banner .ha-num { font-size: 3.6rem; }
    .hv-center .ha-icon { width: 92px; height: 92px; font-size: 2.8rem; }
    .g-plans, .hg-plans, .g-quick { grid-template-columns: 1fr; }
    .g-card { padding: 1.3rem 1.2rem; }
    .hg-panel { padding: 1.4rem 1.2rem; min-height: 0; }
    .guide-banner { flex-direction: column; align-items: flex-start; padding: 1.4rem; gap: 1rem; }
    .btn-get { width: 100%; justify-content: center; }
    .get-buttons { width: 100%; }
}

/* golden guide: gold primary button + hero tweaks */
.guide-page .btn-get-primary { background: linear-gradient(135deg, #fde68a, #f59e0b); border-color: transparent; color: #1a1200; box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4); }
.guide-page .btn-get-primary:hover { background: linear-gradient(135deg, #fff1b8, #fbbf24); border-color: transparent; }
.guide-page .btn-get:hover { border-color: rgba(245, 183, 49, 0.85); }
.guide-page .get-note svg { color: #fbbf24; }
.guide-page .art-hero .ha-icon { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 70px rgba(245, 183, 49, 0.6); }
.pricing-final-cta .get-block { width: 100%; }

/* homepage guide: panel stretches to the height of the tab list */
.hg-shell { align-items: stretch; }
.hg-tabs { align-self: start; }
.hg-panels { display: flex; }
.hg-panels .hg-panel { flex: 1; }
.hg-panels .hg-panel[hidden] { display: none !important; }


/* ---------- Screenshots and diagrams inside articles ---------- */
.article-body figure.shot { margin: 1.8rem 0 2rem; }
.article-body figure.shot img { display: block; width: 100%; height: auto; border-radius: 14px; background: #0b0b0e; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 1px rgba(var(--a-rgb, 115, 103, 240), 0.3), 0 24px 50px -24px rgba(0, 0, 0, 0.9); }
.article-body figure.shot figcaption { margin-top: 0.7rem; font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
.article-body .flow { display: flex; align-items: stretch; gap: 0.5rem; margin: 1.8rem 0 2rem; }
.flow-step { flex: 1 1 0; min-width: 0; padding: 0.9rem 0.75rem; text-align: center; border-radius: 12px; background: var(--app-card); border: 1px solid rgba(var(--a-rgb, 115, 103, 240), 0.4); }
.flow-step b { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 0.25rem; }
.flow-step span { display: block; font-size: 0.76rem; line-height: 1.45; color: var(--text-secondary); }
.flow-step.end { background: rgba(var(--a-rgb, 115, 103, 240), 0.14); border-color: rgba(var(--a-rgb, 115, 103, 240), 0.8); }
.article-body .flow > i { align-self: center; font-style: normal; color: rgb(var(--a-rgb, 115, 103, 240)); font-size: 1.2rem; flex: 0 0 auto; }
@media (max-width: 700px) { .article-body .flow { flex-direction: column; } .article-body .flow > i { transform: rotate(90deg); text-align: center; } }

/* flow diagram: keep tokens like AES-256-GCM on one line, tighter steps */
.article-body .flow { gap: 0.3rem; }
.flow-step { padding: 0.8rem 0.45rem; }
.flow-step b { font-size: 0.82rem; word-break: keep-all; overflow-wrap: normal; hyphens: none; }
.flow-step span { font-size: 0.72rem; word-break: normal; overflow-wrap: normal; hyphens: none; }

/* guide screenshots */
.g-shot { margin: 0 0 1.4rem; }
.g-shot img { display: block; width: 100%; height: auto; border-radius: 14px; background: #0b0b0e; border: 1px solid rgba(245, 183, 49, 0.35); box-shadow: 0 0 0 1px rgba(245, 183, 49, 0.12), 0 24px 50px -24px rgba(0, 0, 0, 0.9); }
.g-shot figcaption { margin-top: 0.6rem; font-size: 0.84rem; color: #bfb59a; text-align: center; }
