/* MaxHost warm palette. Loaded after the original layout stylesheet. */
:root {
  color-scheme: light;
  --primary: #398523;
  --primary-strong: #2d6b1d;
  --cta: #398523;
  --accent: #a3552d;
  --dark: #302b25;
  --dark-2: #41382f;
  --heading: #302b25;
  --body: #655c52;
  --muted: #766a5e;
  --bg: #fffaf4;
  --bg-soft: #f8eee2;
  --card: #fffdf9;
  --border: #e5d8c8;
  --footer-text: #e8ddce;
  --shadow-sm: 0 8px 24px #52391c08;
  --shadow-md: 0 18px 44px #52391c14;
  --section-y: 96px;
  --official-demo-bar-height: 0px;
}
html { scroll-padding-top: calc(var(--header-height) + 20px); }
body { overflow-x: clip; }
body.nav-open { overflow: auto; }
::selection { background: #edd9c1; color: #302b25; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid #9c4e24; outline-offset: 4px;
}
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 200; top: -100px; left: 16px; padding: 12px 20px; background: #fffaf4; color: #302b25; border: 2px solid #398523; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.official-demo-bar { background: #f0e3d1; color: #5d503f; border-color: #e3d2bc; }
.official-demo-bar strong { color: #473b2d; }
.official-demo-bar a { background: transparent; color: #345c29; text-decoration: underline; text-underline-offset: 3px; }
.official-demo-bar__inner { gap: 20px; }
.site-header, .site-header.is-scrolled {
  position: sticky; top: 0; background: #fffaf4f7; color: var(--heading);
  border-bottom: 1px solid var(--border); box-shadow: none; backdrop-filter: blur(16px);
}
.site-header.is-scrolled { box-shadow: 0 4px 22px #46331e0c; }
.nav-wrap { min-height: var(--header-height); }
.brand img { filter: brightness(0) saturate(100%) invert(15%) sepia(10%) saturate(832%) hue-rotate(350deg) brightness(95%) contrast(88%); }
.desktop-nav > a, .nav-dropdown__toggle { color: #544b41; text-transform: none; letter-spacing: 0; font-size: 14px; min-height: 44px; }
.desktop-nav > a:hover, .nav-dropdown__toggle:hover, .nav-dropdown.open .nav-dropdown__toggle { color: #2d6b1d; background: #eee6da; }
.desktop-nav a[aria-current], .nav-dropdown__menu a[aria-current] { color: #2d6b1d; text-decoration: underline; text-underline-offset: 5px; }
.nav-dropdown__menu { top: calc(100% + 13px); background: #fffdf9; border: 1px solid var(--border); border-radius: 12px; min-width: 244px; }
.nav-dropdown__menu a { min-height: 44px; display: flex; align-items: center; }
.nav-dropdown__menu a:hover { background: #f5eadd; color: #2d6b1d; }
.btn { border-radius: 9px; min-height: 48px; letter-spacing: 0; }
.btn--small { min-height: 44px; }
.btn--primary, .btn--light { background: var(--primary); color: #fff; box-shadow: 0 4px 12px #2d6b1d12; }
.btn--primary:hover, .btn--light:hover { background: #2d6b1d; box-shadow: 0 7px 20px #2d6b1d20; }
.btn--secondary, .btn--ghost { background: #fffdf9; color: #3c4e34; border-color: #b7c3a8; box-shadow: none; }
.btn--secondary:hover, .btn--ghost:hover { background: #f0f2e7; border-color: #398523; }
.hero { background: #fbf1e4; color: var(--body); padding: 92px 0 88px; border-bottom: 1px solid #eadbca; }
.hero::after { display: none; }
.hero h1 { color: #302b25; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.12; }
.hero__eyebrow { color: #9b512a; }
.hero__lead { color: #6b5e50; font-size: 17px; line-height: 1.8; }
.hero__grid { gap: 52px; }
.hero__proof { gap: 8px; }
.hero__proof span { color: #665642; background: #fffaf2; border-color: #e3d2ba; font-size: 12px; }
.hero__proof span::before { background: #548e37; }
.hero-browser { border: 1px solid #d7c6b1; border-radius: 16px; box-shadow: 0 24px 44px #5d412b26; }
.hero-browser img { background: #f4eee4; }
.hero-card--domain { background: #fffdf8; border: 1px solid #e2d3be; box-shadow: 0 18px 36px #5d412b1c; border-radius: 16px; }
.value-strip { background: #fffaf4; }
.value-strip__inner { padding: 24px 0; }
.value-strip span { background: transparent; border: 0; font-size: 12px; padding: 0 8px; }
.value-strip span::before { background: #e9eddf; }
.eyebrow { color: #9b512a; }
.problem { background: #fffaf4; }
.solution-card { background: #f4ecdf; box-shadow: none; }
#benefits { background: #f3e7d7; }
.benefit-card { background: #fffaf3; box-shadow: none; }
.benefit-card span { background: #ecddc9; color: #815f39; border-radius: 50%; }
.demo-section { background: #fffcf8; }
.demo-chips { top: calc(var(--header-height) + 12px); border-radius: 12px; background: #fffaf4f5; border-color: #dfcfb9; box-shadow: 0 5px 18px #67451f0d; }
.demo-chip { border-radius: 7px; min-height: 44px; }
.demo-chip:hover, .demo-chip.active { background: #3e762c; color: white; }
.demo-group { background: #f8f0e6; box-shadow: none; border-radius: 20px; scroll-margin-top: 84px; }
#whmcs-templates { background: #f2e5d7; }
#hosting-components { background: #f7f0e5; }
#builder-workflow { background: #f7e9db; }
#integrations { background: #f3efdf; }
.proof-pills span { background: #fffaf2; color: #6a593f; border-color: #deceb6; }
.demo-card { box-shadow: none; border-radius: 13px; background: #fffdf9; }
.demo-card span { color: #906039; }
.demo-card:hover { transform: translateY(-4px); }
.whmcs-grid a { background: #544738; border-radius: 12px; }
.whmcs-grid span { background: #302b25ed; border-radius: 6px; }
.media-feature-grid figure, .integration-grid > div { background: #fffdf9; box-shadow: none; border-radius: 13px; }
.media-feature-grid img { background: #fffdf9; }
#features { background: #f6e7da; }
.feature-card { box-shadow: none; background: #fffaf5; }
.feature-icon { background: #e9ead9; color: #39752a; border-radius: 12px; }
#buyer-fit { background: #fffcf7; }
.buyer-card { background: #f8f0e5; box-shadow: none; }
#compatibility { background: #f0e5d4; }
.compatibility__visual { background: #fffbf5; box-shadow: none; }
.badge-cloud span { background: #fff9ef; }
#trust { background: #fff9f1; }
.trust-card { box-shadow: none; background: #f7eee1; border-top: 3px solid #c9a47d; }
.final-cta { background: #ecd8bf; color: #63513d; border-top: 1px solid #dfc7aa; }
.final-cta::before { display: none; }
.final-cta .eyebrow { color: #81502d; }
.final-cta h2 { color: #382e22; }
.final-cta p { color: #665541; }
.price-chip { background: #fff7e9; color: #654d30; border-color: #d9be98; }
.final-cta__trust { color: #68563e; }
.final-cta__trust span::before { color: #356b23; }
.site-footer { background: #332c25; color: #e7dccc; }
.site-footer p, .site-footer a { color: #d7c8b6; }
.site-footer h3 { color: #f9ecdc; }
.site-footer a:hover { color: #c1dfa5; }
.footer-cta { color: #c1dfa5 !important; }
.footer-bottom { color: #d0bda6; border-color: #5b4c3b; }
.scrollup { border-radius: 10px; box-shadow: 0 6px 18px #302b2520; }
/* Content stays readable if animation observation or JavaScript is unavailable. */
.reveal { opacity: 1; transform: none; }
.no-js .site-header { position: relative; }
.no-js .official-demo-bar { display: block; }
.no-js .desktop-nav { display: none; }
.no-js .mobile-drawer { display: block; position: static; opacity: 1; transform: none; pointer-events: auto; background: #fffaf4; padding: 16px; max-height: none; }
.no-js .mobile-drawer nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mobile-nav-group p { color: #997044; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 12px 12px 6px; }
.mobile-nav-group a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; color: #4f473e; border-radius: 6px; }
.mobile-nav-group a:hover { background: #f2e7d7; }
.menu-toggle { width: auto; min-width: 92px; padding: 0 12px; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; background: #fffaf4; border-color: #cabca8; color: #44382b; }
.menu-toggle b { font-size: 13px; font-weight: 700; }
.menu-toggle .menu-toggle__icon { margin: 0; width: 19px; height: 16px; background: none; display: grid; align-content: space-between; }
.menu-toggle i { width: 19px; height: 2px; background: #51432f; display: block; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { transform: none !important; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1025px) { .js .mobile-drawer { display: none !important; } }
@media (max-width: 1024px) {
  .js .menu-toggle { display: inline-flex; }
  .mobile-drawer { position: absolute; top: 100%; left: 0; right: 0; background: #fffaf4; border-bottom: 1px solid #dbcbb5; box-shadow: 0 14px 24px #46331e12; max-height: calc(100vh - var(--header-height) - 12px); max-height: calc(100dvh - var(--header-height) - 12px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-drawer nav { padding: 8px 0 16px; }
  .mobile-drawer a:not(.btn) { color: #51473a; background: transparent; font-size: 14px; min-height: 44px; }
  .mobile-drawer a:not(.btn):hover, .mobile-drawer a[aria-current]:not(.btn) { background: #f0e4d3; color: #2d6b1d; }
  .mobile-nav-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .mobile-nav-group p { grid-column: 1 / -1; }
  .mobile-drawer .btn--drawer { margin-top: 12px; }
  .hero { padding: 68px 0; }
  .hero__copy { max-width: 800px; }
  .hero h1 { font-size: clamp(38px, 5.8vw, 56px); }
}
@media (max-width: 640px) {
  :root { --section-y: 60px; --header-height: 72px; }
  .brand { min-width: 0; }
  .brand img { width: 160px; }
  .nav-wrap { gap: 10px; }
  .official-demo-bar__inner { gap: 5px; padding: 12px 0; }
  .official-demo-bar a { width: auto; justify-content: flex-start; padding: 0; min-height: 30px; }
  .hero { padding: 48px 0 54px; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .hero__eyebrow { line-height: 1.8; font-size: 10px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { gap: 10px; margin-top: 24px; }
  .hero__grid { gap: 38px; }
  .hero__proof span { min-height: 32px; font-size: 11px; padding: 0 9px; }
  .value-strip__inner { justify-content: flex-start; gap: 4px 12px; }
  .value-strip span { min-height: 34px; padding: 0; font-size: 11px; }
  .demo-chips { position: relative; top: 0; display: flex; flex-wrap: wrap; margin: 0 0 24px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; overflow: visible; gap: 4px; }
  .demo-chip { flex: 1 1 calc(50% - 4px); font-size: 11px; padding: 0 8px; white-space: nowrap; }
  .demo-group { scroll-margin-top: 0; padding: 20px; }
  .demo-group__head { gap: 16px; }
  .proof-pills { gap: 6px; }
  .proof-pills span { font-size: 10px; padding: 0 8px; }
  .whmcs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .whmcs-grid span { left: 4px; right: 4px; bottom: 4px; padding: 4px; font-size: 9px; }
  .no-js .mobile-drawer nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover, .demo-card:hover, .benefit-card:hover, .feature-card:hover, .buyer-card:hover, .trust-card:hover { transform: none; } }
