/* ==========================================================================
   Bestecode — Site chrome (header + footer + theme-toggle + back-to-top)
   Shared by every page on the site. Include BEFORE the page's own <style>
   block so page-specific rules can still override if needed.
   ========================================================================== */

/* ----- Theme-variable fallbacks -----------------------------------------
   These get overridden by the page's own :root / [data-theme] declarations
   where available. They exist so pages without a full palette still render.
   ------------------------------------------------------------------------ */
:root {
  --accent:        #F5C451;
  --accent-2:      #FFE29A;
  --accent-purple: #C88424;
  --grad-main:     linear-gradient(90deg, #C88424 0%, #E5A63B 50%, #F5C451 100%);
  --grad-soft:     linear-gradient(90deg, #D89A2B 0%, #FFE29A 100%);
}
[data-theme="dark"], :root:not([data-theme="light"]) {
  --sc-bg:          #06070a;
  --sc-bg-3:        #14171e;
  --sc-line:        #23272f;
  --sc-text:        #f3f4f7;
  --sc-muted:       #9aa0aa;
  --sc-header-bg:   rgba(6,7,10,.8);
  --sc-header-line: rgba(255,255,255,.06);
}
[data-theme="light"] {
  --sc-bg:          #ffffff;
  --sc-bg-3:        #eff1f6;
  --sc-line:        #e4e6ed;
  --sc-text:        #0e1016;
  --sc-muted:       #5a5f6a;
  --sc-header-bg:   rgba(255,255,255,.85);
  --sc-header-line: rgba(0,0,0,.08);
}

/* ----- Utility buttons used in chrome ----------------------------------- */
.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .2px;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  border: none; cursor: pointer; text-decoration: none;
}
.sc-btn-primary {
  background: var(--grad-main); color: #211402;
  background-size: 200% 100%; background-position: 0% 50%;
  box-shadow:
    0 10px 30px -8px rgba(200,132,36,.55),
    0 6px 18px -6px rgba(245,196,81,.45),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.sc-btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px -8px rgba(200,132,36,.70),
    0 8px 22px -6px rgba(245,196,81,.60),
    inset 0 1px 0 rgba(255,255,255,.22);
}

/* ----- Skip link -------------------------------------------------------- */
.sc-skip-link {
  position: absolute; top: -40px; left: 12px;
  background: #0e1016; color: #fff;
  padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 700;
  z-index: 9999; transition: top .2s ease;
}
.sc-skip-link:focus { top: 12px; outline: 2px solid var(--accent); }

/* ========================================================================
   HEADER — floating glass pill (mini-navbar style)
   ======================================================================== */
/* Body padding so content doesn't hide under the fixed floating pill.
   Pages that begin with a dark hero section don't need it — the pill should
   float ON TOP of the hero image, not in a white strip above it. The :has()
   selector below zeroes the padding when a hero is present. */
body { padding-top: 96px; }
@media (max-width: 767px) {
  body { padding-top: 84px; }
}
body:has(.hero, section.hero, .hero-bg-video, .hero-image) {
  padding-top: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 8px 14px 8px 22px;
  border-radius: 999px;
  background: rgba(20, 22, 32, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  /* Keep the shadow small and tight so it doesn't bloom into a wide halo. */
  box-shadow:
    0 4px 14px -8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10); /* override any cascaded bottom */
  width: max-content;
  max-width: calc(100vw - 24px);
  transition:
    border-radius .35s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 16, 24, 0.08);
  box-shadow:
    0 4px 14px -10px rgba(15, 16, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
/* When the mobile menu is open, the pill flattens into a soft rounded card. */
body.sc-nav-open .site-header { border-radius: 22px; }

.site-header .sc-container {
  max-width: none;
  margin: 0;
  padding: 0;
}
.site-header .sc-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; gap: 22px;
}
.site-header .sc-logo {
  font-weight: 900; font-size: 18px; color: var(--sc-text);
  letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px;
  text-transform: uppercase; text-decoration: none;
  flex-shrink: 0;
}
.site-header .sc-logo-img { width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(245,196,81,.30)); }
.site-header .sc-logo-img-dark  { height: 40px; }
.site-header .sc-logo-img-light { height: 40px; }
.site-header .sc-logo-img-dark  { display: block; }
.site-header .sc-logo-img-light { display: none; }
[data-theme="light"] .site-header .sc-logo-img-dark  { display: none; }
[data-theme="light"] .site-header .sc-logo-img-light { display: block; }

.site-header .sc-menu {
  display: flex; gap: 22px; list-style: none; padding: 0; margin: 0;
  flex-wrap: nowrap;
  align-items: center;
}
.site-header .sc-menu li { white-space: nowrap; display: flex; align-items: center; }
.site-header .sc-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 20px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .1px;
  color: var(--sc-muted);
}
/* Slide-up animated track: site-chrome.js wraps the link text in
   <span class="sc-link-track"><span>x</span><span>x</span></span>.

   IMPORTANT: the track itself is the clip box (height + overflow:hidden on
   .sc-link-track), NOT the parent <a>. This makes the effect work no matter
   how the page's own CSS styles the anchor — we don't have to fight per-page
   `a { height: ... }` overrides anymore. */
.sc-link-track {
  position: relative;
  display: inline-block;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
}
.sc-link-track > span {
  display: block;
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
a:hover .sc-link-track > span,
.sc-link-track:hover > span { transform: translateY(-100%); }

[data-theme="dark"]  .sc-link-track > span:nth-child(1) { color: rgba(255,255,255,.72); }
[data-theme="dark"]  .sc-link-track > span:nth-child(2) { color: #ffffff; }
[data-theme="light"] .sc-link-track > span:nth-child(1) { color: rgba(15,16,24,.62); }
[data-theme="light"] .sc-link-track > span:nth-child(2) { color: #0e1016; }
/* Fallback for pre-enhancement / no-JS */
.site-header .sc-menu a:hover,
header .nav ul a:hover,
header.site .nav ul a:hover { color: var(--sc-text); }

.site-header .sc-cta { display: flex; align-items: center; gap: 10px; }
/* CTA "Nu kopen" — match the reference's gradient pill + glow on hover */
.site-header .sc-cta .sc-btn-primary {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 999px;
  box-shadow:
    0 8px 22px -8px rgba(200,132,36,.55),
    0 4px 12px -6px rgba(245,196,81,.45),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.site-header .sc-cta .sc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 36px -10px rgba(200,132,36,.70),
    0 8px 22px -8px rgba(245,196,81,.60),
    inset 0 1px 0 rgba(255,255,255,.22);
}
/* Theme toggle inside the floating pill — slightly smaller. */
.site-header .sc-cta .sc-theme-toggle {
  height: 32px;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
[data-theme="light"] .site-header .sc-cta .sc-theme-toggle {
  border-color: rgba(15,16,24,.10);
  background: rgba(15,16,24,.04);
}

/* On narrower viewports where the floating pill might get tight, allow the
   long nav list to shrink its gap before we fall through to mobile. */
@media (max-width: 1180px) {
  .site-header .sc-menu { gap: 16px; }
  .site-header .sc-nav { gap: 14px; }
}
@media (max-width: 1024px) {
  .site-header .sc-menu a { font-size: 12.5px; }
  .site-header .sc-logo-img-dark,
  .site-header .sc-logo-img-light { height: 32px; }
}

/* ----- Hamburger (mobile only) ------------------------------------------ */
/* Hard-hidden on desktop and laptop. Only revealed inside the
   "(max-width: 767px)" media query at the bottom of this file. */
.sc-hamburger,
.hamburger,
button.sc-hamburger,
button.hamburger,
#scHamburger,
#hamburger {
  display: none !important;
}
.sc-hamburger {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--sc-line); background: var(--sc-bg-3);
  align-items: center; justify-content: center;
  cursor: pointer; position: relative; flex-shrink: 0;
  transition: all .2s;
}
.sc-hamburger:hover { border-color: var(--accent); }
.sc-hamburger span {
  display: block; width: 18px; height: 2px; background: var(--sc-text);
  position: relative; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease, bottom .25s ease;
}
.sc-hamburger span::before,
.sc-hamburger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--sc-text); border-radius: 2px;
  transition: transform .25s ease, top .25s ease, bottom .25s ease;
}
.sc-hamburger span::before { top: -6px; }
.sc-hamburger span::after  { bottom: -6px; }
body.sc-nav-open .sc-hamburger span { background: transparent; }
body.sc-nav-open .sc-hamburger span::before { top: 0; transform: rotate(45deg); }
body.sc-nav-open .sc-hamburger span::after  { bottom: 0; transform: rotate(-45deg); }

/* ----- Full-screen mobile nav overlay — glassy blur ---------------------- */
.sc-mobile-nav {
  position: fixed; inset: 0;
  background: rgba(10, 11, 16, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 20px 20px 28px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  opacity: 0;
  transition: opacity .28s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
[data-theme="light"] .sc-mobile-nav {
  background: rgba(247, 248, 251, 0.78);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sc-mobile-nav { background: var(--sc-bg); }
}
body.sc-nav-open { overflow: hidden; }
@media (max-width: 767px) {
  body.sc-nav-open .sc-mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }
  body.sc-nav-open .sc-mobile-nav ul,
  body.sc-nav-open .sc-mobile-nav ul li,
  body.sc-nav-open .sc-mobile-nav .sc-m-actions {
    visibility: visible !important;
  }
}
.sc-mobile-nav .sc-m-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 14px;
  border-bottom: 1px solid var(--sc-line);
}
.sc-mobile-nav .sc-m-brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.sc-mobile-nav .sc-m-brand-logo {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 4px 12px rgba(245,196,81,.30));
}
.sc-mobile-nav .sc-m-brand-logo-dark  { display: block; }
.sc-mobile-nav .sc-m-brand-logo-light { display: none; }
[data-theme="light"] .sc-mobile-nav .sc-m-brand-logo-dark  { display: none; }
[data-theme="light"] .sc-mobile-nav .sc-m-brand-logo-light { display: block; }
.sc-mobile-nav .sc-m-close {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sc-bg-3); border: 1px solid var(--sc-line);
  color: var(--sc-text); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.sc-mobile-nav .sc-m-close:hover { border-color: var(--accent); transform: scale(1.04); }
.sc-mobile-nav .sc-m-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sc-mobile-nav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex-shrink: 0;
  width: 100%;
}
.sc-mobile-nav ul li {
  list-style: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}
.sc-mobile-nav ul a {
  display: flex !important;
  align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--sc-bg-3);
  border: 1px solid var(--sc-line);
  border-radius: 14px;
  color: var(--sc-text) !important;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
  min-height: 56px;
  width: 100%;
  box-sizing: border-box;
}
.sc-mobile-nav ul a:hover,
.sc-mobile-nav ul a:active { border-color: var(--accent); }
.sc-mobile-nav ul a::after {
  content: ""; margin-left: auto;
  width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7acb9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>") center / contain no-repeat;
}
.sc-mobile-nav ul a .sc-m-ico {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(200,132,36,.22), rgba(245,196,81,.22));
  border: 1px solid rgba(245,196,81,.30);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.sc-mobile-nav ul a .sc-m-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="light"] .sc-mobile-nav ul a .sc-m-ico { color: #0e1016; }
.sc-mobile-nav .sc-m-actions {
  margin-top: auto;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
}
.sc-mobile-nav .sc-m-actions .sc-btn { width: 100%; justify-content: center; display: inline-flex !important; }

/* ----- Mobile breakpoint (phones only) ---------------------------------- */
/* The desktop nav (.sc-menu and the "Nu kopen" CTA) only collapses, and the
   hamburger only appears, below the phone breakpoint. Anything from a small
   tablet upward gets the full inline desktop menu. */
@media (max-width: 767px) {
  .site-header {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    padding: 8px 10px 8px 18px;
  }
  .site-header .sc-menu { display: none; }
  .site-header .sc-cta .sc-btn { display: none; }
  .sc-hamburger,
  .hamburger,
  button.sc-hamburger,
  button.hamburger,
  #scHamburger,
  #hamburger { display: inline-flex !important; }
  /* Compact hamburger to match the floating pill aesthetic. */
  .sc-hamburger {
    width: 36px; height: 36px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.06);
  }
  [data-theme="light"] .sc-hamburger {
    border-color: rgba(15,16,24,.12);
    background: rgba(15,16,24,.04);
  }
}
@media (min-width: 768px) {
  .sc-mobile-nav,
  #scMobileNav,
  .mobile-nav,
  #mobileNav { display: none !important; }
  .sc-hamburger,
  .hamburger,
  button.sc-hamburger,
  button.hamburger,
  #scHamburger,
  #hamburger { display: none !important; }
  .site-header .sc-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .site-header .sc-menu a,
  .site-header .sc-cta .sc-btn { white-space: nowrap !important; }
}

/* ----- Theme toggle ----------------------------------------------------- */
.sc-theme-toggle {
  position: relative;
  display: inline-flex; align-items: center;
  height: 38px; padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--sc-line);
  background: var(--sc-bg-3);
  cursor: pointer; flex-shrink: 0;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  gap: 0; overflow: hidden;
}
.sc-theme-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px -8px rgba(200,132,36, .45);
}
.sc-theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sc-theme-toggle .sc-tt-track {
  position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #C88424 0%, #FFE29A 100%);
  box-shadow: 0 4px 12px rgba(200,132,36, .45);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
}
[data-theme="dark"]  .sc-theme-toggle .sc-tt-track  { transform: translateX(0); }
[data-theme="light"] .sc-theme-toggle .sc-tt-track { transform: translateX(100%); }
.sc-theme-toggle .sc-tt-opt {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0 14px; height: 32px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: capitalize;
  color: var(--sc-text); transition: color .25s ease; user-select: none;
}
.sc-theme-toggle .sc-tt-opt svg { width: 14px; height: 14px; transition: transform .25s ease; }
[data-theme="dark"]  .sc-theme-toggle .sc-tt-dark  { color: #fff; }
[data-theme="light"] .sc-theme-toggle .sc-tt-light { color: #fff; }
[data-theme="dark"]  .sc-theme-toggle .sc-tt-dark svg  { transform: scale(1.1); }
[data-theme="light"] .sc-theme-toggle .sc-tt-light svg { transform: scale(1.1) rotate(45deg); }
/* Light mode: gradient text + gradient moon icon for the inactive "Donker" side */
[data-theme="light"] .sc-theme-toggle .sc-tt-dark > span {
  background: linear-gradient(135deg, #C88424 0%, #E5A63B 50%, #FFE29A 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  font-weight: 800;
}
[data-theme="light"] .sc-theme-toggle .sc-tt-dark svg {
  stroke: url(#sc-tt-grad);
}
/* Mobile: keep the text visible, just make the pill a bit smaller */
@media (max-width: 720px) {
  .sc-theme-toggle { height: 32px; padding: 2px; }
  .sc-theme-toggle .sc-tt-opt {
    height: 28px; padding: 0 10px; gap: 4px;
    font-size: 10.5px; letter-spacing: .3px;
  }
  .sc-theme-toggle .sc-tt-opt svg { width: 12px; height: 12px; }
}
@media (max-width: 380px) {
  .sc-theme-toggle .sc-tt-opt { padding: 0 8px; gap: 3px; font-size: 10px; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer { background: #03040a; color: #9aa0aa; padding: clamp(56px, 7vw, 80px) 0 32px; border-top: 1px solid #23272f; position: relative; z-index: 1; }
.site-footer .sc-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.site-footer .sc-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer .sc-logo { color: #fff; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; text-transform: uppercase; text-decoration: none; margin-bottom: 16px; }
.site-footer .sc-logo-img { width: auto; display: block; height: 82px; filter: drop-shadow(0 4px 12px rgba(245,196,81,.30)); }
.site-footer .sc-logo-img-dark  { display: block; }
.site-footer .sc-logo-img-light { display: none; }
[data-theme="light"] .site-footer .sc-logo-img-dark  { display: none; }
[data-theme="light"] .site-footer .sc-logo-img-light { display: block; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 18px; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 5px 0; }
.site-footer ul a { color: #9aa0aa; font-size: 14px; cursor: pointer; text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.site-footer p { margin: 0 0 14px; font-size: 14px; max-width: 340px; line-height: 1.6; color: #9aa0aa; }

/* Social row */
.site-footer .sc-social-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.site-footer .sc-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: #14171e;
  border: 1px solid rgba(255,255,255,.08);
  color: #e7e9ef;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}
.site-footer .sc-social-icon svg { width: 18px; height: 18px; }
.site-footer .sc-social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(245,196,81,.55);
  background: #1a1e28;
  color: #fff;
}
[data-theme="light"] .site-footer .sc-social-icon {
  background: #ffffff; border-color: rgba(18,22,33,.10); color: #141823;
  box-shadow: 0 2px 6px rgba(18,22,33,.06);
}
[data-theme="light"] .site-footer .sc-social-icon:hover {
  border-color: rgba(180,88,221,.55); color: #0e1016;
}

/* Footer contact pill (WhatsApp + mail) */
.site-footer .sc-footer-phone {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding: 9px 14px;
  background: #14171e;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px; font-weight: 700; letter-spacing: .2px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-footer .sc-footer-phone:hover {
  transform: translateY(-1px);
  background: #1a1e28;
  border-color: #25d366;
  box-shadow: 0 8px 22px -10px rgba(37, 211, 102, .55);
}
.site-footer .sc-footer-phone-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #25d366; color: #fff; flex-shrink: 0;
}
.site-footer .sc-footer-phone-icon svg { width: 16px; height: 16px; }
.site-footer .sc-footer-phone-num { font-variant-numeric: tabular-nums; }
[data-theme="light"] .site-footer .sc-footer-phone {
  background: #ffffff; border-color: rgba(18,22,33,.10); color: #0e1016 !important;
  box-shadow: 0 2px 6px rgba(18,22,33,.06);
}
[data-theme="light"] .site-footer .sc-footer-phone:hover {
  border-color: #25d366; box-shadow: 0 8px 22px -10px rgba(37, 211, 102, .55);
}
.site-footer .sc-footer-mail { margin-top: 8px; }
.site-footer .sc-footer-mail-icon { background: linear-gradient(135deg, #C88424 0%, #FFE29A 100%); }
.site-footer .sc-footer-mail-icon svg { width: 14px; height: 14px; }
.site-footer .sc-footer-mail:hover {
  border-color: #FFE29A; box-shadow: 0 8px 22px -10px rgba(245,196,81, .55);
}

/* Light-mode footer overrides */
[data-theme="light"] .site-footer {
  background: #f6f7fb; color: #5a5f6a; border-top: 1px solid #e4e6ed;
}
[data-theme="light"] .site-footer .sc-logo,
[data-theme="light"] .site-footer h4 { color: #0e1016; }
[data-theme="light"] .site-footer ul a { color: #5a5f6a; }
[data-theme="light"] .site-footer ul a:hover { color: #0e1016; }
[data-theme="light"] .site-footer p { color: #5a5f6a; }
[data-theme="light"] .site-footer .sc-copyright { border-top: 1px solid #e4e6ed; color: #5a5f6a; }

/* Payment chips — mirrors the homepage pay-chip rules 1:1 */
.site-footer .pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer .pay-chip {
  background: #fff; color: #0d0f14;
  height: 40px; width: 72px; min-width: 72px;
  padding: 4px 10px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  font-family: 'Inter', system-ui, sans-serif;
  box-sizing: border-box;
}
.site-footer .pay-chip.visa     { color: #1a1f71; font-size: 14px; letter-spacing: 1px; }
.site-footer .pay-chip.mc       { padding: 0; gap: 0; background: #fff; }
.site-footer .pay-chip.mc .mc-mark { display: block; width: 56px; height: 32px; }
.site-footer .pay-chip.paypal   { color: #003087; font-size: 13px; }
.site-footer .pay-chip.paypal b { color: #009cde; }
.site-footer .pay-chip.crypto   { background: linear-gradient(135deg, #f7931a, #f2a900); color: #fff; font-size: 11px; }
.site-footer .pay-chip.bctct {
  background: #ffffff; color: #0e2a5c;
  border: 1.5px solid #0e2a5c;
  padding: 4px 8px 3px;
  flex-direction: column; gap: 2px;
  box-shadow: 0 2px 6px rgba(14,42,92,.18);
}
.site-footer .pay-chip.bctct .bc-mark { display: block; width: 40px; height: 13px; }
.site-footer .pay-chip.bctct .bc-word {
  font-size: 8.5px; font-weight: 800; letter-spacing: .015em;
  color: #0e2a5c; line-height: 1; text-transform: none;
  font-family: 'Inter', system-ui, sans-serif;
}
[data-theme="light"] .site-footer .pay-chip {
  background: #ffffff; box-shadow: 0 2px 6px rgba(18,22,33,.10); border: 1px solid rgba(18,22,33,.06);
}
[data-theme="light"] .site-footer .pay-chip.bctct { box-shadow: 0 2px 6px rgba(14,42,92,.14); }

.site-footer .sc-copyright {
  border-top: 1px solid #23272f; padding-top: 24px; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  color: #9aa0aa;
}

@media (max-width: 860px) { .site-footer .sc-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .site-footer .sc-foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .sc-copyright { flex-direction: column; align-items: flex-start; }
}

/* ========================================================================
   BACK-TO-TOP
   ======================================================================== */
.sc-back-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(200,132,36,.55), 0 6px 16px -6px rgba(245,196,81,.45);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
}
.sc-back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sc-back-top:hover { transform: translateY(-2px); }
.sc-back-top svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ========================================================================
   FLOATING WHATSAPP CTA (always visible, above back-to-top)
   ======================================================================== */
.sc-wa-float {
  position: fixed; right: 20px; bottom: 78px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 6px 16px -4px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: sc-wa-pulse 2.6s ease-out infinite;
  z-index: 91;
}
.sc-wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 36px -8px rgba(37,211,102,.7), 0 8px 20px -4px rgba(0,0,0,.28); }
.sc-wa-float:active { transform: translateY(-1px) scale(1.02); }
.sc-wa-float svg { width: 32px; height: 32px; display: block; }
@keyframes sc-wa-pulse {
  0%   { box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .sc-wa-float { animation: none; } }
@media (max-width: 520px) {
  .sc-wa-float { right: 16px; bottom: 74px; width: 52px; height: 52px; }
  .sc-wa-float svg { width: 30px; height: 30px; }
  .sc-back-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   MOBILE POLISH — shared header + footer + body on every page
   ========================================================================== */

/* Prevent horizontal scroll on any device.
   Note: overflow-x:hidden on <html> breaks position:sticky — use `clip`
   on body only so the sticky header works on mobile browsers. */
html { max-width: 100vw; }
body { overflow-x: clip; max-width: 100vw; }
img, svg, video, iframe { max-width: 100%; height: auto; }

/* Tap targets: ensure links/buttons inside chrome are at least 44×44 */
.site-header a, .site-header button,
.site-footer a, .site-footer button { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer ul li a { min-height: auto; } /* footer link-list stays compact */

/* Tablet / large phone */
@media (max-width: 720px) {
  .site-header .nav-inner { padding: 10px 16px; }
  .site-header .logo img { height: 30px; }
  .site-footer { padding-top: 48px; padding-bottom: 24px; }
  .site-footer .foot-grid { gap: 30px; }
  .site-footer .pay-chip { height: 36px; width: 62px; min-width: 62px; }
  .site-footer .pay-chip.mc .mc-mark { width: 48px; height: 26px; }
}

/* Phone */
@media (max-width: 520px) {
  .site-header .nav-inner { padding: 8px 14px; }
  .site-header .logo img { height: 26px; }
  .site-footer { padding-top: 40px; padding-bottom: 20px; }
  .site-footer .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer .foot-col h4 { font-size: 13px; margin-bottom: 10px; }
  .site-footer .foot-col ul { gap: 6px; }
  .site-footer .foot-col a { font-size: 14px; }
  .site-footer .copyright { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; }
  .site-footer .pay-row { gap: 8px; }
  .site-footer .pay-chip { height: 34px; width: 58px; min-width: 58px; font-size: 11px; }
  .site-footer .pay-chip.mc .mc-mark { width: 44px; height: 24px; }
}

/* Very small phones (iPhone SE 1st gen, tiny Androids) */
@media (max-width: 375px) {
  .site-header .logo img { height: 24px; }
  .site-footer .pay-chip { height: 32px; width: 54px; min-width: 54px; }
  .site-footer .pay-chip.mc .mc-mark { width: 40px; height: 22px; }
}

/* Legal / blog page body — readable on mobile */
@media (max-width: 640px) {
  main.article, main.legal { padding: 24px 18px !important; font-size: 16px !important; line-height: 1.65 !important; }
  main.article h1, main.legal h1 { font-size: 28px !important; line-height: 1.15 !important; }
  main.article h2, main.legal h2 { font-size: 22px !important; line-height: 1.2 !important; margin-top: 28px !important; }
  main.article h3, main.legal h3 { font-size: 18px !important; }
  main.article p, main.legal p { font-size: 16px !important; }
  main.article ul, main.legal ul { padding-left: 22px !important; }
}

/* ==========================================================================
   FLOATING PILL HEADER — final overrides
   These rules win over per-page inline header CSS (which still uses the
   legacy `header`, `header.site`, `.nav`, `.logo` selectors). Listed LAST in
   site-chrome.css and using !important on the layout-critical properties so
   the mini-navbar floating pill is consistent on every page.
   ========================================================================== */
body { padding-top: 96px !important; }
@media (max-width: 767px) {
  body { padding-top: 84px !important; }
}
/* Override: when the page has a hero, the pill floats over it so we don't
   need a clearance strip above the body. The hero's own top padding is
   enough to keep the hero copy from sitting under the pill. */
body:has(.hero, section.hero, .hero-bg-video, .hero-image) {
  padding-top: 0 !important;
}

/* Position any top-of-page header as a floating glass pill. */
header.site-header,
header.site,
body > header:first-of-type {
  position: fixed !important;
  top: 18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100 !important;
  width: max-content !important;
  max-width: calc(100vw - 24px) !important;
  padding: 8px 14px 8px 22px !important;
  border-radius: 999px !important;
  background: rgba(20, 22, 32, 0.62) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 4px 14px -8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  transition:
    border-radius .35s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease !important;
}
[data-theme="light"] header.site-header,
[data-theme="light"] header.site,
[data-theme="light"] body > header:first-of-type {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(15, 16, 24, 0.08) !important;
  border-bottom: 1px solid rgba(15, 16, 24, 0.08) !important;
  box-shadow:
    0 4px 14px -10px rgba(15, 16, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}
body.sc-nav-open header.site-header,
body.sc-nav-open header.site,
body.nav-open header.site-header,
body.nav-open header.site,
body.nav-open body > header:first-of-type { border-radius: 22px !important; }

@media (max-width: 767px) {
  header.site-header,
  header.site,
  body > header:first-of-type {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    padding: 8px 10px 8px 18px !important;
  }
}

/* Neutralize the per-page inner wrappers so the pill content uses the
   floating layout instead of a 1280px content container. */
header.site-header .sc-container,
header.site .nav,
body > header:first-of-type .nav,
body > header:first-of-type > div {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
header.site-header .sc-nav,
header.site .nav,
body > header:first-of-type .nav {
  height: 52px !important;
  gap: 22px !important;
}

/* Force the slide-up track's clip box. The track is the self-contained
   widget; per-page inline CSS targets the anchor, not the track, so this
   override rarely needs to fight anything — but we set !important defensively. */
.sc-link-track {
  position: relative !important;
  display: inline-block !important;
  height: 20px !important;
  max-height: 20px !important;
  line-height: 20px !important;
  overflow: hidden !important;
  vertical-align: middle !important;
}
.sc-link-track > span {
  display: block !important;
  height: 20px !important;
  line-height: 20px !important;
  white-space: nowrap !important;
}
/* Defensive: per-page inline CSS used to put the slide-up transform on the
   .sc-link-track itself (translateY(-50%)). The new approach puts the
   transform on the inner spans (translateY(-100%)). Force the track to stay
   at translateY(0) so the two rules don't compound. */
.sc-link-track,
a:hover .sc-link-track,
a:focus .sc-link-track {
  transform: none !important;
}

/* Logo: keep brand text visible but compact inside the pill. */
header.site-header .sc-logo-img-dark,
header.site-header .sc-logo-img-light,
header.site .logo-img,
header.site .logo .logo-img-dark,
header.site .logo .logo-img-light,
body > header:first-of-type .logo .logo-img-dark,
body > header:first-of-type .logo .logo-img-light { height: 40px !important; }

@media (max-width: 1024px) {
  header.site-header .sc-logo-img-dark,
  header.site-header .sc-logo-img-light,
  header.site .logo .logo-img-dark,
  header.site .logo .logo-img-light,
  body > header:first-of-type .logo .logo-img-dark,
  body > header:first-of-type .logo .logo-img-light { height: 32px !important; }
}

/* ----- Defensive top-of-page cleanup -----------------------------------
   Some pages (notably index.html) have a body::before ambient-glow overlay
   AND a hero section that uses its own dark gradient background. When the
   header was full-width and sticky, those decorations were either covered
   or didn't matter. Now that the header is a centered floating pill, any
   dark element above the fold can leak through behind/around the pill and
   look like the "old menu bar background" is still there.

   Two defenses:
   1) Push the body's ambient overlay BEHIND the body background — it stays
      visible because the body background is semi-transparent, but it can't
      paint a dark band in the strip above the page content.
   2) Force the body background to be the theme's --bg color, opaque, so
      the strip behind the floating pill is always clean. */
body { background: var(--sc-bg, var(--bg, #ffffff)) !important; }
[data-theme="dark"], :root:not([data-theme="light"]) {
  body { background: var(--sc-bg, var(--bg, #06070a)) !important; }
}
body::before {
  z-index: -1 !important;
}

/* If a page has an inline "site" header (header.site) with the old
   full-width sticky styling that for any reason still applies, kill its
   sticky/sized background here. (The pill rules above already force the
   pill look — this clears any leftover wide stripe that could appear
   behind it from a stale-cache CSS race.) */
header.site,
header.site-header,
body > header:first-of-type {
  border-bottom-width: 1px !important;
}
header.site::before,
header.site::after,
header.site-header::before,
header.site-header::after,
body > header:first-of-type::before,
body > header:first-of-type::after {
  display: none !important;
  content: none !important;
}

/* ==========================================================================
   BESTECODE 2026 — premium identity layer
   Loaded after page-level styles so every generated page shares one coherent
   visual language without breaking the marker-based CMS templates.
   ========================================================================== */
:root,
[data-theme="dark"],
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --accent: #F5C451;
  --accent-2: #FFE29A;
  --accent-purple: #C88424;
  --accent-purple-deep: #8F5A12;
  --grad-main: linear-gradient(115deg, #F5C451 0%, #E5A63B 48%, #C88424 100%);
  --grad-soft: linear-gradient(115deg, #FFF1B8 0%, #D89A2B 100%);
  --bg: #05070d;
  --bg-2: #0d1224;
  --bg-3: #11182e;
  --surface: rgba(13, 18, 36, .72);
  --surface-strong: rgba(15, 22, 43, .92);
  --line: rgba(255, 255, 255, .08);
  --text: #fff;
  --muted: #c8d1e5;
  --sc-bg: #05070d;
  --sc-bg-3: #0d1224;
  --sc-line: rgba(255, 255, 255, .08);
  --sc-text: #fff;
  --sc-muted: #c8d1e5;
  --sc-header-bg: rgba(5, 7, 13, .68);
  --sc-header-line: rgba(255, 255, 255, .09);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(255,226,154, .52) #05070d;
}
body {
  min-height: 100vh;
  margin: 0;
  color: #fff !important;
  background:
    radial-gradient(circle at 14% -4%, rgba(245,196,81, .13), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(200,132,36, .13), transparent 34rem),
    #05070d !important;
  font-family: Inter, "Plus Jakarta Sans", Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { background: rgba(245,196,81, .28); color: #fff; }
img, video { max-width: 100%; }
a { text-underline-offset: .18em; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(255,226,154, .9) !important;
  outline-offset: 4px !important;
}

/* ambient grid: subtle enough to feel architectural rather than decorative */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}

/* premium glass navigation across legacy and generated header variants */
.site-header,
header.site,
body > header:first-of-type {
  top: 16px !important;
  background: rgba(5, 7, 13, .68) !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.06) !important;
  -webkit-backdrop-filter: blur(24px) saturate(155%) !important;
  backdrop-filter: blur(24px) saturate(155%) !important;
}
.sc-logo img,
.logo img,
.logo-wrap img,
.footer-logo img,
header img[class*="logo"] {
  width: auto !important;
  object-fit: contain;
}
.sc-nav a,
header nav a,
.nav a {
  color: #c8d1e5 !important;
  font-weight: 650 !important;
}
.sc-nav a:hover,
header nav a:hover,
.nav a:hover { color: #fff !important; }

/* CTAs */
.sc-btn-primary,
.btn-primary,
.btn.btn-primary,
.cta-primary,
a[class*="primary"],
button[class*="primary"] {
  color: #031018 !important;
  background: linear-gradient(115deg, #FFE29A 0%, #F5C451 42%, #C88424 118%) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 36px rgba(245,196,81, .17), 0 8px 24px rgba(200,132,36, .16), inset 0 1px 0 rgba(255,255,255,.4) !important;
}
.sc-btn-primary:hover,
.btn-primary:hover,
.btn.btn-primary:hover,
.cta-primary:hover,
a[class*="primary"]:hover,
button[class*="primary"]:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.05);
  box-shadow: 0 18px 48px rgba(245,196,81, .25), 0 10px 30px rgba(200,132,36, .22) !important;
}
.btn-ghost,
.sc-btn-secondary,
a[class*="secondary"] {
  color: #fff !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* typography and page rhythm */
:where(main, article) h1,
:where(main, article) h2,
:where(main, article) h3 {
  color: #fff !important;
  text-wrap: balance;
  letter-spacing: -.035em;
}
:where(main, article) h1 {
  font-size: clamp(2.75rem, 6.5vw, 6.25rem);
  line-height: .98;
}
:where(main, article) h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}
:where(main, article) p,
:where(main, article) li { color: #c8d1e5; }
:where(main, article) strong { color: #f5fbff; }
:where(main, article) em,
.gradient-text {
  color: transparent !important;
  background: linear-gradient(100deg, #FFF1B8, #F5C451 45%, #D89A2B);
  -webkit-background-clip: text;
  background-clip: text;
}

/* heroes */
.hero,
.article-hero,
.post-hero,
main > section:first-child {
  position: relative;
  isolation: isolate;
}
.hero {
  background:
    linear-gradient(90deg, rgba(5,7,13,.95) 0%, rgba(5,7,13,.72) 46%, rgba(5,7,13,.22) 100%),
    radial-gradient(circle at 72% 28%, rgba(245,196,81,.17), transparent 30rem),
    #05070d !important;
}
.hero::after,
.article-hero::after,
.post-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 5% -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,226,154,.46), rgba(200,132,36,.4), transparent);
}
.hero-eyebrow,
.eyebrow,
.post-badge,
.tag,
.badge {
  color: #FFE8AF !important;
  border: 1px solid rgba(255,226,154,.24) !important;
  background: rgba(245,196,81,.08) !important;
  border-radius: 999px !important;
  letter-spacing: .09em;
}

/* glass surfaces: scoped to common component classes to avoid flattening prose */
:where(.card, .feature, .feature-card, .plan, .plan-card, .price-card,
       .review, .tp-review, .faq-item, details, .contact-card, .guide-card,
       .blog-card, .post-card, .step, .stat, .comparison-card, .notice) {
  border: 1px solid rgba(255,255,255,.085) !important;
  background: linear-gradient(145deg, rgba(17,24,46,.78), rgba(9,13,26,.64)) !important;
  box-shadow: 0 22px 65px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  border-radius: clamp(18px, 2vw, 24px) !important;
}
:where(.card, .feature, .feature-card, .plan, .plan-card, .price-card,
       .review, .tp-review, .contact-card, .guide-card, .blog-card, .post-card, .step) {
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
:where(.card, .feature, .feature-card, .plan, .plan-card, .price-card,
       .review, .tp-review, .contact-card, .guide-card, .blog-card, .post-card, .step):hover {
  transform: translateY(-5px);
  border-color: rgba(255,226,154,.23) !important;
  box-shadow: 0 26px 74px rgba(0,0,0,.3), 0 0 42px rgba(245,196,81,.06) !important;
}
.plan.featured,
.plan-card.featured,
.price-card.featured {
  border-color: rgba(255,226,154,.42) !important;
  background: linear-gradient(155deg, rgba(245,196,81,.12), rgba(200,132,36,.12) 46%, rgba(13,18,36,.86)) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.34), 0 0 70px rgba(245,196,81,.08) !important;
}

/* article and guide reading surfaces */
.post-body,
.article-body,
.legal-body,
.policy-body,
.content-body,
article {
  color: #c8d1e5;
}
.post-body :where(h2,h3),
.article-body :where(h2,h3),
article :where(h2,h3) { scroll-margin-top: 120px; }
.post-body a,
.article-body a,
article p a { color: #FFE29A; text-decoration-color: rgba(255,226,154,.38); }
.post-body blockquote,
.article-body blockquote,
article blockquote {
  border-left: 3px solid #F5C451 !important;
  background: rgba(245,196,81,.055) !important;
  border-radius: 0 18px 18px 0;
}

/* forms and disclosure controls */
input,
select,
textarea {
  color: #fff !important;
  background: rgba(5,7,13,.78) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 14px !important;
}
input::placeholder,
textarea::placeholder { color: #7f8ba4; opacity: 1; }
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255,226,154,.68) !important;
  box-shadow: 0 0 0 4px rgba(245,196,81,.1) !important;
}
summary { color: #fff; cursor: pointer; }

/* footer */
.sc-footer,
footer.site,
body > footer {
  color: #c8d1e5 !important;
  background:
    radial-gradient(circle at 14% 0, rgba(245,196,81,.09), transparent 26rem),
    radial-gradient(circle at 88% 0, rgba(200,132,36,.09), transparent 28rem),
    #070a13 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
.sc-footer h2,
.sc-footer h3,
.sc-footer h4,
footer h2,
footer h3,
footer h4 { color: #fff !important; }
.sc-footer a,
footer a { color: #aebbd3 !important; }
.sc-footer a:hover,
footer a:hover { color: #FFE29A !important; }

/* reveal system is enabled by JS; content remains visible without JS */
.d4k-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
}
.d4k-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  body { overflow-x: hidden; }
  .site-header,
  header.site,
  body > header:first-of-type {
    top: 10px !important;
    max-width: calc(100vw - 20px) !important;
  }
  :where(main, article) h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  :where(main, article) h2 { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  .hero { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .d4k-reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  :where(.card, .feature, .plan, .review, .faq-item, details) { border: 1px solid CanvasText !important; }
}

/* search */
.d4k-search-open,
.d4k-search-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
}
.d4k-search-open {
  width: 40px;
  height: 40px;
  margin-right: 7px;
  border-radius: 999px;
}
.d4k-search-open:hover { color: #FFE29A; border-color: rgba(255,226,154,.35); }
.d4k-search-open svg,
.d4k-search-field svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.d4k-search {
  width: min(760px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 40px));
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  overflow: visible;
}
.d4k-search::backdrop {
  background: rgba(1,3,8,.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.d4k-search-shell {
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15,22,43,.98), rgba(5,7,13,.98));
  box-shadow: 0 40px 120px rgba(0,0,0,.62), 0 0 80px rgba(245,196,81,.08);
}
.d4k-search-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.d4k-search-head h2 { margin: 4px 0 22px; font-size: clamp(1.65rem,4vw,2.5rem); letter-spacing: -.04em; }
.d4k-search-kicker { color: #FFE29A; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.d4k-search-close { width: 38px; height: 38px; border-radius: 12px; font-size: 1.6rem; line-height: 1; }
.d4k-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 6px 5px 16px;
  border: 1px solid rgba(255,226,154,.28);
  border-radius: 16px;
  background: rgba(245,196,81,.055);
}
.d4k-search-field input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.d4k-search-field kbd { padding: 6px 8px; color: #9daac2; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; font: 600 .7rem/1 Inter,sans-serif; }
.d4k-search-status { margin: 14px 2px; color: #9daac2 !important; font-size: .85rem; }
.d4k-search-results { display: grid; gap: 8px; }
.d4k-search-result {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.d4k-search-result:hover { border-color: rgba(255,226,154,.25); background: rgba(245,196,81,.06); transform: translateX(3px); }
.d4k-search-result span { color: #aebbd3; font-size: .86rem; line-height: 1.45; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   Navigation, responsive layout and theme repair — v21
   ========================================================================== */
:where(header.site-header, header.site, body > header:first-of-type) {
  width: min(1480px, calc(100vw - 32px)) !important;
  max-width: 1480px !important;
  min-height: 76px !important;
  padding: 9px 14px 9px 22px !important;
  border-radius: 28px !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-nav, .nav) {
  width: 100% !important;
  min-width: 0 !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(14px, 1.6vw, 28px) !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-logo, .logo, .logo-wrap) {
  flex: 0 0 auto !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-logo, .logo, .logo-wrap) img {
  height: 44px !important;
  max-width: min(240px, 20vw) !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-menu, .nav > ul, ul:first-of-type) {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(13px, 1.55vw, 30px) !important;
  padding: 0 !important;
  margin: 0 !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-menu, .nav > ul, ul:first-of-type) a {
  font-size: clamp(12px, .86vw, 15px) !important;
  white-space: nowrap !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-cta, .cta, .nav-actions) {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-cta, .cta, .nav-actions)
  > :where(.sc-btn-primary, .btn-primary, .btn.btn-primary) {
  width: auto !important;
  min-width: 112px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-theme-toggle, .theme-toggle) {
  width: 188px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 3px !important;
  margin: 0 !important;
  flex: 0 0 188px !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-theme-toggle, .theme-toggle)
  :where(.sc-tt-opt, .tt-opt) {
  width: 50% !important;
  height: 34px !important;
  padding: 0 10px !important;
  justify-content: center !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
:where(header.site-header, header.site, body > header:first-of-type)
  .d4k-search-open {
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
}

/* Tablet and small-laptop navigation collapses before it can overflow. */
@media (max-width: 1199px) {
  :where(header.site-header, header.site, body > header:first-of-type) {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-menu, .nav > ul, ul:first-of-type) {
    display: none !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-cta, .cta, .nav-actions)
    > :where(.sc-btn-primary, .btn-primary, .btn.btn-primary) {
    display: none !important;
  }
  :where(.sc-hamburger, .hamburger, #scHamburger, #hamburger) {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }
  body:is(.nav-open, .sc-nav-open)
    :where(.sc-mobile-nav, #scMobileNav, .mobile-nav, #mobileNav) {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
@media (min-width: 1200px) {
  :where(.sc-mobile-nav, #scMobileNav, .mobile-nav, #mobileNav) {
    display: none !important;
  }
  :where(.sc-hamburger, .hamburger, #scHamburger, #hamburger) {
    display: none !important;
  }
}
@media (max-width: 720px) {
  :where(header.site-header, header.site, body > header:first-of-type) {
    top: 8px !important;
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    min-height: 64px !important;
    padding: 6px 8px 6px 14px !important;
    border-radius: 22px !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-nav, .nav) {
    height: 50px !important;
    gap: 8px !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-logo, .logo, .logo-wrap) img {
    height: 34px !important;
    max-width: min(178px, 43vw) !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-theme-toggle, .theme-toggle) {
    width: 78px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex-basis: 78px !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-theme-toggle, .theme-toggle)
    :where(.sc-tt-opt, .tt-opt) {
    width: 50% !important;
    height: 30px !important;
    padding: 0 !important;
    font-size: 0 !important;
    gap: 0 !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-theme-toggle, .theme-toggle)
    :where(.sc-tt-opt, .tt-opt) svg {
    width: 15px !important;
    height: 15px !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    .d4k-search-open {
    width: 38px !important;
    height: 38px !important;
  }
  :where(.sc-hamburger, .hamburger, #scHamburger, #hamburger) {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }
}
@media (max-width: 430px) {
  :where(header.site-header, header.site, body > header:first-of-type)
    :where(.sc-logo, .logo, .logo-wrap) img {
    height: 30px !important;
    max-width: 142px !important;
  }
  :where(header.site-header, header.site, body > header:first-of-type)
    .d4k-search-open {
    display: none !important;
  }
}

/* A complete light palette. The hero remains cinematic; content surfaces,
   navigation and footer switch to a genuine light presentation. */
html[data-theme="light"],
body[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --bg-3: #eaf0f8;
  --surface: rgba(255,255,255,.82);
  --surface-strong: #ffffff;
  --line: rgba(13,18,36,.1);
  --text: #0d1224;
  --muted: #536078;
  --sc-bg: #f5f7fb;
  --sc-bg-3: #eaf0f8;
  --sc-line: rgba(13,18,36,.11);
  --sc-text: #0d1224;
  --sc-muted: #536078;
}
html[data-theme="light"] body,
body[data-theme="light"] {
  color: #0d1224 !important;
  background:
    radial-gradient(circle at 14% -4%, rgba(245,196,81,.11), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(200,132,36,.09), transparent 34rem),
    #f5f7fb !important;
}
[data-theme="light"] body::after {
  opacity: .18;
  background-image:
    linear-gradient(rgba(13,18,36,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,18,36,.06) 1px, transparent 1px);
}
[data-theme="light"]
  :where(header.site-header, header.site, body > header:first-of-type) {
  background: rgba(255,255,255,.84) !important;
  border-color: rgba(13,18,36,.1) !important;
  box-shadow: 0 18px 55px rgba(30,48,82,.12), inset 0 1px 0 #fff !important;
}
[data-theme="light"]
  :where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-menu, .nav > ul, ul:first-of-type) a,
[data-theme="light"] :where(.sc-nav a, header nav a, .nav a) {
  color: #536078 !important;
}
[data-theme="light"]
  :where(header.site-header, header.site, body > header:first-of-type)
  :where(.sc-menu, .nav > ul, ul:first-of-type) a:hover,
[data-theme="light"] :where(.sc-nav a, header nav a, .nav a):hover {
  color: #0d1224 !important;
}
[data-theme="light"] :where(.sc-theme-toggle, .theme-toggle) {
  color: #0d1224 !important;
  background: #eef2f8 !important;
  border-color: rgba(13,18,36,.12) !important;
}
[data-theme="light"] :where(.d4k-search-open, .sc-hamburger, .hamburger) {
  color: #0d1224 !important;
  background: rgba(13,18,36,.04) !important;
  border-color: rgba(13,18,36,.12) !important;
}
[data-theme="light"] :where(main, article) :where(h1,h2,h3),
[data-theme="light"] :where(.band,.row-section,.leagues,.availability) :where(h1,h2,h3) {
  color: #0d1224 !important;
}
[data-theme="light"] :where(main, article) :where(p,li),
[data-theme="light"] :where(.band,.row-section,.leagues,.availability) :where(p,li) {
  color: #536078 !important;
}
[data-theme="light"] .hero :where(h1,h2,h3,strong),
[data-theme="light"] .article-hero :where(h1,h2,h3,strong),
[data-theme="light"] .post-hero :where(h1,h2,h3,strong) {
  color: #fff !important;
}
[data-theme="light"] .hero :where(p,li),
[data-theme="light"] .article-hero :where(p,li),
[data-theme="light"] .post-hero :where(p,li) {
  color: #dbe5f6 !important;
}
[data-theme="light"] :where(.band.soft,.row-section.tight) {
  background: linear-gradient(180deg, rgba(226,234,246,.7), rgba(245,247,251,.3)) !important;
  border-color: rgba(13,18,36,.07) !important;
}
[data-theme="light"]
  :where(.card,.feature,.feature-card,.plan,.plan-card,.price-card,
         .review,.tp-review,.faq-item,details,.contact-card,.guide-card,
         .blog-card,.post-card,.step,.stat,.comparison-card,.notice) {
  color: #0d1224 !important;
  border-color: rgba(13,18,36,.1) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(243,247,252,.9)) !important;
  box-shadow: 0 20px 55px rgba(30,48,82,.1), inset 0 1px 0 #fff !important;
}
[data-theme="light"]
  :where(.card,.feature,.feature-card,.plan,.plan-card,.price-card,
         .review,.tp-review,.faq-item,details,.contact-card,.guide-card,
         .blog-card,.post-card,.step,.stat,.comparison-card,.notice)
  :where(h2,h3,strong,summary) {
  color: #0d1224 !important;
}
[data-theme="light"]
  :where(.card,.feature,.feature-card,.plan,.plan-card,.price-card,
         .review,.tp-review,.faq-item,details,.contact-card,.guide-card,
         .blog-card,.post-card,.step,.stat,.comparison-card,.notice)
  :where(p,li,small) {
  color: #536078 !important;
}
[data-theme="light"] :where(input,select,textarea) {
  color: #0d1224 !important;
  background: #fff !important;
  border-color: rgba(13,18,36,.14) !important;
}
[data-theme="light"] :where(.sc-footer,footer.site,body > footer) {
  color: #536078 !important;
  background:
    radial-gradient(circle at 14% 0, rgba(245,196,81,.08), transparent 26rem),
    #eef3f9 !important;
  border-top-color: rgba(13,18,36,.09) !important;
}
[data-theme="light"] :where(.sc-footer,footer.site,body > footer) :where(h2,h3,h4) {
  color: #0d1224 !important;
}
[data-theme="light"] :where(.sc-footer,footer.site,body > footer) a {
  color: #536078 !important;
}
[data-theme="light"] .d4k-search-shell {
  color: #0d1224;
  border-color: rgba(13,18,36,.12);
  background: linear-gradient(145deg, #fff, #eef3f9);
  box-shadow: 0 40px 100px rgba(30,48,82,.2);
}
[data-theme="light"] .d4k-search-result {
  color: #0d1224;
  border-color: rgba(13,18,36,.09);
  background: rgba(13,18,36,.025);
}
[data-theme="light"] .d4k-search-result span,
[data-theme="light"] .d4k-search-status {
  color: #536078 !important;
}

/* Dark-only brand: the theme control is intentionally removed. */
:where(.sc-theme-toggle, .theme-toggle, #scThemeToggle, #themeToggle) {
  display: none !important;
}

/* Responsive navigation: phones and tablets use the complete hamburger menu. */
@media (max-width: 1279px) {
  header.site-header,
  header.site,
  body > header:first-of-type {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    padding: 8px 10px 8px 18px !important;
  }
  header.site-header .sc-container,
  header.site .nav,
  body > header:first-of-type .nav,
  body > header:first-of-type > div {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between !important;
  }
  .site-header .sc-menu,
  header.site .nav ul,
  body > header:first-of-type .nav ul {
    display: none !important;
  }
  .site-header .sc-cta .sc-btn,
  header.site .nav .cta .btn,
  body > header:first-of-type .nav .cta .btn {
    display: none !important;
  }
  .sc-hamburger,
  .hamburger,
  button.sc-hamburger,
  button.hamburger,
  #scHamburger,
  #hamburger {
    display: inline-flex !important;
  }
  .sc-mobile-nav,
  #scMobileNav,
  .mobile-nav,
  #mobileNav {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    flex-direction: column !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(.99) !important;
    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility 0s linear .25s !important;
  }
  body:is(.nav-open, .sc-nav-open) {
    overflow: hidden !important;
  }
  body:is(.nav-open, .sc-nav-open)
    :is(.sc-mobile-nav, #scMobileNav, .mobile-nav, #mobileNav) {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition-delay: 0s !important;
  }
  body:is(.nav-open, .sc-nav-open)
    :is(.sc-mobile-nav, #scMobileNav, .mobile-nav, #mobileNav)
    :is(ul, li, .sc-m-actions, .m-actions) {
    visibility: visible !important;
  }
}

@media (min-width: 1280px) {
  .sc-mobile-nav,
  #scMobileNav,
  .mobile-nav,
  #mobileNav {
    display: none !important;
  }
  .sc-hamburger,
  .hamburger,
  button.sc-hamburger,
  button.hamburger,
  #scHamburger,
  #hamburger {
    display: none !important;
  }
}

@media (max-width: 640px) {
  header.site-header,
  header.site,
  body > header:first-of-type {
    top: 10px !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    padding: 7px 8px 7px 14px !important;
  }
  header.site-header .sc-logo-img-dark,
  header.site-header .sc-logo-img-light,
  header.site .logo .logo-img-dark,
  header.site .logo .logo-img-light,
  body > header:first-of-type .logo .logo-img-dark,
  body > header:first-of-type .logo .logo-img-light {
    max-width: min(150px, 46vw) !important;
    height: auto !important;
    max-height: 32px !important;
  }
  :where(main, article) {
    overflow-wrap: break-word;
  }
  :where(main, article) :where(img, video, iframe, canvas, svg) {
    max-width: 100%;
  }
  :where(main, article) table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
