/* Gigaflops Insights: article styles on top of the main site's theme (site.css + tw.css).
   Colours come from the site's own variables (--text, --muted, --surface, --border ...),
   so light and dark mode follow the same toggle as gigaflops.in. Brand: violet #A855C7, amber #F5A524. */

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; }
.skip:focus { left: 16px; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 10px; }

.no-lift:hover { transform: none !important; }
.text-brand { color: #A855C7; }
a.text-brand:hover { color: #F5A524; }

.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: #A855C7; }

/* Article body */
.prose-gf { font-size: 1.06rem; line-height: 1.8; color: var(--text); }
.prose-gf > * + * { margin-top: 1.15em; }
.prose-gf h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1.3; letter-spacing: -.01em; margin-top: 2.2em; scroll-margin-top: 90px; }
.prose-gf h3 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.2rem; line-height: 1.4; margin-top: 1.8em; scroll-margin-top: 90px; }
.prose-gf a { color: #A855C7; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.prose-gf a:hover { color: #F5A524; }
.prose-gf strong { font-weight: 700; }
.prose-gf em { font-style: italic; }
.prose-gf ul { list-style: disc; padding-left: 1.4em; }
.prose-gf ol { list-style: decimal; padding-left: 1.4em; }
.prose-gf li + li { margin-top: .45em; }
.prose-gf li::marker { color: #A855C7; }
.prose-gf blockquote { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid #A855C7; border-radius: 16px; padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.prose-gf blockquote p { margin: 0; }
.prose-gf table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; display: block; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.prose-gf th, .prose-gf td { padding: .7rem .9rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose-gf th { background: var(--surface-2); font-family: 'Sora', sans-serif; font-weight: 600; }
.prose-gf tr:last-child td { border-bottom: 0; }
.prose-gf code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .1em .35em; font-size: .9em; }
.prose-gf hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 2.5em 0; }

/* Table of contents */
.toc-list { list-style: decimal; padding-left: 1.3em; }
.toc-list li + li { margin-top: .3em; }
.toc-list a { color: var(--muted); transition: color .2s; }
.toc-list a:hover { color: #A855C7; }

#faq { scroll-margin-top: 90px; }
