/*
 * Guide pages: the AML quick guide (aml-guide/index.html) and the NPS
 * connection guide (nps-guide/index.html).
 * Loaded after home.css: the header, footer, buttons, colours and fonts come
 * from there. This file adds only the shared guide layout: hero, step list,
 * the text-and-picture rows, and the closing call to action. Page-specific
 * parts live in their own file (the NPS drawings are in nps-guide.css).
 */

.guide-hero{padding:80px 0 56px;background:var(--paper);border-bottom:1px solid var(--line)}
.guide-hero h1{font-family:var(--heading);font-size:clamp(34px,5vw,56px);line-height:1.05;letter-spacing:-1.5px;max-width:860px;margin:0 0 20px}
.guide-lead{font-size:18px;line-height:1.6;color:var(--muted);max-width:720px;margin:0 0 28px}
.guide-hero .actions,.guide-cta .actions{display:flex;flex-wrap:wrap;gap:12px}
.guide-privacy{display:flex;gap:8px;align-items:flex-start;max-width:720px;margin:28px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}

/*
 * White-label section: example Lens names drawn like the Lens header bar
 * (dark teal with the lens icon), plus what each institution sets for itself.
 */
.guide-whitelabel{padding:72px 0;border-bottom:1px solid var(--line)}
.guide-whitelabel .wrap{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:56px;align-items:center}
.guide-whitelabel h2{font-family:var(--heading);font-size:clamp(26px,3vw,36px);line-height:1.12;letter-spacing:-.5px;margin:0 0 16px}
.whitelabel-copy p{margin:0 0 14px;line-height:1.65;color:var(--muted)}
.lens-brands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px;padding:0;list-style:none}
.lens-brand{display:flex;align-items:center;gap:10px;min-height:56px;padding:14px 16px;border-radius:12px;background:#123942;color:#fff;font-size:15px;font-weight:600}
.lens-brand svg{flex:none;width:20px;height:20px;color:#7fd3cf}
.lens-brand-yours{background:white;color:var(--ink);border:1.5px dashed #b9afff}
.lens-brand-yours svg{color:var(--purple)}
.lens-brand em{font-style:normal;color:var(--purple-dark)}
.whitelabel-points{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.whitelabel-points li{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:white}
.whitelabel-points strong{font-size:15px}
.whitelabel-points span{font-size:14px;line-height:1.55;color:var(--muted)}

/* Step list: a row of links that wraps on small screens. */
.guide-steps-nav{position:sticky;top:64px;z-index:20;background:#fffffff5;border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.guide-steps-nav ol{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:14px 0;list-style:none;counter-reset:step}
.guide-steps-nav li{counter-increment:step}
.guide-steps-nav a{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid var(--line);border-radius:100px;font-size:12px;font-weight:500;color:var(--ink);background:white;transition:border-color .2s,background .2s}
.guide-steps-nav a::before{content:counter(step,decimal-leading-zero);color:var(--purple);font-weight:700}
.guide-steps-nav a:hover,.guide-steps-nav a:focus-visible{border-color:var(--purple);background:var(--lavender)}

/* One step: text on the left, screenshot on the right. */
.guide-step{padding:72px 0;border-bottom:1px solid var(--line);scroll-margin-top:120px}
.guide-step .wrap{display:grid;grid-template-columns:minmax(260px,380px) 1fr;gap:56px;align-items:start}
.guide-step:nth-of-type(even){background:var(--paper)}
.guide-step-number{display:block;font-family:var(--heading);font-size:14px;font-weight:700;letter-spacing:1.5px;color:var(--purple)}
.guide-step h2{font-family:var(--heading);font-size:clamp(26px,3vw,34px);line-height:1.15;letter-spacing:-.5px;margin:8px 0 16px}
.step-copy p{margin:0 0 16px;line-height:1.65;color:var(--muted)}
/* A step without a screenshot (yet) lets its text use the full row. */
.step-copy:only-child{grid-column:1/-1;max-width:760px}
.step-copy ul{margin:0;padding-left:18px;font-size:15px;line-height:1.6}
.step-copy li+li{margin-top:8px}
.guide-callout{margin-top:20px!important;padding:14px 16px;border-radius:12px;background:var(--lavender);color:#403793!important;font-size:14px;line-height:1.5!important}

.guide-shots{display:grid;gap:28px}
.guide-shot{margin:0}
.guide-shot img{display:block;width:100%;height:auto;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px #16161a14}
.guide-shot figcaption{margin-top:10px;font-size:12px;color:var(--muted)}

/* Closing call to action. */
.guide-cta{padding:88px 0;text-align:center}
.guide-cta .wrap{max-width:720px}
.guide-cta h2{font-family:var(--heading);font-size:clamp(28px,3.4vw,40px);line-height:1.1;margin:0 0 16px}
.guide-cta p{line-height:1.6;color:var(--muted);margin:0 0 28px}
.guide-cta .actions{justify-content:center}
.guide-cta .guide-note{margin:28px 0 0;font-size:13px}

@media(max-width:1100px){.guide-steps-nav{top:60px}}
@media(max-width:900px){
  .guide-hero{padding:56px 0 40px}
  .guide-step{padding:56px 0}
  .guide-step .wrap{grid-template-columns:1fr;gap:28px}
  .guide-steps-nav{position:static}
  .guide-whitelabel{padding:56px 0}
  .guide-whitelabel .wrap{grid-template-columns:1fr;gap:28px}
}
@media(max-width:680px){
  .guide-lead{font-size:16px}
  .lens-brands{grid-template-columns:1fr}
  .guide-hero .actions .button,.guide-cta .actions .button{width:100%}
}
