@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");
/* Guide ARTICLES only (public/guides/*.html, served at /<slug>): the same look as the guides hub (/guide).
   Sanskar's guides-board comment, 10 Nov 2026: "apply this same style to every single guide as well".
   - the site's full-width banner + header + nav + "I'm ready to start" + phone menu (markup: scripts/guide_chrome.py,
     classes gv-*, so the articles' own .tag / .btn / header / footer rules never touch it);
   - the left sidebar starting at "Step 1, in order" (brand, search and the 3 top links are taken out / hidden);
   - the "Handwritten guides" footer;
   - the usmlevault.com look of public/guide-hub/hub-vault.css: Hanken Grotesk, ink #15171C, indigo #5B57E0,
     light-indigo highlight blocks (#ECEBFB / #4843C9), white cards.
   It only re-points the tokens of the theme layer in /site/guides.css (which already maps every article onto --vg-*)
   and overrides the yellow bits. The articles' text, markup and scripts are untouched.
   Loaded after /site/guides.css by scripts/guide_chrome.py (<!-- guide-vault --> block). The hub never loads it.
   Before: "Funnel Rebuild/older files/guides-before-vault-style (10 Nov)". */

html body[data-vg="guide"] {
  /* Old look (Sanskar 17 Nov): the article keeps /site/guides.css's own fonts and colours (Montserrat, Anton, Vault Yellow,
     warm paper). This file now only adds the new layout: site header, sidebar placement, footer, Try-free bar/tab.
     The Vault skin it used to apply is in "Funnel Rebuild/older files/guides-vault-skin (17 Nov)". */
  --gv-ind: #5B57E0; --gv-ind-hover: #4A46C9; --gv-ind-text: #4843C9; --gv-tint: #ECEBFB; --gv-on-dark: #A9A6FF;
  --gv-raise: #ECEEF1; --gv-hair: #F4F4F6; --gv-shadow: 0 18px 44px -34px rgba(15, 17, 28, .2);
  --gv-dark: #15171C; --gv-dark-t1: #F4F5F8; --gv-dark-t2: #A3A8B3;
}
/* Site colours on the old look (Sanskar 17 Nov): the home page's "mix" palette (app/home.css .hp[data-style="mix"]):
   indigo where the guides used yellow, warm off-white page, the site's ink and neutrals. Fonts stay old (Montserrat + Anton).
   The articles' own hard-coded yellows are recoloured by scripts/guide_colors.py. */
html body[data-vg="guide"] {
  --vg-vault: #5B57E0; --vg-mark: rgba(91, 87, 224, .26);
  --vg-ink: #15171C; --vg-t2: #5C616D; --vg-t3: #5F6470; --vg-line: #E9EAEE;
  --vg-paper: #FAF8F4; --vg-paper0: #EFF0F3;
  --accent: #4843C9; --accent-soft: #ECEBFB;
  --gold: #4843C9; --gold-bg: #ECEBFB; --gold-border: rgba(91, 87, 224, .3); --gold-light: #5B57E0;
  --star: #4843C9; --star-soft: #ECEBFB;
}
/* accent used as TEXT on the dark panels: light indigo, readable on ink */
html body[data-vg="guide"] .cta a, html body[data-vg="guide"] .vt-st em,
html body[data-vg="guide"] [style*="background:#0E0E10"] [style*="color:#0E0E10"], html body[data-vg="guide"] .cta [style*="color:#0E0E10"] { color: var(--gv-on-dark) !important; }
html body[data-vg="guide"] #vbar .vbar-n { color: var(--gv-on-dark); }
/* ---------- Left nav: layout only (sidebar starts at "Step 1, in order") ---------- */
html body[data-vg="guide"] .vg-side { padding-top: 22px; }
html body[data-vg="guide"] .vg-side > .vg-h:first-child { margin-top: 0; padding-top: 0; }
html body[data-vg="guide"] .vg-side :is(#vgQ, #vgR)[hidden] { display: none !important; }

/* ---------- Phone "Try free" bar + desktop side tab (as on the hub) ---------- */
html body[data-vg="guide"] #vbar { background: var(--gv-dark); color: var(--gv-dark-t1); border-radius: 16px; box-shadow: 0 18px 44px -20px rgba(15, 17, 28, .45); }
html body[data-vg="guide"] #vbar .vbar-t b { color: var(--gv-dark-t1); }
html body[data-vg="guide"] #vbar .vbar-t small { color: var(--gv-dark-t2); }
html body[data-vg="guide"] #vbar .vbar-n { color: var(--gv-on-dark); }
html body[data-vg="guide"] #vbar .vbar-go { background: var(--gv-ind); color: #fff; border-radius: 11px; }
html body[data-vg="guide"] .vside-tab { background: var(--gv-ind); color: #fff; border-radius: 0 11px 11px 0; box-shadow: 0 8px 22px -12px rgba(15, 17, 28, .4); }
html body[data-vg="guide"] .vside { border-color: var(--vg-line); box-shadow: 0 18px 44px -24px rgba(15, 17, 28, .3); }
html body[data-vg="guide"] .vside img { border-radius: 11px; }
html body[data-vg="guide"] .vside-h .hl { background: var(--gv-tint) !important; }
html body[data-vg="guide"] .vside-go { background: var(--gv-ind); color: #fff !important; border-radius: 11px; }
html body[data-vg="guide"] .vside-go:hover { background: var(--gv-ind-hover); filter: none; }
html body[data-vg="guide"] .vside-x { border-radius: 11px; }

/* ================= Site header (same as the hub: app/SiteChrome.tsx in the Vault look) =================
   Every property is set here, so the articles' own rules (.tag, .btn, a, header ...) cannot leak in. */
html body[data-vg="guide"] { padding-top: 0 !important; }
body[data-vg="guide"] .gv-chrome { position: relative; z-index: 30; box-sizing: border-box; width: 100%; margin: 0; padding: 0; text-align: left; font: 400 16px/1.6 var(--vg-font); letter-spacing: 0; text-transform: none; color: var(--vg-ink); -webkit-font-smoothing: antialiased; }
body[data-vg="guide"] .gv-chrome * { box-sizing: border-box; letter-spacing: 0; text-transform: none; font-family: var(--vg-font); }
body[data-vg="guide"] .gv-chrome a:not(.gv-cta) { text-decoration: none; border: 0; box-shadow: none; background: none; margin: 0; }
body[data-vg="guide"] .gv-chrome .gv-ico { display: block; width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body[data-vg="guide"] .gv-chrome a.gv-ann { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 8px; padding: 10px 12px; background: var(--gv-ind); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; text-align: center; }
body[data-vg="guide"] .gv-ann .gv-ann-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
body[data-vg="guide"] .gv-ann .gv-ann-tag { flex: none; display: inline-block; margin: 0; border: 0; background: #fff; color: var(--gv-ind-text); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; }
body[data-vg="guide"] .gv-ann:hover .gv-ann-txt { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 420px) { body[data-vg="guide"] .gv-chrome a.gv-ann { font-size: 13px; } body[data-vg="guide"] .gv-ann .gv-ann-tag { font-size: 11px; padding: 2px 7px; } }

body[data-vg="guide"] .gv-bar { position: relative; z-index: 30; background: var(--vg-paper); border-bottom: 1px solid var(--vg-line); }
body[data-vg="guide"] .gv-wrap { position: relative; display: flex; align-items: center; gap: 12px; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
body[data-vg="guide"] .gv-chrome a.gv-brand { display: inline-flex; align-items: center; font-size: 18px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: var(--vg-ink); }
body[data-vg="guide"] .gv-nav { display: none; }
body[data-vg="guide"] .gv-nav a { white-space: nowrap; color: var(--vg-t2); transition: color .15s; }
body[data-vg="guide"] .gv-nav a:hover { color: var(--vg-ink); }
body[data-vg="guide"] .gv-chrome a.gv-cta { text-decoration: none; margin: 0; display: none; align-items: center; justify-content: center; height: 48px; padding: 0 24px; font-size: 15.5px; font-weight: 700; line-height: 1; border-radius: 12px; border: 1px solid transparent; white-space: nowrap; position: relative; overflow: hidden; background: var(--gv-ind); color: #fff; box-shadow: 0 6px 16px rgba(91, 87, 224, .28); transition: background .15s; }
body[data-vg="guide"] .gv-chrome a.gv-cta:hover { background: var(--gv-ind-hover); }
/* the same light sweep as home's main button */
body[data-vg="guide"] .gv-chrome a.gv-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); animation: gv-sweep 3.2s ease infinite 1s; }
@keyframes gv-sweep { 0% { left: -60%; } 55%, 100% { left: 130%; } }

body[data-vg="guide"] .gv-menu { margin: 0 0 0 auto; padding: 0; border: 0; background: none; }
body[data-vg="guide"] .gv-menu > summary { list-style: none; width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 10px; border: 1px solid var(--vg-line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--vg-ink); font-size: 0; }
body[data-vg="guide"] .gv-menu > summary::-webkit-details-marker { display: none; }
body[data-vg="guide"] .gv-menu > summary::before, body[data-vg="guide"] .gv-menu > summary::after { content: none; display: none; }
body[data-vg="guide"] .gv-menu > summary .gv-ico { width: 20px; height: 20px; margin: 0; stroke-width: 1.75; }
body[data-vg="guide"] .gv-menu > summary .gv-ico path { transition: transform .22s ease, opacity .16s ease; }
body[data-vg="guide"] .gv-menu > summary .gv-ico .l1 { transform-origin: 12px 7.5px; }
body[data-vg="guide"] .gv-menu > summary .gv-ico .l3 { transform-origin: 12px 16.5px; }
body[data-vg="guide"] .gv-menu[open]:not(.closing) > summary .gv-ico .l1 { transform: translateY(4.5px) rotate(45deg); }
body[data-vg="guide"] .gv-menu[open]:not(.closing) > summary .gv-ico .l2 { opacity: 0; }
body[data-vg="guide"] .gv-menu[open]:not(.closing) > summary .gv-ico .l3 { transform: translateY(-4.5px) rotate(-45deg); }
@keyframes gv-menu-down { from { transform: translateY(-100%); clip-path: inset(100% 0 -80px 0); } to { transform: translateY(0); clip-path: inset(0 0 -80px 0); } }
@keyframes gv-menu-up { from { transform: translateY(0); clip-path: inset(0 0 -80px 0); } to { transform: translateY(-100%); clip-path: inset(100% 0 -80px 0); } }
body[data-vg="guide"] .gv-menu[open] .gv-panel { animation: gv-menu-down .32s cubic-bezier(.22, .8, .24, 1); }
body[data-vg="guide"] .gv-menu[open].closing .gv-panel { animation: gv-menu-up .26s cubic-bezier(.5, 0, .75, 0) forwards; }
body[data-vg="guide"] .gv-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 31; background: var(--vg-paper); border-bottom: 1px solid var(--vg-line); padding: 8px 16px 20px; display: flex; flex-direction: column; box-shadow: 0 24px 40px rgba(14,14,16,.12); }
body[data-vg="guide"] .gv-panel a:not(.gv-cta) { display: flex; align-items: center; min-height: 52px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--vg-line); color: var(--vg-ink); }
body[data-vg="guide"] .gv-chrome .gv-panel a.gv-cta { display: flex; margin-top: 16px; width: 100%; }
@media (prefers-reduced-motion: reduce) {
  body[data-vg="guide"] .gv-menu > summary .gv-ico path { transition: none; }
  body[data-vg="guide"] .gv-menu[open] .gv-panel, body[data-vg="guide"] .gv-menu[open].closing .gv-panel, body[data-vg="guide"] .gv-chrome a.gv-cta::after { animation: none; }
}
@media (min-width: 901px) {
  body[data-vg="guide"] .gv-chrome a.gv-ann { padding: 12px 24px; font-size: 15px; gap: 12px; }
  body[data-vg="guide"] .gv-ann .gv-ico { width: 20px; height: 20px; }
  body[data-vg="guide"] .gv-wrap { height: 84px; gap: 36px; padding: 0 32px; }
  body[data-vg="guide"] .gv-chrome a.gv-brand { font-size: 21px; }
  body[data-vg="guide"] .gv-nav { display: flex; margin-left: auto; gap: 34px; font-size: 16px; font-weight: 500; }
  body[data-vg="guide"] .gv-wrap > a.gv-cta { display: inline-flex; }
  body[data-vg="guide"] .gv-menu { display: none; }
}
@media print { body[data-vg="guide"] :is(.gv-chrome, .gv-foot) { display: none !important; } }

/* Full width like home: the header pulls itself out of the body's sidebar margin and padding (sized by the script in the
   guide-chrome block). Desktop: the sidebar sits under the header and moves up as the header scrolls away (--gv-top).
   Below 1100 the old bar stays as a slim sticky "Guides" sub-bar that opens the sidebar as a drawer. */
@media (min-width: 1100px) {
  html:not(.vg-deck) body[data-vg="guide"] { overflow-x: visible; }
  html:not(.vg-deck) body[data-vg="guide"] .vg-side { top: var(--gv-top, 129px); }
  html:not(.vg-deck) body[data-vg="guide"] .vg-bar { display: none; }
}
@media (max-width: 1099.98px) {
  body[data-vg="guide"] .vg-bar { position: sticky; top: 0; left: auto; right: auto; z-index: 25; height: 52px; padding: 0 16px; background: rgba(247, 248, 250, .94); }
  body[data-vg="guide"] .vg-bar :is(.vg-mbrand, .vg-right) { display: none; }
  body[data-vg="guide"] .vg-bar .vg-crumb { display: block; font-size: 13.5px; }
  body[data-vg="guide"] .vg-bar .vg-menu { width: auto; height: 40px; padding: 0 14px 0 12px; gap: 8px; font: 700 14px var(--vg-font); color: var(--vg-ink); border-color: var(--vg-line); }
  body[data-vg="guide"] .vg-bar .vg-menu::after { content: "Guides"; }
}
@media (max-width: 360px) { body[data-vg="guide"] .vg-bar .vg-crumb { font-size: 12.5px; } }

/* ================= "Handwritten guides" footer (same line as the hub's) ================= */
body[data-vg="guide"] .gv-foot { box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; max-width: 1200px; margin: 24px auto 0; padding: 22px 16px 28px; border-top: 1px solid var(--vg-line); font: 500 14px/1.5 var(--vg-font); letter-spacing: 0; text-transform: none; text-align: left; color: var(--vg-t3); }
body[data-vg="guide"] .gv-foot a { color: var(--vg-t2); text-decoration: none; border: 0; background: none; font: inherit; }
body[data-vg="guide"] .gv-foot a:hover { color: var(--gv-ind-text); }
@media (max-width: 640px) { body[data-vg="guide"] .gv-foot a { display: inline-flex; align-items: center; min-height: 44px; } }

/* NAVBAR = the home page's (Sanskar 10 Nov: "the navbar looking the same for every page ... just like how it looks on the
   homepage"). Values measured from localhost:3101/: Plus Jakarta Sans, warm paper at 92% + blur, 46px banner with the
   3px/10px NEW pill, flat CTA (no shine), 40px phone menu button. */
html body[data-vg="guide"] .gv-chrome, html body[data-vg="guide"] .gv-chrome :is(a, span, nav, .gv-bar, .gv-menu, summary) { font-family: "Plus Jakarta Sans", "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; }
html body[data-vg="guide"] .gv-bar { background: #15171C; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid #2E3038; }
html body[data-vg="guide"] .gv-ann .gv-ann-tag { padding: 3px 10px; font-size: 12px; }
html body[data-vg="guide"] .gv-brand { gap: 10px; }
html body[data-vg="guide"] .gv-chrome a.gv-cta { line-height: 1.6; gap: 8px; }
html body[data-vg="guide"] .gv-chrome a.gv-cta::after { content: none; animation: none; }
html body[data-vg="guide"] .gv-menu > summary { width: 40px; height: 40px; }
@media (max-width: 600px) { html body[data-vg="guide"] .gv-ann .gv-ann-tag { padding: 2px 9px; font-size: 12px; } html body[data-vg="guide"] .gv-brand { min-height: 44px; display: inline-flex; align-items: center; } }

/* dark navbar (Sanskar 11 Nov), same colours as app/home.css */
body[data-vg="guide"] .gv-bar { background: #15171C; border-bottom-color: #2E3038; }
body[data-vg="guide"] .gv-chrome a.gv-brand, body[data-vg="guide"] .gv-nav a, body[data-vg="guide"] .gv-nav a:hover { color: #FFFFFF; }
body[data-vg="guide"] .gv-menu > summary { background: #23252D; border-color: #2E3038; color: #FFFFFF; }
body[data-vg="guide"] .gv-panel { background: #15171C !important; border-bottom-color: #2E3038 !important; }
body[data-vg="guide"] .gv-panel a:not(.gv-cta) { color: #FFFFFF !important; border-bottom-color: #2E3038 !important; }

/* comment bar off on phones (Sanskar 11 Nov) */
@media (max-width: 760px) { #__markup { display: none !important; } }

/* the two literal yellows left in /site/guides.css */
html body[data-vg="guide"] .moststar { background: var(--accent-soft); color: var(--accent); }
html body[data-vg="guide"] .hub .hitems a.chip.vault { background: #5B57E0; border-color: #4A46C9; color: #FFFFFF; }

/* ================= Readability sweep (17 Nov): contrast on the indigo palette (WCAG AA at phone width) ================= */
/* /site/guides.css paints the "Try a free 3-day trial" button indigo with ink text: white text, small line fully opaque */
html body[data-vg="guide"] .vt-btn, html body[data-vg="guide"] .vt-btn small { color: #FFFFFF !important; }
html body[data-vg="guide"] .vt-btn small { opacity: 1; }
/* green (pass / success) dark enough on its light-green fill and on white: #12703A = 5.5:1 on #E9F4EC */
html body[data-vg="guide"] { --green: #12703A; --pass: #12703A; }
/* .vt (students panel) and .cta are always ink panels (/site/guides.css): its plain links and headings were ink on ink */
html body[data-vg="guide"] aside.vt p a:not([class]), html body[data-vg="guide"] .vt p.vt-s a:not([class]) { color: var(--gv-on-dark) !important; }
html body[data-vg="guide"] .cta :is(h2, h3, h4) { color: #FFFFFF; }

/* /tier-lists hub tiers (site/guides.css .hub .tier.*): A orange / B yellow -> the same indigo tiers as the tier-list pages */
html body[data-vg="guide"] .hub .tier.A { background: #5B57E0; color: #FFFFFF; }
html body[data-vg="guide"] .hub .tier.B { background: #ECEBFB; color: #4843C9; }
