/* ════════════════════════════════════════════════════════
   HOMEPAGE REDESIGN v3 — "THE LEAK REPORT" (hx-)
   Mobile-first. No pinned scroll. No chip walls.
   Motif: ✕ leaking → ✓ fixed, page-wide.
   ════════════════════════════════════════════════════════ */
:root { --leak: #e05353; }

/* ─── HERO ─── */
#morph { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; pointer-events: none; }
.hx-hero .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { #morph { opacity: .45; } }
.hx-report { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.22,1,.36,1); will-change: transform; }
.hx-hero { height: 100svh; min-height: 540px; display: flex; align-items: center; padding: 0; position: relative; overflow: hidden; }
.hx-hero > .wrap { height: 100%; align-content: center; padding-top: clamp(72px, 10svh, 110px); padding-bottom: clamp(18px, 4svh, 44px); box-sizing: border-box; }
.hx-hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 45% at 78% 30%, rgba(244,81,30,.07), transparent 65%); pointer-events: none; }
.hx-hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; width: 100%; }
.hx-tag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 8px 15px; border-radius: 100px; margin-bottom: min(26px, 3svh); }
.hx-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: hx-blink 2.2s ease-in-out infinite; }
@keyframes hx-blink { 50% { opacity: .25; } }
.hx-hero h1 { margin-bottom: min(24px, 3svh); }
.hx-hero h1.giant { font-size: min(clamp(2.6rem, 6.8vw, 8.6rem), 10.5svh); }
.hx-hero h1 .leakword { color: transparent; -webkit-text-stroke: 1.5px var(--orange); }
.hx-sub { color: var(--muted, var(--mist)); font-size: min(clamp(14px, 1.3vw, 19px), 2.3svh); line-height: 1.65; max-width: 520px; margin-bottom: min(32px, 3.6svh); }
.hx-sub b { color: var(--text, var(--bone)); font-weight: 600; }
.hx-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hx-proof { display: flex; gap: 26px; margin-top: min(40px, 4.5svh); flex-wrap: wrap; }
@media (max-height: 620px) and (min-width: 761px) { .hx-proof { display: none; } }
.hx-proof span { font-family: var(--fm); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted, var(--mist)); display: inline-flex; align-items: center; gap: 8px; }
.hx-proof span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* ─── SIGNATURE: LEAK REPORT PANEL ─── */
.hx-report { border: 1px solid var(--line); background: var(--panel, var(--ink-2)); padding: min(24px, 2.8svh) 22px; position: relative; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.45); max-height: calc(100svh - 140px); }
[data-theme="light"] .hx-report { background: #fff; box-shadow: 0 40px 100px rgba(10,15,30,.12); }
.hx-report::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); }
.hx-report::after { /* scanline sweep */
  content: ''; position: absolute; left: 0; right: 0; height: 60px; top: -60px;
  background: linear-gradient(to bottom, transparent, rgba(244,81,30,.05), transparent);
  animation: hx-scan 4.5s linear infinite; pointer-events: none; }
@keyframes hx-scan { to { top: 110%; } }
.hx-rep-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.hx-rep-head .t { font-family: var(--fm); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted, var(--mist)); }
.hx-rep-head .live { font-family: var(--fm); font-size: .55rem; letter-spacing: .14em; color: var(--green); display: flex; align-items: center; gap: 6px; }
.hx-rep-head .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: hx-blink 1.8s ease-in-out infinite; }
.hx-line { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: min(15px, 1.8svh) 2px; border-bottom: 1px solid var(--line); }
.hx-line:last-of-type { border-bottom: 0; }
.hx-line .mk { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; }
.hx-line.bad .mk { background: rgba(224,83,83,.12); }
.hx-line.bad .mk svg { width: 11px; height: 11px; stroke: var(--leak); stroke-width: 2.6; fill: none; stroke-linecap: round; }
.hx-line.good .mk { background: rgba(46,204,113,.12); }
.hx-line.good .mk svg { width: 12px; height: 12px; stroke: var(--green); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hx-line .tx { font-size: min(.84rem, 1.95svh); color: var(--text, var(--bone)); line-height: 1.45; }
[data-theme="light"] .hx-line .tx { color: var(--ink-2); }
.hx-line .tx small { display: block; color: var(--muted, var(--mist)); font-size: min(.72rem, 1.7svh); margin-top: 2px; }
@media (max-height: 640px) and (min-width: 761px) { .hx-line .tx small { display: none; } }
.hx-badge { font-family: var(--fm); font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; border: 1px solid; white-space: nowrap; }
.hx-line.bad .hx-badge { color: var(--leak); border-color: rgba(224,83,83,.35); }
.hx-line.good .hx-badge { color: var(--green); border-color: rgba(46,204,113,.35); }
.hx-rep-foot { padding-top: 14px; font-family: var(--fm); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, var(--mist)); text-align: center; }
.hx-rep-foot b { color: var(--orange); font-weight: 500; }

/* ─── GAPS — TWO PANELS ─── */
.hx-gaps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 50px; }
.hx-gap { border: 1px solid var(--line); background: var(--panel, var(--ink-2)); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
[data-theme="light"] .hx-gap { background: #fff; }
.hx-gap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.22,1,.36,1) .2s; }
.hx-gap.in::before { transform: scaleX(1); }
.hx-gap .gk { font-family: var(--fm); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.hx-gap h3 { font-family: var(--fd); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: .98; margin-bottom: 14px; color: var(--text, var(--bone)); }
[data-theme="light"] .hx-gap h3 { color: var(--ink-2); }
.hx-gap > p { color: var(--muted, var(--mist)); font-size: .93rem; line-height: 1.7; margin-bottom: 24px; }
.hx-symptoms { display: flex; flex-direction: column; margin-bottom: 26px; border-top: 1px solid var(--line); }
.hx-sym { display: flex; gap: 12px; align-items: flex-start; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.hx-sym svg { width: 13px; height: 13px; flex: none; margin-top: 4px; stroke: var(--leak); stroke-width: 2.6; fill: none; stroke-linecap: round; }
.hx-sym span { font-size: .86rem; color: var(--muted, var(--mist)); line-height: 1.55; }
.hx-gap .fixline { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: rgba(46,204,113,.05); border: 1px solid rgba(46,204,113,.25); margin-bottom: 26px; }
.hx-gap .fixline svg { width: 15px; height: 15px; flex: none; margin-top: 3px; stroke: var(--green); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hx-gap .fixline p { font-size: .86rem; line-height: 1.6; color: var(--text, var(--bone)); }
[data-theme="light"] .hx-gap .fixline p { color: var(--ink-2); }
.hx-gap .fixline b { color: var(--green); font-weight: 600; }
.hx-gap .btn { margin-top: auto; align-self: flex-start; }

/* ─── THE LOOP ─── */
.hx-loop { border: 1px solid var(--line); background: var(--panel, var(--ink-2)); padding: clamp(30px, 4vw, 54px); margin-top: 50px; }
[data-theme="light"] .hx-loop { background: #fff; }
.hx-loop-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 34px; position: relative; }
.hx-node { text-align: center; padding: 0 10px; position: relative; }
.hx-node:not(:last-child)::after { content: ''; position: absolute; top: 23px; right: -9px; width: 18px; height: 2px; background: var(--orange); opacity: .5; }
.hx-node .dot { width: 46px; height: 46px; margin: 0 auto 14px; border: 1px solid rgba(244,81,30,.35); background: rgba(244,81,30,.06); display: grid; place-items: center; }
.hx-node .dot svg { width: 19px; height: 19px; stroke: var(--orange); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hx-node h5 { font-family: var(--fd); font-weight: 700; text-transform: uppercase; font-size: .98rem; letter-spacing: .03em; color: var(--text, var(--bone)); margin-bottom: 5px; }
[data-theme="light"] .hx-node h5 { color: var(--ink-2); }
.hx-node p { font-size: .74rem; line-height: 1.5; color: var(--muted, var(--mist)); }

/* ─── HOW — DIAGNOSE / FIX / RUN ─── */
.hx-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.hx-step { border: 1px solid var(--line); background: var(--panel, var(--ink-2)); padding: 32px 28px; }
[data-theme="light"] .hx-step { background: #fff; }
.hx-step .num { font-family: var(--fd); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(244,81,30,.55); margin-bottom: 16px; }
.hx-step h4 { font-family: var(--fd); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--text, var(--bone)); margin-bottom: 10px; }
[data-theme="light"] .hx-step h4 { color: var(--ink-2); }
.hx-step p { color: var(--muted, var(--mist)); font-size: .88rem; line-height: 1.7; }

/* ─── WAYS IN — PRICING STRIP ─── */
.hx-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.hx-way { border: 1px solid var(--line); background: var(--panel, var(--ink-2)); padding: 26px 22px; text-decoration: none; display: block; transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .5s; }
[data-theme="light"] .hx-way { background: #fff; }
.hx-way:hover { transform: translateY(-6px); border-color: rgba(244,81,30,.45); }
.hx-way .k { font-family: var(--fm); font-size: .54rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted, var(--mist)); display: block; margin-bottom: 12px; }
.hx-way .amt { font-family: var(--fd); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--text, var(--bone)); display: block; margin-bottom: 4px; }
[data-theme="light"] .hx-way .amt { color: var(--ink-2); }
.hx-way .amt em { font-style: normal; color: var(--orange); font-size: .95rem; }
.hx-way .per { font-family: var(--fm); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, var(--mist)); display: block; margin-bottom: 12px; }
.hx-way p { font-size: .8rem; color: var(--muted, var(--mist)); line-height: 1.55; }


/* ─── NAV DROPDOWNS ─── */
nav li.has-dd { position: relative; }
nav li.has-dd > a { display: inline-flex; align-items: center; gap: 5px; }
.dd-car { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
nav li.has-dd:hover .dd-car, nav li.has-dd:focus-within .dd-car { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); min-width: 260px;
  background: var(--panel, var(--ink-2)); border: 1px solid var(--line); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); z-index: 60; }
[data-theme="light"] .dd { background: #fff; box-shadow: 0 24px 60px rgba(10,15,30,.14); }
.dd::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; } /* hover bridge */
nav li.has-dd:hover .dd, nav li.has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd a { display: block; padding: 11px 14px; text-decoration: none; transition: background .25s; }
.dd a:hover { background: rgba(244,81,30,.07); }
.dd a b { display: block; font-family: var(--fd); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; color: var(--text, var(--bone)); }
[data-theme="light"] .dd a b { color: var(--ink-2); }
.dd a small { display: block; font-size: .7rem; color: var(--muted, var(--mist)); margin-top: 2px; }
.dd a.dd-cta { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 13px; }
.dd a.dd-cta b { color: var(--orange); }

/* mobile menu sub-links */
.mm-sub { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 0 4px 46px; }
.mm-sub a { font-family: var(--fm); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, var(--mist)); text-decoration: none; }
.mm-sub a:active, .mm-sub a:hover { color: var(--orange); }

/* ─── FOOTER CONTACT ─── */
.fcontact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.fc-row { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.fc-ic { width: 36px; height: 36px; flex: none; border: 1px solid var(--line); background: rgba(244,81,30,.06); display: grid; place-items: center; transition: border-color .3s, background .3s; }
.fc-ic svg { width: 15px; height: 15px; stroke: var(--orange); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
a.fc-row:hover .fc-ic { border-color: rgba(244,81,30,.5); background: rgba(244,81,30,.12); }
.fc-tx { font-size: .84rem; color: var(--text, var(--bone)); line-height: 1.3; }
[data-theme="light"] .fc-tx { color: var(--ink-2); }
a.fc-row:hover .fc-tx { color: var(--orange); }
.fc-tx small { display: block; font-family: var(--fm); font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted, var(--mist)); margin-bottom: 2px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hx-hero .wrap { grid-template-columns: 1fr; gap: 50px; }
  .hx-gaps { grid-template-columns: 1fr; }
  .hx-loop-track { grid-template-columns: 1fr; gap: 22px; }
  .hx-node { display: grid; grid-template-columns: 46px 1fr; gap: 16px; text-align: left; align-items: center; padding: 0; }
  .hx-node .dot { margin: 0; }
  .hx-node:not(:last-child)::after { top: auto; bottom: -13px; left: 22px; right: auto; width: 2px; height: 14px; }
  .hx-how { grid-template-columns: 1fr; }
  .hx-ways { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .sec { padding: clamp(70px, 11vh, 100px) 0; }
  .giant { font-size: clamp(2.6rem, 11.5vw, 3.5rem); line-height: .95; letter-spacing: 0; }
  .big { font-size: clamp(1.95rem, 8.5vw, 2.6rem); line-height: .99; }
  .sechead-sub { font-size: .9rem; }
  .hx-hero { height: auto; min-height: 0; padding: 0; }
  .hx-hero > .wrap { height: auto; padding-top: 0; padding-bottom: 0; display: flex; flex-direction: column; gap: 0; }
  .hx-hero > .wrap > div:first-child {
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 96px 0 28px; box-sizing: border-box;
  }
  .hx-hero h1.giant { font-size: min(clamp(2.5rem, 11vw, 3.5rem), 6.2svh); }
  .hx-sub { font-size: min(.94rem, 2.1svh); }
  .hx-report { margin: 6px 0 54px; max-height: none; }
  .hx-ctas { flex-direction: column; align-items: stretch; }
  .hx-ctas .btn { width: 100%; justify-content: center; }
  .hx-proof { gap: 14px 20px; margin-top: 30px; }
  .hx-gap .btn { align-self: stretch; justify-content: center; }
  .fin-ctas { flex-direction: column; align-items: stretch; }
  .fin-ctas .btn { width: 100%; justify-content: center; }
  .people-stats { gap: 12px; }
  .people-stat .n { font-size: 1.9rem; }
}
@media (max-width: 560px) {
  .hx-ways { grid-template-columns: 1fr; }
  .hx-report { padding: 20px 16px; }
  .hx-line { grid-template-columns: 26px 1fr; }
  .hx-line .hx-badge { grid-column: 2; justify-self: start; margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-report::after, .hx-tag i, .hx-rep-head .live i { animation: none; }
}

@media (max-width: 760px) {
  .hx-cta-stack { align-items: stretch; }
  .hx-cta-stack .hx-more { justify-content: center; }
