/* Editorial product pages share the site's colors, controls and navigation. */
.guide-site{--guide-radius:18px}
.guide-site .section{padding:80px 0}
.guide-site .section-head{gap:48px;margin-bottom:36px;align-items:start}
.guide-site .section h2{font-size:clamp(28px,3.7vw,40px);line-height:1.14;letter-spacing:-.04em;hyphens:none;text-wrap:balance}
.guide-site .section-copy{font-size:17px;line-height:1.7;max-width:60ch}
.guide-site .kicker{font-size:11px;letter-spacing:.1em;line-height:1.5}
.guide-nav{display:flex;gap:4px 22px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--line);margin-top:12px}
.guide-nav a{display:inline-flex;align-items:center;min-height:36px;color:var(--muted);text-decoration:none;font-size:13px;font-weight:550;white-space:nowrap;border-bottom:2px solid transparent}
.guide-nav a:hover,.guide-nav a[aria-current="page"]{color:var(--text);border-bottom-color:var(--accent)}
.product-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:center;padding-top:72px;padding-bottom:56px}
.product-identity{display:flex;align-items:center;gap:14px;margin-bottom:32px}
.product-identity img{display:block;flex:none;border-radius:13px;box-shadow:0 6px 18px #0001}
.product-identity h1{font-size:23px;line-height:1.2;letter-spacing:-.04em;margin:0}
.product-identity p{color:var(--muted);font-size:12px;margin:5px 0 0}
.product-intro h2{font-size:clamp(36px,4.4vw,54px);font-weight:720;line-height:1.08;letter-spacing:-.05em;text-wrap:balance;margin:0 0 24px}
.product-summary{font-size:18px;line-height:1.65;color:var(--muted);margin:0 0 28px;max-width:50ch}
.product-hero .actions{gap:10px}
.product-hero .button{font-size:13px;min-height:44px;padding:0 17px}
.product-status{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;margin:22px 0 0}
.product-status>span{height:6px;width:6px;flex:none;border-radius:50%;background:var(--accent)}
.product-visual,.guide-hero-visual{min-width:0}
.product-release{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start;padding:24px 0 40px}
.product-release .kicker{margin:3px 0 0}
.product-release p{margin:0;max-width:80ch;font-size:14px;line-height:1.7;color:var(--muted)}
.guide-site .feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 36px}
.guide-site .feature{padding:0 0 24px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;min-width:0}
.guide-site .feature h3{font-size:18px;line-height:1.4;letter-spacing:-.02em;margin:0 0 12px}
.guide-site .feature p{font-size:15px;line-height:1.75}
.guide-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
.guide-chapter{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:16px;padding:28px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--text);min-width:0}
.guide-number{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--muted);line-height:1.8}
.guide-chapter h3{margin:0 0 10px;font-size:22px;line-height:1.2;letter-spacing:-.035em}
.guide-chapter p{grid-column:2;margin:0 0 16px;font-size:15px;line-height:1.7;color:var(--muted)}
.guide-read{grid-column:2;font-size:13px;font-weight:600;color:color-mix(in srgb,var(--accent) 40%,var(--text))}
.guide-chapter:hover h3{text-decoration:underline;text-underline-offset:5px}
.guide-workflow{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:64px;padding:36px;border:1px solid var(--line);border-radius:var(--guide-radius);background:var(--panel)}
.guide-workflow .section-copy{margin-top:20px}
.guide-workflow ol{list-style:none;counter-reset:workflow;margin:0;padding:0}
.guide-workflow li{counter-increment:workflow;position:relative;padding:0 0 24px 34px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.guide-workflow li:last-child{margin-bottom:0;padding-bottom:0;border:0}
.guide-workflow li:before{content:counter(workflow,decimal-leading-zero);position:absolute;left:0;top:3px;font-size:11px;font-weight:650;color:var(--muted)}
.guide-workflow h3{margin:0 0 8px;font-size:17px;letter-spacing:-.02em;line-height:1.4}
.guide-workflow li p{margin:0;color:var(--muted);font-size:15px;line-height:1.7}
/* Every screenshot has a bounded stage. Portrait images retain their real ratio. */
.preview-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.preview-figure{margin:0;min-width:0}
.preview-figure>a{position:relative;display:block;border:1px solid var(--line);border-radius:var(--guide-radius);overflow:hidden;color:var(--text);background:var(--panel);cursor:zoom-in}
.preview-stage{display:grid;grid-template-rows:minmax(0,1fr);place-items:center;padding:20px;height:300px;background:linear-gradient(150deg,color-mix(in srgb,var(--accent) 5%,var(--bg)),var(--panel))}
.preview-stage img{display:block;min-width:0;min-height:0;max-width:min(100%,1000px);max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:6px;box-shadow:0 8px 22px #0002}
.preview-zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:var(--bg);font-size:19px}
.preview-figure figcaption{font-size:12px;line-height:1.6;color:var(--muted);margin-top:12px}
.preview-figure figcaption span{display:block;font-size:11px;margin-top:3px}
.preview-context{font-size:11px;line-height:1.65;color:var(--muted);margin:14px 0 0}
.product-visual .preview-stage{height:auto;min-height:230px;padding:24px}
.product-visual .preview-stage img{width:100%}
/* Chapter openings pair a short introduction with a restrained product view. */
.guide-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:64px;align-items:center;padding-top:56px;padding-bottom:56px}
.release-badge{display:inline-flex;align-items:center;gap:6px;margin:0 0 24px;padding:6px 10px;font-size:11px;font-weight:550;color:var(--muted);border:1px solid var(--line);border-radius:6px;background:var(--panel)}
.guide-hero .eyebrow{font-size:11px;letter-spacing:.12em;margin:0 0 14px}
.guide-hero h1{font-size:clamp(34px,4.3vw,52px);line-height:1.1;letter-spacing:-.045em;text-wrap:balance;overflow-wrap:break-word;margin:0}
.guide-hero .lead{font-size:18px;line-height:1.65;letter-spacing:0;margin:22px 0 0;max-width:56ch}
.guide-hero .preview-stage{height:250px;padding:18px}
.guide-hero .is-portrait .preview-stage{height:300px}
.guide-layout{display:grid;grid-template-columns:216px minmax(0,1fr);gap:64px;border-top:1px solid var(--line);padding-top:48px;padding-bottom:72px}
.guide-contents{align-self:start;position:sticky;top:28px}
.guide-contents .kicker{color:var(--text);margin:0 0 18px}
.guide-contents ol{list-style:none;padding:0;margin:0}
.guide-contents li{margin:0 0 14px;font-size:13px;line-height:1.6}
.guide-contents a{color:var(--muted);text-decoration:none}
.guide-contents a:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.guide-article{min-width:0;max-width:760px}
.guide-section{scroll-margin-top:28px;padding-bottom:36px;margin-bottom:36px;border-bottom:1px solid var(--line)}
.guide-section:last-child{padding-bottom:0;margin-bottom:0;border:0}
.guide-section-heading{display:flex;align-items:baseline;gap:16px;margin:0 0 22px}
.guide-section h2{font-size:28px;line-height:1.2;letter-spacing:-.035em;margin:0;text-wrap:balance}
.guide-section-body>p,.guide-definitions dd,.guide-note p{font-size:16px;line-height:1.8;margin:0 0 18px;color:var(--muted);overflow-wrap:break-word}
.guide-section-body>p.guide-section-intro{color:var(--text);font-size:17px}
.guide-section-body strong{font-weight:600;color:var(--text)}
.guide-section-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;padding:2px 5px;border-radius:4px;background:var(--panel);border:1px solid var(--line);white-space:nowrap}
.guide-definitions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;margin:24px 0}
.guide-definitions>div{padding:16px 0;border-top:1px solid var(--line);min-width:0}
.guide-definitions dt{font-size:15px;font-weight:650;line-height:1.5;margin-bottom:6px}
.guide-definitions dd{margin:0;font-size:14px;line-height:1.7}
.guide-note{padding:18px 20px;background:var(--panel);border-left:3px solid var(--accent);border-radius:0 10px 10px 0;margin-top:24px}
.guide-note p{margin:0;font-size:14px;color:var(--text)}
.guide-section .preview-figure{margin:28px 0}
.guide-section .preview-stage{height:auto;max-height:340px;padding:20px}
.guide-section .preview-stage img{width:100%;max-height:300px}
.guide-site .faq-list{max-width:760px}
.guide-site .faq{padding:20px 0}
.guide-site .faq summary{font-size:17px}
.guide-site .faq p{font-size:15px;line-height:1.8}
.guide-adjacent{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.guide-adjacent a{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--line);border-radius:var(--guide-radius);background:var(--panel);color:var(--text);text-decoration:none}
.guide-adjacent a:hover{border-color:var(--accent)}
.guide-adjacent a>span{font-size:12px;color:var(--muted)}
.guide-adjacent strong{display:flex;justify-content:space-between;gap:12px;font-size:19px;font-weight:600;letter-spacing:-.02em}
.guide-contact{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;margin-top:56px}
.guide-contact h2{margin-bottom:16px}
.guide-contact .section-copy{font-size:15px}
@media(max-width:960px){
  .product-hero,.guide-hero{gap:32px}
  .guide-site .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .guide-layout{grid-template-columns:180px minmax(0,1fr);gap:36px}
  .guide-workflow{gap:32px;padding:28px}
  .guide-chapters{column-gap:32px}
  .preview-stage{height:260px;padding:16px}
}
@media(max-width:700px){
  .guide-site .section{padding:56px 0}
  .guide-site .section-head{grid-template-columns:1fr;gap:20px;margin-bottom:28px}
  .guide-nav{flex-wrap:nowrap;overflow-x:auto;gap:22px;padding:12px 2px;scrollbar-width:thin}
  .product-hero,.guide-hero{grid-template-columns:1fr;gap:32px;padding-top:36px;padding-bottom:32px}
  .product-identity{margin-bottom:24px}
  .product-intro h2{font-size:40px;max-width:15ch}
  .product-summary{font-size:17px;max-width:58ch}
  .product-release{grid-template-columns:1fr;gap:10px;padding-bottom:32px}
  .product-visual .preview-stage{min-height:0;padding:18px}
  .guide-chapters,.guide-workflow,.guide-contact,.guide-layout{grid-template-columns:1fr;gap:28px}
  .guide-chapters{gap:0}
  .guide-workflow{margin-top:36px;padding:24px}
  .guide-layout{padding-top:28px;padding-bottom:48px}
  .guide-contents{position:static;border-bottom:1px solid var(--line);padding-bottom:18px}
  .guide-contents ol{display:flex;flex-wrap:wrap;gap:8px 18px}
  .guide-contents li{margin:0;font-size:12px}
  .guide-contents .kicker{margin-bottom:12px}
  .guide-hero h1{font-size:38px;max-width:19ch}
  .guide-hero .lead{font-size:17px}
  .guide-hero .preview-stage{height:240px}
  .guide-hero .is-portrait .preview-stage{height:280px}
  .guide-section-heading{gap:12px}
  .guide-section h2{font-size:25px}
  .guide-section .guide-number{font-size:11px}
  .guide-adjacent{gap:12px}
  .guide-adjacent a{padding:18px}
  .guide-adjacent strong{font-size:17px}
}
@media(max-width:480px){
  .guide-site .feature-grid,.preview-gallery,.guide-definitions{grid-template-columns:1fr}
  .guide-site .feature-grid{gap:24px}
  .guide-site .feature{padding-bottom:20px}
  .product-intro h2{font-size:36px}
  .preview-stage{height:260px}
  .guide-adjacent{grid-template-columns:1fr}
  .guide-contact .actions{flex-direction:column;align-items:flex-start}
  .guide-section-heading{display:block}
  .guide-section-heading .guide-number{display:block;margin-bottom:8px}
}
