/* Gigahour on the Thermgrid template: no Framer badge, no template credits. */
#__framer-badge-container, .__framer-badge, a[href*="framer.com"], a[href*="framer.link"] { display: none !important; }

/* 28/11, Arthur: no tickers, eyebrow labels, captions, tags or dots (« ça fait Claude »), and no arrows on buttons or links */
[data-framer-name="Eyebrow"], [data-framer-name="Caption"], [data-framer-name="Tag"], [data-framer-name="Count"], [data-framer-name="Sheet Head"],
[data-framer-name="Dot"], figcaption, [data-framer-name="Arrow Glyph"], [data-framer-name="Arrow"],
svg:has(> path[d="M1 7h12M8 2l5 5-5 5"]), :has(> svg:only-child > path[d="M1 7h12M8 2l5 5-5 5"]) { display: none !important; }

/* the home hero's label slot carries the NVIDIA logo instead */
[data-framer-name="Eyebrow [reveal]"] > * { display: none !important; }
[data-framer-name="Eyebrow [reveal]"]::before { content: ""; display: block; width: 176px; height: 33px; background: url(/brand/nvidia.svg) left center / contain no-repeat; }
@media (max-width: 809.98px) { [data-framer-name="Eyebrow [reveal]"]::before { width: 142px; height: 27px; } }

/* type: Archivo wherever the template had Inter (tools/build.mjs); headings in Clash Display (Fontshare), Arthur's pick on 29/11 */
:root { --tg-sans: "Archivo", "Inter", system-ui, sans-serif; }
h1.framer-text, h2.framer-text, h3.framer-text { font-family: "Clash Display", "Archivo", sans-serif !important; font-variation-settings: normal !important; font-weight: 600 !important; letter-spacing: -0.02em !important; }

/* GPU pages: the NVIDIA logo above the title; no kicker over the "See the whole lineup" link */
html[data-gh^="systems/"] [data-framer-name="Page Hero"] [data-framer-name="Title [words]"]::before { content: ""; display: block; width: 160px; height: 30px; margin-bottom: 26px; background: url(/brand/nvidia.svg) left center / contain no-repeat; }
@media (max-width: 809.98px) { html[data-gh^="systems/"] [data-framer-name="Page Hero"] [data-framer-name="Title [words]"]::before { width: 132px; height: 25px; margin-bottom: 18px; } }
[data-framer-name="Back to Technology"] [data-framer-name="Label"] { display: none !important; }

/* the "01 Context / 02 Challenge…" kickers in the worked example */
[data-framer-name="Item [reveal]"] > div:has(> p.framer-styles-preset-1gmkbyy) { display: none !important; }

/* the Gigahour G (Arthur's pick, 29/11) instead of the template's grid mark, wherever the nav or footer draws it */
svg:has(> path[d="M1 9h24M1 17h24M9 1v24M17 1v24"]) { background: url(/brand/mark.svg) center / contain no-repeat; }
svg:has(> path[d="M1 9h24M1 17h24M9 1v24M17 1v24"]) > * { display: none !important; }

/* the coin line under the hero buttons (live.js, only once TOKEN_CA is set) */
#gh-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font: 500 15px/1.4 "Archivo", sans-serif; color: #a6b1bc; }
#gh-ca button { all: unset; cursor: pointer; color: #a6b1bc; } #gh-ca button span { color: #f3f6f8; }
#gh-ca a { color: #f3f6f8; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(243, 246, 248, .35); }

/* Gigahour on X (live.js, 01/12): the X glyph left of "Rent a GPU" on desktop, left of the menu button on tablet and phone */
.gh-x { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #a6b1bc; transition: color .25s; animation: gh-in .5s ease both; }
.gh-x:hover { color: #f3f6f8; } .gh-x:focus-visible { color: #f3f6f8; outline: 2px solid #63d8f2; outline-offset: 3px; }
.gh-x svg { display: block; width: 17px; height: 17px; }
div:has(> a.tgn-cta + .gh-x) { display: flex !important; flex-direction: row-reverse; align-items: center; gap: 4px; }
.gh-x.m { order: 1; width: 44px; height: 44px; margin: 0 -30px 0 auto; }
header > div:has(> .gh-x.m) > button.tgn-bg { order: 2; margin-left: 0 !important; }
@keyframes gh-in { from { opacity: 0; } }
