/* Guide page (public). Scoped under .gp-page; tokens measured on the
   live site: black background, Inter for chrome, /about typography, monochrome
   accents. Breakpoints follow the site's own tiers (991px navbar collapse,
   768px mobile) — no vw-proportional font sizing anywhere. */

.gp-page {
  --gp-line: rgba(255, 255, 255, .08);
  --gp-border: rgba(255, 255, 255, .14);
  --gp-text: #e6edf3;
  --gp-text2: #9ba7b4;
  --gp-text3: #8b949e;
  --gp-ui: 'Inter', system-ui, sans-serif;
  --gp-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gp-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
             "Noto Sans", "Liberation Sans", Arial, sans-serif;
  background: #000;
  color: var(--gp-text);
  font-family: var(--gp-sans);
  line-height: 1.5;
}
.gp-page b { color: var(--gp-text); font-weight: 600; }

/* ── sticky guide nav (approved variant 3: circled numbers) ── */
.gp-nav { position: sticky; top: 0; z-index: 60; background: rgba(0, 0, 0, .9);
          backdrop-filter: blur(12px); border-bottom: 1px solid var(--gp-line); }
.gp-nav-in { max-width: 1320px; margin: 0 auto; padding: 9px 12px; display: flex;
             align-items: center; justify-content: center; gap: 6px;
             overflow-x: auto; scrollbar-width: none; }
.gp-nav-in::-webkit-scrollbar { display: none; }
.gp-navlink { flex: 0 0 auto; display: flex; align-items: center; gap: 9px;
              padding: 6px 11px; border-radius: 8px; font-family: var(--gp-ui);
              font-size: 14px; font-weight: 600; color: var(--gp-text3);
              text-decoration: none; transition: color .15s, background .15s;
              white-space: nowrap; }
.gp-navlink b { width: 21px; height: 21px; flex: 0 0 auto; border-radius: 50%;
                border: 1px solid rgba(255, 255, 255, .22); font-family: var(--gp-mono);
                font-size: 11px; font-weight: 700; display: flex; align-items: center;
                justify-content: center; transition: all .15s; }
.gp-navlink:hover { color: var(--gp-text); }
.gp-navlink.on { color: var(--gp-text); background: rgba(255, 255, 255, .07); }
.gp-navlink.on b { background: #fff; color: #000; border-color: #fff; }
.gp-navgap { width: 26px; flex: 0 0 auto; display: flex; justify-content: center;
             align-self: stretch; }
.gp-navgap i { width: 1px; margin: 5px 0; background: var(--gp-line); }

/* ── layout ── */
.gp-shell { max-width: 1320px; margin: 0 auto; padding: 0 12px; }

/* ── hero (K2 kicker; lead width is a fixed CSS cap ≈ the 64px H1 width,
      so the paragraph never re-wraps after first paint) ── */
.gp-hero { padding: 52px 0 30px; text-align: center; }
.gp-kick { display: flex; align-items: center; justify-content: center; gap: 14px;
           margin-bottom: 16px; }
.gp-kick i { height: 1px; width: 64px; background: rgba(255, 255, 255, .22); display: block; }
.gp-kick span { font-family: var(--gp-ui); font-size: 13px; font-weight: 700;
                letter-spacing: .16em; color: var(--gp-text2); }
.gp-hero h1 { font-size: 64px; font-weight: 800; line-height: .98; margin: 0 0 14px;
              letter-spacing: -.015em; color: var(--gp-text); }
.gp-lead { max-width: 880px; margin: 0 auto 38px; color: var(--gp-text2);
           font-size: 17px; line-height: 1.7; text-align: justify;
           text-align-last: center; hyphens: none; }
.gp-hr { height: 1px; background: var(--gp-line); border: none; margin: 0; }

/* ── steps ── */
.gp-step { display: grid; grid-template-columns: 56px 420px 1fr; gap: 30px;
           padding: 44px 0 34px; border-top: 1px solid var(--gp-line);
           align-items: start; }
.gp-step:first-of-type { border-top: none; }
.gp-rail { position: relative; align-self: stretch; }
.gp-railline { position: absolute; left: 50%; top: 60px; bottom: -44px; width: 1px;
               background: linear-gradient(180deg, rgba(255, 255, 255, .28), var(--gp-line)); }
.gp-step.gp-last .gp-railline { display: none; }
.gp-railnum { width: 44px; height: 44px; border-radius: 50%;
              border: 1px solid rgba(255, 255, 255, .26);
              background: rgba(255, 255, 255, .05); color: var(--gp-text);
              font-family: var(--gp-mono); font-weight: 700; font-size: 15px;
              display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.gp-slabel { font-family: var(--gp-mono); font-size: 11px; letter-spacing: .1em;
             text-transform: uppercase; color: var(--gp-text3); margin-bottom: 8px; }
.gp-stxt h2 { font-size: 24px; font-weight: 750; line-height: 1.2; margin: 0 0 13px;
              color: var(--gp-text); }
.gp-stxt p { color: var(--gp-text2); font-size: 17px; line-height: 1.7; margin: 0; }

/* ── screenshot frames (img width/height attrs reserve the box before load) ── */
.gp-frame { position: relative; overflow: hidden; border-radius: 12px;
            border: 1px solid var(--gp-border); background: #000;
            box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
/* .gp-frame is a <button>: the whole screenshot opens the lightbox.
   (.gp-page prefix outranks Bootstrap's button:not(:disabled) cursor rule.) */
.gp-page button.gp-frame { display: block; width: 100%; padding: 0; appearance: none;
                  -webkit-appearance: none; font: inherit; color: inherit;
                  text-align: inherit; cursor: zoom-in;
                  -webkit-tap-highlight-color: transparent; }
button.gp-frame:focus-visible { outline: 2px solid var(--gp-text3); outline-offset: 3px; }
.gp-pic { display: block; width: 100%; height: auto; }

/* ── Sections ── */
.gp-refsec { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--gp-line); }
.gp-refsec h2 { font-size: 24px; font-weight: 750; margin: 0 0 20px; color: var(--gp-text); }
.gp-maprow { padding: 13px 0; border-top: 1px solid var(--gp-line); font-size: 15px;
             line-height: 1.65; color: var(--gp-text2); max-width: 1020px; }
.gp-maprow:first-of-type { border-top: none; }
.gp-maprow > b { color: var(--gp-text); font-weight: 650; }
.gp-subitems { margin: 10px 0 2px 14px; border-left: 2px solid var(--gp-line);
               padding-left: 14px; display: grid; gap: 9px; }
.gp-subitems div { font-size: 15px; color: var(--gp-text2); }
.gp-subitems b { color: var(--gp-text); font-weight: 650; }

/* ── FAQ (native <details>, same pattern as /about) ── */
.gp-faqsec { margin-top: 44px; padding-bottom: 90px; }
.gp-faqsec h2 { font-size: 24px; font-weight: 750; margin: 0 0 16px; color: var(--gp-text); }
.gp-faq { border-top: 1px solid var(--gp-line); }
.gp-qrow { border-bottom: 1px solid var(--gp-line); }
.gp-qrow summary { display: flex; justify-content: space-between; align-items: center;
                   gap: 16px; list-style: none; color: var(--gp-text);
                   font-family: var(--gp-sans); font-size: 15px; font-weight: 650;
                   padding: 15px 4px; cursor: pointer; }
.gp-qrow summary::-webkit-details-marker { display: none; }
.gp-qrow summary:focus-visible { outline: 2px solid var(--gp-text3); outline-offset: 2px; }
.gp-ic { color: var(--gp-text3); font-family: var(--gp-mono); font-size: 14px;
         transition: transform .2s; flex: 0 0 auto; }
.gp-qrow[open] .gp-ic { transform: rotate(45deg); color: var(--gp-text); }
.gp-a p { margin: 0; padding: 0 4px 16px; color: var(--gp-text2); font-size: 15px;
          line-height: 1.7; max-width: 92ch; }

/* ── lightbox (Bootstrap modal skin) ── */
.gp-lb .gp-lb-dialog { max-width: min(96vw, 1500px); margin: 1.75rem auto; }
.gp-lb .gp-lb-content { position: relative; background: #000;
                        border: 1px solid var(--gp-border); border-radius: 10px; }
.gp-lb .gp-lb-content img { display: block; width: 100%; height: auto;
                            max-height: 90vh; object-fit: contain; border-radius: 10px; }
/* No visible close control: Escape and clicking outside the image dismiss. */

/* ── medium tier (768–991px): matches the site's collapsed-navbar range.
      Text keeps the left rail; the screenshot drops below the text. ── */
@media (max-width: 991.98px) {
  .gp-hero { padding: 40px 0 24px; }
  .gp-hero h1 { font-size: 48px; }
  .gp-step { grid-template-columns: 44px 1fr; gap: 20px 22px; }
  .gp-sfig { grid-column: 1 / -1; margin-top: 4px; }
  .gp-railline { display: none; }
}

/* ── mobile tier (<768px): matches the site's mobile styles ── */
@media (max-width: 767.98px) {
  .gp-hero { padding: 32px 0 20px; }
  .gp-hero h1 { font-size: 36px; }
  .gp-lead { font-size: 15px; }
  .gp-nav-in { justify-content: flex-start; }
  .gp-step { grid-template-columns: 1fr; gap: 10px; padding: 34px 0 26px; }
  .gp-rail { display: flex; align-items: center; gap: 10px; align-self: auto; }
  .gp-railnum { margin: 0; width: 36px; height: 36px; font-size: 13px; }
  /* The circled number is enough on phones — hide the "Step N" caption
     (localized variants included: it is the same element in every locale). */
  .gp-slabel { display: none; }
  /* Step body copy is justified on phones; overflow-wrap guards long words
     and product names against overflow in narrow columns. */
  .gp-stxt p { font-size: 15px; text-align: justify; overflow-wrap: break-word; }
  .gp-sfig { margin-top: 12px; }
}
