/* ShowGhost marketing site — shared design-system stylesheet (v0.1) */
.sg, .hd, .ds { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #14121F; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.sg *, .hd *, .ds * { box-sizing: border-box; }
.sg h1, .sg h2, .sg h3, .sg h4, .hd h3, .hd h4, .ds h1, .ds h2, .ds h3, .ds h4 { font-family: "DM Sans", "Space Grotesk", system-ui, sans-serif; margin: 0; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; font-weight: 700; }
.sg p, .hd p, .ds p { margin: 0; text-wrap: pretty; }
.sg ul, .hd ul, .ds ul { margin: 0; padding: 0; list-style: none; }
.sg a, .hd a, .ds a { color: #6A3DB0; text-underline-offset: 3px; }
.sg a:hover, .hd a:hover, .ds a:hover { color: #30184F; }
.sg :focus-visible, .hd :focus-visible, .ds :focus-visible { outline: 3px solid #9C7AD6; outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 32px; }
.sec { padding: clamp(72px, 8cqi, 120px) 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6A3DB0; }
.h1 { font-size: clamp(40px, 4.9cqi, 66px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
.h2 { font-size: clamp(32px, 3.5cqi, 48px); }
.lead { font-size: clamp(17px, 1.4cqi, 20px); color: #5A566E; line-height: 1.55; }
.muted { color: #5A566E; }
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background-color .15s, box-shadow .15s, transform .15s, color .15s; }
.sg a.btn-p, .hd a.btn-p, .ds a.btn-p, .btn-p { background: #30184F; color: #FFFFFF; }
.sg a.btn-p:hover, .hd a.btn-p:hover, .ds a.btn-p:hover, .btn-p.is-hover { background: #45256E; color: #FFFFFF; }
.sg a.btn-p:active, .hd a.btn-p:active, .btn-p.is-active { background: #24113D; color: #FFFFFF; transform: translateY(1px); }
.sg a.btn-s, .hd a.btn-s, .ds a.btn-s, .btn-s { background: #FFFFFF; color: #14121F; box-shadow: inset 0 0 0 1.5px #D9D6E6; }
.sg a.btn-s:hover, .hd a.btn-s:hover, .ds a.btn-s:hover, .btn-s.is-hover { background: #F6F5FB; color: #14121F; box-shadow: inset 0 0 0 1.5px #B9B4CC; }
.sg a.btn-w, .btn-w { background: #FFFFFF; color: #30184F; }
.sg a.btn-w:hover { background: #F1ECF8; color: #30184F; }
.sg a.btn-o, .btn-o { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.sg a.btn-o:hover { background: rgba(255,255,255,.1); color: #FFFFFF; box-shadow: inset 0 0 0 1.5px #FFFFFF; }
.is-focus { outline: 3px solid #9C7AD6; outline-offset: 3px; }
.is-disabled { background: #ECEAF3 !important; color: #8E8AA3 !important; box-shadow: none !important; cursor: not-allowed; }

.arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.sg a.arrow:hover, .hd a.arrow:hover { text-decoration: underline; }

/* Tags */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.tag-c { background: #FFF4D6; color: #7A4B00; }
.tag-g { background: #E3F6EC; color: #0B6B43; }
.tag-n { background: #EFEEF4; color: #45415A; }
.tag-v { background: #F1ECF8; color: #4A2A7A; }
.ph { background: #FFF4D6; color: #7A4B00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Surfaces */
.card { background: #FFFFFF; border: 1px solid #E4E2EE; border-radius: 16px; }
.shot { background: #FFFFFF; border: 1px solid #E4E2EE; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,18,31,.06), 0 24px 48px -12px rgba(48,24,79,.18); }

/* Footer */
.ft a { color: #C9C6D6; text-decoration: none; }
.ft a:hover { color: #FFFFFF; text-decoration: underline; }

/* Header */
.hd-item { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 500; color: #14121F; cursor: pointer; text-decoration: none; }
.hd a.hd-item { color: #14121F; }
.hd .hd-item:hover, .hd a.hd-item:hover { background: #F6F5FB; color: #14121F; }
.hd-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: #14121F; cursor: pointer; }
.hd-icon:hover { background: #F6F5FB; }
.mm-link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; }
.hd a.mm-link { color: #14121F; }
.hd a.mm-link:hover { background: #F6F5FB; color: #14121F; }
.hd-mob, .hd-mob-panel { display: none; }

/* Responsive (container queries: page root and header root are containers) */
@container (max-width: 960px) {
  .hd-desk { display: none !important; }
  .hd-mob { display: inline-flex !important; }
  .hd-mob-panel { display: block !important; }
}
@container (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .stack-sm { flex-direction: column; align-items: stretch !important; }
  .stack-sm > .btn { width: 100%; }
  .hide-sm { display: none !important; }
}

/* Hero distribution hub animation */
@keyframes sg-travel { from { stroke-dashoffset: 8; } to { stroke-dashoffset: -92; } }
@keyframes sg-spin { to { transform: rotate(360deg); } }
@keyframes sg-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(205,184,240,.55), 0 20px 40px -12px rgba(0,0,0,.5); } 60% { box-shadow: 0 0 0 18px rgba(205,184,240,0), 0 20px 40px -12px rgba(0,0,0,.5); } }
@keyframes sg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes sg-ping { 0%, 90% { transform: scale(1); } 96% { transform: scale(1.1); } 100% { transform: scale(1); } }
.sg-flow { stroke-dasharray: 8 92; stroke-dashoffset: 8; animation: sg-travel 3.2s cubic-bezier(.45,0,.3,1) infinite; }
.sg-orbit { animation: sg-spin 48s linear infinite; }
.sg-hubcore { animation: sg-glow 3.2s ease-out infinite; }
.sg-float { animation: sg-float 5s ease-in-out infinite; }
.sg-ping { animation: sg-ping 3.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .sg-orbit, .sg-hubcore, .sg-float, .sg-ping { animation: none !important; }
  .sg-flow { display: none; }
}
@keyframes sg-wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.sg-wave { transform-origin: center; animation: sg-wave 1.1s ease-in-out infinite; }
@keyframes sg-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sg-progress { transform-origin: left center; animation: sg-progress 6s linear forwards; }
.sg-tab { flex: 1 1 0; min-width: 0; min-height: 56px; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 4px 4px; border: 0; border-top: 2px solid #E4E2EE; background: transparent; font: inherit; text-align: left; cursor: pointer; color: #5A566E; }
.sg-tab:hover { color: #14121F; }
@media (prefers-reduced-motion: reduce) { .sg-wave, .sg-progress { animation: none !important; } }

/* Header */
body{margin:0}

/* Page */
body{margin:0;background:#fff}

/* Static-site helpers */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; }
.dc-if { display: contents; }
[hidden] { display: none !important; }

/* Hero slide 4 · listener analytics */
.sg-draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.sg-area { opacity: 0; }
[style*="opacity:1;"] .sg-draw { animation: sg-draw 2.2s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
[style*="opacity:1;"] .sg-area { animation: sg-fade .8s ease 1.6s forwards; }
[style*="opacity:1;"] .sg-bar { animation: sg-grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sg-draw { to { stroke-dashoffset: 0; } }
@keyframes sg-fade { to { opacity: 1; } }
@keyframes sg-grow { from { transform: scaleX(0); } }
.sg-bar { transform-origin: left center; }
/* Small hero frame (phones): keep the stats and chart, drop the bottom row so the card fits */
@container (max-width: 520px) { .sg-an-bottom { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .sg-draw { stroke-dashoffset: 0; animation: none !important; }
  .sg-area { opacity: 1; animation: none !important; }
  .sg-bar { animation: none !important; }
}
