/* Styles for generated SEO pages (/guides/*) and the SEO sections injected into index.html.
   Every selector is prefixed (g- / h- / guide-body) so it never collides with the homepage's
   inline styles. Hand-written; the build does not touch this file. */

:root {
  --g-bg: #000;
  --g-card: #12110f;
  --g-hair: rgba(255, 255, 255, 0.08);
  --g-text: #fff;
  --g-muted: rgba(255, 255, 255, 0.72);
  --g-gold: #cba24a;
  --g-gold-hi: #f0ce78;
}

/* ---------- Guide page base ---------- */
.guide-body {
  margin: 0;
  color: var(--g-text);
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1300px 900px at 50% -10%, rgba(201, 168, 87, 0.12), transparent 42%),
    linear-gradient(180deg, #0b0a0a 0%, #000 65%);
  background-color: #000;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
.guide-body *, .guide-body *::before, .guide-body *::after { box-sizing: border-box; }
.guide-body img { max-width: 100%; height: auto; display: block; }
.guide-body a { color: var(--g-gold-hi); }

.g-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1100px; margin: 0 auto; padding: 16px 20px;
}
.g-brand img { height: 34px; width: auto; }
.g-nav { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 15px; }
.g-nav a { color: #fff; text-decoration: none; }
.g-nav a:hover { color: var(--g-gold-hi); }
.g-nav-cta {
  border: 1px solid rgba(203, 162, 74, 0.55); border-radius: 999px; padding: 9px 16px;
}
@media (max-width: 520px) {
  .g-nav { gap: 12px; font-size: 14px; }
  .g-nav a[href="/#faq"] { display: none; }
}

.g-main { padding: 0 20px 64px; }
.g-article { max-width: 760px; margin: 0 auto; }

.g-crumbs ol { list-style: none; margin: 8px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--g-muted); }
.g-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--g-muted); }
.g-crumbs a { color: var(--g-muted); text-decoration: none; }
.g-crumbs a:hover { color: var(--g-gold-hi); }

.g-article h1 {
  font-size: clamp(32px, 5.4vw, 52px); line-height: 1.08; letter-spacing: -0.5px;
  margin: 0 0 10px; font-weight: 900;
}
.g-meta { color: var(--g-muted); font-size: 14px; margin: 0 0 22px; }

.g-hero { margin: 0 0 26px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(247, 209, 139, 0.14), 0 30px 80px rgba(203, 162, 74, 0.12); }
.g-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.g-intro p, .g-section p, .g-list li, .g-steps li { font-size: 18px; color: rgba(255, 255, 255, 0.88); }
.g-answer {
  font-size: 20px !important; color: #fff !important; line-height: 1.55;
  border-left: 3px solid var(--g-gold); padding-left: 16px; margin: 0 0 18px;
}

.g-inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 24px 0 8px; }

.g-section { margin-top: 44px; }
.g-section h2 {
  font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; letter-spacing: -0.2px; margin: 0 0 14px; font-weight: 800;
}
.g-list, .g-steps { padding-left: 1.3em; margin: 12px 0 16px; }
.g-list { list-style: disc; }
.g-steps { list-style: decimal; }
.g-list li, .g-steps li { margin: 0 0 10px; padding-left: 4px; }
.g-steps li::marker { color: var(--g-gold-hi); font-weight: 800; }
.g-steps strong { color: #fff; }

.g-shot { float: right; width: 220px; margin: 4px 0 16px 24px; }
.g-shot img { border-radius: 18px; box-shadow: 0 0 0 1px var(--g-hair), 0 18px 50px rgba(203, 162, 74, 0.15); }
.g-shot figcaption { font-size: 14px; color: var(--g-muted); margin-top: 8px; line-height: 1.4; }
@media (max-width: 640px) {
  .g-shot { float: none; width: min(260px, 70%); margin: 8px auto 18px; }
  .g-shot figcaption { text-align: center; }
}
.g-section::after { content: ""; display: block; clear: both; }

/* ---------- Buttons + CTA ---------- */
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; line-height: 1.1;
  font-weight: 900; font-size: 17px; letter-spacing: 0.2px; color: #000 !important;
  background: radial-gradient(90% 200% at 50% -70%, rgba(203, 162, 74, 0.7), rgba(203, 162, 74, 0.25)), linear-gradient(180deg, #dec051, #c39c43);
  box-shadow: 0 12px 40px rgba(203, 162, 74, 0.35), inset 0 0 18px rgba(255, 255, 255, 0.35);
  transition: transform 0.1s ease;
}
.g-btn:hover { transform: translateY(-1px); }
.g-apple { width: 16px; height: 20px; flex: none; }
.g-quiz { color: var(--g-gold-hi) !important; font-weight: 700; font-size: 15px; text-underline-offset: 3px; }

.g-cta {
  clear: both; display: flex; gap: 18px; align-items: flex-start;
  margin: 28px 0 8px; padding: 22px; border-radius: 22px;
  background: radial-gradient(120% 140% at 50% -10%, rgba(255, 220, 140, 0.1), rgba(0, 0, 0, 0.2) 55%), var(--g-card);
  box-shadow: 0 0 0 1px rgba(247, 209, 139, 0.18), inset 0 0 34px rgba(247, 209, 139, 0.06);
}
.g-cta-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.g-cta-title { font-size: 21px !important; font-weight: 800; color: #fff !important; margin: 0 0 4px; }
.g-cta-text { font-size: 16px !important; color: var(--g-muted) !important; margin: 0 0 14px; }
.g-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
@media (max-width: 520px) {
  .g-cta { flex-direction: column; }
}

/* ---------- FAQ ---------- */
.g-faq-item {
  border-radius: 16px; background: var(--g-card); margin: 0 0 10px;
  box-shadow: 0 0 0 1px var(--g-hair);
}
.g-faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative;
}
.g-faq-item summary::-webkit-details-marker { display: none; }
.g-faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--g-gold-hi); font-size: 24px; font-weight: 400; line-height: 1;
}
.g-faq-item[open] summary::after { content: "–"; }
.g-faq-item summary h3 { display: inline; margin: 0; font-size: 18px; font-weight: 800; line-height: 1.35; color: #fff; }
.g-faq-a { padding: 0 18px 16px; }
.g-faq-a p { margin: 0 0 8px; font-size: 16px; color: rgba(255, 255, 255, 0.82); line-height: 1.6; }
.g-more { color: var(--g-gold-hi); font-weight: 800; text-decoration: none; font-size: 15px; }
.g-more:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.g-card {
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff;
  background: var(--g-card); box-shadow: 0 0 0 1px var(--g-hair); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.g-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(247, 209, 139, 0.35), 0 18px 50px rgba(203, 162, 74, 0.14); }
.g-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; height: auto; }
.g-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.g-card-title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.25; color: #fff; }
.g-card-blurb { margin: 0 0 6px; font-size: 15px; color: var(--g-muted); line-height: 1.5; flex: 1; }

.g-related { max-width: 900px; margin: 64px auto 0; }
.g-related .g-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g-related.g-all { max-width: 1100px; }
.g-all .g-grid, .h-section .g-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g-all .g-grid, .h-section .g-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g-all .g-grid, .h-section .g-grid { grid-template-columns: 1fr; } }
.g-related > h2 { font-size: clamp(24px, 3.2vw, 30px); margin: 0 0 18px; }
.g-back { margin-top: 24px; color: var(--g-muted); font-size: 15px; }
.g-index-head { margin-bottom: 28px; }
.g-index-head .g-answer { margin-top: 10px; }

/* ---------- Footer ---------- */
.g-footer { border-top: 1px solid var(--g-hair); margin-top: 40px; padding: 40px 20px 56px; }
.g-footer-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.4fr 0.8fr; gap: 32px; }
.g-footer-brand p { color: var(--g-muted); font-size: 14px; margin: 12px 0 0; max-width: 320px; }
.g-footer-brand img { height: 30px; width: auto; }
.g-footer-col { display: flex; flex-direction: column; gap: 8px; }
.g-footer-col a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 14px; }
.g-footer-col a:hover { color: var(--g-gold-hi); }
.g-footer-h { margin: 0 0 4px; font-weight: 800; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--g-gold-hi); }
.g-footer-copy { font-size: 13px !important; }
@media (max-width: 760px) { .g-footer-wrap { grid-template-columns: 1fr; } }

/* ---------- Homepage SEO sections ---------- */
.h-section { width: 100%; max-width: 1100px; margin: 56px auto 0; padding: 0 4px; color: #fff; box-sizing: border-box; }
@media (max-width: 760px) { .h-section { padding: 0 16px; } }
@media (max-width: 560px) {
  .h-section .g-grid { gap: 12px; }
  .h-section .g-card { flex-direction: row; align-items: stretch; }
  .h-section .g-card img { width: 112px; flex: 0 0 112px; aspect-ratio: auto; height: auto; align-self: stretch; }
  .h-section .g-card-body { padding: 12px 14px; gap: 4px; }
  .h-section .g-card-title { font-size: 16px; }
  .h-section .g-card-blurb { font-size: 13.5px; margin: 0; }
  .h-section .g-more { display: none; }
}
.h-title { text-align: center; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
.h-sub { text-align: center; color: rgba(255, 255, 255, 0.72); margin: 0 auto 26px; max-width: 640px; font-size: 17px; }
.h-section .g-faq, .h-section .g-grid { margin-top: 26px; }
.h-section .g-faq { max-width: 820px; margin-left: auto; margin-right: auto; }

.h-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-step {
  display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 20px;
  background: var(--g-card); box-shadow: 0 0 0 1px var(--g-hair);
}
.h-step img { width: 100%; max-width: 170px; height: auto; margin: 0 auto; border-radius: 16px; display: block; }
.h-step h3 { margin: 6px 0 4px; font-size: 19px; font-weight: 800; }
.h-step p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }
.h-step-n {
  display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%;
  background: linear-gradient(180deg, #dec051, #c39c43); color: #000; font-weight: 900; font-size: 14px;
}
@media (max-width: 960px) { .h-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .h-steps { grid-template-columns: 1fr; }
  .h-step { flex-direction: row; align-items: center; }
  .h-step img { width: 96px; max-width: 96px; margin: 0; flex: none; }
}
.h-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 24px; }

.h-shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px;
  scrollbar-width: thin; scrollbar-color: rgba(203, 162, 74, 0.5) transparent;
}
.h-shot { flex: 0 0 200px; margin: 0; scroll-snap-align: start; }
.h-shot img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 0 0 1px var(--g-hair); }
.h-shot figcaption { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 8px; line-height: 1.4; }
.h-more { text-align: center; margin-top: 22px; }
