/* ============================================================
   UCI Kit — Guides section styles
   ------------------------------------------------------------
   Loaded AFTER /store/store.css, which provides the shared
   tokens (:root), nav, buttons, footer, and forms. This file
   only adds article typography + the guide-card grid.
   ============================================================ */

/* ── Guides index: article cards ── */
.guides-intro { max-width: 640px; }
.guides-intro h1 { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.07; text-wrap: balance; }
.guides-intro p { font-size: 16px; color: var(--ink-muted); margin-top: 14px; line-height: 1.65; text-wrap: pretty; }
.guides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.guide-card { border: 1.5px solid var(--border); border-radius: 14px; padding: 26px 26px 24px; background: var(--bg); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.guide-card:hover { border-color: var(--accent); box-shadow: 0 6px 26px oklch(52% .22 255 / .10); transform: translateY(-2px); }
.guide-card-kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.guide-card h2 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.guide-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; margin-top: 10px; flex: 1; }
.guide-card-cta { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ── Article layout ── */
.article { max-width: 720px; }
.article-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.article h1 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.article .article-lede { font-size: 17px; color: var(--ink-muted); margin-top: 16px; line-height: 1.65; text-wrap: pretty; }
.article-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--ink-muted); margin-top: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-body { margin-top: 32px; }
.article-body h2 { font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 44px 0 14px; }
.article-body h3 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin: 30px 0 10px; }
.article-body p { font-size: 15.5px; line-height: 1.75; margin-bottom: 16px; }
.article-body p, .article-body li { color: oklch(28% 0.02 255); }
.article-body strong { color: var(--ink); }
.article-body a:not(.btn) { color: var(--accent); font-weight: 500; }
.article-body a:not(.btn):hover { text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body li { font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; }
.article-body code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13.5px; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px; white-space: nowrap; }

/* Comparison table */
.article-table-wrap { overflow-x: auto; margin: 24px 0; border: 1.5px solid var(--border); border-radius: 12px; }
.article-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.article-table th, .article-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.article-table tr:last-child td { border-bottom: none; }
.article-table th { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .02em; background: var(--surface); white-space: nowrap; }
.article-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.article-table td { color: oklch(32% 0.02 255); }

/* Step blocks (how-to) */
.step { display: flex; gap: 16px; margin: 26px 0; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-bg); color: var(--accent); font-family: var(--display); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.step-body h3 { margin: 0 0 8px; }
.step-body p:last-child { margin-bottom: 0; }

/* Callout note */
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); margin: 24px 0; font-size: 14px; line-height: 1.6; color: oklch(32% 0.02 255); }
.callout svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.callout strong { color: var(--ink); }

/* Inline CTA card */
.article-cta { border: 1.5px solid var(--border); border-radius: 16px; padding: 28px; background: var(--bg); box-shadow: 0 2px 20px oklch(0% 0 0 / .05); margin: 40px 0 8px; }
.article-cta h2 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.article-cta > p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 18px; }
.article-cta .email-form { max-width: 420px; }

@media (max-width: 700px) {
  .guides-grid { grid-template-columns: 1fr; }
}
