/* Just AiDL - content-hub / guide pages. Static article layout.
   Shares tokens from theme-base.css (dark, marigold accent by default). */

.doc { background: var(--ink); min-height: 100vh; }
.gwrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.gwide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- nav (shared look with home) ---- */
.gnav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair-2); }
.gnav-in { max-width: 1100px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gnav .wordmark { display: inline-flex; align-items: center; gap: 9px; }
.gnav .wm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px var(--acc-tint); }
.gnav .wm-name { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; letter-spacing: -0.02em; color: var(--cream); }
.gnav .wm-name .ai { color: var(--acc-text); }
.gnav-links { display: flex; gap: 26px; }
.gnav-links a { font-size: 13.5px; color: var(--dim); transition: color .15s; }
.gnav-links a:hover { color: var(--cream); }

/* ---- breadcrumb ---- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); padding-top: 40px; }
.crumb a { color: var(--dim); transition: color .15s; }
.crumb a:hover { color: var(--acc-text); }
.crumb .material-symbols-outlined { font-size: 16px; }

/* ---- article hero ---- */
.ghero { padding: 26px 0 0; }
.ghero .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc-text); margin-bottom: 18px; }
.ghero .eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--acc-text); opacity: 0.8; }
.ghero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; color: var(--cream); text-wrap: balance; margin-bottom: 20px; }
.ghero .lede { font-size: 19px; line-height: 1.6; color: var(--dim); text-wrap: pretty; }
.gmeta { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hair-2); font-size: 13px; color: var(--faint); }
.gmeta span { display: inline-flex; align-items: center; gap: 7px; }
.gmeta .material-symbols-outlined { font-size: 16px; color: var(--acc-text); }

/* ---- article body ---- */
.article { padding: 48px 0 80px; }
.article h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: var(--cream); margin: 52px 0 16px; line-height: 1.15; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--cream); margin: 32px 0 10px; }
.article p { font-size: 16.5px; line-height: 1.7; color: var(--dim); margin-bottom: 18px; text-wrap: pretty; }
.article p strong, .article li strong { color: var(--cream); font-weight: 600; }
.article a.inline { color: var(--acc-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--acc-line); }
.article a.inline:hover { text-decoration-color: var(--acc-text); }
.article ul.bullets, .article ol.steps-list { margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.article ul.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: var(--dim); }
.article ul.bullets li .material-symbols-outlined { font-size: 20px; color: var(--acc-text); flex-shrink: 0; margin-top: 2px; }
.article ol.steps-list { counter-reset: s; }
.article ol.steps-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: var(--dim); counter-increment: s; }
.article ol.steps-list li::before { content: counter(s); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--acc-text); background: var(--acc-tint); width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- callouts (tip / warning / note) ---- */
.callout { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius-lg); margin: 26px 0; border: 1px solid var(--hair); background: var(--ink-1); }
.callout .material-symbols-outlined { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.callout .co-body { font-size: 15px; line-height: 1.6; color: var(--dim); }
.callout .co-body strong { color: var(--cream); display: block; margin-bottom: 4px; font-weight: 600; }
.callout.tip { border-color: var(--go-tint); } .callout.tip .material-symbols-outlined { color: var(--go); }
.callout.warn { border-color: var(--stop-tint); } .callout.warn .material-symbols-outlined { color: var(--stop); }
.callout.note .material-symbols-outlined { color: var(--acc-text); }

/* ---- checklist card ---- */
.checklist { background: var(--ink-1); border: 1px solid var(--hair); border-radius: var(--radius-xl); padding: 28px 30px; margin: 30px 0; }
.checklist h3 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--cream); display: flex; align-items: center; gap: 10px; }
.checklist h3 .material-symbols-outlined { color: var(--acc-text); }
.checklist ul { display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--dim); }
.checklist li .material-symbols-outlined { font-size: 20px; color: var(--go); flex-shrink: 0; }

/* ---- comparison / do-dont grid ---- */
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.dd-col { border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 22px 24px; }
.dd-col h4 { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.dd-col ul { display: flex; flex-direction: column; gap: 11px; }
.dd-col li { font-size: 14.5px; line-height: 1.5; color: var(--dim); display: flex; gap: 9px; align-items: flex-start; }
.dd-col li .material-symbols-outlined { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.dd-do { border-color: var(--go-tint); } .dd-do h4 { color: var(--go); } .dd-do li .material-symbols-outlined { color: var(--go); }
.dd-dont { border-color: var(--stop-tint); } .dd-dont h4 { color: var(--stop); } .dd-dont li .material-symbols-outlined { color: var(--stop); }

/* ---- key-fact / stat strip ---- */
.gkv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair-2); border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden; margin: 30px 0; }
.gkv-cell { background: var(--ink-1); padding: 22px 24px; }
.gkv-cell .k { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--acc-text); }
.gkv-cell .v { font-size: 13.5px; color: var(--dim); line-height: 1.45; margin-top: 6px; }

/* ---- pull box (e.g. pricing) ---- */
.pricebox { background: var(--ink-1); border: 1px solid var(--hair); border-radius: var(--radius-xl); padding: 24px 26px; margin: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pricebox .pb-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--cream); }
.pricebox .pb-desc { font-size: 14px; color: var(--dim); margin-top: 4px; }
.pricebox .pb-price { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--acc-text); white-space: nowrap; }

/* ---- related guides ---- */
.related { border-top: 1px solid var(--hair-2); padding: 44px 0; }
.related h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--cream); margin-bottom: 22px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel { display: block; background: var(--ink-1); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 20px 22px; transition: border-color .15s, transform .15s; }
.rel:hover { border-color: var(--acc-line); transform: translateY(-2px); }
.rel .material-symbols-outlined { font-size: 20px; color: var(--acc-text); margin-bottom: 12px; display: block; }
.rel h3 { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--cream); margin-bottom: 6px; line-height: 1.25; }
.rel p { font-size: 13px; line-height: 1.45; color: var(--dim); }

/* ---- CTA band ---- */
.gcta { border-top: 1px solid var(--hair-2); padding: 60px 0; }
.gcta-card { background: var(--ink-1); border: 1px solid var(--hair); border-radius: var(--radius-2xl); padding: 44px 48px; text-align: center; }
.gcta-card .eyebrow { justify-content: center; display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc-text); margin-bottom: 16px; }
.gcta-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; color: var(--cream); margin-bottom: 12px; text-wrap: balance; }
.gcta-card p { font-size: 16px; line-height: 1.6; color: var(--dim); max-width: 54ch; margin: 0 auto 26px; }
.gcta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- footer (compact) ---- */
.gfoot { border-top: 1px solid var(--hair-2); padding: 30px 0; }
.gfoot-in { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.gfoot small { font-size: 12.5px; color: var(--faint); }
.gfoot a { font-size: 13px; color: var(--dim); }
.gfoot a:hover { color: var(--acc-text); }

@media (max-width: 820px) {
  .rel-grid { grid-template-columns: 1fr; }
  .dd, .gkv { grid-template-columns: 1fr; }
  .gnav-links { display: none; }
  .gcta-card { padding: 32px 24px; }
}
