/* ============================================================
   The Brand Fly — Home (landing + sign-up) · light SaaS theme
   Palette from thebrandfly.com: ink #14103A, purple #6A2BF5,
   gradient #FF5C39 → #C13BE0 → #6A2BF5, green #00B98C
   Scoped to .home screens so the old report screens keep their look.
   ============================================================ */

/* Page background follows the active screen */
body:has(.screen.home.active) { background: #FBFAFF; color: #14103A; }
body:has(.screen.home.active) .bg-canvas { display: none; }

.home {
  --ink: #14103A;
  --ink-2: #514C79;
  --muted: #6E6A90;
  --purple: #6A2BF5;
  --magenta: #C13BE0;
  --orange: #FF5C39;
  --green: #00B98C;
  --lav: #F6F4FF;
  --lav-2: #EEE9FF;
  --line: #E7E2F7;
  --grad: linear-gradient(104deg, #FF5C39 0%, #C13BE0 48%, #6A2BF5 100%);
  --shadow: 0 1px 2px rgba(20,16,58,.04), 0 12px 32px -12px rgba(52,28,140,.18);
  --shadow-lg: 0 2px 6px rgba(20,16,58,.05), 0 30px 60px -20px rgba(52,28,140,.28);
  --hf: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --bf: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* re-map the variables style.css uses → the sign-up form turns light */
  --text-1: #14103A; --text-2: #514C79; --text-3: #8C88AA;
  --surface-1: #FFFFFF; --surface-2: #F6F4FF; --surface-3: #EEE9FF;
  --border: #E7E2F7; --border-2: #DCD5F3;
  --accent: #6A2BF5; --accent-2: #C13BE0; --accent-glow: rgba(106,43,245,.25);
  --font-body: var(--bf); --font-heading: var(--hf);

  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(193,59,224,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(106,43,245,.08), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFAFF 40%, #FFFFFF 100%);
  color: var(--ink);
  font-family: var(--bf);
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home img { max-width: 100%; }

.h-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.h-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Buttons ── */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grad); background-size: 140% 100%; background-position: 0 0;
  color: #fff; font: 700 0.95rem/1 var(--bf); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(193,59,224,.55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease;
}
.h-btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 32px -10px rgba(106,43,245,.6); }
.h-btn:focus-visible, .h-btn-ghost:focus-visible, .h-btn-text:focus-visible { outline: 3px solid rgba(106,43,245,.35); outline-offset: 3px; }
.h-btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.h-btn-lg { padding: 17px 30px; font-size: 1.02rem; }
.h-btn-white { background: #fff; color: var(--purple); box-shadow: 0 14px 30px -10px rgba(20,16,58,.45); }
.h-btn-white:hover { background: #fff; color: var(--magenta); }
.h-btn-ghost {
  display: inline-flex; align-items: center; padding: 16px 24px; border-radius: 999px;
  color: var(--ink); font-weight: 700; text-decoration: none; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: border-color .2s, transform .2s;
}
.h-btn-ghost:hover { border-color: #CFC4F7; transform: translateY(-2px); }
.h-btn-text { background: none; border: 0; color: var(--ink); font: 600 0.9rem var(--bf); cursor: pointer; padding: 8px 10px; border-radius: 8px; }
.h-btn-text:hover { color: var(--purple); }

/* ── Nav ── */
.h-nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s, border-color .25s;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; }
.h-nav.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(20,16,58,.4); }
.h-nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.h-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.h-logo img { height: 34px; width: auto; display: block; }
.h-logo span { font: 700 0.72rem var(--bf); letter-spacing: .08em; text-transform: uppercase; color: var(--purple);
  padding: 4px 8px; border-radius: 6px; background: var(--lav-2); }
.h-links { display: flex; gap: 4px; margin: 0 auto; }
.h-links a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.h-links a:hover { color: var(--ink); background: var(--lav); }
.h-nav-cta { display: flex; align-items: center; gap: 6px; }

/* ── Hero ── */
.h-hero { position: relative; overflow: hidden; padding: 56px 0 10px; }
.h-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.h-blob-1 { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(193,59,224,.35), transparent 65%); }
.h-blob-2 { width: 460px; height: 460px; left: -160px; top: 220px; background: radial-gradient(circle, rgba(255,92,57,.18), transparent 65%); }
.h-hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.h-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.h-pill b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .74rem; letter-spacing: .02em; }
.h-hero h1 { font: 800 clamp(2.3rem, 4.8vw, 3.6rem)/1.06 var(--hf); letter-spacing: -0.035em; margin: 22px 0 18px; color: var(--ink); }
.h-lead { font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); max-width: 600px; }
.h-lead b { color: var(--ink); }
.h-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; }
.h-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; }
.h-ticks li { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.h-ticks li::before { content: '✓'; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,185,140,.14); color: var(--green); font-size: .7rem; font-weight: 800; }

/* product mock */
.h-mock { position: relative; }
.h-mock-card { position: relative; z-index: 2; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s ease; }
.h-mock:hover .h-mock-card { transform: perspective(1400px) rotateY(0) rotateX(0); }
.h-mock-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FCFBFF; }
.h-dots { display: flex; gap: 6px; } .h-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3DEF5; }
.h-dots i:first-child { background: #FF8A6E; } .h-dots i:nth-child(2) { background: #FFC75A; } .h-dots i:nth-child(3) { background: #3DD6AE; }
.h-mock-url { flex: 1; font-size: .74rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.h-mock-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); background: var(--lav-2); padding: 4px 8px; border-radius: 6px; }
.h-mock-body { padding: 22px; }
.h-mock-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.h-mock-head h3 { font: 800 1.15rem/1.2 var(--hf); margin: 6px 0 2px; color: var(--ink); }
.h-mock-head p { margin: 0; font-size: .8rem; color: var(--muted); }
.h-ring { position: relative; width: 104px; height: 104px; }
.h-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.h-ring circle { fill: none; stroke-width: 11; }
.h-ring .bg { stroke: var(--lav-2); }
.h-ring .fg { stroke: url(#none); stroke: #F5A524; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: calc(314 - 314 * var(--v) / 100); }
.h-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1px; font: 800 1.7rem var(--hf); color: #E08E0B; }
.h-ring b small { font-size: .8rem; }
.h-chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.h-chip.ok { background: rgba(0,185,140,.12); color: #00936F; }
.h-chip.warn { background: rgba(245,165,36,.15); color: #B86E00; }
.h-chip.bad { background: rgba(255,92,57,.12); color: #D63E1C; }
.h-tabs-mini { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.h-tabs-mini span { font-size: .68rem; font-weight: 700; padding: 4px 8px; border-radius: 7px; color: var(--muted); background: var(--lav); }
.h-tabs-mini span.on { background: var(--ink); color: #fff; }
.h-findings { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 8px; }
.h-findings li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #FDFCFF; }
.h-findings i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-style: normal; font-weight: 800; font-size: .8rem; }
.h-findings .bad i { background: rgba(255,92,57,.12); color: #E04A26; }
.h-findings .warn i { background: rgba(245,165,36,.16); color: #C27800; }
.h-findings .ok i { background: rgba(0,185,140,.13); color: #00936F; }
.h-findings b { display: block; font-size: .84rem; color: var(--ink); }
.h-findings small { display: block; font-size: .74rem; color: var(--muted); margin-top: 1px; }
.h-findings em { font-style: normal; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #D63E1C; }
.h-findings .warn em { color: #B86E00; }
.h-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: h-bob 5s ease-in-out infinite; }
.h-float b { display: block; font-size: .82rem; } .h-float small { display: block; font-size: .72rem; color: var(--muted); }
.h-float-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lav-2); font-size: 1rem; }
.h-float-ic.g { background: rgba(0,185,140,.14); color: var(--green); font-weight: 800; }
.h-float-1 { left: -38px; bottom: -22px; }
.h-float-2 { right: -18px; top: -18px; animation-delay: -2.5s; }
@keyframes h-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* marquee */
.h-marquee { margin-top: 64px; padding: 22px 0 6px; border-top: 1px solid var(--line); }
.h-marquee p { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.h-marquee-track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h-marquee-row { display: flex; gap: 10px; padding-right: 10px; flex: none; animation: h-marq 48s linear infinite; }
.h-marquee-row span { white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
@keyframes h-marq { to { transform: translateX(-100%); } }

/* ── Sections ── */
.h-sec { padding: 96px 0; }
.h-sec-tint { background: linear-gradient(180deg, #F7F4FF 0%, #FBFAFF 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.h-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple);
  padding: 6px 12px; border-radius: 999px; background: var(--lav-2); }
.h-head h2, .h-trust-copy h2 { font: 800 clamp(1.9rem, 3.6vw, 2.9rem)/1.1 var(--hf); letter-spacing: -0.03em; margin: 16px 0 14px; color: var(--ink); }
.h-head p { font-size: 1.06rem; line-height: 1.65; color: var(--ink-2); margin: 0; }

/* pains */
.h-pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.h-pain { padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.h-pain:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.h-pain-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,92,57,.12), rgba(106,43,245,.12)); font-size: 1.35rem; }
.h-pain h3 { font: 700 1.08rem/1.3 var(--hf); margin: 18px 0 8px; color: var(--ink); }
.h-pain p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-2); }
.h-callout { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 36px auto 0; padding: 18px 22px; border-radius: 16px;
  background: linear-gradient(104deg, rgba(255,92,57,.07), rgba(106,43,245,.07)); border: 1px solid #E4D9FB; }
.h-callout span { font-size: 1.3rem; } .h-callout p { margin: 0; color: var(--ink-2); line-height: 1.6; } .h-callout b { color: var(--ink); }

/* features */
.h-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 34px 0; }
.h-feature.rev .h-feature-copy { order: 2; }
.h-num { font: 800 .9rem var(--hf); color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; letter-spacing: .08em; }
.h-feature h3 { font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--hf); letter-spacing: -0.02em; margin: 8px 0 12px; color: var(--ink); }
.h-feature p { color: var(--ink-2); line-height: 1.65; margin: 0 0 18px; font-size: 1rem; }
.h-feature p b { color: var(--ink); }
.h-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.h-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; color: var(--ink); }
.h-list li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800; }
.h-vis-card { position: relative; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.h-vis-card::before { content: ''; position: absolute; inset: -14px; z-index: -1; border-radius: 30px; background: linear-gradient(135deg, rgba(255,92,57,.18), rgba(193,59,224,.16), rgba(106,43,245,.18)); filter: blur(18px); }
.h-bars { display: grid; gap: 16px; }
.h-bars div { display: grid; grid-template-columns: 1fr 48px; gap: 6px 12px; align-items: center; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.h-bars i { grid-column: 1; height: 9px; border-radius: 9px; background: var(--lav-2); position: relative; overflow: hidden; }
.h-bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--c); }
.h-bars b { grid-row: 1 / span 2; grid-column: 2; text-align: right; font: 800 1rem var(--hf); color: var(--ink); }
.h-cit { display: grid; }
.h-cit div { display: grid; grid-template-columns: 1fr auto 96px; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.h-cit div:last-child { border-bottom: 0; }
.h-nap { display: inline-flex; gap: 4px; justify-content: flex-end; }
.h-nap i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-style: normal; font-weight: 800; font-size: .7rem; }
.h-nap i.ok { background: rgba(0,185,140,.13); color: #00936F; }
.h-nap i.bad { background: rgba(255,92,57,.14); color: #D63E1C; }
.h-nap i.na { background: var(--lav); color: var(--muted); }
.h-nap.muted { font-size: .76rem; font-weight: 700; color: var(--purple); }
.h-checks { display: grid; gap: 10px; }
.h-checks div { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.h-checks i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-style: normal; font-weight: 800; }
.h-checks .bad i { background: rgba(255,92,57,.12); color: #E04A26; }
.h-checks .warn i { background: rgba(245,165,36,.16); color: #C27800; }
.h-checks .ok i { background: rgba(0,185,140,.13); color: #00936F; }
.h-checks em { font-style: normal; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: rgba(255,92,57,.1); color: #D63E1C; }
.h-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .92rem; }
.h-chart-bars { height: 170px; display: flex; align-items: flex-end; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.h-chart-bars i { flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #DCD0FB, #EEE9FF); }
.h-chart-bars i.on { background: var(--grad); }
.h-chart-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: .74rem; color: var(--muted); font-weight: 600; }

/* steps */
.h-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.h-steps li { position: relative; padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.h-steps li:not(:last-child)::after { content: ''; position: absolute; top: 54px; right: -22px; width: 22px; height: 2px; background: linear-gradient(90deg, #CDBFF8, transparent); }
.h-step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; font: 800 1.2rem var(--hf);
  box-shadow: 0 10px 20px -8px rgba(193,59,224,.6); }
.h-steps h3 { font: 700 1.15rem var(--hf); margin: 18px 0 8px; color: var(--ink); }
.h-steps p { margin: 0; color: var(--ink-2); line-height: 1.6; font-size: .95rem; }
.h-steps b { color: var(--ink); }
.h-center { text-align: center; margin-top: 40px; }

/* results */
.h-res-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.h-res-tabs button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 700 .9rem var(--bf); cursor: pointer; transition: all .2s; }
.h-res-tabs button:hover { border-color: #CFC4F7; color: var(--ink); }
.h-res-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.h-res { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.h-res-panel[hidden] { display: none; }
.h-res-cap { margin: 0 0 18px; font-size: 1rem; color: var(--ink-2); text-align: center; }
.h-res-cap b { color: var(--ink); }
.h-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.h-shots img { width: 100%; height: 230px; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); background: var(--lav); display: block; }

/* industries */
.h-inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-inds article { padding: 24px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.h-inds article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D9CCFA; }
.h-inds span { font-size: 1.6rem; }
.h-inds h3 { font: 700 1.02rem/1.3 var(--hf); margin: 12px 0 8px; color: var(--ink); }
.h-inds p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--ink-2); }

/* trust */
.h-trust { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.h-trust-copy p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.65; margin: 0 0 22px; }
.h-trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h-trust-list li { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.h-trust-list span { font-size: 1.3rem; }
.h-trust-list b { display: block; font-size: .95rem; color: var(--ink); }
.h-trust-list small { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.5; color: var(--ink-2); }
.h-trust-card { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.h-trust-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.h-trust-card img { height: 46px; width: auto; }
.h-trust-card p { color: var(--ink-2); line-height: 1.65; margin: 16px 0 22px; }
.h-trust-card p b { color: var(--ink); }
.h-trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.h-trust-stats div { padding: 14px 10px; border-radius: 14px; background: var(--lav); text-align: center; }
.h-trust-stats b { display: block; font: 800 1.5rem var(--hf); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-trust-stats span { font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.h-wa { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; border-radius: 12px; background: #E9FBF4; color: #057A5B; font-weight: 700; text-decoration: none; border: 1px solid #BFEEDD; }
.h-wa:hover { background: #DDF7EC; }

/* faq */
.h-faq-wrap { max-width: 860px; }
.h-faq { display: grid; gap: 12px; }
.h-faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.h-faq details[open] { border-color: #D9CCFA; box-shadow: var(--shadow); }
.h-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 700 1.04rem var(--hf); color: var(--ink); position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lav-2); color: var(--purple); font: 700 1.1rem var(--bf); transition: transform .2s; }
.h-faq details[open] summary::after { content: '–'; }
.h-faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); line-height: 1.7; }

/* final cta */
.h-final { padding: 30px 24px 90px; }
.h-final-in { position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 32px; background: var(--grad); color: #fff;
  box-shadow: 0 40px 80px -30px rgba(106,43,245,.6); }
.h-final-in::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(255,255,255,.25), transparent 60%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 60px); pointer-events: none; }
.h-final h2 { position: relative; font: 800 clamp(1.9rem, 4vw, 3rem)/1.1 var(--hf); letter-spacing: -0.03em; margin: 0 0 14px; }
.h-final p { position: relative; font-size: 1.1rem; opacity: .92; margin: 0 auto 28px; max-width: 560px; line-height: 1.6; }
.h-final .h-btn { position: relative; }
.h-final small { position: relative; display: block; margin-top: 16px; font-size: .86rem; opacity: .85; font-weight: 600; }

.h-foot { border-top: 1px solid var(--line); padding: 26px 0; background: #fff; }
.h-foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.h-foot p { margin: 0; font-size: .86rem; color: var(--muted); }
.h-foot a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.h-foot a:hover { color: var(--purple); }

/* reveal */
.h-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.h-reveal.in { opacity: 1; transform: none; }

/* ── Sign-up screen ── */
.h-auth { display: grid !important; grid-template-columns: minmax(0, 460px) minmax(0, 480px); gap: 48px; align-items: center; justify-content: center; }
.h-auth-side h2 { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.15 var(--hf); letter-spacing: -0.03em; margin: 26px 0 22px; color: var(--ink); }
.h-auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.h-auth-side li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.h-auth-side li span { font-size: 1.2rem; }
.h-auth-side li b { display: block; color: var(--ink); font-size: .95rem; }
.h-auth-side li small { display: block; color: var(--ink-2); font-size: .84rem; margin-top: 2px; }
.h-auth-safe { margin: 18px 0 0; font-size: .86rem; font-weight: 600; color: #057A5B; }
.home .auth-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: none; }
.home .auth-card h2 { font-family: var(--hf); color: var(--ink); letter-spacing: -0.02em; }
.home .auth-card input { background: #fff; color: var(--ink); }
.home .auth-card input:focus { background: #fff; }
.home .auth-card .btn-primary { background: var(--grad); border-radius: 999px; font-weight: 700; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(193,59,224,.55); }
.home .auth-card .btn-primary:hover { box-shadow: 0 16px 32px -10px rgba(106,43,245,.6); }
.home .auth-tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,16,58,.12); }
.home .auth-step.active b { background: var(--grad); }
.home .form-error-banner { background: #FFF1EE; border-color: #FFC9BC; color: #B3361A; }
.home .btn-back { color: var(--ink-2); background: var(--lav); border-color: var(--line); }
.home .privacy-note { color: var(--muted); }
.home .lead-glow { display: none; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .h-links { display: none; }
  .h-nav-cta { margin-left: auto; }
  .h-pains, .h-inds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .h-hero-in, .h-feature, .h-trust { grid-template-columns: 1fr; gap: 40px; }
  .h-feature.rev .h-feature-copy { order: 0; }
  .h-mock { max-width: 560px; margin: 0 auto; width: 100%; }
  .h-mock-card { transform: none; }
  .h-float-1 { left: -6px; bottom: -26px; } .h-float-2 { right: -6px; }
  .h-steps { grid-template-columns: 1fr; }
  .h-steps li:not(:last-child)::after { display: none; }
  .h-shots { grid-template-columns: 1fr 1fr; } .h-shots img:nth-child(3) { display: none; }
  .h-auth { grid-template-columns: minmax(0, 520px); gap: 28px; }
  .h-auth-side { order: 2; }
}
@media (max-width: 600px) {
  .h-wrap { padding: 0 16px; }
  .h-nav-in { height: 60px; gap: 10px; }
  .h-logo img { height: 28px; } .h-logo span { display: none; }
  .h-btn-text { padding: 8px 6px; }
  .h-hero { padding-top: 34px; }
  .h-lead { font-size: 1rem; }
  .h-cta-row .h-btn, .h-cta-row .h-btn-ghost { width: 100%; justify-content: center; }
  .h-sec { padding: 64px 0; }
  .h-pains, .h-inds, .h-trust-list { grid-template-columns: 1fr; }
  .h-mock-body { padding: 16px; }
  .h-mock-head { grid-template-columns: 1fr; justify-items: start; }
  .h-ring { width: 88px; height: 88px; }
  .h-findings li { grid-template-columns: auto 1fr; } .h-findings em { display: none; }
  .h-float { display: none; }
  .h-cit div { grid-template-columns: 1fr auto; } .h-cit .h-nap { grid-column: 1 / -1; justify-content: flex-start; }
  .h-shots { grid-template-columns: 1fr; } .h-shots img:nth-child(n+2) { display: none; }
  .h-res { padding: 16px; }
  .h-trust-stats b { font-size: 1.2rem; }
  .h-final { padding: 10px 16px 60px; } .h-final-in { padding: 48px 20px; border-radius: 24px; }
  .h-final .h-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .h-marquee-row, .h-float { animation: none; }
  .h-mock-card { transform: none; }
}

/* ── Results carousel ───────────────────────────── */
.h-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: -12px 0 34px; }
.h-kpis div { padding: 18px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.h-kpis b { display: block; font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--hf); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-kpis span { display: block; margin-top: 8px; font-size: .8rem; font-weight: 600; line-height: 1.4; color: var(--ink-2); }

.h-pf-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.h-pf-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font: 700 .9rem var(--bf); cursor: pointer; transition: all .2s; }
.h-pf-tabs button span { font-size: .72rem; padding: 2px 7px; border-radius: 999px; background: var(--lav); color: var(--muted); }
.h-pf-tabs button:hover { border-color: #CFC4F7; color: var(--ink); }
.h-pf-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(20,16,58,.7); }
.h-pf-tabs button.on span { background: rgba(255,255,255,.18); color: #fff; }

.h-proof { --pf-run: none; }
.h-pf { position: relative; margin: 0 -24px; }
.h-pf::before, .h-pf::after { content: ''; position: absolute; top: 0; bottom: 60px; width: 8%; z-index: 2; pointer-events: none; }
.h-pf::before { left: 0; background: linear-gradient(90deg, #F8F6FF, transparent); }
.h-pf::after { right: 0; background: linear-gradient(-90deg, #F9F8FF, transparent); }
.h-pf-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px 13% 24px;
  scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.h-pf-track::-webkit-scrollbar { display: none; }
.h-slide { flex: 0 0 74%; scroll-snap-align: center; margin: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s; transform: scale(.9); opacity: .45; }
.h-slide.on { transform: scale(1); opacity: 1; }
.h-shot { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; cursor: zoom-in;
  box-shadow: 0 2px 6px rgba(20,16,58,.06), 0 40px 70px -32px rgba(52,28,140,.45); }
.h-slide:not(.on) .h-shot { cursor: pointer; }
.h-shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: #FCFBFF; border-bottom: 1px solid var(--line); }
.h-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E3DEF5; }
.h-shot-bar i:first-child { background: #FF8A6E; } .h-shot-bar i:nth-child(2) { background: #FFC75A; } .h-shot-bar i:nth-child(3) { background: #3DD6AE; }
.h-shot img { display: block; width: 100%; aspect-ratio: 16 / 7.6; object-fit: cover; object-position: top center; background: linear-gradient(110deg, #F3F0FF 30%, #FBFAFF 50%, #F3F0FF 70%); }
.h-zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(20,16,58,.78); color: #fff;
  font-size: 1rem; opacity: 0; transform: translateY(6px); transition: all .25s; }
.h-slide.on .h-shot:hover .h-zoom, .h-slide.on .h-shot:focus-visible .h-zoom { opacity: 1; transform: none; }
.h-shot:focus-visible { outline: 3px solid rgba(106,43,245,.45); outline-offset: 3px; }
.h-slide figcaption { display: flex; align-items: center; gap: 16px; margin: 18px auto 0; max-width: 680px; padding: 14px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: all .45s .1s; }
.h-slide.on figcaption { opacity: 1; transform: none; }
.h-slide figcaption b { flex: none; font: 800 clamp(1.4rem, 2.6vw, 2rem)/1 var(--hf); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-slide figcaption span { font-weight: 700; color: var(--ink); font-size: .98rem; line-height: 1.35; }
.h-slide figcaption small { display: block; font-weight: 600; font-size: .78rem; color: var(--muted); margin-top: 2px; }

.h-pf-arrow { position: absolute; top: calc(50% - 50px); z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s, background .2s, color .2s; }
.h-pf-arrow:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.h-pf-arrow.prev { left: 5%; } .h-pf-arrow.next { right: 5%; }

.h-pf-foot { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 6px; }
.h-pf-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 520px; }
.h-pf-dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #DCD5F3; cursor: pointer; overflow: hidden; transition: width .3s, background .3s; }
.h-pf-dots button.on { width: 42px; background: #E8E1FB; }
.h-pf-dots button.on::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform-origin: left; animation: var(--pf-run) 4.5s linear forwards; }
.h-pf.paused ~ .h-pf-foot .h-pf-dots button.on::after { animation-play-state: paused; }
.h-pf-count { font: 700 .82rem var(--bf); color: var(--muted); min-width: 52px; }
@keyframes h-pf-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* lightbox */
.h-lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px;
  background: rgba(20,16,58,.86); backdrop-filter: blur(6px); animation: h-fade .2s ease; }
.h-lb[hidden] { display: none; }
.h-lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; max-height: 100%; }
.h-lb img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.h-lb figcaption { color: #fff; font-size: .95rem; text-align: center; }
.h-lb figcaption b { font: 800 1.15rem var(--hf); }
.h-lb figcaption span { opacity: .75; }
.h-lb figcaption em { font-style: normal; opacity: .6; margin-left: 8px; font-size: .82rem; }
.h-lb-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.1rem; cursor: pointer; }
.h-lb-nav { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.h-lb-x:hover, .h-lb-nav:hover { background: rgba(255,255,255,.28); }
@keyframes h-fade { from { opacity: 0; } }

@media (max-width: 920px) {
  .h-kpis { grid-template-columns: repeat(3, 1fr); }
  .h-kpis div:nth-child(n+4) { display: none; }
  .h-slide { flex-basis: 84%; }
  .h-pf-track { padding: 10px 8% 20px; }
  .h-pf-arrow { display: none; }
}
@media (max-width: 600px) {
  .h-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .h-kpis div:nth-child(n+3) { display: none; }
  .h-pf { margin: 0 -16px; }
  .h-pf::before, .h-pf::after { display: none; }
  .h-pf-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; scrollbar-width: none; }
  .h-pf-tabs button { flex: none; }
  .h-slide { flex-basis: 88%; transform: scale(.95); }
  .h-pf-track { gap: 12px; padding: 8px 6% 18px; }
  .h-shot img { aspect-ratio: 4 / 3; }
  .h-slide figcaption { padding: 12px 14px; gap: 12px; }
  .h-lb { grid-template-columns: 1fr; padding: 60px 10px 20px; }
  .h-lb-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .h-slide, .h-slide figcaption { transition: none; } .h-pf-dots button.on::after { animation: none; transform: none; } }
@media (max-width: 600px) { .h-center .h-btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; } }
