/*
 * Inbox — page-specific override layer over the inline desktop spec
 * (desktop >=1280 is the binding inline design, untouched). Rebuilt for design
 * round 7 from "V5 Release/Inbox.dc.html": style-hover attributes become
 * .nf-* and .rev-btn classes, plus the .rsp-* responsive layer (1279/1023/767).
 * Globals (hpRise, grain, data-rev, the .mk-fit scaler) come from
 * tokens.css/site.css.
 */

/* Light-page scrollbar (overrides the global dark one while this CSS is loaded). */
::-webkit-scrollbar-track { background: #ece6f6; }
::-webkit-scrollbar-thumb { background: #cabfe4; border-radius: 8px; border: 3px solid #ece6f6; }

/* Button + link hovers (translated from style-hover). */
.nf-mint { transition: background .16s ease; }
.nf-mint:hover { background: #35c98a; }
.nf-demo { transition: color .16s ease, border-color .16s ease; }
.nf-demo:hover { border-color: #9385FF !important; color: #9385FF; }
.rev-btn { transition: background .16s ease, color .16s ease; }
.rev-btn:hover { background: #6D5DF3; color: #fff; }

/* ===== SEAM STRADDLE =====
 * ~25% of the Upsell Machine embed sits over the dark hero, 75% on the white
 * section, with the section's H2 + description underneath. The embed is 842px
 * tall at >=1280, so the lift is 211px and the hero carries 233px of matching
 * bottom padding inline. Below 1280 site.css sets `.mk-fit { margin: 0
 * !important; }`, so the straddle collapses to stacked with no extra rule. */
@media (min-width: 1280px) {
	.ib-straddle .mk-fit { margin-top: -211px; }
}

/* ===== RESPONSIVE OVERRIDE LAYER · desktop (>=1280px) is the inline spec ===== */
@media (max-width: 1279px) {
	.rsp-hero { padding-left: 32px !important; padding-right: 32px !important; }
	.rsp-sec { padding-left: 32px !important; padding-right: 32px !important; }
	.ib-hero { padding-bottom: 90px !important; }
}
@media (max-width: 1023px) {
	.rsp-hero { padding-left: 24px !important; padding-right: 24px !important; padding-top: 150px !important; }
	.rsp-sec { padding-left: 24px !important; padding-right: 24px !important; }
	.rsp-split { grid-template-columns: 1fr !important; gap: 36px !important; }
	.rsp-tiles4 { grid-template-columns: repeat(2, 1fr) !important; }
	.rsp-quotes { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 767px) {
	[data-mascot][style*="absolute"] { display: none !important; }
	.rsp-hero { padding-left: 16px !important; padding-right: 16px !important; padding-top: 124px !important; padding-bottom: 56px !important; }
	.ib-hero { padding-bottom: 56px !important; }
	.rsp-sec { padding-left: 16px !important; padding-right: 16px !important; padding-top: 60px !important; padding-bottom: 60px !important; }
	.rsp-tiles4, .rsp-quotes { grid-template-columns: 1fr !important; }
}
