/* ============================================================
   Argento SEO — blog + help styles (loaded after /assets/site.css)
   Used by /blog/index.html, every /blog/<slug>/index.html and /help.html
   ============================================================ */

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 13px; color: #a8a2c0; margin-bottom: 18px; }
.crumbs a { color: #d4cfe6; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin: 0 6px; }

/* ---------- blog hero ---------- */
.blog-hero { padding: 56px 0 60px; }
.blog-hero .kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v3); margin-bottom: 12px; }
.blog-hero h1 { max-width: 820px; }
.blog-hero p.dek { font-size: 18px; color: #d4cfe6; max-width: 720px; }
.meta-line { margin-top: 20px; font-size: 14px; color: #a8a2c0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.meta-line strong { color: #ece8f8; font-weight: 600; }

/* ---------- article layout ---------- */
.post-wrap { max-width: 1080px; margin: 0 auto; padding: 48px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; }
.post-body { min-width: 0; max-width: 740px; }
.post-body > * + * { margin-top: 18px; }
.post-body p, .post-body li { font-size: 17px; line-height: 1.75; color: var(--body); }
.post-body h2 { margin-top: 48px; font-size: clamp(22px, 2.6vw, 28px); scroll-margin-top: 96px; }
.post-body h3 { margin-top: 30px; font-size: 19px; scroll-margin-top: 96px; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li + li { margin-top: 8px; }
.post-body a { color: var(--v1); text-decoration: underline; text-underline-offset: 2px; }
.post-body a.btn { text-decoration: none; }
.post-body a.btn-primary, .post-body a.btn-primary:hover { color: #fff; }
.post-body strong { color: var(--ink); }
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: #f3f0fb; padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.post-body blockquote { border-left: 3px solid var(--v2); padding: 4px 0 4px 18px; color: var(--ink-soft); font-style: italic; }

.answer { background: #f6f1ff; border: 1px solid #ddd0fb; border-radius: 12px; padding: 20px 22px; }
.answer .label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v1); margin-bottom: 6px; }
.answer p { margin: 0; }
.takeaways { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; background: var(--bg); }
.takeaways h2 { margin: 0 0 10px; font-size: 18px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.post-body th { background: var(--bg); color: var(--ink); font-weight: 650; }

/* FAQ (articles + help) */
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 650; color: var(--ink); position: relative; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--v1); }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul, .faq details ol { padding-bottom: 14px; margin: 0; font-size: 15.5px; }
.faq details ul, .faq details ol { padding-left: 22px; }
.faq details li { font-size: 15.5px; margin-bottom: 6px; }

/* CTA */
.cta-box { background: var(--night); color: #d4cfe6; border-radius: 14px; padding: 30px 28px; margin-top: 44px;
  background-image: radial-gradient(420px 220px at 100% 0%, rgba(168,85,247,.32) 0%, transparent 68%); }
.cta-box h2 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.cta-box p { color: #d4cfe6; font-size: 16px; }
.cta-box .btn { margin-top: 16px; }

/* sidebar TOC */
.toc { position: sticky; top: 104px; align-self: start; font-size: 14px; }
.toc .toc-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc li a:hover { color: var(--ink); border-left-color: var(--v1); }
.toc .toc-cta { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--bg); }
.toc .toc-cta p { font-size: 13px; color: var(--body); margin-bottom: 10px; }

.related { border-top: 1px solid var(--line); margin-top: 40px; }
.related h2 { margin-bottom: 18px; }

/* ---------- index / cards ---------- */
.post-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.post-card:hover { border-color: var(--v1); box-shadow: 0 10px 30px rgba(124,58,237,.10); transform: translateY(-2px); }
.post-card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: #6d28d9; background: linear-gradient(135deg, rgba(168,85,247,.14), rgba(124,58,237,.12)); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.post-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.post-card p { font-size: 14px; color: var(--muted); flex: 1; }
.post-card .date { font-size: 13px; color: #9aa0b3; margin-top: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.topics a { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; }
.topics a:hover { border-color: var(--v1); color: #6d28d9; }
.cluster { padding: 48px 0 8px; scroll-margin-top: 90px; }
.cluster + .cluster { border-top: 1px solid var(--line); }
.cluster .lede { margin-bottom: 22px; }

/* ---------- help center ---------- */
.help-search { margin-top: 26px; max-width: 560px; position: relative; }
.help-search input { margin: 0; padding: 15px 18px 15px 46px; font-size: 16px; border-radius: 12px; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.help-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: #9aa0b3; fill: none; stroke-width: 2; }
.help-cats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.help-cats a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.help-cats a:hover { border-color: var(--v1); box-shadow: 0 10px 30px rgba(124,58,237,.08); }
.help-cats b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.help-cats span { font-size: 13px; color: var(--muted); }
.help-sec { padding: 40px 0 8px; scroll-margin-top: 90px; }
.help-sec + .help-sec { border-top: 1px solid var(--line); }
.help-sec h2 { margin-bottom: 16px; }
.help-empty { display: none; padding: 30px 0; color: var(--muted); }

@media (max-width: 900px) { .post-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 32px; } .toc { display: none; } }
@media (max-width: 640px) { .post-body p, .post-body li { font-size: 16px; } .blog-hero { padding: 44px 0 46px; } .blog-hero p.dek { font-size: 16px; } .cta-box { padding: 24px 20px; } }
