/* Public PisoTrack branding, isolated from the guide content styles.
   v3 matches the site navbar (src/components/Navbar.tsx): 32px link gaps, a 12px chevron
   icon instead of the ⌄ character, slate-500 menu descriptions, and the Products menu
   opening on hover (site-shell-v3.js). */
.site-header{position:sticky;top:0;z-index:40;background:rgba(2,6,23,.96);backdrop-filter:blur(20px);border-bottom:1px solid #1e293b80;color:#fff}
.site-header-inner{max-width:1280px;margin:auto;padding:0 24px;height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-brand{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;white-space:nowrap;font-size:20px;font-weight:700;letter-spacing:-.025em;line-height:1.2}
.site-brand img{display:block;width:36px;height:36px;border-radius:12px;box-shadow:0 8px 20px #3b82f640}
.site-links{display:flex;align-items:center;gap:32px;font-size:14px;color:#94a3b8}
.site-links a,.site-auth a,.site-footer a{text-decoration:none}
.site-links>a,.site-products summary{color:#94a3b8;line-height:1.5;padding:16px 0}
.site-links a:hover,.site-products summary:hover,.site-auth .site-signin:hover{color:#fff}
.site-products{position:relative}
.site-products summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:4px}
.site-products summary::-webkit-details-marker{display:none}
.site-caret{width:12px;height:12px;flex:none;transition:transform .2s}
.site-products[open] .site-caret{transform:rotate(180deg)}
.site-product-list{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:600px;padding:16px;background:#0f172a;border:1px solid #33415580;border-radius:16px;box-shadow:0 25px 50px #0006;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.site-product-list::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.site-product-list a{display:flex;flex-direction:column;padding:12px;border-radius:12px;color:#fff}
.site-product-list a:hover{background:#1e293b}
.site-product-list strong{font-size:14px;line-height:20px;font-weight:500}
.site-product-list span{font-size:12px;line-height:16px;color:#64748b;margin-top:2px}
.site-auth{display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}
.site-signin{color:#cbd5e1;padding:12px}
.site-start{color:#fff;font-weight:600;background:linear-gradient(to right,#2563eb,#06b6d4);border-radius:12px;padding:10px 20px;box-shadow:0 8px 18px #3b82f640}
.site-start:hover{background:linear-gradient(to right,#3b82f6,#22d3ee)}
.site-menu-toggle{display:none;color:#fff;background:transparent;border:0;border-radius:8px;padding:12px;min-height:44px;min-width:44px;align-items:center;justify-content:center}
.site-mobile-signin{display:none}
.guide-nav{background:#fff;border-bottom:1px solid #dce3ed}
.guide-nav>.shell{display:flex;align-items:center;gap:24px;min-height:52px}
.guide-nav-label{font-size:11px;letter-spacing:.12em;color:#52647a;font-weight:750}
.guide-nav nav{display:flex;gap:8px;flex-wrap:wrap}
.guide-nav nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;text-decoration:none;color:#52647a;font-size:13px;font-weight:600;border-radius:8px}
.guide-nav nav a[aria-current]{color:#254ed5;background:#eaf0fe}
.guide-nav nav a:hover{background:#f0f3f8}
.site-footer{background:#020617;border-top:1px solid #1e293b80;color:#94a3b8}
.site-footer-inner{max-width:1152px;padding:48px 24px;margin:auto}
.site-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-bottom:32px}
.site-description{font-size:14px;line-height:1.65;margin-top:16px;max-width:384px}
.site-footer h2{font-size:14px;font-weight:600;letter-spacing:0;line-height:1.5;color:#fff;margin:0 0 16px}
.site-footer ul{list-style:none;margin:0;padding:0;font-size:14px;line-height:1.5}
.site-footer li+li{margin-top:10px}
.site-footer li a{color:#94a3b8}
.site-footer a:hover{color:#fff;text-decoration:underline}
.site-footer-bottom{border-top:1px solid #1e293b80;padding-top:32px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}
.site-footer-bottom>div{display:flex;gap:16px;align-items:center;font-size:12px;flex-wrap:wrap}
.site-footer-bottom a{color:#94a3b8}
.guide-review-note{padding-bottom:24px;font-size:11px;color:#52647a}
@media(max-width:1000px){.site-links{gap:18px}.site-header-inner{gap:12px;padding:0 16px}.site-brand{font-size:18px;gap:8px}.site-auth{font-size:13px}.site-start{padding-inline:14px}.site-signin{padding-inline:6px}}
@media(max-width:1279px){.site-header-inner{height:auto;min-height:56px;flex-wrap:wrap;gap:0 8px}.site-auth{margin-left:auto}.site-brand img{width:32px;height:32px}.site-links{order:3;width:100%;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:8px 8px 20px;max-height:calc(100dvh - 56px);overflow-y:auto}.site-links>a,.site-products summary{padding:14px 0;border-bottom:1px solid #1e293b80}.site-product-list{position:static;transform:none;width:100%;grid-template-columns:1fr;border:0;box-shadow:none;margin-bottom:8px;padding:4px}
.site-product-list::before{display:none}.site-product-list a{padding:10px 12px}.site-products summary{justify-content:space-between}.shell-ready .site-links:not(.is-open){display:none}.shell-ready .site-menu-toggle{display:inline-flex}.site-signin{display:none}.site-mobile-signin{display:block}.site-start{font-size:12px;padding:10px 12px}.guide-nav>.shell{gap:8px;justify-content:space-between;min-height:52px}.guide-nav-label{font-size:9px}.guide-nav nav{gap:2px}.guide-nav nav a{font-size:12px;padding:8px 10px}.site-footer-grid{grid-template-columns:1fr;gap:32px}.site-footer-bottom{flex-direction:column;text-align:center}.site-footer-bottom>div{justify-content:center}.site-footer-inner{padding:40px 24px}.site-footer .site-brand{font-size:20px}.site-description{max-width:384px}}
@media(max-width:360px){.guide-nav-label{display:none}.guide-nav>.shell{justify-content:center}.site-header-inner{padding-inline:12px}.site-brand{font-size:17px;gap:7px}.site-start{padding-inline:10px}.site-auth{gap:2px}}
@media print{.site-header,.site-footer,.guide-nav,.guide-review-note{display:none!important}}

@media(min-width:801px) and (max-width:1279px){.site-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.site-footer-bottom{flex-direction:row;text-align:left}}
@media(max-width:760px){.guide-nav-label{display:none}.guide-nav nav{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.guide-nav nav a{justify-content:center;padding-inline:6px;white-space:nowrap}}
