/* GOD product-site theme — injected at publish time. */
:root {
  color-scheme: dark;
  --g-bg: #06070c;
  --g-text: #eef1f8;
  --g-muted: #9aa2b8;
  --g-faint: #646c82;
  --g-border: rgba(255,255,255,.08);
  --g-border-strong: rgba(255,255,255,.16);
  --g-glass: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  --g-blue: #4f8cff; --g-violet: #9b6bff; --g-pink: #ff5fa8; --g-amber: #ffb547; --g-teal: #2fd4c4;
  --g-good: #34d399; --g-warn: #fbbf24; --g-bad: #f87171;
  --g-grad: linear-gradient(90deg, #4f8cff 0%, #9b6bff 40%, #ff5fa8 75%, #ffb547 100%);
  --g-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
html {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(79,140,255,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 5%, rgba(155,107,255,.10), transparent 60%),
    var(--g-bg) !important;
  background-attachment: fixed !important;
  min-height: 100%;
}
html body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  color: var(--g-text) !important;
  background: transparent !important;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}
html body > *:not(.god-aurora) { position: relative; z-index: 2; }
body main { padding-bottom: 8rem; }

/* Aurora: drifting blurred light at the bottom + light streaks passing below */
.god-aurora {
  position: fixed !important; left: 0; right: 0; bottom: 0; height: 60vh; z-index: 0 !important;
  pointer-events: none; overflow: hidden; opacity: .7;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.85) 30%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.85) 30%, transparent 100%);
}
.god-aurora i { position: absolute; display: block; }
.god-aurora .g-blob { bottom: -28vh; width: 60vw; height: 52vh; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; will-change: transform; }
.god-aurora .g-b1 { left: -15vw; background: radial-gradient(closest-side, #3b6dff, transparent); animation: g-drift1 22s ease-in-out infinite; }
.god-aurora .g-b2 { left: 18vw;  background: radial-gradient(closest-side, #8b5cf6, transparent); animation: g-drift2 27s ease-in-out infinite; }
.god-aurora .g-b3 { left: 45vw;  background: radial-gradient(closest-side, #ff4f9a, transparent); animation: g-drift3 24s ease-in-out infinite; }
.god-aurora .g-b4 { left: 70vw;  background: radial-gradient(closest-side, #ffad3b, transparent); animation: g-drift1 30s ease-in-out infinite reverse; opacity: .75; }
.god-aurora .g-b5 { left: 30vw;  background: radial-gradient(closest-side, #22d3c5, transparent); animation: g-drift2 34s ease-in-out infinite reverse; opacity: .6; height: 38vh; }
@keyframes g-drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(22vw,-4vh,0) scale(1.15); } }
@keyframes g-drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(-18vw,-7vh,0) scale(.9); } }
@keyframes g-drift3 { 0%,100% { transform: translate3d(0,0,0) scale(.95); } 33% { transform: translate3d(-14vw,-3vh,0) scale(1.1); } 66% { transform: translate3d(12vw,-8vh,0) scale(1); } }
.god-aurora .g-streak { left: 0; height: 3px; width: 38vw; border-radius: 999px; filter: blur(6px); opacity: 0; mix-blend-mode: screen; animation: g-pass linear infinite; }
.god-aurora .g-streak::after { content: ""; position: absolute; inset: -14px 0; border-radius: 999px; background: inherit; filter: blur(22px); opacity: .7; }
.god-aurora .g-s1 { bottom: 6vh;  background: linear-gradient(90deg, transparent, #4f8cff, #c9dcff); animation-duration: 7s; animation-delay: -1s; }
.god-aurora .g-s2 { bottom: 11vh; background: linear-gradient(90deg, transparent, #ff5fa8, #ffd1e6); animation-duration: 9.5s; animation-delay: -5s; height: 2px; }
.god-aurora .g-s3 { bottom: 3vh;  background: linear-gradient(90deg, transparent, #9b6bff, #e3d6ff); animation-duration: 6s; animation-delay: -3.2s; height: 4px; }
.god-aurora .g-s4 { bottom: 16vh; background: linear-gradient(270deg, transparent, #ffb547, #fff0d4); animation-duration: 11s; animation-delay: -7s; animation-name: g-pass-back; height: 2px; }
.god-aurora .g-s5 { bottom: 8vh;  background: linear-gradient(270deg, transparent, #2fd4c4, #d4fffa); animation-duration: 8.5s; animation-delay: -2s; animation-name: g-pass-back; }
@keyframes g-pass { 0% { transform: translateX(-45vw); opacity: 0; } 12%, 85% { opacity: .9; } 100% { transform: translateX(110vw); opacity: 0; } }
@keyframes g-pass-back { 0% { transform: translateX(110vw); opacity: 0; } 12%, 85% { opacity: .8; } 100% { transform: translateX(-45vw); opacity: 0; } }

/* Typography */
body h1 {
  font-weight: 800 !important; letter-spacing: -.025em; line-height: 1.15;
  background: linear-gradient(90deg, #ffffff 0%, #c9d6ff 45%, #f3c1ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
body h2 { color: var(--g-text) !important; font-weight: 700; letter-spacing: -.01em; border-bottom-color: var(--g-border) !important; }
body h3, body h4 { color: var(--g-text) !important; font-weight: 650; }
body p, body li { color: #d3d8e6; }
body strong { color: var(--g-text); }
body .tag, body .fine, body .ev, body small, body footer { color: var(--g-muted) !important; }
body hr { border: 0; height: 1px; background: var(--g-border); }
body a { color: #9ec0ff; text-decoration-color: rgba(158,192,255,.35); text-underline-offset: 3px; transition: color .15s ease; }
body a:hover { color: #d3e2ff; }
body ::selection { background: rgba(155,107,255,.45); color: #fff; }

/* Surfaces */
body .card, body section.card, body details, body blockquote {
  background: var(--g-glass) !important;
  border: 1px solid var(--g-border) !important;
  border-radius: 16px !important;
  color: var(--g-text);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 60px -36px rgba(0,0,0,.9);
}
body .card.warn { background: linear-gradient(180deg, rgba(251,191,36,.10), rgba(251,191,36,.03)) !important; border-color: rgba(251,191,36,.28) !important; }
body .card.ok   { background: linear-gradient(180deg, rgba(52,211,153,.10), rgba(52,211,153,.03)) !important; border-color: rgba(52,211,153,.28) !important; }
body blockquote { margin: 1rem 0; padding: .8rem 1.1rem; color: var(--g-muted); }

/* Controls */
body button, body .btn, body input[type=button], body input[type=submit] {
  font: inherit; font-weight: 600; cursor: pointer;
  color: var(--g-text) !important;
  background: rgba(255,255,255,.05) !important;
  border: 1px solid var(--g-border-strong) !important;
  border-radius: 10px !important;
  padding: .55rem .95rem;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
body button:hover, body .btn:hover { background: rgba(255,255,255,.09) !important; border-color: rgba(255,255,255,.28) !important; }
body button.primary, body a.cta, body .btn.primary, body input[type=submit] {
  color: #fff !important; border: 0 !important; text-decoration: none;
  background: linear-gradient(135deg, #4f8cff, #9b6bff 55%, #ff5fa8) !important;
  box-shadow: 0 8px 26px -8px rgba(155,107,255,.75), inset 0 1px 0 rgba(255,255,255,.25);
  border-radius: 10px !important; padding: .6rem 1.05rem;
}
body button.primary:hover, body a.cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(255,95,168,.75), inset 0 1px 0 rgba(255,255,255,.3); }
body button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
body input[type=text], body input[type=email], body input[type=number], body input[type=search], body input:not([type]), body select, body textarea {
  font: inherit; color: var(--g-text) !important;
  background: rgba(8,10,18,.7) !important;
  border: 1px solid var(--g-border-strong) !important;
  border-radius: 10px !important;
}
body input:focus, body select:focus, body textarea:focus, body button:focus-visible, body a:focus-visible {
  outline: 2px solid rgba(155,107,255,.7); outline-offset: 2px; border-color: transparent !important;
}
body select option { background: #10131d; color: var(--g-text); }
body label { color: var(--g-text); }

/* Code */
body code, body kbd {
  font-family: var(--g-mono); font-size: .84em;
  color: #e6d9ff !important; background: rgba(155,107,255,.12) !important;
  border: 1px solid rgba(155,107,255,.22); border-radius: 6px; padding: .08rem .38rem;
}
body pre, body .statusline, body .status {
  font-family: var(--g-mono); font-size: .82rem; color: #d6dcf0 !important;
  background: rgba(6,8,14,.75) !important;
  border: 1px solid var(--g-border) !important; border-radius: 12px !important;
  padding: .9rem 1rem; overflow-x: auto;
}
body pre code { background: none !important; border: 0; padding: 0; color: inherit !important; }

/* Tables */
body table { border-collapse: separate !important; border-spacing: 0; width: 100%; border: 1px solid var(--g-border); border-radius: 12px; overflow: hidden; background: rgba(8,10,18,.45); }
body th, body td { border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.055) !important; color: #d6dbe8; }
body th { background: rgba(255,255,255,.04) !important; color: var(--g-faint) !important; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
body tbody tr:last-child td { border-bottom: 0 !important; }
body tbody tr:hover td { background: rgba(255,255,255,.03); }

/* Pills */
body .pill {
  display: inline-flex; align-items: center; font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: .18rem .6rem; border-radius: 999px;
  color: var(--g-muted) !important; background: rgba(255,255,255,.05) !important; border: 1px solid var(--g-border);
}
body .pill.high { color: #a7f3d0 !important; background: rgba(52,211,153,.12) !important; border-color: rgba(52,211,153,.3); }
body .pill.review { color: #fde68a !important; background: rgba(251,191,36,.12) !important; border-color: rgba(251,191,36,.3); }
body .pill.blank, body .pill.mismatch, body .pill.math-mismatch { color: #fecaca !important; background: rgba(248,113,113,.12) !important; border-color: rgba(248,113,113,.3); }

/* Scrollbars */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 9px; }
::-webkit-scrollbar-track { background: transparent; }

/* Generated landing (products without their own landing page) */
body.g-body { margin: 0; }
body a.cta { font-weight: 600; display: inline-flex; align-items: center; }
.g-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px 9rem; }
.g-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--g-border); }
.g-mark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--g-text); }
.g-logo { width: 28px; height: 28px; border-radius: 9px; background: conic-gradient(from 210deg, #4f8cff, #9b6bff, #ff5fa8, #ffb547, #2fd4c4, #4f8cff); box-shadow: 0 0 18px rgba(155,107,255,.5); }
.g-hero { padding: 64px 0 36px; }
.g-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 600; color: #cfe0ff; padding: 5px 12px; border-radius: 999px; background: rgba(79,140,255,.10); border: 1px solid rgba(79,140,255,.3); }
.g-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 18px 0 12px; }
.g-lead { font-size: 1.12rem; color: var(--g-muted) !important; max-width: 720px; margin: 0; }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.g-ghost { display: inline-flex; align-items: center; padding: .6rem 1.05rem; border-radius: 10px; border: 1px solid var(--g-border-strong); color: var(--g-text) !important; text-decoration: none; font-weight: 600; background: rgba(255,255,255,.04); }
.g-ghost:hover { background: rgba(255,255,255,.08); }
.g-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 8px 0 36px; }
.g-meta .card { padding: 14px 16px; }
.g-meta .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--g-faint); font-weight: 600; }
.g-meta .v { margin-top: 4px; color: var(--g-text); font-size: .92rem; }
.g-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.g-readme { padding: 8px 28px 24px; }
.g-readme h1 { font-size: 1.7rem; }
.g-readme h2 { font-size: 1.2rem; margin-top: 1.8rem; padding-bottom: .4rem; border-bottom: 1px solid var(--g-border); }
.g-files { padding: 18px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.g-files h3 { margin: 0 0 10px; font-size: .9rem; }
.g-files details { margin: 6px 0; padding: 6px 10px; border-radius: 10px !important; box-shadow: none; backdrop-filter: none; }
.g-files summary { cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--g-text); }
.g-files ul { list-style: none; margin: 6px 0 2px; padding: 0; }
.g-files li { margin: 3px 0; font-size: .8rem; font-family: var(--g-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-files a { text-decoration: none; color: #b9cdf5; }
.g-foot { margin-top: 40px; color: var(--g-faint); font-size: .78rem; text-align: center; }
@media (max-width: 860px) {
  .g-grid { grid-template-columns: 1fr; }
  .g-files { position: static; max-height: none; }
  .g-readme { padding: 4px 18px 18px; }
  .g-wrap { padding: 0 16px 8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .god-aurora i { animation: none !important; }
  .god-aurora .g-streak { display: none; }
}
