/* Halloween edition. Loaded last so the shared and legacy pages stay coherent. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700-latin.woff2') format('woff2'); }
:root {
  color-scheme: dark;
  --mc-bg: #111112;
  --mc-bg-alt: #181819;
  --mc-bg-deep: #0c0c0d;
  --mc-bg-term: #111112;
  --mc-text: #f1eee9;
  --mc-text-soft: #ddd8d1;
  --mc-muted: #bbb6af;
  --mc-dim: #bbb6af;
  --mc-dimmer: #aaa59e;
  --mc-faint: #aaa59e;
  --mc-faintest: #99948e;
  --mc-violet: #ff983e;
  --mc-magenta: #e7772d;
  --mc-lilac: #ffb66d;
  --mc-lilac-lt: #ffcc96;
  --mc-mint: #b8e078;
  --mc-line: rgba(224, 212, 193, .14);
  --mc-line-soft: rgba(224, 212, 193, .08);
  --mc-surface: rgba(224, 212, 193, .03);
  --mc-grad: #ee9a4b;
  --mc-shadow: none;
  --premium-bg: #111112;
  --premium-surface: #1c1b1a;
  --premium-surface-muted: #22211f;
  --premium-border: #45413d;
  --premium-text: #f1eee9;
  --premium-muted: #bbb6af;
  --premium-primary: #ffb66d;
  --premium-primary-strong: #ffcc96;
  --premium-accent: #b89adf;
  --premium-success: #b8e078;
}
html { background: var(--mc-bg); }
body { background-color: var(--mc-bg); color: var(--mc-text); font-family: Poppins, system-ui, sans-serif; }
::selection { background: #ffb66d; color: #20101a; }
.mc-topbar {
  background: #201b16;
  color: #ffe5c5;
  border-bottom: 1px solid rgba(255, 173, 88, .24);
  flex-wrap: wrap;
  gap: 6px 14px;
}
.mc-header { background: rgba(17, 17, 18, .97); border-color: var(--mc-line); }
.mc-page .mc-btn--primary, .mc-page .mc-btn--primary:hover,
.mc-page .mc-plan__cta--hot, .mc-page .mc-plan__cta--hot:hover,
.mc-mockup__actions .is-primary { background: var(--mc-grad); color: #27131b; font-weight: 700; }
.mc-page .mc-btn--ghost, .mc-page .mc-plan__cta { color: var(--mc-text-soft); border-color: #4a4540; }
.mc-page .mc-plan__cta--hot { color: #27131b; border-color: transparent; }
.mc-page :focus-visible { outline: 3px solid #ffb66d; outline-offset: 4px; }
.mc-hero {
  background: var(--mc-bg);
  border-bottom: 1px solid var(--mc-line);
}
.mc-hero__texture { filter: sepia(.4) hue-rotate(330deg); opacity: .15; }
.mc-hero:not(.mc-hero--halloween)::before {
  content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 260px;
  background: url('/assets/img/halloween-web.svg') top right / contain no-repeat; pointer-events: none;
}
.mc-hero__grad { background: none; color: #ee9a4b; }
.mc-hero--halloween { isolation: isolate; }
.mc-hero--halloween .mc-hero__texture {
  width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center;
  opacity: .42; filter: saturate(.45); animation: none;
}
.mc-hero--halloween::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(17,17,18,1) 5%, rgba(17,17,18,.85) 45%, rgba(17,17,18,.08));
}
.mc-hero--halloween .mc-hero__inner { z-index: 1; padding-top: 72px; padding-bottom: 80px; gap: 64px; }
.mc-hero--halloween h1 { font-size: clamp(36px, 4.1vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -.045em; }
.hw-panel-scene { position: relative; padding-top: 0; }
.hw-panel-label { margin: 0 0 12px; color: #aaa59e; font: 11px var(--mc-mono); }
.mc-mockup::before { display: none; }
.mc-mockup__frame { background: #1b1b1c; border-color: #47413a; border-radius: 8px; box-shadow: none; }
.mc-term { color: #b8b1a7; }
.mc-term__t { color: #ac97b9; }
.mc-card, .mc-plan, .mc-pack, .mc-review { background-color: #1c1b1a; }
.mc-card:hover, .mc-plan:hover, .mc-pack:hover { border-color: rgba(255,182,109,.65); }
.mc-card__icon { background: #292520; border-color: #494035; border-radius: 6px; }
.mc-plan--hot { background: #252019; border-color: #bc8247; box-shadow: none; }
.mc-plan__tag { background: #ffb66d; color: #27131b; }
.mc-plan--hot .mc-plan__name { color: #ffb66d; }
.mc-plan__name, .mc-plan--hot .mc-plan__d { color: var(--mc-text-soft); }
.mc-cta { background: var(--mc-bg-alt); }
.mc-cta--compact { background: var(--mc-bg); border-top: 0; text-align: left; overflow: visible; }
.mc-cta::before { content: none; }
.mc-cta > .hw-cta-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; max-width: 1152px; margin: 0 auto 72px; padding: 42px 0; border-top: 1px solid #68503a; border-bottom: 1px solid var(--mc-line); }
.mc-cta .hw-cta-copy { max-width: 590px; }
.mc-cta .hw-cta-kicker { margin: 0 0 14px; color: #bc9978; font: 11px var(--mc-mono); text-transform: uppercase; letter-spacing: .1em; }
.mc-cta--compact h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; line-height: 1.2; }
.mc-cta .hw-cta-copy > p:last-child { font-size: 14px; line-height: 1.8; margin-top: 14px; }
.mc-cta--compact .mc-cta__row { flex-direction: column; align-items: stretch; gap: 10px; margin: 0; min-width: 200px; }
.mc-footer { background: var(--mc-bg-deep); border-color: var(--mc-line); }
.mc-page h2, .mc-page h3 { font-weight: 600; }
.mc-page .mc-btn, .mc-page .mc-plan__cta { border-radius: 6px; box-shadow: none; }
.mc-page .mc-btn--primary:hover, .mc-page .mc-plan__cta--hot:hover { filter: none; background: #f4ad69; transform: none; box-shadow: none; }
.mc-card, .mc-plan, .mc-pack, .mc-review { border-radius: 8px; }
.mc-plan__tag { border-radius: 3px; font-size: 10px; font-weight: 600; }
.mc-card__t, .mc-mockup__name { font-weight: 600; }
.mc-trustpilot { border: 0; background: none; padding: 0; }
.mc-term { background: #141415; }
.mc-term__t { color: #aaa59e; }
/* The reseller guide still uses the original Bootstrap design. */
body.premium-funnel { background: radial-gradient(ellipse at top right, #28221c, var(--mc-bg) 60%); }
.premium-funnel .premium-hero, .premium-funnel .premium-hero-web,
.premium-funnel .seo-article, .premium-funnel .article-wrap,
.premium-funnel .premium-hero-panel { background: var(--premium-surface); color: var(--premium-text); border-color: var(--premium-border); }
.premium-funnel .premium-btn-primary { background: var(--mc-grad); color: #27131b; }
.premium-funnel .premium-btn-secondary { background: #25221e; color: #ffcc96; border-color: #4a4540; }
.premium-funnel .seo-article p, .premium-funnel .seo-article li { color: var(--mc-muted); }
.premium-funnel p, .premium-funnel li { font-family: Poppins, system-ui, sans-serif; }
.premium-funnel .seo-article h2, .premium-funnel .seo-article h3 { color: var(--mc-text); }
.premium-funnel .seo-article blockquote, .premium-funnel .article-note,
.premium-funnel .seo-callout { background: #25221e; border-color: #ffb66d; }
.premium-funnel .premium-eyebrow { color: #ffb66d; }
.premium-funnel .premium-final-cta { background: linear-gradient(135deg, #28221c, #1b1916); }
.premium-funnel .premium-footer-wrap { background: #0c0c0d !important; }
.premium-funnel .premium-nav, body .navbar { background: #111112 !important; border-bottom: 1px solid #393530; }
body .navbar .nav-link, body .navbar .nav-link.active { color: #ffe3c5 !important; }
body .navbar-brand img, body footer .item > img { filter: brightness(0) invert(1) !important; }
body .navbar .navbar-text .btn { background: #25221e !important; color: #ffcc96 !important; }
body .navbar-toggler-icon { filter: invert(1); }
.premium-funnel .premium-nav-client, .premium-funnel .premium-nav-audit { background: #25221e; color: #ffcc96; border-color: #4a4540; }
body footer { background: #0c0c0d; color: #bbb6af; }
body footer h3, body footer a, body footer p { color: #bbb6af; }
body .error-code { color: #ffb66d; }
body .error-title { color: #f1eee9; }
body .error-text { color: #bbb6af; }
body .btn-home { background: var(--mc-grad); color: #27131b; }
body .btn-secondary-link { border-color: #ffb66d; color: #ffb66d; }

/* Seasonal accents sit inside the layout, clear of text and controls. */
.mc-topbar::before, .mc-brand::after, .mc-band .mc-kicker::before,
.mc-cta--compact .mc-cta__row::before {
  content: ''; display: inline-block; flex-shrink: 0;
  width: 26px; height: 26px;
  background: url('/assets/img/halloween-pumpkin.svg') center / contain no-repeat;
}
.mc-topbar::before { animation: hw-sway 7s ease-in-out infinite; }
.mc-brand::after { width: 24px; height: 24px; }
.mc-band .mc-kicker { display: flex; align-items: center; gap: 10px; }
.mc-head--center .mc-kicker { justify-content: center; }
.mc-band .mc-kicker::before { width: 30px; height: 30px; animation: hw-sway 8s ease-in-out infinite; }
.mc-cta--compact .mc-cta__row::before {
  display: block; width: 76px; height: 76px; align-self: center; margin-bottom: 8px;
  animation: hw-bob 6s ease-in-out infinite;
}
.hw-pumpkin-patch {
  display: flex; justify-content: flex-end; align-items: flex-end;
  gap: 6px; min-height: 110px; padding: 16px 18px 0;
  pointer-events: none;
}
.hw-pumpkin-patch img { flex-shrink: 0; animation: hw-bob 6s ease-in-out infinite; }
.hw-pumpkin-patch img:first-child { animation-delay: -2s; }
.hw-pumpkin-patch img:last-child { animation-delay: -4s; }
.hw-embers { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hw-embers i {
  position: absolute; left: 80%; top: 75%; width: 3px; height: 3px; border-radius: 50%;
  background: #eeb066; opacity: 0; animation: hw-ember 10s linear infinite;
}
.hw-embers i:nth-child(2) { left: 91%; top: 60%; animation-delay: -3s; }
.hw-embers i:nth-child(3) { left: 64%; top: 85%; animation-delay: -6s; }
.hw-embers i:nth-child(4) { left: 75%; top: 40%; animation-delay: -8s; }
.hw-embers i:nth-child(5) { left: 95%; top: 85%; animation-delay: -1s; }
.mc-hero--halloween .mc-hero__inner { z-index: 2; }
.mc-page .mc-btn, .mc-card, .mc-plan, .mc-pack {
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mc-page .mc-btn:hover { transform: translateY(-2px); }
  .mc-card:hover, .mc-plan:hover, .mc-pack:hover { transform: translateY(-4px); }
  .mc-brand:hover::after { animation: hw-sway .8s ease-in-out; }
}
@keyframes hw-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(3deg); } }
@keyframes hw-sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes hw-ember { 0% { opacity: 0; transform: translate(0, 20px); } 20%, 65% { opacity: .55; } 100% { opacity: 0; transform: translate(24px, -100px); } }
@media (max-width: 1200px) {
  .mc-cta > .hw-cta-layout { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 1000px) {
  .mc-hero--halloween .mc-hero__inner { padding-bottom: 64px; }
  .mc-cta > .hw-cta-layout { gap: 30px; }
}
@media (max-width: 600px) {
  .mc-topbar { font-size: 11px; padding: 8px 12px; flex-direction: row; gap: 5px 12px; }
  .mc-topbar > [data-i18n="topbar"] { flex-basis: auto; }
  .mc-hero--halloween .mc-hero__inner { padding-top: 40px; padding-bottom: 52px; gap: 36px; }
  .mc-hero--halloween .mc-hero__texture { object-position: 70% center; opacity: .2; }
  .mc-hero--halloween::after { background: linear-gradient(180deg, rgba(17,17,18,.85), rgba(17,17,18,.6)); }
  .mc-hero:not(.mc-hero--halloween)::before { width: 95px; height: 125px; opacity: .6; }
  .hw-panel-label { font-size: 10px; }
  .mc-cta > .hw-cta-layout { grid-template-columns: 1fr; margin: 0 24px 44px; padding: 32px 0; gap: 24px; }
  .mc-cta--compact .mc-cta__row { align-items: flex-start; }
  .mc-cta--compact .mc-cta__row .mc-btn { width: 100%; }
  .mc-topbar::before { width: 20px; height: 20px; }
  .hw-pumpkin-patch { justify-content: center; }
  .mc-cta--compact .mc-cta__row::before { align-self: flex-start; width: 60px; height: 60px; }
}
@media (max-width: 360px) {
  .mc-header__inner { padding-left: 16px; padding-right: 16px; column-gap: 10px; }
  .mc-header .mc-brand { gap: 7px; }
  .mc-header .mc-brand::after { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-hero__texture, .mc-badge-live i { animation: none; }
  .hw-pumpkin-patch img, .mc-topbar::before, .mc-brand::after,
  .mc-band .mc-kicker::before, .mc-cta--compact .mc-cta__row::before,
  .hw-embers i { animation: none; }
  .mc-page *, .mc-page *::before, .mc-page *::after { scroll-behavior: auto; transition: none; }
}
