/* Growth guide pages (SEO r4.4) on the landing v2.2 / v5.3 shell.
   Loaded after shell.css and home.css: Geist 400 to 700, Geist Mono, surfaces #000000 #181818 #1F1F1F #272727,
   #313131 borders, one accent #10B981 on the single filled button, focus rings and small markers. */
.nav-cta.nav-cta-solid {
  background: #10B981; color: #000000; border-radius: 9999px; padding: 4px 12px;
  transition: border-color 300ms var(--ease), transform 500ms var(--ease); border: 1px solid #10B981;
}
.nav-cta.nav-cta-solid:hover { border-color: #FFFFFF; }

.guide { padding: 128px 0 64px; }
.guide .wrap { max-width: 800px; }
.guide article { display: flex; flex-direction: column; gap: 16px; }
.guide h1 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; margin-bottom: 8px; }
@media (min-width: 768px) { .guide h1 { font-size: 3rem; line-height: 1.1; } }
.guide h2 { font-size: 1.5rem; line-height: 2rem; letter-spacing: -0.01em; margin-top: 32px; padding-top: 24px; box-shadow: 0 -1px 0 0 var(--s3); }
.guide h3 { font-size: 1.125rem; line-height: 1.75rem; margin-top: 16px; }
.guide h3.faq-q { font-size: 1rem; line-height: 1.5rem; margin-top: 8px; }
.guide p, .guide li { font-size: 1rem; line-height: 1.75rem; color: var(--ink-2); }
.guide p strong, .guide li strong, .guide td strong { color: var(--ink); font-weight: 600; }
.guide p.lead { font-size: 1.125rem; line-height: 1.75rem; color: var(--ink); }
.guide em { font-style: normal; color: var(--ink); }
.guide a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color 300ms var(--ease); overflow-wrap: anywhere; }
.guide a:hover { text-decoration-color: var(--ink); }
.guide ul, .guide ol { display: flex; flex-direction: column; gap: 8px; padding-left: 24px; }
.guide ul { list-style: disc; }
.guide ol { list-style: decimal; }
.guide li::marker { color: var(--ink-3); }
.guide :not(pre) > code { font-size: 0.875em; background: var(--s2); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; color: var(--ink); overflow-wrap: anywhere; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--s1); }
.guide table { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.25rem; }
.guide th, .guide td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--s3); color: var(--ink-2); }
.guide th { color: var(--ink); font-weight: 600; background: var(--s2); }
.guide tr:last-child td { border-bottom: 0; }

.gcode { border: 1px solid var(--line); border-radius: 12px; background: #000000; overflow: hidden; }
.gcode-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 16px; background: var(--s2); border-bottom: 1px solid var(--line); }
.gcode-label { font: 500 0.75rem/1rem var(--mono); color: var(--ink-3); }
.gcode pre { padding: 16px; overflow-x: auto; font-size: 0.875rem; line-height: 1.5rem; color: var(--ink); white-space: pre; }
.cp {
  background: transparent; border: 0; border-radius: 0; padding: 0 4px; margin-left: auto;
  color: var(--ink-2); font: 500 0.75rem/1rem var(--mono); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px;
  cursor: pointer; transition: color 300ms var(--ease);
}
.cp:hover { color: var(--ink); }

.cta { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--s1); display: flex; flex-direction: column; gap: 16px; }
.guide .cta h2 { margin-top: 0; padding-top: 0; box-shadow: none; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.guide .cta-actions a.btn { text-decoration: none; }
.plan-line { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); }
.guide .note-muted { font-size: 0.75rem; line-height: 1rem; color: var(--ink-3); margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  .nav-cta.nav-cta-solid, .guide a, .cp { transition: none; }
}

/* Buttons inside the article keep the shell button colours */
.guide a.btn { text-decoration: none; }
.guide a.btn-primary { color: #000000; }
.guide a.btn-ghost { color: var(--ink); }
.nw { white-space: nowrap; }
.cta-notes { list-style: none; padding-left: 0; }
.guide .cta-notes { padding-left: 0; list-style: none; }
.guide .lang-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; font: 500 0.75rem/1rem var(--mono); color: var(--ink-3); }
.guide .lang-bar a, .guide .lang-bar span[aria-current="page"] { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 9999px; border: 1px solid var(--line); background: var(--s1); color: var(--ink-2); text-decoration: none; transition: border-color 200ms var(--ease), color 200ms var(--ease); }
.guide .lang-bar a:hover { border-color: var(--ink-2); color: var(--ink); }
.guide .lang-bar span[aria-current="page"] { border-color: #10B981; background: rgba(16, 185, 129, 0.14); color: var(--ink); }

/* Done-For-You and plugin callouts inside guides reuse .dfy from home.css */
.guide .dfy { margin-top: 16px; }
.guide .dfy-kicker { font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: #10B981; }
.guide .dfy-h { margin-top: 8px; font-size: 1.25rem; line-height: 1.75rem; }
.guide .dfy-copy { margin-top: 8px; }
.guide .dfy-fine { margin-top: 8px; font-size: 0.75rem; line-height: 1rem; color: var(--ink-3); }
