/* ============================================================
   HostMyBlog — inner pages (agencies · blog · post · archive ·
   legal · 404). Builds on styles.css + components.css tokens.
   ============================================================ */

/* ---- generic inner-page hero ---- */
.page-hero { padding-top: clamp(120px, 16vh, 172px); padding-bottom: clamp(34px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .hero-glow { opacity: 0.14; }
.page-hero--center { text-align: center; }
.page-hero--center .section-head { margin-inline: auto; }
.page-hero .h1 { margin-top: 20px; }
.page-hero .lead { margin-top: 24px; max-width: 56ch; }
.page-hero--center .lead { margin-inline: auto; }

.crumbs { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.02em; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); transition: color 0.18s var(--ease); }
.crumbs a:hover { color: var(--coral); }
.crumbs .sep { opacity: 0.5; }
.crumbs .here { color: var(--ink-soft); }

/* ============================================================
   BLOG — featured + cards
   ============================================================ */
.cover { position: relative; display: grid; place-items: center; background: var(--grad-soft); overflow: hidden; }
.cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 100% 0%, rgba(227,154,43,0.10), transparent 60%); }
.cover .cover-tile { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 20px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-card); }
.cover .cover-tile .ic { font-size: 2.1rem; }
.cover .cover-watermark { position: absolute; right: -6%; bottom: -16%; font-size: 12rem; opacity: 0.07; color: var(--ink); z-index: 0; }
.cover.c-ai .cover-tile .ic { color: var(--violet); }
.cover.c-seo .cover-tile .ic { color: #0c7a55; }
.cover.c-perf .cover-tile .ic { color: var(--coral-deep); }
.cover.c-sec .cover-tile .ic { color: var(--blue); }
.cover.c-host .cover-tile .ic { color: #a9760a; }
.cover.c-growth .cover-tile .ic { color: var(--pink); }

.cat { display: inline-flex; align-self: flex-start; align-items: center; gap: 0.45em; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; padding: 0.4em 0.75em; border-radius: 999px; }
.cat.c-ai { background: var(--violet-12); color: #A83112; }
.cat.c-seo { background: var(--teal-12); color: #0c7a55; }
.cat.c-perf { background: var(--coral-12); color: var(--coral-deep); }
.cat.c-sec { background: var(--blue-12); color: var(--blue); }
.cat.c-host { background: var(--gold-12); color: #a9760a; }
.cat.c-growth { background: var(--pink-12); color: #C0431A; }

.post-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); flex-wrap: wrap; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: 0.6; }

/* featured */
.featured { display: grid; grid-template-columns: 1.12fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 8px; transition: box-shadow 0.2s var(--ease); }
.featured:hover { box-shadow: var(--shadow-card); }
.featured__media { min-height: 340px; }
.featured__body { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured__body h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.featured__body p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; max-width: 46ch; }
.featured__foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; }

/* card grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.post-card__media { aspect-ratio: 16 / 10; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card h3 { font-size: 1.28rem; line-height: 1.18; }
.post-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.post-card__foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line-2); }

.byline { display: inline-flex; align-items: center; gap: 10px; }
.byline .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; flex-shrink: 0; }
.byline .avatar.a-aditya { background: linear-gradient(135deg, #F07A2A, #FB6A24); }
.byline b { color: var(--ink); font-size: 0.86rem; display: block; line-height: 1.2; }
.byline span { color: var(--muted); font-size: 0.74rem; font-family: var(--font-mono); }

/* category filter chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; padding: 0.55em 1em; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-soft); background: var(--card); cursor: pointer; transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============================================================
   ARCHIVE — list view + search
   ============================================================ */
.arch-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.search-box .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.1rem; }
.search-box input { width: 100%; font-family: var(--font-sans); font-size: 0.96rem; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 13px 18px 13px 44px; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.search-box input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-12); }

.arch-list { margin-top: 34px; border-top: 1px solid var(--line); }
.arch-year { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); padding: 32px 0 8px; }
.arch-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line-2); transition: background 0.18s var(--ease), padding 0.18s var(--ease); border-radius: 12px; }
.arch-row:hover { background: var(--paper); padding-inline: 18px; }
.arch-row .a-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.arch-row .a-title { display: flex; flex-direction: column; gap: 6px; }
.arch-row .a-title h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; color: var(--ink); line-height: 1.25; }
.arch-row .a-title .row-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.arch-row .a-read { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.arch-row .a-read .ic { color: var(--coral); }
.arch-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.arch-empty.show { display: block; }

/* ============================================================
   POST — reading template
   ============================================================ */
.article { padding-bottom: clamp(48px, 7vw, 96px); }
.article-head { max-width: 760px; margin-inline: auto; text-align: center; padding-top: clamp(118px, 15vh, 160px); }
.article-head .h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: 20px; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.article-meta .byline .avatar { width: 40px; height: 40px; font-size: 1rem; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: 0.5; }
.article-meta .m-item { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.article-meta .m-item .ic { color: var(--coral); font-size: 1rem; }

.article-cover { max-width: 1000px; margin: clamp(32px, 4vw, 52px) auto 0; aspect-ratio: 21 / 9; border-radius: 24px; border: 1px solid var(--line); }

.prose { max-width: 720px; margin: clamp(40px, 5vw, 64px) auto 0; }
.prose > * + * { margin-top: 1.15em; }
.prose p, .prose li { font-size: 1.16rem; line-height: 1.78; color: var(--ink-soft); }
.prose .lead-para { font-size: 1.3rem; line-height: 1.65; color: var(--ink); }
.prose h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); margin-top: 1.7em; }
.prose h3 { font-size: 1.32rem; font-family: var(--font-display); margin-top: 1.4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--coral); }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 0.6em; padding-left: 0; }
.prose ul li { list-style: none; position: relative; padding-left: 1.7em; }
.prose ul li::before { content: ""; position: absolute; left: 0.2em; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.prose ol { counter-reset: li; }
.prose ol li { list-style: none; position: relative; padding-left: 2em; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0.05em; font-family: var(--font-mono); font-size: 0.85em; font-weight: 600; color: var(--coral-deep); }
.prose blockquote { border-left: 3px solid var(--coral); padding: 4px 0 4px 24px; margin-left: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.4; color: var(--ink); font-style: italic; }
.prose hr { border: none; border-top: 1px solid var(--line); margin-block: 2em; }
.prose figure { margin: 1.6em 0; }
.prose .img-ph { aspect-ratio: 16/9; border-radius: var(--radius); border: 1px solid var(--line); background: var(--grad-soft); }
.prose figcaption { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 10px; }

.callout { display: flex; gap: 16px; background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-block: 1.6em; }
.callout .ic { color: var(--violet); font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.callout h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--ink); }
.callout p { font-size: 1rem !important; line-height: 1.6 !important; color: var(--ink-soft); margin-top: 4px; }

.share-row { max-width: 720px; margin: 44px auto 0; display: flex; align-items: center; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share-row span { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.share-row .links { display: flex; gap: 10px; }
.share-row a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); font-size: 1.1rem; transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease); }
.share-row a:hover { border-color: var(--ink); color: var(--ink); }

.author-card { max-width: 720px; margin: 44px auto 0; display: flex; gap: 20px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.author-card .avatar { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.author-card .avatar.a-aditya { background: linear-gradient(135deg, #F07A2A, #FB6A24); }
.author-card .role { font-family: var(--font-mono); font-size: 0.74rem; color: var(--coral-deep); letter-spacing: 0.03em; text-transform: uppercase; margin-top: 3px; }
.author-card p { color: var(--ink-soft); font-size: 0.96rem; margin-top: 12px; line-height: 1.55; }

.related { margin-top: 8px; }

/* ---- standfirst + dates (E-E-A-T meta) ---- */
.article-standfirst { max-width: 680px; margin: 20px auto 0; font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.5; color: var(--ink-soft); font-family: var(--font-display); font-weight: 400; }
.article-dates { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 14px; margin-top: 22px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.article-dates b { color: var(--ink-soft); font-weight: 600; }
.article-dates .ad-item { display: inline-flex; align-items: center; gap: 6px; }
.article-dates .ad-item .ic { font-size: 1em; }
.article-dates .ad-updated { color: var(--coral-deep); }
.article-dates .ad-updated b { color: var(--coral-deep); }
.article-dates .ad-reviewed .ic { color: var(--teal); }
.article-dates .ad-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: 0.5; }

/* ---- post tags ---- */
.post-tags { max-width: 720px; margin: 46px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post-tags .pt-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.post-tags a { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); padding: 0.4em 0.85em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); transition: border-color 0.18s var(--ease), color 0.18s var(--ease); }
.post-tags a:hover { border-color: var(--ink); color: var(--ink); }

/* ---- E-E-A-T author box ---- */
.author-card .ac-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.author-card h3 { margin-top: 4px; }
.author-card .ac-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.author-card .ac-cred { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); padding: 0.42em 0.8em; border-radius: 999px; background: var(--bg); }
.author-card .ac-cred .ic { font-size: 1.05em; }
.author-card .ac-cred.t-violet .ic { color: var(--violet); }
.author-card .ac-cred.t-teal .ic { color: #0c7a55; }
.author-card .ac-cred.t-coral .ic { color: var(--coral-deep); }
.author-card .ac-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; align-items: center; }
.author-card .ac-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; font-weight: 500; color: var(--coral-deep); }
.author-card .ac-links a:hover { color: var(--coral); }
.author-card .ac-links a .ic { font-size: 1.05em; }

/* ---- comments ---- */
.comments { max-width: 720px; margin: 54px auto 0; padding-top: 36px; border-top: 1px solid var(--line); }
.comments-head { display: flex; align-items: baseline; gap: 10px; }
.comments-head h2 { font-size: 1.5rem; }
.comments-head .c-count { font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); }
.comment-form { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.comment-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-form input, .comment-form textarea { width: 100%; font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.comment-form textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-12); }
.comment-form input::placeholder, .comment-form textarea::placeholder { color: #aaa3b3; }
.comment-form .cf-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.comment-form .cf-note { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--muted); }
.comment-form .cf-note .ic { color: var(--teal); }
.comment-list { margin-top: 30px; display: flex; flex-direction: column; gap: 24px; }
.comment { display: flex; gap: 14px; }
.comment .c-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.comment .c-avatar.v2 { background: linear-gradient(135deg, #10B981, #F07A2A); }
.comment .c-avatar.v3 { background: linear-gradient(135deg, #E8A317, #FD5A1E); }
.comment .c-main { flex: 1; min-width: 0; }
.comment .c-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.comment .c-name { font-weight: 600; color: var(--ink); font-size: 0.94rem; }
.comment .c-author-badge { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 0.3em 0.6em; border-radius: 999px; }
.comment .c-time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.comment .c-text { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; margin-top: 6px; }
.comment .c-replies { margin-top: 18px; padding-left: 22px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 480px) { .comment-form .cf-row { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL — TOC + body
   ============================================================ */
.legal-wrap { display: grid; grid-template-columns: 232px 1fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.legal-toc { position: sticky; top: 104px; }
.legal-toc .toc-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc a { display: block; padding: 8px 0 8px 16px; font-size: 0.9rem; color: var(--muted); border-left: 2px solid var(--line); transition: color 0.18s var(--ease), border-color 0.18s var(--ease); }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.is-current { color: var(--ink); border-color: var(--coral); font-weight: 500; }

.legal-body { max-width: 720px; }
.legal-body section { scroll-margin-top: 104px; padding-bottom: 8px; }
.legal-body section + section { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-body h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.legal-body h2 .num { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600; color: var(--coral-deep); }
.legal-body p, .legal-body li { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); }
.legal-body p { margin-top: 14px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body ul { display: flex; flex-direction: column; gap: 0.5em; margin-top: 14px; }
.legal-body ul li { list-style: none; position: relative; padding-left: 1.6em; }
.legal-body ul li::before { content: ""; position: absolute; left: 0.2em; top: 0.66em; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); }
.legal-note { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 40px; }
.legal-note .ic { color: var(--violet); font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.legal-note p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.legal-updated { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-top: 18px; }
.legal-updated .ic { color: var(--coral); }

/* ============================================================
   404
   ============================================================ */
.fof { min-height: 78vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding-top: 90px; }
.fof .inner { position: relative; z-index: 1; max-width: 560px; }
.fof .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(6rem, 22vw, 15rem); line-height: 0.86; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fof h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-top: 12px; }
.fof p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 16px; max-width: 44ch; margin-inline: auto; }
.fof .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.fof .quick { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.fof .quick a { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: border-color 0.18s var(--ease), color 0.18s var(--ease); }
.fof .quick a:hover { border-color: var(--ink); color: var(--ink); }
.fof .quick a .ic { color: var(--coral); }

/* ============================================================
   shared section helpers for inner pages
   ============================================================ */
.mt-band { margin-top: clamp(56px, 7vw, 96px); }
.center-cta { display: flex; justify-content: center; margin-top: 44px; }
.lede-narrow { max-width: 620px; }

/* agency-specific */
.logo-strip { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center; margin-top: 36px; }
.logo-strip span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--muted); opacity: 0.65; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.stat-card .n { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--ink); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.stat-card .k { color: var(--ink-soft); font-size: 0.96rem; margin-top: 12px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step .step-n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--coral-deep); font-weight: 600; letter-spacing: 0.06em; }
.step h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; margin-top: 12px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; line-height: 1.55; }

@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 240px; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
  .stat-row, .step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: 1fr; gap: 8px; padding-block: 16px; }
  .arch-row .a-date { order: -1; }
  .article-cover { aspect-ratio: 16/10; }
}

/* comment cookies consent + checkbox fix */
.comment-form input[type="checkbox"]{width:auto;margin:0;flex-shrink:0;accent-color:var(--coral);}
.comment-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;}
.comment-form .comment-form-cookies-consent input{margin-top:3px;}
.comment-form .comment-form-cookies-consent label{font-size:0.85rem;color:var(--muted);line-height:1.45;margin:0;}

/* inline article meta */
.article-meta{ gap:12px; }
.article-meta .byline b{ display:inline; font-size:0.88rem; }
.article-meta .byline .byline-role{ font-size:0.78rem; }
.article-meta .m-reviewed .ic{ color:var(--teal); }
.article-meta .m-updated .ic{ color:var(--coral); }
