/* guides.css — the seven guides and the /guides hub (built by scripts/build-guides.mjs).
   Builds on site.css tokens; reads like the pillar page (assets/article.css):
   a reading column of 760 px, the same callouts, the same blue. Mobile first in
   spirit, breakpoints shared with site.css (960 / 640 px). */

/* hero: text left, illustration right; the illustration goes above on mobile */
.g-hero{padding:48px 0 32px;background:linear-gradient(180deg,var(--fos-card-bg),var(--fos-white));border-bottom:1px solid var(--fos-line)}
.g-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center}
.g-hero h1{font-size:clamp(30px,4vw,44px);line-height:1.08;margin-top:10px;max-width:20ch}
.g-hero .lede{margin-top:16px}
.g-crumb{font-size:13px;font-weight:600;color:var(--fos-muted)}
.g-crumb a{color:var(--fos-blue-ink);text-decoration:none}
.g-crumb a:hover{text-decoration:underline}
.g-by{display:flex;gap:12px;align-items:center;margin-top:22px;font-size:14px;color:var(--fos-muted)}
.g-by img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}
.g-by b{color:var(--fos-ink);font-weight:600}
.g-ill{margin:0}
.g-ill img{width:100%;max-height:380px;object-fit:contain;border-radius:var(--fos-radius)}

/* reading column */
.g-body{max-width:808px;padding-top:36px;padding-bottom:64px}
.g-body>h2{font-size:28px;margin:52px 0 14px;scroll-margin-top:84px}
.g-body p,.g-body li{font-size:17px;line-height:1.68}
.g-body p+p{margin-top:14px}
.g-body ul{padding-left:22px;margin:14px 0}
.g-body li+li{margin-top:8px}
.g-body strong{color:var(--fos-ink)}

/* the direct answer: the paragraph search and answer engines quote */
.g-def{background:var(--fos-card-bg);border:1px solid var(--fos-card-border);border-left:4px solid var(--fos-blue);border-radius:var(--fos-radius);padding:20px 24px}
.g-def p{font-size:18px;color:var(--fos-ink)}

/* lived experience */
.g-vecu{border:1px solid var(--fos-card-border);border-radius:var(--fos-radius);padding:20px 24px;margin:28px 0;background:var(--fos-white);box-shadow:0 18px 40px -34px rgba(11,14,20,.4)}
.g-vecu .kicker{margin-bottom:8px}
/* Thibaut's own story carries his face and his name, not a generic label */
.g-vecu-by{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:13px;font-weight:700;color:var(--fos-ink)}
.g-body .g-vecu-by{font-size:13px;line-height:1.3}
.g-vecu-by img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none}

/* the test to tick: boxes, a counter, the audit at three */
.g-checks{border:1px solid var(--fos-card-border);border-radius:var(--fos-radius);padding:10px;margin:18px 0;background:var(--fos-white)}
.g-body .g-chk-list{list-style:none;padding:0;margin:0}
.g-body .g-chk-list li+li{margin-top:2px}
.g-chk{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:10px;cursor:pointer;font-size:16px;line-height:1.5}
.g-chk:hover{background:var(--fos-card-bg)}
.g-chk input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:var(--fos-blue)}
.g-chk-res{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;justify-content:space-between;border-top:1px solid var(--fos-line);margin-top:8px;padding:14px 12px 6px}
.g-body .g-chk-res p{font-size:15px;color:var(--fos-muted)}
.g-chk-res b{font-size:22px;color:var(--fos-blue-ink);margin-right:8px;font-variant-numeric:tabular-nums}

/* product capture and real photo */
.g-shot,.g-photo{margin:32px 0}
.g-shot picture{display:block}
.g-shot .shot-cap{font-size:13px}
.g-shot .shot-cap .g-fict{display:block;margin-top:2px}
.g-photo img{width:auto;max-width:100%;max-height:440px;margin:0 auto;border-radius:var(--fos-radius)}
.g-photo figcaption{font-size:13px;color:var(--fos-muted);margin-top:10px;text-align:center}

/* comparison table: scrolls inside its own box, never the page */
.g-table{overflow-x:auto;margin:18px 0;border:1px solid var(--fos-card-border);border-radius:var(--fos-radius)}
.g-table table{width:100%;border-collapse:collapse;font-size:15px;min-width:640px}
.g-table th,.g-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--fos-line)}
.g-table thead td{background:var(--fos-card-bg)}
.g-table thead th{background:var(--fos-card-bg);color:var(--fos-ink);font-weight:700;white-space:nowrap}
.g-table tbody th{color:var(--fos-ink);font-weight:700;width:18%}
.g-table tr:last-child>*{border-bottom:none}
.g-table tbody td:last-child,.g-table thead th:last-child{background:#F7F9FF}

/* books */
.g-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.g-book{background:var(--fos-card-bg);border:1px solid var(--fos-card-border);border-radius:var(--fos-radius);padding:20px}
.g-book h3{font-size:18px}
.g-body .g-book-by{font-size:14px;color:var(--fos-muted);margin-top:4px}
.g-body .g-book p+p{margin-top:10px;font-size:16px}

/* free tool */
.g-tool{position:relative;display:flex;flex-direction:column;gap:4px;border:1px solid var(--fos-card-border);border-radius:var(--fos-radius);padding:18px 44px 18px 20px;text-decoration:none;background:var(--fos-white);margin:36px 0;transition:border-color .15s,background .15s}
.g-tool::after{content:"→";position:absolute;right:18px;bottom:16px;color:var(--fos-blue);font-weight:700;font-size:18px}
.g-tool:hover{border-color:var(--fos-blue)}
.g-tool .kicker{margin-bottom:4px}
.g-tool b{color:var(--fos-ink);font-size:18px}
.g-tool span:not(.kicker){font-size:15px;color:var(--fos-body)}

/* FAQ */
.g-faqs{margin-top:52px}
.g-faqs h2{font-size:28px;margin-bottom:10px}
.g-faq{border-bottom:1px solid var(--fos-line);padding:16px 0}
.g-faq summary{font-weight:700;color:var(--fos-ink);cursor:pointer;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.g-faq summary::-webkit-details-marker{display:none}
.g-faq summary::after{content:"+";color:var(--fos-blue);font-weight:800;font-size:20px;line-height:1}
.g-faq[open] summary::after{content:"–"}
.g-faq p{margin-top:10px}

/* blog link, related guides, closing note */
.g-blog{margin-top:40px;padding:18px 20px;border-radius:var(--fos-radius);background:var(--fos-card-bg)}
.g-blog .kicker{margin:0 6px 0 0;display:inline}
.g-blog a{color:var(--fos-blue-ink);font-weight:600}
.g-blog-d{color:var(--fos-muted)}
.g-rel{margin-top:52px}
.g-rel h2{font-size:28px;margin-bottom:18px}
.g-rel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.g-card{display:flex;flex-direction:column;background:var(--fos-white);border:1px solid var(--fos-card-border);border-radius:var(--fos-radius);overflow:hidden;text-decoration:none;transition:border-color .15s}
.g-card:hover{border-color:var(--fos-blue)}
.g-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-bottom:1px solid var(--fos-line);background:var(--fos-card-bg)}
.g-card-b{display:flex;flex-direction:column;gap:6px;padding:16px}
.g-card .kicker{margin:0;font-size:11px}
.g-card b{color:var(--fos-ink);line-height:1.3;font-size:15px}
.g-card-d{font-size:14px;color:var(--fos-muted);line-height:1.5}
.g-body .g-note{margin-top:40px;font-size:13px;line-height:1.5;color:var(--fos-muted)}

/* closing band: left-aligned like the prototype, on site.css's dark band */
.g-cta{text-align:left}
.g-cta h2,.g-cta p{margin-left:0}
.g-cta .kicker{color:var(--fos-blue-soft)}

/* hub */
.g-hero-hub h1{max-width:24ch}
.g-hub-body{padding-top:40px;padding-bottom:72px}
.g-hub{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.g-hub .g-card b{font-size:16px}
.g-hub-h2{font-size:28px;margin:56px 0 6px}
.g-hub-note{font-size:15px;color:var(--fos-muted);margin-bottom:18px}
.g-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.g-tools .g-tool{margin:0}

@media (max-width:960px){
  .g-hero-grid{grid-template-columns:1fr;gap:24px}
  .g-ill{order:-1}
  .g-ill img{max-height:260px}
  .g-rel-grid,.g-hub{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-tools{grid-template-columns:1fr}
}
@media (max-width:640px){
  .g-hero{padding:24px 0 24px}
  .g-body{padding-top:24px}
  .g-body>h2,.g-faqs h2,.g-rel h2,.g-hub-h2{font-size:23px;margin-top:40px}
  .g-body p,.g-body li{font-size:16px}
  .g-def,.g-vecu{padding:16px 18px}
  .g-def p{font-size:17px}
  .g-books,.g-rel-grid,.g-hub{grid-template-columns:1fr}
  /* related guides: a compact row (picture left), so the end of a guide is not four screens of cards */
  .g-rel .g-card{flex-direction:row;align-items:stretch}
  .g-rel .g-card img{width:104px;aspect-ratio:auto;border-bottom:none;border-right:1px solid var(--fos-line);flex:none}
  .g-rel .g-card-b{padding:12px 14px}
  /* the comparison table becomes one card per row; each cell says its column */
  .g-table{border:none;overflow:visible}
  .g-table table{min-width:0;display:block}
  .g-table thead{display:none}
  .g-table tbody,.g-table tr,.g-table th,.g-table td{display:block;width:auto}
  .g-table tr{border:1px solid var(--fos-card-border);border-radius:var(--fos-radius);margin-bottom:12px;overflow:hidden}
  .g-table tbody th{background:var(--fos-card-bg);width:auto}
  .g-table td{padding:10px 14px}
  .g-table td::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--fos-muted)}
  .g-table tr:last-child>*{border-bottom:1px solid var(--fos-line)}
  .g-table tr>*:last-child{border-bottom:none}
  .g-table tbody td:last-child{background:#F7F9FF}
  .g-chk{padding:10px 8px}
  .g-photo img{max-height:360px}
  .g-chk-res .btn{width:100%}
}

/* « Pour aller plus loin : les guides » on the founder-bottleneck pillar (block content:guides-more) */
.g-more-sec{margin-top:56px}
.g-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.g-more{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:1px solid var(--fos-card-border);border-radius:var(--fos-radius);background:var(--fos-white);text-decoration:none;transition:border-color .15s}
.g-more:hover{border-color:var(--fos-blue)}
/* article.css underlines every link of an <article> (article a:not(.btn)): a card is not a text link */
article .g-more-sec a.g-more{text-decoration:none;color:inherit}
.g-more .kicker{margin:0;font-size:11px}
.g-more b{color:var(--fos-ink);font-size:16px;line-height:1.3}
.g-more-all{margin-top:16px;font-size:15px}
.g-more-all a{color:var(--fos-blue-ink);font-weight:600}
@media (max-width:640px){.g-more-grid{grid-template-columns:1fr}}
