/* Guide pages: same materials as the landing (landing.css), reading layout. */

body[data-page^="guide"], body[data-page="guides"] { background: var(--l-bg); color: var(--l-ink); letter-spacing: -0.011em; }

.g-main { max-width: 1120px; margin: 0 auto; padding: 104px var(--l-gutter) 64px; }

.g-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--l-ink-45); }
.g-crumbs a { color: var(--l-ink-60); text-decoration: none; }
.g-crumbs a:hover { color: var(--l-ink); }

.g-head { max-width: 760px; margin: 28px 0 48px; display: flex; flex-direction: column; gap: 18px; }
.g-display { align-items: flex-start; font-size: 40px; }
.g-lede { font-size: 19px; line-height: 29px; color: var(--l-ink-90); text-wrap: pretty; }
.g-meta { font-size: 13px; color: var(--l-ink-45); }
.g-meta a { color: inherit; }

.g-layout { display: grid; gap: 48px; }
.g-body { max-width: 680px; }
.g-body section + section { margin-top: 40px; }
.g-body h2 { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 12px; }
.g-body p, .g-body li { font-size: 17px; line-height: 28px; color: var(--l-ink-90); }
.g-body p + p { margin-top: 14px; }
.g-body ul { margin: 12px 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.g-body strong { font-weight: 600; color: var(--l-ink); }
.g-body a { color: var(--link); }

.g-faq .l-panel { margin-top: 16px; }

.g-cta .l-card { max-width: 400px; }
.g-cta .l-card-inner { gap: 14px; }
.g-cta-title { font-size: 20px; line-height: 25px; font-weight: 600; letter-spacing: -0.02em; }
.g-cta-text { font-size: 15px; line-height: 22px; color: var(--l-ink-60); }

.g-related { margin-top: 96px; }
.g-related ul { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.g-related a {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 20px 22px; border-radius: var(--r-panel); background: #fff; text-decoration: none; color: inherit;
  box-shadow: var(--l-ring), 0 18px 40px -28px rgb(var(--l-shade) / .35);
  transition: box-shadow .2s, transform .2s var(--ease-out);
}
.g-related a:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(var(--l-shade) / .1), 0 24px 48px -28px rgb(var(--l-shade) / .45); }
.g-related b { font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -0.015em; }
.g-related span { font-size: 14px; line-height: 21px; color: var(--l-ink-60); }
.g-hub { margin-top: 0; }

.g-footer { border-top: 1px solid var(--l-rule); padding: 40px var(--l-gutter) 64px; text-align: center; color: var(--l-ink-45); font-size: 13px; line-height: 19px; }
.g-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; max-width: 900px; margin: 0 auto 24px; }
.g-footer-links a { color: var(--l-ink-60); text-decoration: none; }
.g-footer-links a:hover { color: var(--l-ink); }
.g-footer p { max-width: 760px; margin: 0 auto; }

@media (min-width: 720px) {
  .g-display { font-size: 56px; }
  .g-related ul { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .g-main { padding-top: 140px; }
  .g-display { font-size: 64px; }
  .g-layout { grid-template-columns: minmax(0, 680px) minmax(0, 360px); justify-content: space-between; align-items: start; }
  .g-cta { position: sticky; top: 100px; }
  .g-related ul { grid-template-columns: repeat(3, 1fr); }
  .g-hub ul { grid-template-columns: repeat(3, 1fr); }
}
