/* Guides (website/guides/) and the AI facts page (website/for-ai.html): long reading pages.
   Site-wide pieces (tokens --blue/--ink/--muted/--line, header, buttons, FAQ, footer) come from the homepage's own
   styles, injected at build time (<!-- site-styles --> in copy-site.mjs), so these pages follow the site's look.
   Written for answer engines as much as people: one H1 question, a short answer first, question headings, tables. */

.guide{padding:36px 0 40px}
.guide .wrap{max-width:780px}
.guide h1{font-size:clamp(34px,4vw,52px);line-height:1.06;font-weight:800;letter-spacing:-.04em;margin:14px 0 18px;color:var(--ink)}
.guide .by{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--muted);margin-bottom:28px}
.guide .by b{color:var(--ink);font-weight:700}
.answer-box{border-left:4px solid var(--blue);background:rgba(31,63,216,.06);border-radius:0 16px 16px 0;padding:20px 24px;margin:0 0 36px}
.answer-box p{margin:0;font-size:18px;line-height:1.6;color:var(--ink)}
.answer-box .k{display:block;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--blue);margin-bottom:8px}
.prose h2{font-size:clamp(24px,2.4vw,32px);line-height:1.15;font-weight:800;letter-spacing:-.03em;margin:48px 0 14px;color:var(--ink)}
.prose h3{font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.015em;margin:30px 0 10px;color:var(--ink)}
.prose p,.prose li{font-size:17px;line-height:1.7;color:#2b3150}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:22px}
.prose li{margin:0 0 8px}
.prose a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.prose strong{color:var(--ink)}
.prose code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.92em;background:#eef1f8;border-radius:6px;padding:2px 6px;white-space:nowrap}
.tbl{overflow-x:auto;margin:8px 0 24px;border-radius:16px;box-shadow:0 0 0 1px var(--line,#e1e5f3)}
.tbl table{width:100%;border-collapse:collapse;font-size:15.5px;line-height:1.5;min-width:560px}
.tbl th{text-align:left;font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:#f5f7fc;padding:14px 16px}
.tbl td{padding:14px 16px;border-top:1px solid var(--line,#e1e5f3);vertical-align:top;color:#2b3150}
.tbl td:first-child{font-weight:700;color:var(--ink)}
.note-box{background:#fff8e1;border-radius:14px;padding:16px 20px;margin:0 0 22px;font-size:15.5px;line-height:1.6;color:#4a3d10}
.guide-cta{margin:56px 0 0;padding:34px 32px;border-radius:24px;background:var(--ink,#0a1033);color:#fff}
.guide-cta h2{margin:0 0 10px;font-size:clamp(24px,2.4vw,30px);font-weight:800;letter-spacing:-.03em;color:#fff}
.guide-cta p{margin:0 0 20px;font-size:16.5px;line-height:1.6;color:rgba(226,234,255,.82)}
.guide-cta .row{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center}
.guide-cta .row a.tel{color:#fff;font-weight:700}
.related{margin:44px 0 0}
.related h2{font-size:20px;font-weight:800;margin:0 0 12px;color:var(--ink)}
.related ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.related a{display:block;padding:16px 18px;border-radius:14px;box-shadow:0 0 0 1px var(--line,#e1e5f3);color:var(--ink);font-weight:700;text-decoration:none}
.related a:hover{box-shadow:0 0 0 2px var(--blue)}
.related a span{display:block;font-weight:500;font-size:14.5px;color:var(--muted);margin-top:4px}
.guide .faq-list{margin-top:8px}

/* guides hub: the list of articles */
.glist{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.glist a{display:flex;flex-direction:column;height:100%;padding:24px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px var(--line,#e1e5f3);text-decoration:none;color:var(--ink)}
.glist a:hover{box-shadow:0 0 0 2px var(--blue)}
.glist .t{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--blue)}
.glist b{display:block;margin:10px 0 8px;font-size:20px;line-height:1.25;letter-spacing:-.02em}
.glist span:last-child{font-size:15px;line-height:1.55;color:var(--muted)}
.guide.hubp .wrap{max-width:1080px}

@media (max-width:820px){
  .guide{padding:20px 0 24px}
  .answer-box{padding:16px 18px}
  .answer-box p{font-size:16.5px}
  .prose p,.prose li{font-size:16px}
  .guide-cta{padding:26px 20px}
}
