:root {
    --canvas-1: #050505;
    --canvas-2: #0B0C10;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-strong: rgba(255, 255, 255, 0.045);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-border-soft: rgba(255, 255, 255, 0.06);
    --glass-border-bright: rgba(255, 255, 255, 0.18);
    --neon: #FF2A4D;
    --neon-soft: rgba(255, 42, 77, 0.55);
    --neon-glow-12: rgba(255, 42, 77, 0.12);
    --neon-glow-20: rgba(255, 42, 77, 0.20);
    --text-bright: #FFFFFF;
    --text-body: #E2E8F0;
    --text-dim: #6B7280;
    --text-faint: #4B5563;
    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius: 16px;
    --radius-sm: 12px;
    --section-pad: 112px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--canvas-1);
    color: var(--text-body);
    font-family: var(--font-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }

  /* ───────────── HEADER (transparent, floating) ───────────── */
  .site-header {
    position: absolute; inset: 0 0 auto 0; z-index: 20;
    padding: 24px 48px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .site-brand {
    font-family: var(--font-head); font-weight: 600;
    font-size: 18px; letter-spacing: -0.01em;
    color: var(--text-bright);
  }
  .site-brand .dot { color: var(--neon); }
  .site-nav { display: flex; gap: 32px; align-items: center; }
  .site-nav a {
    font-size: 13.5px; font-weight: 450;
    color: var(--text-dim); letter-spacing: 0.005em;
    transition: color 200ms ease;
  }
  .site-nav a:hover { color: var(--text-bright); }
  .site-nav .nav-cta {
    color: var(--text-bright);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.02);
    padding: 9px 18px; border-radius: 999px;
    transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
  }
  .site-nav .nav-cta:hover {
    border-color: var(--neon);
    background: var(--neon-glow-12);
    color: var(--text-bright);
  }

  /* ───────────── HERO ───────────── */
  .hero {
    position: relative;
    min-height: clamp(720px, 92vh, 920px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 140px 24px 96px;
    overflow: hidden;
  }
  /* Red glow ambience behind the widget — pushed hotter so it reads on the
     live LiteSpeed render where the headless backdrop-filter looks dimmer. */
  .hero::before {
    content: '';
    position: absolute;
    top: 58%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(960px, 80vw); height: min(960px, 80vw);
    background: radial-gradient(circle at center,
      rgba(255, 42, 77, 0.34) 0%,
      rgba(255, 42, 77, 0.14) 26%,
      rgba(255, 42, 77, 0.04) 48%,
      transparent 64%);
    filter: blur(64px);
    z-index: 0;
    pointer-events: none;
  }
  /* Secondary cool glow for depth */
  .hero::after {
    content: '';
    position: absolute;
    top: 28%; left: 14%;
    width: 440px; height: 440px;
    background: radial-gradient(circle at center,
      rgba(99, 102, 241, 0.12) 0%,
      transparent 60%);
    filter: blur(72px);
    z-index: 0;
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 1; max-width: 920px; width: 100%; text-align: center; }
  .eyebrow {
    font-family: var(--font-head);
    font-weight: 500; font-size: 11px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 24px;
    display: inline-block;
  }
  .eyebrow.muted { color: var(--neon); opacity: 0.85; }
  .hero h1 {
    font-family: var(--font-head); font-weight: 700;
    font-size: clamp(40px, 6.4vw, 72px);
    line-height: 1.02;
    color: var(--text-bright);
    letter-spacing: -0.03em;
    margin-bottom: 34px; /* +12px breathing — typography polish 2026-05-20 */
  }
  .hero h1 .accent { color: var(--neon); }
  .hero p.sub {
    font-size: 17px; line-height: 1.6;
    color: var(--text-body);
    max-width: 580px;
    margin: 0 auto 54px; /* +14px breathing before widget — typography polish 2026-05-20 */
  }

  /* ───────────── HERO WIDGET (glass) ───────────── */
  .widget {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    min-height: 260px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  .widget-placeholder {
    text-align: center;
    color: var(--text-dim);
  }
  .widget-placeholder .pulse {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--neon);
    margin-right: 10px;
    box-shadow: 0 0 0 0 rgba(255, 42, 77, 0.45);
    animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    vertical-align: middle;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 42, 77, 0.45); }
    100% { box-shadow: 0 0 0 16px rgba(255, 42, 77, 0); }
  }
  .widget-placeholder .label {
    font-family: var(--font-head); font-size: 12px;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--text-bright); margin-bottom: 12px;
  }
  .widget-placeholder .hint {
    font-size: 13.5px; color: var(--text-dim);
    margin-top: 8px;
  }
  .widget-placeholder .stick-row {
    margin-top: 28px;
    display: flex; gap: 32px; justify-content: center; align-items: flex-start;
  }
  .widget-placeholder .stick-wrap {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
  }
  .widget-placeholder .stick {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 70%),
      rgba(255, 255, 255, 0.015);
    position: relative;
  }
  .widget-placeholder .stick::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--neon); opacity: 0.85;
    box-shadow: 0 0 14px rgba(255, 42, 77, 0.55);
  }
  .widget-placeholder .stick-label {
    font-family: var(--font-head); font-size: 10px; font-weight: 500;
    letter-spacing: 0.22em; color: var(--text-dim);
  }

  .hero-footnote {
    margin-top: 24px;
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.65;
    max-width: 680px;
    margin-left: auto; margin-right: auto;
  }
  .hero-footnote .accent { color: var(--neon); font-weight: 500; }

  /* ───────────── SECTIONS ───────────── */
  section.band { padding: var(--section-pad) 32px; position: relative; }
  .container { max-width: 1180px; margin: 0 auto; position: relative; }
  .section-head { margin-bottom: 64px; max-width: 720px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head h2 {
    font-family: var(--font-head); font-weight: 600;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.08; letter-spacing: -0.018em;
    color: var(--text-bright);
  }

  /* ───────────── FEATURES GRID ───────────── */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 28px 30px;
    transition: border-color 280ms ease,
                transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 280ms ease;
  }
  .feature-card:hover {
    border-color: var(--neon-soft);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px var(--neon-glow-12);
  }
  .feature-card .icon {
    width: 28px; height: 28px;
    color: var(--text-bright);
    margin-bottom: 22px;
    transition: color 250ms ease, transform 250ms ease;
  }
  .feature-card:hover .icon { color: var(--neon); }
  .feature-card svg {
    width: 100%; height: 100%;
    stroke: currentColor; fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .feature-card h3 {
    font-family: var(--font-head); font-weight: 600;
    font-size: 17px; letter-spacing: -0.005em;
    color: var(--text-bright);
    margin-bottom: 10px;
  }
  .feature-card p {
    font-size: 14px; line-height: 1.6;
    color: var(--text-body);
  }

  /* ───────────── GUIDES ───────────── */
  .guides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }
  .guides-copy .eyebrow { color: var(--neon); }
  .guides-copy h2 { margin-bottom: 18px; }
  .guides-copy p {
    font-size: 15px; line-height: 1.7;
    color: var(--text-body);
    max-width: 460px;
  }
  .guides-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .guide-btn {
    background: var(--canvas-2);
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    color: var(--text-body);
    font-size: 14px; font-weight: 500;
    display: flex; align-items: center; justify-content: space-between;
    /* Snappy 0.2s ease-in-out on every hover-affected prop — polish 2026-05-20 */
    transition: transform 0.2s ease-in-out,
                box-shadow 0.2s ease-in-out,
                border-color 0.2s ease-in-out,
                color 0.2s ease-in-out;
  }
  .guide-btn .arrow {
    color: var(--text-faint);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    font-family: var(--font-head);
  }
  .guide-btn:hover {
    transform: translateY(-2px);
    border-color: var(--neon-soft);
    box-shadow: 0 8px 20px var(--neon-glow-20);
    color: var(--text-bright);
  }
  .guide-btn:hover .arrow { color: var(--neon); transform: translateX(3px); }

  /* ───────────── FAQ ───────────── */
  .faq-list {
    display: flex; flex-direction: column; gap: 12px;
    max-width: 880px; margin: 0 auto;
  }
  .faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-soft);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 250ms ease;
  }
  .faq-item:hover { border-color: var(--glass-border-bright); }
  .faq-item details > summary {
    cursor: pointer; list-style: none;
    padding: 22px 28px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-head); font-weight: 500;
    font-size: 15.5px; letter-spacing: -0.005em;
    color: var(--text-bright);
    transition: color 200ms ease;
  }
  .faq-item details > summary::-webkit-details-marker { display: none; }
  .faq-item details > summary .toggle {
    position: relative;
    width: 16px; height: 16px; flex-shrink: 0; margin-left: 16px;
    color: var(--text-dim);
    transition: color 200ms ease, transform 250ms ease;
  }
  .faq-item details > summary .toggle::before,
  .faq-item details > summary .toggle::after {
    content: ''; position: absolute;
    background: currentColor;
    top: 50%; left: 50%;
  }
  .faq-item details > summary .toggle::before {
    width: 12px; height: 1.4px;
    transform: translate(-50%, -50%);
  }
  .faq-item details > summary .toggle::after {
    width: 1.4px; height: 12px;
    transform: translate(-50%, -50%);
    transition: transform 220ms ease;
  }
  .faq-item details[open] > summary { color: var(--text-bright); }
  .faq-item details[open] > summary .toggle { color: var(--neon); }
  .faq-item details[open] > summary .toggle::after { transform: translate(-50%, -50%) scaleY(0); }
  .faq-item .body {
    padding: 4px 28px 24px;
    font-size: 14.5px; line-height: 1.7;
    color: var(--text-body);
  }

  /* ───────────── FOOTER ───────────── */
  footer.site-footer {
    padding: 80px 48px 48px;
    background: var(--canvas-1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 56px;
    max-width: 1180px; margin: 0 auto;
  }
  .footer-brand {
    font-family: var(--font-head); font-weight: 600;
    font-size: 18px; color: var(--text-bright);
    margin-bottom: 12px;
  }
  .footer-tag {
    font-size: 13.5px; line-height: 1.6;
    color: var(--text-dim);
    max-width: 280px;
  }
  .footer-col h4 {
    font-family: var(--font-head); font-weight: 500;
    font-size: 11px; letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a {
    color: var(--text-dim); font-size: 14px;
    transition: color 200ms ease;
  }
  .footer-col a:hover { color: var(--text-bright); }
  .footer-copy {
    max-width: 1180px; margin: 32px auto 0;
    padding-top: 24px;
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }
  /* Footer social row (operator-provided links 2026-05-20) */
  .footer-social {
    display: flex; justify-content: center; gap: 14px;
    margin: 40px auto 0;
    max-width: 1180px;
  }
  .social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--canvas-2);
    border: 1px solid var(--glass-border-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out, background 0.2s ease-in-out;
  }
  .social-link:hover {
    color: var(--neon);
    border-color: var(--neon-soft);
    transform: translateY(-2px);
    background: var(--neon-glow-12);
  }
  .social-link svg { width: 16px; height: 16px; }

  /* ───────────── RESPONSIVE ───────────── */
  @media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
    .guides { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .site-nav { display: none; }
    .site-header { padding: 20px 24px; }
    section.band { padding: 80px 24px; }
  }
  /* Mobile (<480px) — tight overflow guards. Audit 2026-05-20. */
  @media (max-width: 480px) {
    .site-header { padding: 14px 14px; }
    .site-brand { font-size: 16px; }
    .hero {
      padding: 84px 14px 56px;
      min-height: clamp(620px, 88vh, 780px);
    }
    .hero h1 {
      /* Force "In 30 seconds." onto its own line via display:block on the
         accent span, and cap H1 at a size that fits the longest line
         ("Test your gamepad.") inside the 390px viewport. */
      font-size: clamp(28px, 7.6vw, 40px);
      line-height: 1.05;
      margin-bottom: 20px;
      letter-spacing: -0.025em;
      overflow-wrap: normal;
      word-break: keep-all;
    }
    .hero h1 .accent {
      display: block;
      margin-top: 4px;
    }
    .hero p.sub {
      font-size: 14px;
      line-height: 1.55;
      margin: 0 auto 30px;
      max-width: none;
      padding: 0 4px;
    }
    .hero-footnote {
      font-size: 11px;
      line-height: 1.5;
      padding: 0 6px;
      max-width: none;
    }
    section.band { padding: 56px 14px; }
    .container { padding: 0; max-width: none; }
    .section-head { margin-bottom: 36px; }
    .section-head h2 { font-size: clamp(24px, 6.4vw, 32px); }
    .feature-card { padding: 22px 20px; }
    .feature-card h3 { font-size: 16px; }
    .feature-card p { font-size: 13.5px; }
    .guides { gap: 28px; }
    .guides-copy p { font-size: 14px; }
    .guides-grid { grid-template-columns: 1fr; }
    .faq-item details > summary { padding: 18px 20px; font-size: 14px; }
    .faq-item .body { padding: 0 20px 20px; font-size: 13.5px; }
    footer.site-footer { padding: 56px 14px 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-copy { font-size: 11px; }
  }
  .home-tldr {
    font-family: var(--font-head, inherit);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.55;
    color: var(--text, #d6dae2);
    margin: 22px auto 8px;
    max-width: 700px;
    text-align: left;
  }
  .home-tldr strong { color: var(--text-bright, #fff); }
  .home-updated {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    color: var(--text-dim, #8a909c);
    margin: 0 auto 24px;
    max-width: 700px;
    text-align: left;
    font-style: italic;
  }
  .home-updated a { color: inherit; text-decoration: underline; text-decoration-color: currentColor; opacity: 0.6; }
  .home-updated a:hover { color: var(--secondary, #ff4e5b); opacity: 1; }
  @media (max-width: 600px) {
    .home-tldr { font-size: 15px; margin: 18px auto 6px; }
    .home-updated { font-size: 11.5px; margin-bottom: 18px; }
  }


/* ===== tool CSS (extracted inline block 2: instrument-frame + lab-tool__*) ===== */

/* ── Instrument frame: subtle outer container around the v11 widget. ── */
.joycheck-instrument-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%),
    rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  padding: 4px;
}

/* ── LIVE pill: sits inline at the end of the v11 tabs row, pushed
   right via margin-left: auto. Aligned with the tab strip vertically. ── */
.lab-tool__tabs { align-items: center; }
.joycheck-live-pill {
  margin-left: auto;
  margin-bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(57, 255, 20, 0.95);
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.32);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.joycheck-led {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
  animation: joycheck-led-pulse 1.6s ease-in-out infinite;
}
@keyframes joycheck-led-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(57, 255, 20, 0.8); }
  50% { opacity: 0.45; box-shadow: 0 0 3px rgba(57, 255, 20, 0.4); }
}

/* ── v11 widget CSS (scoped to .lab-tool) ── */
/* JoyCheck — Design DNA tokens with fallbacks. Joy-Con red/blue on Switch-charcoal. */
.lab-tool{--jc-accent:var(--lab-color-accent,#FF3C28);--jc-accent-bold:var(--lab-color-accent-bold,#C92614);--jc-secondary:var(--lab-color-secondary,#00C3E3);--jc-primary:var(--lab-color-primary,#1c2027);--jc-bg:var(--lab-surface-bg,#0e1014);--jc-fg:var(--lab-surface-fg,#f6f7fb);--jc-n0:var(--lab-neutral-0,#2a2f3a);--jc-n1:var(--lab-neutral-1,#3a3f4a);--jc-n2:var(--lab-neutral-2,#b6bcc6);--jc-fd:var(--lab-font-display,Inter,system-ui,sans-serif);--jc-fb:var(--lab-font-body,Inter,system-ui,sans-serif);--jc-fm:var(--lab-font-mono,'JetBrains Mono',ui-monospace,monospace);--jc-fs:var(--lab-font-scale,1);--jc-trans:250ms;color:var(--jc-fg);background:var(--jc-bg);font-family:var(--jc-fb);font-size:calc(1rem * var(--jc-fs));line-height:1.5;border-radius:12px;padding:16px;position:relative;max-width:1200px;margin:0 auto;box-sizing:border-box;overflow-x:hidden;overflow-wrap:anywhere;hyphens:auto}
.lab-tool *, .lab-tool *::before, .lab-tool *::after { box-sizing: border-box; }
.lab-tool button, .lab-tool input, .lab-tool select { font-family: inherit; font-size: inherit; color: inherit; }
.lab-tool__skip-link{ position: absolute; top: -100px; left: 0; background: var(--jc-accent); color: var(--jc-bg); padding: 12px 20px; font-weight: 700; border-radius: 0 0 8px 0; z-index: 10; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.lab-tool__skip-link:focus{ top: 0; outline: 3px solid var(--jc-secondary); }
.lab-tool__sr{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lab-tool :focus-visible{ outline: 2px solid var(--jc-accent); outline-offset: 2px; border-radius: 4px; }
.lab-tool__header{ display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--jc-n0); margin-bottom: 16px; }
.lab-tool__brand{ display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 200px; }.lab-tool__brand>div{min-width:0;flex:1 1 auto}
.lab-tool__brand-mark{ width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--jc-accent), var(--jc-secondary)); display: inline-flex; align-items: center; justify-content: center; color: var(--jc-primary); font-weight: 900; font-size: 16px; }
.lab-tool__title{ font-family: var(--jc-fd); font-size: clamp(15px, 2vw, 18px); font-weight: 800; letter-spacing: 0.04em; overflow-wrap: anywhere; }
.lab-tool__subtitle{ font-size: 12px; color: var(--jc-fg); overflow-wrap: anywhere; }
.lab-tool__header-actions{ display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lab-tool__stats{ display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--jc-fm); font-variant-numeric: tabular-nums; }
.lab-tool__stat{ display: flex; flex-direction: column; align-items: flex-end; min-height: 44px; justify-content: center; }
.lab-tool__stat-val{ font-size: 16px; font-weight: 700; color: var(--jc-secondary); }
.lab-tool__stat-label{ font-size: 10px; color: var(--jc-n2); text-transform: uppercase; letter-spacing: 0.1em; }
.lab-tool__lang-select{ background: var(--jc-primary); color: var(--jc-fg); border: 1px solid var(--jc-n0); border-radius: 8px; padding: 6px 28px 6px 12px; min-height: 44px; appearance: none; cursor: pointer; }
.lab-tool__overview{ display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px){ .lab-tool__overview{ grid-template-columns: minmax(260px, 1fr) 2fr; } }
.lab-tool__pill{ display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--jc-primary); border: 1px solid var(--jc-n0); font-family: var(--jc-fm); font-size: 13px; color: var(--jc-secondary); min-height: 32px; }
.lab-tool__health{ display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--jc-primary); border: 1px solid var(--jc-n0); border-radius: 10px; }
.lab-tool__health-num{ font-family: var(--jc-fd); font-size: 48px; font-weight: 900; color: var(--jc-secondary); font-variant-numeric: tabular-nums; }
.lab-tool__health-band{ font-size: 14px; color: var(--jc-fg); font-weight: 600; }
.lab-tool__health-track{ height: 8px; border-radius: 4px; background: var(--jc-n0); overflow: hidden; }
.lab-tool__health-fill{ height: 100%; width: 0%; background: linear-gradient(90deg, var(--jc-accent), var(--jc-secondary)); transition: width var(--jc-trans); }
.lab-tool__hint{ display: block; padding: 12px 16px; background: var(--jc-primary); border: 1px solid var(--jc-n0); border-left: 3px solid var(--jc-secondary); border-radius: 8px; font-size: 14px; }
.lab-tool__drift-badge{ display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--jc-primary); border: 1px solid var(--jc-n0); font-size: 13px; font-weight: 600; min-height: 32px; }
.lab-tool[data-drift=mild] .lab-tool__drift-badge, .lab-tool[data-drift=severe] .lab-tool__drift-badge{ background: var(--jc-accent); color: var(--jc-bg); border-color: var(--jc-accent); animation: jc-pulse 1.2s ease-in-out infinite; }
@keyframes jc-pulse{ 0%,100%{ opacity: 1; } 50%{ opacity: 0.6; } }
.lab-tool__tabs{
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--jc-n0);
  margin: 16px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.lab-tool__tabs::-webkit-scrollbar{ height: 4px; }
.lab-tool__tabs::-webkit-scrollbar-thumb{ background: var(--jc-n1); border-radius: 2px; }
.lab-tool__tab{
  padding: 12px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--jc-n2);
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  min-height: 44px; min-width: 44px;
  white-space: nowrap;
  transition: color var(--jc-trans), border-color var(--jc-trans);
}
.lab-tool__tab[aria-selected=true]{ color: var(--jc-secondary); border-bottom-color: var(--jc-secondary); }
.lab-tool__tab:hover{ color: var(--jc-fg); }
.lab-tool__panel{ padding: 8px 0; }
.lab-tool__panel[hidden]{ display: none; }
.lab-tool__card{ background: var(--jc-primary); border: 1px solid var(--jc-n0); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.lab-tool__card h3{ font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--jc-secondary); margin-bottom: 12px; }
.lab-tool__grid{ display: grid; gap: 12px; }
@media (min-width: 640px){ .lab-tool__grid--2{ grid-template-columns: 1fr 1fr; } }
.lab-tool__svg-holder{ display: flex; align-items: center; justify-content: center; padding: 8px; }
.lab-tool__svg-holder svg{ width: 100%; height: auto; max-width: 640px; }
.lab-tool__svg-holder svg [data-btn].pressed, .lab-tool__svg-holder svg [data-stick]{ transition: transform 150ms, stroke-width 150ms; }
.lab-tool__svg-holder svg [data-btn].pressed{ stroke-width: 4 !important; filter: brightness(1.3); }
.lab-tool__svg{ display: none; }
.lab-tool[data-family=xbox] .lab-tool__svg--nova,
.lab-tool[data-family=generic] .lab-tool__svg--nova,
.lab-tool[data-family=dualsense] .lab-tool__svg--zenith,
.lab-tool[data-family=switch-pro] .lab-tool__svg--prism,
.lab-tool[data-family=joycon-l] .lab-tool__svg--prism,
.lab-tool[data-family=joycon-r] .lab-tool__svg--prism{ display: block; }
.lab-tool__btn-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.lab-tool__btn-cell{ background: var(--jc-bg); border: 1px solid var(--jc-n0); border-radius: 8px; padding: 8px 4px; text-align: center; font-family: var(--jc-fm); min-height: 56px; display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: background var(--jc-trans), border-color var(--jc-trans); }
.lab-tool__btn-cell.pressed{ background: rgba(255, 60, 40, 0.18); border-color: var(--jc-accent); }
.lab-tool__btn-cell [data-role=btn-glyph]{ font-size: 14px; font-weight: 700; color: var(--jc-fg); }
.lab-tool__btn-cell [data-role=btn-val]{ font-size: 10px; color: var(--jc-n2); }
.lab-tool__axes{ display: flex; flex-direction: column; gap: 8px; }
.lab-tool__axis-row{ display: flex; align-items: center; gap: 8px; min-height: 24px; }
.lab-tool__axis-label{ width: 64px; font-family: var(--jc-fm); font-size: 11px; color: var(--jc-n2); }
.lab-tool__axis-val{ width: 60px; font-family: var(--jc-fm); font-size: 12px; text-align: right; color: var(--jc-fg); }
.lab-tool__sticks{ display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.lab-tool__stick{ width: 88px; height: 88px; background: var(--jc-bg); border: 1px solid var(--jc-n0); border-radius: 50%; position: relative; }
.lab-tool__stick-dot{ position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; background: var(--jc-secondary); border-radius: 50%; transform: translate(-50%, -50%); }
.lab-tool__dz-row{ display: grid; grid-template-columns: 40px 1fr 50px; align-items: center; gap: 8px; min-height: 44px; }
.lab-tool__dz-row label{ font-family: var(--jc-fm); font-size: 11px; color: var(--jc-n2); }
.lab-tool__dz-row input[type=range]{ accent-color: var(--jc-secondary); min-height: 44px; }
.lab-tool__dz-row [data-role^=dz-val]{ font-family: var(--jc-fm); font-size: 11px; text-align: right; color: var(--jc-fg); }
.lab-tool__dz-presets, .lab-tool__curve-presets, .lab-tool__vib-presets, .lab-tool__log-filters{ display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.lab-tool__btn{ background: var(--jc-primary); border: 1px solid var(--jc-n0); border-radius: 8px; padding: 10px 14px; color: var(--jc-fg); cursor: pointer; font-weight: 600; min-height: 44px; min-width: 44px; transition: background var(--jc-trans), border-color var(--jc-trans); }
.lab-tool__btn:hover{ border-color: var(--jc-secondary); }
.lab-tool__btn[aria-pressed=true]{ background: var(--jc-secondary); color: var(--jc-primary); border-color: var(--jc-secondary); }
.lab-tool__btn--primary{ background: var(--jc-accent-bold); color: var(--jc-fg); border-color: var(--jc-accent-bold); }
.lab-tool__btn--primary:hover{ filter: brightness(1.1); }
.lab-tool__btn--chip{ padding: 6px 12px; font-size: 12px; min-height: 44px; }
.lab-tool__btn:disabled, .lab-tool__btn[aria-disabled=true]{ opacity: 0.5; cursor: not-allowed; }
.lab-tool__canvas{ background: var(--jc-bg); border: 1px solid var(--jc-n0); border-radius: 8px; display: block; max-width: 100%; touch-action: none; }
.lab-tool__lat-stats{ display: flex; gap: 16px; font-family: var(--jc-fm); flex-wrap: wrap; }
.lab-tool__lat-stat{ display: flex; flex-direction: column; }
.lab-tool__lat-stat-label{ font-size: 10px; color: var(--jc-n2); text-transform: uppercase; }
.lab-tool__lat-stat-val{ font-size: 16px; font-weight: 700; color: var(--jc-secondary); }
.lab-tool__log-viewport{ list-style: none; padding: 0; margin: 0; max-height: 200px; overflow-y: auto; font-family: var(--jc-fm); font-size: 12px; background: var(--jc-bg); border: 1px solid var(--jc-n0); border-radius: 8px; padding: 8px; }
.lab-tool__log-row{ display: flex; gap: 12px; padding: 2px 0; color: var(--jc-fg); }
.lab-tool__log-row time{ color: var(--jc-n2); }
.lab-tool__log-row[data-kind=drift]{ color: var(--jc-accent); }
.lab-tool__heatmap{ display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 4px; }
.lab-tool__heatmap-cell{ aspect-ratio: 1; border: 1px solid var(--jc-n0); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--jc-fm); font-size: 10px; color: var(--jc-fg); min-height: 44px; }
.lab-tool__modal{ position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.lab-tool__modal[hidden]{ display: none; }
.lab-tool__modal-content{ background: var(--jc-primary); color: var(--jc-fg); max-width: 540px; max-height: 80vh; overflow-y: auto; border-radius: 12px; padding: 24px; border: 1px solid var(--jc-n1); }
.lab-tool__modal-content h2{ font-family: var(--jc-fd); font-size: 18px; margin-bottom: 12px; color: var(--jc-secondary); }
.lab-tool__modal-content h3{ font-size: 14px; margin: 16px 0 6px; color: var(--jc-fg); }
.lab-tool__modal-content p{ font-size: 13px; line-height: 1.6; color: var(--jc-fg); margin-bottom: 8px; }
.lab-tool__toasts{ position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 50; pointer-events: none; }
.lab-tool__toast{ background: var(--jc-primary); color: var(--jc-fg); padding: 10px 18px; border-radius: 8px; border: 1px solid var(--jc-secondary); font-size: 13px; opacity: 1; transition: opacity 300ms; pointer-events: auto; }
.lab-tool__toast--out{ opacity: 0; }
.lab-tool__kb-keys{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-family: var(--jc-fm); font-size: 12px; margin-top: 8px; }
.lab-tool__kb-keys kbd{ background: var(--jc-bg); border: 1px solid var(--jc-n0); border-radius: 4px; padding: 2px 6px; font-family: var(--jc-fm); color: var(--jc-secondary); }
.lab-tool[data-latency-prompt=on] .lab-tool__lat-cue{ background: var(--jc-accent); color: var(--jc-bg); }
.lab-tool__lat-cue{ display: inline-block; padding: 12px 24px; border-radius: 8px; background: var(--jc-primary); border: 1px solid var(--jc-n0); font-weight: 700; min-height: 44px; transition: background 100ms; }
canvas[data-role=latency-sparkline]{ background: var(--jc-bg); border: 1px solid var(--jc-n0); border-radius: 6px; display: block; margin-top: 8px; }
@media (prefers-reduced-motion:reduce){.lab-tool *,.lab-tool *::before,.lab-tool *::after{animation-duration:0ms!important;animation-iteration-count:1!important;transition-duration:0ms!important;scroll-behavior:auto!important}}

/* Forced colors (Windows high contrast) */
@media (forced-colors: active){
  .lab-tool__btn{ border: 1px solid ButtonText; }
}
/* Responsive overflow guards (v7) */
.lab-tool__header>*{min-width:0}
.lab-tool__lang-select{max-width:160px;overflow:hidden;text-overflow:ellipsis}
.lab-tool__tab{flex-shrink:0}.lab-tool__btn{flex-shrink:1;min-width:0}
@media (max-width:480px){.lab-tool{padding:12px}.lab-tool__brand,.lab-tool__header-actions{flex:1 1 100%}.lab-tool__header-actions{justify-content:flex-start}.lab-tool__lang-select{max-width:140px}.lab-tool__stats{gap:8px}}
.lab-tool__card>div[style*=flex-wrap]{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.lab-tool__btn{white-space:normal;overflow-wrap:anywhere;line-height:1.2}
.lab-tool__header-actions{min-width:0;flex:0 1 auto}.lab-tool__stats{min-width:0;flex:0 1 auto}.lab-tool__stat{min-width:0;max-width:100%}.lab-tool__stat-label{overflow-wrap:anywhere;word-break:break-word;white-space:normal}


/* ────────────────────────────────────────────────────────────
   v11 LIVE TUNING (operator feedback 2026-05-20 PM):
   1. visible dropdown arrow on language tab
   2. idle-state movement on the controller diagram
   3. red ambient glow behind the controller (like v3 reference)
   4. larger controller — give it visual weight
   ──────────────────────────────────────────────────────────── */

/* 1. Language selector — make the down-arrow obviously interactive */
.lab-tool [data-role=lang-select],
.lab-tool select.lab-tool__lang,
.lab-tool select[aria-label*="Language" i] {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'><path d='M1 1.5l6 6.5 6-6.5' fill='none' stroke='%23FF3C28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 9px;
  padding-right: 30px !important;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.lab-tool [data-role=lang-select]:hover,
.lab-tool [data-role=lang-select]:focus-visible {
  background-color: rgba(255, 60, 40, 0.06);
  border-color: var(--jc-accent, #FF3C28) !important;
}

/* 2. Controller idle-state movement — gentle float + stick-dot wobble.
   Stops automatically as soon as a real controller is detected (the
   widget root flips data-state from "idle" → "detected"). */
.lab-tool[data-state=idle] .lab-tool__svg-holder svg {
  animation: jc-controller-float 6s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes jc-controller-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-4px) rotate(-0.4deg); }
  50%      { transform: translateY(0) rotate(0deg); }
  75%      { transform: translateY(-3px) rotate(0.4deg); }
}
.lab-tool[data-state=idle] .lab-tool__svg-holder svg [data-stick] {
  animation: jc-stick-wobble 4.5s ease-in-out infinite;
  transform-origin: center;
}
.lab-tool[data-state=idle] .lab-tool__svg-holder svg [data-stick]:nth-of-type(2) {
  animation-delay: -2.25s;
}
@keyframes jc-stick-wobble {
  0%, 100% { transform: translate(0, 0); }
  20%      { transform: translate(1.5px, -1px); }
  45%      { transform: translate(-1px, 1.5px); }
  70%      { transform: translate(1px, 1px); }
}

/* 3. Red ambient glow behind the controller SVG. Soft radial that
   reads as the v3 reference but stays restrained vs the hero glow. */
.lab-tool__svg-holder {
  position: relative;
  overflow: visible;
}
.lab-tool__svg-holder::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; height: 80%;
  background: radial-gradient(circle at center,
    rgba(255, 60, 40, 0.32) 0%,
    rgba(255, 60, 40, 0.16) 28%,
    rgba(255, 60, 40, 0.04) 50%,
    transparent 65%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}
.lab-tool__svg-holder svg {
  position: relative;
  z-index: 1;
}

/* 4. Larger controller — bump max-width + push the column ratio so
   the diagram dominates the overview right-side panel. */
.lab-tool__svg-holder svg {
  max-width: 100% !important;
  width: 100%;
}
.lab-tool__svg-holder { padding: 16px 8px !important; min-height: 320px; }
@media (min-width: 720px) {
  .lab-tool__overview {
    grid-template-columns: minmax(260px, 1fr) 2.6fr !important;
    align-items: center;
  }
}

/* 5. Hint card inner padding — text was touching the cyan border-left.
   v11 default is 12px 16px; bump left to 22px so the cyan accent line has
   real breathing room before the text starts. Polish 2026-05-20. */
.lab-tool .lab-tool__hint {
  padding: 14px 18px 14px 22px !important;
}

/* 6. Mobile overflow guards (audit 2026-05-20). Widget header buttons
   were getting clipped at narrow viewports — collapse stats, shrink
   header chips, scroll tabs horizontally instead of clipping. */
@media (max-width: 600px) {
  .lab-tool { padding: 12px !important; border-radius: 10px; }
  .lab-tool__header,
  .lab-tool header.lab-tool__hud {
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center;
  }
  .lab-tool__stats,
  .lab-tool__hud-stats { display: none !important; }
  .lab-tool [data-role=lang-select],
  .lab-tool__lang,
  .lab-tool__btn,
  .lab-tool__btn--chip {
    font-size: 12px !important;
    padding: 6px 10px !important;
    min-height: 32px !important;
  }
  .lab-tool__tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }
  .lab-tool__tab {
    padding: 10px 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }
  .joycheck-live-pill {
    font-size: 9px !important;
    padding: 4px 8px !important;
    letter-spacing: 0.18em !important;
  }
  .lab-tool__overview {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .lab-tool__svg-holder {
    min-height: 240px !important;
    padding: 4px !important;
  }
  .lab-tool__card { padding: 16px !important; }
  .lab-tool__card h3 { font-size: 14px; margin-bottom: 12px; }
  /* Haptics buttons row — wrap cleanly, no clipped labels */
  .lab-tool__card > div[style*="flex-wrap"] {
    gap: 6px !important;
  }
  .lab-tool__card .lab-tool__btn {
    flex: 1 1 calc(50% - 6px);
    font-size: 11.5px !important;
    padding: 10px 8px !important;
    text-align: center;
    line-height: 1.25;
  }
}
    
  .home-tldr {
    font-family: var(--font-head, inherit);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.55;
    color: var(--text, #d6dae2);
    margin: 22px auto 8px;
    max-width: 700px;
    text-align: left;
  }
  .home-tldr strong { color: var(--text-bright, #fff); }
  .home-updated {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    color: var(--text-dim, #8a909c);
    margin: 0 auto 24px;
    max-width: 700px;
    text-align: left;
    font-style: italic;
  }
  .home-updated a { color: inherit; text-decoration: underline; text-decoration-color: currentColor; opacity: 0.6; }
  .home-updated a:hover { color: var(--secondary, #ff4e5b); opacity: 1; }
  @media (max-width: 600px) {
    .home-tldr { font-size: 15px; margin: 18px auto 6px; }
    .home-updated { font-size: 11.5px; margin-bottom: 18px; }
  }


/* ===== Homepage restructure 2026-05-30 (hero trust, mobile note, tool privacy, 30s steps) ===== */
.hero-trust{font-family:var(--mono,ui-monospace,monospace);font-size:12.5px;letter-spacing:.04em;color:var(--text-dim,#a0a0a0);margin:6px 0 14px;}
.hero-mobile-note{display:none;}
.tool-privacy{font-size:12.5px;color:var(--text-dim,#a0a0a0);margin:0 0 12px;text-align:center;}
.steps-30s{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:900px;}
.steps-30s li{padding:20px 18px 18px;border:1px solid var(--glass-border,rgba(255,255,255,0.08));border-radius:14px;background:var(--glass-bg,rgba(255,255,255,0.02));font-size:14.5px;line-height:1.55;color:var(--text,#d6d6d6);}
.steps-30s__n{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:rgba(95,183,204,0.18);color:var(--accent,#5FB7CC);font-weight:700;font-size:14px;margin-bottom:10px;}
.steps-30s strong{display:block;color:var(--text-bright,#fafafa);margin-bottom:4px;}
@media (max-width:768px){
  .steps-30s{grid-template-columns:1fr;}
  .hero-mobile-note{display:block;margin:8px auto 14px;max-width:520px;padding:10px 14px;border:1px solid var(--glass-border,rgba(255,255,255,0.10));border-radius:10px;background:rgba(95,183,204,0.08);font-size:13px;color:var(--text-bright,#fafafa);}
}

/* ===== Spacing tightening 2026-05-30: kill wasted vertical voids (overrides extracted rules via cascade order) ===== */
:root{ --section-pad: 68px; }                 /* was 112px -> inter-band gap 224 -> 136 */
.hero{ min-height:auto; padding:104px 24px 44px; justify-content:flex-start; }  /* was min-height clamp(720,92vh,920) + 140/96 + centered */
.section-head{ margin-bottom:40px; }          /* was 64px */
#how-30s, #how-it-reads{ padding-top:56px; padding-bottom:56px; }  /* the two new short bands, tighter still */
#how-30s .section-head, #how-it-reads .section-head{ margin-bottom:32px; }
@media (max-width:980px){ :root{ --section-pad: 52px; } .hero{ padding-top:84px; } section.band{ padding:52px 24px; } }
@media (max-width:768px){ section.band{ padding:44px 16px; } #how-30s, #how-it-reads{ padding-top:40px; padding-bottom:40px; } }

/* block 7 (#how-it-reads): left-align the relocated paragraph + Verified box to the heading edge (they kept the hero's centering) */
#how-it-reads .home-tldr{ max-width:820px; margin-left:0; margin-right:0; text-align:left; }
#how-it-reads .home-verified{ max-width:820px; margin-left:0 !important; margin-right:0 !important; text-align:left; }

/* ===== Issue 1: guides grid aligns to the heading 2026-05-30 (PM) =====
   The grid is already top-aligned (align-items:start) to the 'Not working?' kicker.
   Drop the first button row by the kicker's block height (line-height 25.5 + margin-bottom 24
   + heading leading = 58px) so the first row lines up with the H2 'Which controllers...' instead.
   The kicker never wraps, so 58px is constant across desktop widths. Reset to 0 once the two
   columns stack into one at <=980px (the grid then sits below the copy). */
.guides{ align-items: flex-start; }
.guides-grid{ margin-top: 58px; }
@media (max-width:980px){ .guides-grid{ margin-top: 0; } }

/* ===== Footer <-> content left-edge unify 2026-05-30 (PM) =====
   The widget's footer reuses class `site-footer`, which collides with hello-elementor's
   theme rule `.site-footer{max-width:1140px;margin:0 auto}` -> the footer was boxed to 1140px
   centered (left 390, grid at 438), while the content bands run full-width with a 1180 .container
   (left 370). Force the footer full-width so its existing .footer-grid (max-width:1180;margin:auto)
   centers on the SAME left edge (370) and matches the content width (1180). Verified: grid L438->L370. */
.elementor footer.site-footer,
footer.site-footer{ max-width:none !important; width:auto !important; margin-left:0 !important; margin-right:0 !important; }
/* match the content band's horizontal padding at every breakpoint so the left edge stays
   unified below 1180px too (where the 1180 max-width centering no longer binds). Footer bg
   is full-width, so changing the inner padding is visually invisible. */
footer.site-footer{ padding-left:32px; padding-right:32px; }
@media (max-width:980px){ footer.site-footer{ padding-left:24px; padding-right:24px; } }
@media (max-width:768px){ footer.site-footer{ padding-left:14px; padding-right:14px; } }
