/* guide.css — the guide pages (server/seo) and the footer every public page
   shares. Loaded after landing.css + theme.css. Editorial, not cards: a
   reading column, hairlines, mono numbers, real screenshots (design-language:
   no rows of rounded icon boxes). */

/* ── reading column ──────────────────────────────────────────────────── */
.g-main { padding: calc(var(--nav-h) + 56px) 0 0; }
.g-wrap { max-width: 760px; }
.g-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--t3); margin-bottom: 26px; }
.g-crumbs a:hover { color: #fff; }
.g-head h1 { font-size: clamp(34px, 5vw, 54px); margin: 18px 0 20px; text-wrap: balance; }
.g-head .lead { font-size: clamp(16px, 1.6vw, 19px); }
.g-head .lead b { color: #fff; font-weight: 600; }
.g-meta { margin-top: 18px; font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--t3); text-transform: uppercase; }

.g-sec { padding: 44px 0 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.08); }
.g-sec h2 { font-size: clamp(23px, 2.6vw, 30px); margin-bottom: 16px; text-wrap: balance; }
.g-sec p, .g-sec li { color: #cfcac6; font-size: 16.5px; line-height: 1.75; }
.g-sec p + p { margin-top: 14px; }
.g-sec b { color: #fff; font-weight: 600; }
.g-sec a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,178,122,.5); text-underline-offset: 3px; }
.g-sec a:hover { text-decoration-color: var(--ac-2, #ffb27a); }
.g-sec ul, .g-sec ol { margin: 4px 0 4px 1.2em; display: grid; gap: 8px; }
.g-sec code { font: 500 .88em ui-monospace, SFMono-Regular, Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.07); color: #fff; }

/* a message to copy: a quiet quote, not a box */
.g-quote {
  margin: 18px 0; padding: 4px 0 4px 20px; border-left: 2px solid rgba(255,178,122,.55);
  color: #fff; font-size: 17px; line-height: 1.7;
}

/* screenshots: the product itself */
.g-shot { margin: 26px 0 6px; }
.g-shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 70px -30px rgba(0,0,0,.8); }
.g-shot figcaption { margin-top: 10px; font-size: 13px; color: var(--t3); }

/* an index of guides: big words + hairline + mono number */
.g-index { list-style: none; margin: 0 !important; display: block !important; }
.g-index li { border-bottom: 1px solid rgba(255,255,255,.08); }
.g-index a { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; text-decoration: none !important; }
.g-index .g-n { font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--t3); letter-spacing: .08em; }
.g-index .g-t { display: grid; gap: 6px; }
.g-index .g-t b { font-size: 19px; letter-spacing: -.02em; line-height: 1.3; }
.g-index .g-t span { font-size: 14.5px; color: var(--t2); line-height: 1.55; }
.g-index .arr { color: var(--t3); transition: transform .22s var(--ease), color .2s; }
.g-index a:hover .arr { color: #fff; transform: translateX(4px); }
.g-index a:hover b { color: #fff; }
.g-all { margin-top: 18px; }

/* questions */
.g-faq details { border-bottom: 1px solid rgba(255,255,255,.08); }
.g-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-size: 17px; font-weight: 600; color: #fff; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; position: absolute; right: 2px; top: 16px; font-weight: 400; font-size: 20px; color: var(--t3); transition: transform .2s var(--ease); }
.g-faq details[open] summary::after { transform: rotate(45deg); }
.g-faq details p { padding: 0 0 20px; }

/* the download */
.g-pdf { margin-top: 36px; }
.g-pdf a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,178,122,.35); border-bottom: 1px solid rgba(255,178,122,.35); }
.g-pdf b { font-size: 17px; }
.g-pdf span { font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--ac-2, #ffb27a); text-transform: uppercase; }

/* the way in */
.g-cta { margin: 72px 0 0; padding: 56px 0 8px; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.g-cta h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.g-cta p { color: var(--t2); max-width: 52ch; margin: 0 auto 26px; }
.g-cta .g-fine { margin: 18px auto 0; font-size: 13px; color: var(--t3); }
.g-related { margin-top: 64px; }

/* ── the shared footer (landing + guides) ────────────────────────────── */
.g-foot { padding: 56px 0 70px; border-top: 1px solid rgba(255,255,255,.07); margin-top: 90px; }
.g-fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 32px; }
.g-fcol { display: flex; flex-direction: column; gap: 9px; }
.g-fcol h3 { font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); margin-bottom: 6px; }
.g-fcol a, .g-fcol span, .g-fcol p { color: var(--t3); font-size: 13px; line-height: 1.5; transition: color .2s; }
.g-fcol a:hover { color: #fff; }
.g-fbrand .brand { margin-bottom: 4px; }
.g-fbrand .brand span { color: #fff; font-size: 15px; }
.g-fbrand p { max-width: 30ch; }
@media (max-width: 860px) {
  .g-fgrid { grid-template-columns: 1fr 1fr; }
  .g-fbrand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .g-main { padding-top: calc(var(--nav-h) + 30px); }
  .g-index a { grid-template-columns: 32px 1fr; }
  .g-index .arr { display: none; }
  .g-sec p, .g-sec li { font-size: 16px; }
}
