:root{
  --guide-accent:#1b8e2d;
  --guide-accent-soft:color-mix(in srgb,var(--guide-accent) 10%,var(--hc-surface));
  --guide-code:#101828;
  --guide-code-text:#eef4ff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--hc-text)}
a{color:inherit}
.guides-main{width:min(1180px,calc(100% - 36px));margin:0 auto;padding:clamp(30px,5vw,64px) 0 90px}
.guide-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:26px;align-items:end;padding:clamp(26px,5vw,48px);border:1px solid var(--hc-line);border-radius:28px;background:var(--hc-surface);box-shadow:var(--hc-shadow)}
.guide-hero h1,.guide-article h1{margin:6px 0 16px;font-size:clamp(2.5rem,7vw,5.6rem);line-height:.94;letter-spacing:-.065em}
.guide-hero p,.guide-article .lede{max-width:760px;margin:0;color:var(--hc-muted);font-size:clamp(1rem,1.6vw,1.15rem);line-height:1.65}
.eyebrow{margin:0;color:var(--hc-muted);font-size:.7rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.guide-search{padding:18px;border:1px solid var(--hc-line);border-radius:18px;background:var(--hc-surface-soft)}
.guide-search label{display:block;margin-bottom:8px;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.guide-search input{width:100%;min-height:50px;padding:0 15px;border:1px solid var(--hc-line);border-radius:12px;background:var(--hc-surface);color:var(--hc-text);font:inherit}
.guide-search p{margin:10px 0 0;font-size:.78rem!important;line-height:1.45!important}
.guide-section{margin-top:42px}
.guide-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}
.guide-section-heading h2{margin:4px 0 0;font-size:clamp(1.55rem,3vw,2.25rem);letter-spacing:-.045em}
.guide-section-heading p{max-width:520px;margin:0;color:var(--hc-muted);font-size:.9rem;line-height:1.55;text-align:right}
.guide-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.guide-card{display:flex;min-height:210px;flex-direction:column;padding:22px;border:1px solid var(--hc-line);border-radius:18px;background:var(--hc-surface);text-decoration:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.guide-card:hover{transform:translateY(-3px);border-color:var(--hc-line-strong);box-shadow:0 14px 36px rgba(16,24,40,.09)}
.guide-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.guide-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--hc-line);border-radius:11px;background:var(--hc-surface-soft);font-family:"Space Mono",monospace;font-weight:800}
.guide-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:var(--hc-surface-soft);color:var(--hc-muted);font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.guide-badge.pro{background:var(--guide-code);color:#fff}
.guide-card h3{margin:25px 0 8px;font-size:1.2rem;letter-spacing:-.025em}
.guide-card p{margin:0;color:var(--hc-muted);font-size:.86rem;line-height:1.58}
.guide-card .guide-link{margin-top:auto;padding-top:18px;font-size:.78rem;font-weight:800}
.guide-empty{padding:30px;border:1px dashed var(--hc-line-strong);border-radius:18px;color:var(--hc-muted);text-align:center}
.workflow-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:18px}
.workflow-step{position:relative;padding:18px;border:1px solid var(--hc-line);border-radius:15px;background:var(--hc-surface-soft)}
.workflow-step span{display:grid;place-items:center;width:28px;height:28px;margin-bottom:16px;border-radius:9px;background:var(--hc-primary);color:var(--hc-primary-text);font-family:"Space Mono",monospace;font-size:.72rem;font-weight:800}
.workflow-step strong{display:block;margin-bottom:6px;font-size:.86rem}.workflow-step small{color:var(--hc-muted);font-size:.73rem;line-height:1.45}
.guide-layout{display:grid;grid-template-columns:250px minmax(0,790px);gap:42px;align-items:start;justify-content:center}
.guide-toc{position:sticky;top:82px;padding:17px;border:1px solid var(--hc-line);border-radius:17px;background:var(--hc-surface)}
.guide-toc>a:first-child{display:block;margin-bottom:14px;font-weight:800;text-decoration:none}
.guide-toc strong{display:block;margin-bottom:9px;color:var(--hc-muted);font-size:.67rem;letter-spacing:.12em;text-transform:uppercase}
.guide-toc nav{display:grid;gap:3px}
.guide-toc nav a{padding:8px 10px;border-radius:9px;color:var(--hc-text-soft);font-size:.78rem;line-height:1.35;text-decoration:none}
.guide-toc nav a:hover,.guide-toc nav a.active{background:var(--hc-surface-soft);color:var(--hc-text)}
.guide-article{min-width:0}
.guide-article>header{padding:30px 0 26px;border-bottom:1px solid var(--hc-line)}
.guide-article h1{font-size:clamp(2.5rem,6vw,4.5rem)}
.guide-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.guide-meta span{padding:7px 10px;border:1px solid var(--hc-line);border-radius:999px;background:var(--hc-surface-soft);color:var(--hc-muted);font-size:.68rem;font-weight:750}
.guide-article section{padding-top:34px}
.guide-article h2{margin:0 0 14px;font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.08;letter-spacing:-.04em}
.guide-article h3{margin:28px 0 9px;font-size:1.08rem}
.guide-article p,.guide-article li{color:var(--hc-text-soft);font-size:.97rem;line-height:1.75}
.guide-article ul,.guide-article ol{padding-left:22px}
.guide-article li+li{margin-top:8px}
.guide-article code{padding:.15em .38em;border-radius:5px;background:var(--hc-surface-soft);font-family:"Space Mono",monospace;font-size:.9em}
.guide-note,.guide-warning,.guide-pro,.guide-standard{margin:20px 0;padding:18px 19px;border:1px solid var(--hc-line);border-radius:14px;background:var(--hc-surface-soft);color:var(--hc-text-soft);font-size:.9rem;line-height:1.6}
.guide-note strong,.guide-warning strong,.guide-pro strong,.guide-standard strong{display:block;margin-bottom:4px;color:var(--hc-text)}
.guide-warning{border-color:color-mix(in srgb,#d97706 35%,var(--hc-line));background:color-mix(in srgb,#d97706 8%,var(--hc-surface))}
.guide-pro{border-color:color-mix(in srgb,#6d5dfc 35%,var(--hc-line));background:color-mix(in srgb,#6d5dfc 8%,var(--hc-surface))}
.guide-standard{border-left:4px solid var(--guide-accent);border-radius:0 14px 14px 0}
.guide-standard a{font-weight:750;text-underline-offset:3px}
.guide-steps{display:grid;gap:10px;counter-reset:guide-step;margin:20px 0}
.guide-step{position:relative;padding:18px 18px 18px 58px;border:1px solid var(--hc-line);border-radius:14px;background:var(--hc-surface)}
.guide-step::before{counter-increment:guide-step;content:counter(guide-step);position:absolute;left:17px;top:17px;display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--hc-primary);color:var(--hc-primary-text);font-family:"Space Mono",monospace;font-size:.7rem;font-weight:800}
.guide-step strong{display:block;margin-bottom:4px}.guide-step p{margin:0;font-size:.88rem}
.guide-table-wrap{overflow:auto;margin:20px 0;border:1px solid var(--hc-line);border-radius:14px}
.guide-table{width:100%;border-collapse:collapse;min-width:580px;background:var(--hc-surface)}
.guide-table th,.guide-table td{padding:13px 15px;border-bottom:1px solid var(--hc-line);text-align:left;vertical-align:top;font-size:.82rem;line-height:1.5}
.guide-table th{background:var(--hc-surface-soft);color:var(--hc-muted);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}
.guide-table tr:last-child td{border-bottom:0}
.code-example{position:relative;margin:20px 0;overflow:auto;border-radius:14px;background:var(--guide-code);color:var(--guide-code-text)}
.code-example pre{margin:0;padding:20px;font-family:"Space Mono",monospace;font-size:.78rem;line-height:1.65;white-space:pre-wrap}
.guide-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.guide-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid var(--hc-line);border-radius:11px;background:var(--hc-surface);font-size:.8rem;font-weight:800;text-decoration:none}
.guide-actions a.primary{border-color:var(--hc-primary);background:var(--hc-primary);color:var(--hc-primary-text)}
.guide-next{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:48px;padding-top:28px;border-top:1px solid var(--hc-line)}
.guide-next a{padding:16px;border:1px solid var(--hc-line);border-radius:13px;background:var(--hc-surface);text-decoration:none}
.guide-next small{display:block;margin-bottom:5px;color:var(--hc-muted);font-size:.66rem;text-transform:uppercase;letter-spacing:.08em}.guide-next strong{font-size:.88rem}
.checklist{display:grid;gap:8px;padding:0!important;list-style:none}
.checklist li{position:relative;padding:12px 14px 12px 40px;border:1px solid var(--hc-line);border-radius:11px;background:var(--hc-surface)}
.checklist li::before{content:'✓';position:absolute;left:14px;top:11px;color:var(--guide-accent);font-weight:900}
@media(max-width:980px){.guide-hero{grid-template-columns:1fr}.guide-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-layout{grid-template-columns:1fr;gap:12px}.guide-toc{position:static}.guide-toc nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.guides-main{width:min(100% - 24px,1180px);padding-top:22px}.guide-hero{padding:23px;border-radius:20px}.guide-section{margin-top:34px}.guide-section-heading{align-items:start;flex-direction:column}.guide-section-heading p{text-align:left}.guide-card-grid,.workflow-strip,.guide-next{grid-template-columns:1fr}.guide-card{min-height:190px}.guide-toc nav{grid-template-columns:1fr}.guide-table th,.guide-table td{padding:11px}.guide-actions a{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.guide-card{transition:none}}
