/* ============================================================
   Talentalk — guide / how-to page
   Loads AFTER welcome-landing.css; reuses its tokens & shared classes.
   ============================================================ */

/* ---------- guide hero ---------- */
.ghero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-2); }
.gcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.gcrumb a { color: var(--muted); }
.gcrumb a:hover { color: var(--ink); }
.gcrumb .sep { opacity: .5; }
.ghero h1 { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 18px; max-width: 18ch; }
.ghero .lede { max-width: 62ch; }
.gmeta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.gchip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
.gchip svg { width: 14px; height: 14px; color: var(--gold-deep); }

/* ---------- layout: sticky TOC + article ---------- */
.glayout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; padding: clamp(48px, 6vw, 80px) 0; }
.gtoc { position: sticky; top: 28px; }
.gtoc .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.gtoc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 0; margin: 0; }
.gtoc a { display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.35; transition: background .15s ease, color .15s ease; text-decoration: none; }
.gtoc a:hover { background: var(--paper-2); color: var(--ink); }
.gtoc a.active { background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.gtoc a .n { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--gold-deep); flex: none; width: 14px; }

/* ---------- steps ---------- */
.garticle { max-width: 760px; }
.gstep { padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-2); scroll-margin-top: 24px; }
.gstep:last-of-type { border-bottom: none; margin-bottom: 0; }
.gstep-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.gnum { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 18px; flex: none; box-shadow: var(--shadow-sm); }
.gstep h2 { font-size: clamp(24px, 3vw, 32px); }
.gstep p { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-bottom: 16px; }
.gstep p:last-child { margin-bottom: 0; }
.gstep b { color: var(--ink); font-weight: 600; }
.gstep a.inline { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* labelled sub-steps */
.gsub { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 18px 0; }
.gsub .tag { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); padding-top: 3px; white-space: nowrap; }
.gsub .txt { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.gsub .txt b { color: var(--ink); }

/* bullet lists */
.glist { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 16px 0; padding: 0; }
.glist li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.glist li::before { content: ""; position: absolute; left: 6px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); }
.glist li b { color: var(--ink); }

/* code-ish callout for the agency-slug example */
.gexample { font-family: var(--mono); font-size: 14px; background: var(--navy); color: #fff; border-radius: 12px; padding: 16px 18px; line-height: 1.7; margin: 18px 0; }
.gexample .hl { color: var(--gold); }
.gexample .cm { color: rgba(255,255,255,.5); }

/* screenshot frame */
.gshot { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--paper-2); margin-top: 24px; }
.gshot .shot-bar { display: flex; align-items: center; gap: 10px; padding: 11px 15px; background: #F3F2EE; border-bottom: 1px solid var(--line); }
.gshot .tl { display: flex; gap: 7px; }
.gshot .tl i { width: 11px; height: 11px; border-radius: 50%; background: #DCDAD0; }
.gshot .url { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.gshot .pill { margin-left: auto; font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--ink-2); background: #E8E6DE; padding: 3px 9px; border-radius: 999px; }
.gshot figure { margin: 0; }
.gshot .frame { position: relative; min-height: 260px; background:
  repeating-linear-gradient(135deg, rgba(15,19,48,.035) 0 10px, transparent 10px 20px), var(--paper); }
.gshot .ph { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; padding: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); line-height: 1.7; }
.gshot .ph svg { width: 30px; height: 30px; color: var(--gold-deep); opacity: .75; }
.gshot .ph b { color: var(--ink-2); font-weight: 600; }
.gshot img { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; max-height: 540px; height: auto; margin-inline: auto; background: var(--paper-2); }
.gshot .frame.noimg img { display: none; }
.gshot figcaption { font-size: 13px; color: var(--muted); padding: 11px 15px; border-top: 1px solid var(--line-2); background: var(--paper-2); }

/* success callout */
.gdone { display: flex; gap: 16px; align-items: flex-start; background: #E7F4EC; border: 1px solid #C7E6D2; border-radius: 16px; padding: 22px 24px; margin: 8px 0 24px; }
.gdone .ck { width: 30px; height: 30px; border-radius: 50%; background: #1F8A5B; color: #fff; display: grid; place-items: center; flex: none; }
.gdone .ck svg { width: 17px; height: 17px; }
.gdone h2 { font-size: 22px; margin-bottom: 4px; }
.gdone p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* inline CTA under the article */
.gcta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; padding: 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gcta .t { font-family: var(--display); font-weight: 600; font-size: 19px; flex: 1 1 280px; }
.gcta .t span { display: block; font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 4px; }

@media (max-width: 880px) {
  .glayout { grid-template-columns: 1fr; gap: 8px; }
  .gtoc { position: static; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--paper-2); }
  .gtoc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
}
