/* Electric Nerdz — niche landing page shell.
   Minimal-nav, conversion-focused. Reuses the brand tokens from styles.css. */

@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..900&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --blue: #0b64f4;
  --blue-dark: #063fb1;
  --ink: #101522;
  --muted: #5c6575;
  --line: #e6eaf1;
  --panel: #ffffff;
  --soft: #f5f8fc;
  --green: #16a06b;
  --red: #f04b2f;
  /* layered depth scale — soft ambient + tight contact shadow reads "designed" */
  --shadow-sm: 0 1px 2px rgba(16, 21, 34, 0.06), 0 4px 12px rgba(16, 21, 34, 0.06);
  --shadow-md: 0 2px 4px rgba(16, 21, 34, 0.05), 0 12px 32px rgba(16, 21, 34, 0.10);
  --shadow-lg: 0 4px 8px rgba(16, 21, 34, 0.05), 0 24px 64px rgba(16, 21, 34, 0.14);
  --shadow: var(--shadow-lg);
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* type pairing: Space Grotesk carries the headlines (distinctive, confident),
     Inter carries everything else (quiet, readable). */
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; } /* animation offsets must never cause sideways scroll */
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11"; /* Inter's cleaner glyph alternates */
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #d5e5ff; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(11, 100, 244, 0.4); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ----- minimal header ----- */
.lp-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.lp-header img { height: 52px; display: block; }
.lp-header .cta-mini {
  background: var(--blue); color: #fff; border: 0; border-radius: 10px;
  padding: 11px 20px; font-weight: 700; font-size: 14px; cursor: pointer;
  text-decoration: none; display: inline-block;
}

/* ----- hero ----- */
.hero { position: relative; padding: 28px 0 54px; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: drift 14s ease-in-out infinite alternate; }
.blob1 { width: 480px; height: 480px; background: #d5e5ff; top: -180px; right: -80px; }
.blob2 { width: 360px; height: 360px; background: #e9e2ff; bottom: -160px; left: -120px; animation-delay: -7s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
/* Eyebrow — NOT a blue pill. A quiet, typographic marker: a live status dot,
   a hairline rule, and the label in ink. Reads like a masthead, not a badge. */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 18px; padding: 0; background: none; border: 0;
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px; max-width: 72px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.eb-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  flex-shrink: 0; box-shadow: 0 0 0 3px rgba(22, 160, 107, 0.15);
  animation: pulseDot 2.4s ease-in-out infinite;
}

/* Inline icon system — inherits currentColor, stroked not filled. */
.ico { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico.star { fill: currentColor; stroke: none; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; margin: 0 0 16px;
  letter-spacing: -0.025em; font-weight: 700;
  text-wrap: balance; /* even line breaks — no orphan word under the headline */
}
.hero h1 em { font-style: normal; color: var(--blue); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background: linear-gradient(92deg, var(--blue) 10%, #7c5cdb 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.hero .sub { font-size: 18px; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
/* load-in animation for hero pieces */
.ld { opacity: 0; transform: translateY(16px); animation: ldIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.ld1 { animation-delay: 0.05s; } .ld2 { animation-delay: 0.15s; } .ld3 { animation-delay: 0.3s; }
.ld4 { animation-delay: 0.45s; } .ld5 { animation-delay: 0.58s; }
@keyframes ldIn { to { opacity: 1; transform: translateY(0); } }
/* hero visual — one unified card: photo on top, proof table attached below,
   activity chips in a clean row underneath. Nothing overlaps, any viewport. */
.hero-visual { position: relative; }
.showcase {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg);
}
.showcase > img {
  width: 100%; height: 250px; object-fit: cover; object-position: center 25%;
  display: block; border-bottom: 1px solid var(--line);
}
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.live-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-sm);
  color: #157a52; animation: chipFloat 5s ease-in-out infinite;
}
.live-chip:nth-child(2) { color: var(--blue); animation-delay: -2.5s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta-primary {
  background: linear-gradient(180deg, #2a7bff, var(--blue)); color: #fff; border: 0; border-radius: var(--r-md);
  padding: 17px 32px; font-weight: 800; font-size: 16px; letter-spacing: -0.2px; cursor: pointer;
  text-decoration: none; display: inline-block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 4px rgba(11,100,244,0.3), 0 12px 28px rgba(11,100,244,0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 8px rgba(11,100,244,0.32), 0 18px 40px rgba(11,100,244,0.38); }
.cta-primary:active { transform: translateY(0) scale(0.98); }

/* ----- scroll-following sticky bar (glass, all viewports) ----- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 90;
  background: linear-gradient(90deg, var(--blue), #7c5cdb); border-radius: 0 3px 3px 0;
}
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(16, 21, 34, 0.07);
  box-shadow: var(--shadow-sm);
  transform: translateY(-110%); transition: transform 0.35s var(--ease);
}
.topbar.on { transform: translateY(0); }
.topbar img { height: 36px; display: block; }
.topbar .tb-title { font-size: 14px; font-weight: 700; color: var(--muted); flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .cta-mini { flex-shrink: 0; }
.cta-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 32em; }
.hero-ticks { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 16px; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.hero-ticks span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-ticks .ico { color: var(--green); stroke-width: 2.2; font-size: 15px; }

/* sticky mobile CTA — one thumb-reachable action, hidden while the form is on screen.
   A light sweeps across it every few seconds: draws the eye back to the one
   action on the page without moving or resizing anything. */
.cta-sticky {
  display: none; position: fixed; left: 12px; right: 12px; z-index: 85;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #2a7bff, var(--blue)); color: #fff; text-align: center; text-decoration: none;
  border-radius: var(--r-md); padding: 16px; font-weight: 800; font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 10px 30px rgba(11, 100, 244, 0.45);
  transition: transform 0.2s var(--ease);
  position: fixed; overflow: hidden; isolation: isolate;
}
.cta-sticky::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 65%
  );
  transform: translateX(-120%);
  animation: shimmer 3.4s var(--ease) infinite;
}
.cta-sticky:active { transform: scale(0.98); }
@keyframes shimmer {
  0%   { transform: translateX(-120%); }
  55%  { transform: translateX(120%); }
  100% { transform: translateX(120%); } /* pause before sweeping again */
}
/* the same sweep on the desktop hero button, so both viewports get the cue */
.cta-primary { position: relative; overflow: hidden; isolation: isolate; }
.cta-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0) 65%
  );
  transform: translateX(-120%);
  animation: shimmer 3.4s var(--ease) infinite;
  animation-delay: 1.2s;
}

/* before/after visual */
.ba { background: var(--panel); overflow: hidden; }
.ba table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ba th { padding: 12px 16px; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; text-align: left; }
.ba th.b { background: #fdf2f0; color: #b23b2c; }
.ba th.a { background: #eefaf3; color: #157a52; }
.ba td { padding: 11px 16px; border-top: 1px solid var(--line); }
.ba td.b { color: #8a4a40; }
.ba td.a { color: #14624a; font-weight: 600; }
.ba td.a::before { content: "→ "; color: var(--green); }

/* ----- proof strip — hairline columns, not four floating cards ----- */
.proof { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proof .wrap > div { padding: 0 24px; border-left: 1px solid var(--line); }
.proof .wrap > div:first-child { border-left: 0; padding-left: 0; }
.proof h4 { margin: 0 0 5px; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.proof p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* trust bar — hairline-separated, icon-led. No emoji. */
.trustbar { padding: 18px 0; border-bottom: 1px solid var(--line); }
.trustbar-in { display: flex; gap: 0; flex-wrap: wrap; justify-content: center; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.trustbar-in > * {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 22px; border-left: 1px solid var(--line);
  min-height: 44px; /* the GitHub link is tappable — give it a real target */
}
.trustbar-in > *:first-child { border-left: 0; }
.trustbar-in .ico { color: var(--blue); font-size: 16px; }
.trustbar-in a { color: var(--ink); text-decoration: none; transition: color 0.2s var(--ease); }
.trustbar-in a:hover { color: var(--blue); }

/* ----- testimonial carousel -----
   Real clients under confidentiality: no photos, no monogram discs (an avatar
   circle with initials in it is just a placeholder wearing a costume). This is
   built as an editorial pull-quote instead: a real typographic quote mark does
   the work an avatar was pretending to do, and the words carry the card. */
.tcar {
  position: relative; overflow: hidden; max-width: 780px; margin: 0 auto;
  color: #fff; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 0% 0%, #1b2740 0%, rgba(27, 39, 64, 0) 55%),
    radial-gradient(100% 100% at 100% 100%, #1d2140 0%, rgba(29, 33, 64, 0) 50%),
    #0f1626;
  box-shadow: var(--shadow-lg);
}
/* oversized quote mark, set in the display face, sitting behind the text */
.tcar::before {
  content: "\201C";
  position: absolute; top: -26px; left: 24px; pointer-events: none;
  font-family: var(--font-display); font-size: 160px; font-weight: 700;
  line-height: 1; color: #fff; opacity: 0.07;
}
.tcar-track { display: flex; transition: transform 0.6s var(--ease); will-change: transform; }
.tslide {
  flex: 0 0 100%; margin: 0; padding: 44px 52px 30px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  box-sizing: border-box; /* the 100% flex basis must include the padding */
}
.tslide .stars { color: #ffcf40; display: flex; gap: 5px; justify-content: center; margin-bottom: 18px; font-size: 13px; opacity: 0.9; }
.tslide blockquote {
  margin: 0; max-width: 20ch;
  font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600; line-height: 1.4; letter-spacing: -0.015em;
  text-wrap: balance;
}
/* outcome line — a hairline rule and small caps, not a green bubble */
.tstat {
  display: flex; align-items: center; gap: 10px;
  margin: 20px 0 0; padding: 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #6ee7b7; white-space: nowrap; /* the flanking rules only read right on one line */
}
.tstat::before, .tstat::after {
  content: ""; width: 18px; height: 1px; background: rgba(110, 231, 183, 0.35);
}
/* attribution — one quiet line, the way a magazine credits a source */
.tslide figcaption {
  margin-top: 22px; padding-top: 18px; width: 100%; max-width: 240px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-direction: column; gap: 2px;
}
.t-name { font-size: 14px; font-weight: 700; color: #fff; }
.t-role { font-size: 12.5px; color: #98a2b8; letter-spacing: 0.02em; }
/* The dots LOOK 7px but the button is 44px — the visible dot is drawn with a
   pseudo-element so the tap target meets the 44px minimum without a giant blob
   on screen. A 7px tap target on a phone is a dot you can never actually hit. */
.tcar-dots { display: flex; gap: 0; justify-content: center; padding: 0 0 14px; }
.tcar-dots button {
  width: 26px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.tcar-dots button::before {
  content: ""; display: block; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25); transition: all 0.35s var(--ease);
}
.tcar-dots button:hover::before { background: rgba(255, 255, 255, 0.5); }
.tcar-dots button.on::before { background: #fff; width: 22px; border-radius: 4px; }

/* scroll reveals */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.rv-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ld, .rv { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .blob, .live-chip { animation: none !important; }
  .cta-sticky::after, .cta-primary::after { display: none; }
  .nerd-msg.typing i, .nerd-status::before { animation: none !important; }
}

/* ----- sections -----
   Headers are numbered by a CSS counter (01 / 02 / 03…) set in a small mono
   face. It's the kind of detail a template never has: it implies the page was
   composed as a sequence, and it gives the eye an anchor while scrolling. */
section.block { padding: 56px 0 8px; counter-increment: sec; }
main, body { counter-reset: sec; }
.block h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.1;
  margin: 0 0 14px; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance;
  position: relative;
}
.block > .wrap > h2::before,
.block > .wrap > div > h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block; margin-bottom: 10px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--blue); opacity: 0.75;
}
/* the second column of a 2-up shares the section number — don't print it twice */
.cols2 > div:nth-child(2) > h2::before { content: ""; margin: 0; }
.block .lead { color: var(--muted); font-size: 16.5px; max-width: 42em; margin: 0 0 18px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }

.pains li, .costs li { margin: 10px 0; font-size: 15.5px; }
.costs li::marker { color: var(--red); }

/* workflow steps */
.flowsteps { list-style: none; padding: 0; margin: 18px 0 0; max-width: 30em; }
.flowsteps li {
  border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--r-sm); padding: 12px 16px; margin: 9px 0; background: #fff;
  font-weight: 600; font-size: 15px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.flowsteps li:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.flowsteps li small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* how it works */
.hiw { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 20px; }
.hiw div { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; text-align: center; }
.hiw b { display: block; color: var(--blue); font-size: 13px; margin-bottom: 4px; }
.hiw span { font-size: 12.5px; color: var(--muted); }

/* fail vs managed */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.versus .side { border-radius: 14px; padding: 18px 22px; }
.versus .bad { background: #fdf2f0; border: 1px solid #f1cdc6; }
.versus .good { background: #eefaf3; border: 1px solid #c4e8d4; }
.versus h3 { margin: 0 0 10px; font-size: 15px; }
.versus ul { margin: 0; padding-left: 18px; font-size: 14px; }
.versus li { margin: 7px 0; }

/* deliverables + risk — real check marks in a soft disc, not a text glyph */
.checks { list-style: none; padding: 0; columns: 2; gap: 30px; max-width: 46em; }
.checks li { margin: 11px 0; font-size: 15px; break-inside: avoid; display: flex; align-items: flex-start; gap: 10px; }
.checks li .ico {
  width: 20px; height: 20px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: #eefaf3; color: #157a52; stroke-width: 2.4; box-sizing: border-box;
}

/* ----- form / audit card ----- */
.audit { background: var(--soft); border-top: 1px solid var(--line); margin-top: 52px; padding: 56px 0 64px; }
.audit-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 34px 36px; max-width: 640px; margin: 0 auto; }
.audit-card h2 { margin: 0 0 8px; font-size: 26px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.audit-card .lead { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.audit-card label { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 5px; }
.audit-card input[type=text], .audit-card input[type=email], .audit-card input[type=tel], .audit-card select {
  /* 16px minimum stops iOS Safari from auto-zooming the page on focus */
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; font-family: inherit;
}
.pressures { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.pressures label {
  display: flex; align-items: center; gap: 9px; margin: 0; font-weight: 500; font-size: 14px;
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; cursor: pointer;
}
.pressures label:has(input:checked) { border-color: var(--blue); background: #eef4ff; font-weight: 700; }
.audit-card button[type=submit] {
  width: 100%; margin-top: 22px; background: var(--blue); color: #fff; border: 0; border-radius: 12px;
  padding: 16px; font-weight: 800; font-size: 16px; cursor: pointer;
}
.audit-card button[type=submit]:hover { background: var(--blue-dark); }
.audit-card .privacy { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-error { color: var(--red); font-size: 13.5px; margin-top: 10px; display: none; }

/* audit result + booking step */
.result-badge { background: #eefaf3; border: 1px solid #c4e8d4; border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.result-badge b { color: #157a52; }
.result-badge ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: #14624a; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.slots button, .days button {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 8px;
  font-size: 13.5px; cursor: pointer; font-family: inherit;
}
.days { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.days button.sel, .slots button.sel { border-color: var(--blue); background: #eef4ff; font-weight: 700; }
.book-confirm { background: var(--green); color: #fff; border: 0; border-radius: 12px; width: 100%; padding: 15px; font-weight: 800; font-size: 15px; margin-top: 18px; cursor: pointer; }

/* qualifier line (filters tire-kickers, Hormozi-style) */
.qualifier { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 10px; max-width: 34em; }

/* scarcity line */
.scarcity { font-size: 12.5px; color: #8a6d1f; background: #fdf7e7; border: 1px solid #f0e2b6; border-radius: 10px; padding: 10px 14px; margin-top: 14px; text-align: center; }

/* animated leak report */
.meter-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #14624a; }
.meter-num { font-size: 22px; color: #157a52; }
.meter { height: 12px; background: #d8efe2; border-radius: 8px; overflow: hidden; margin: 8px 0 12px; }
.meter-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #0d8f5e); border-radius: 8px; transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.loss-line { font-size: 14.5px; color: #14624a; margin-bottom: 6px; }
.loss-num { font-size: 18px; color: #b23b2c; }
.leaks { margin: 10px 0 0; padding: 0; list-style: none; }
.leak-card {
  background: #fff; border: 1px solid #c4e8d4; border-radius: 10px; padding: 9px 13px; margin: 7px 0;
  font-size: 13.5px; color: #14624a; opacity: 0; transform: translateY(8px);
  animation: leakIn 0.5s ease forwards;
}
@keyframes leakIn { to { opacity: 1; transform: translateY(0); } }

/* The Nerd — chat widget */
.nerd-bubble {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 54px; height: 54px;
  border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 22px;
  cursor: pointer; box-shadow: 0 10px 30px rgba(11, 100, 244, 0.35);
}
.nerd-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 70; width: 340px; max-width: calc(100vw - 24px);
  height: 440px; max-height: 70vh; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); display: none; flex-direction: column; overflow: hidden;
}
.nerd-panel.open { display: flex; }
.nerd-head { background: var(--blue); color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.nerd-head b { font-size: 15px; }
.nerd-status { display: block; font-size: 11px; opacity: 0.85; }
.nerd-close { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.nerd-msgs { flex: 1; overflow-y: auto; padding: 14px; }
.nerd-msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; margin: 6px 0; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; }
.nerd-msg.assistant { background: var(--soft); border: 1px solid var(--line); }
.nerd-msg.user { background: var(--blue); color: #fff; margin-left: auto; }
/* typing indicator — three dots that breathe while the Nerd is thinking */
.nerd-msg.typing { display: flex; gap: 5px; align-items: center; padding: 13px; width: fit-content; }
.nerd-msg.typing i {
  width: 7px; height: 7px; border-radius: 50%; background: #9aa4b5; display: block;
  animation: typingDot 1.2s ease-in-out infinite;
}
.nerd-msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.nerd-msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
/* online dot in the chat header actually pulses */
.nerd-status::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #6ee7b7; margin-right: 6px; animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.7); }
  50% { opacity: 0.75; box-shadow: 0 0 0 5px rgba(110, 231, 183, 0); }
}
.nerd-chips { padding: 0 14px 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.nerd-chips button {
  border: 1px solid var(--blue); color: var(--blue); background: #fff; border-radius: 999px;
  padding: 7px 13px; font-size: 12.5px; cursor: pointer; font-family: inherit;
}
.nerd-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
/* 16px minimum: below that, iOS Safari zooms the whole page the instant the
   chat input is focused — which throws the visitor's layout sideways mid-chat. */
.nerd-input input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 16px; font-family: inherit; }
.nerd-input button { border: 0; background: var(--blue); color: #fff; border-radius: 10px; width: 44px; font-size: 15px; cursor: pointer; }

/* founder block */
.founder { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); border-top: 1px solid var(--line); margin-top: 52px; padding: 56px 0 56px; }
.founder-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: center; }
.founder-photo { text-align: center; }
.founder-photo img {
  width: 100%; max-width: 340px; border-radius: 50%; display: inline-block;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px #cdddff, 0 28px 80px rgba(11, 100, 244, 0.35);
}
.founder-story h2 { margin-top: 2px; }
.founder-story p { font-size: 16px; line-height: 1.65; color: #2b333d; max-width: 36em; }
.founder-story p b { color: var(--ink); }
.founder-sig { font-weight: 800; color: var(--ink); font-size: 15px; margin-top: 18px; }
.founder-sig::before { content: ""; display: block; width: 44px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 12px; }

/* footer */
.lp-footer { border-top: 1px solid var(--line); margin-top: 0; padding: 26px 0 40px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.lp-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .lp-header { padding: 12px 0; }
  .lp-header img { height: 42px; }
  .lp-header .cta-mini { display: none; } /* sticky bottom CTA owns mobile */
  .topbar .tb-title { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .showcase > img { height: 200px; }
  .live-chip { font-size: 12px; padding: 8px 13px; }
  .blob { opacity: 0.3; }
  .tslide { padding: 34px 24px 24px; }
  .tslide blockquote { max-width: 17ch; }
  /* narrow screens can't hold the rules + one line of caps — drop the rules */
  .tstat { white-space: normal; font-size: 11px; letter-spacing: 0.06em; }
  .tstat::before, .tstat::after { display: none; }
  .tcar::before { font-size: 110px; top: -16px; left: 12px; }
  .tcar-track { transition-duration: 0.45s; }
  /* hairline dividers only make sense in a row — stack them cleanly on mobile */
  .trustbar-in { gap: 10px 0; font-size: 12px; flex-direction: column; align-items: flex-start; }
  .trustbar-in > * { border-left: 0; padding: 0; }
  .proof .wrap > div { border-left: 0; padding: 0; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.12em; }
  .eyebrow::after { max-width: 32px; }
  .hero .sub { font-size: 16px; margin-bottom: 16px; }
  .cta-primary { display: block; text-align: center; }
  .cta-note { font-size: 12.5px; }
  .cta-sticky { display: block; }
  .proof .wrap { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cols2 { grid-template-columns: 1fr; gap: 26px; }
  .hiw { grid-template-columns: repeat(2, 1fr); }
  .checks { columns: 1; }
  .versus { grid-template-columns: 1fr; }
  .pressures { grid-template-columns: 1fr; }
  .audit-card { padding: 26px 20px; }
  section.block { padding: 38px 0 6px; }
  .founder-grid { grid-template-columns: 1fr; gap: 26px; }
  .founder { padding: 40px 0; }
  .founder-photo { max-width: 280px; margin: 0 auto; }
  body { padding-bottom: 74px; } /* room for the sticky CTA */
  .nerd-bubble { bottom: 88px; } /* sits above the sticky CTA bar */
  .nerd-panel { bottom: 88px; height: 60vh; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 28px; }
  .proof .wrap { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, 1fr); }
}

/* ---- "Who does the work" Nerd band ---- */
.nerd-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.nerd-band-photo img {
  width: 100%; display: block; border-radius: 18px;
  border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(10, 15, 30, 0.2);
}
.nerd-band-copy h2 { margin: 10px 0 12px; }
.nerd-band-copy > p { color: var(--muted); line-height: 1.6; }
.nerd-faces { display: flex; align-items: center; gap: 0; margin: 18px 0 22px; }
.nerd-faces img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 20%;
  border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(10, 15, 30, 0.18);
  margin-left: -10px;
}
.nerd-faces img:first-child { margin-left: 0; }
.nerd-faces-note { margin-left: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.nerd-band-cta { font-size: 15px; padding: 15px 28px; }
@media (max-width: 860px) {
  .nerd-band { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- hero proof stat ---- */
.proof-stat {
  margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--blue);
  background: rgba(11, 100, 244, 0.06); border-radius: 0 10px 10px 0;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}
.proof-stat b { color: var(--ink, #0b1220); }

/* ---- revenue-leak calculator ---- */
.calc-block { padding-top: 0; }
.calc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 18px);
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(10,15,30,.12)); padding: 34px 34px 30px;
  max-width: 660px; margin: 0 auto; text-align: center;
}
.calc-card h2 { margin-bottom: 18px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; margin-bottom: 18px; }
.calc-grid label { font-size: 13px; font-weight: 700; color: var(--muted); display: block; }
.calc-input {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fafbfd;
}
.calc-input span { font-weight: 800; color: var(--muted); }
.calc-input input {
  border: 0; outline: 0; background: transparent; width: 100%;
  font-size: 18px; font-weight: 800; color: inherit;
}
.calc-result { font-size: 19px; line-height: 1.45; margin: 6px 0 4px; }
.calc-result b { color: var(--blue); font-size: 26px; }
.calc-note { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
@media (max-width: 640px) { .calc-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(10,15,30,.06));
}
.faq-item h4 { margin: 0 0 8px; font-size: 15.5px; }
.faq-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---- audit report preview ---- */
.report-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.rp-label { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-right: 2px; }
.rp-chip {
  font-size: 12px; font-weight: 700; color: #157a52;
  background: rgba(21, 122, 82, 0.08); border: 1px solid rgba(21, 122, 82, 0.25);
  border-radius: 999px; padding: 5px 11px;
}
label .opt { font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---- No-JS fallback -------------------------------------------------------
   lp/build-lp-fallback.js writes the page's real copy into #lp as plain
   semantic HTML, so crawlers and JS-disabled browsers get a readable page
   instead of an empty div. lp.js replaces #lp on boot, so in a normal browser
   this is never painted. These rules exist only so the rare visitor who does
   see it gets something legible and on-brand — not a wall of unstyled text. */
.lp-nojs {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 64px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
.lp-nojs h1, .lp-nojs h2, .lp-nojs h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 32px 0 12px;
}
.lp-nojs h1 { font-size: 2rem; margin-top: 8px; }
.lp-nojs h2 { font-size: 1.4rem; }
.lp-nojs h3 { font-size: 1.1rem; }
.lp-nojs .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}
.lp-nojs .sub { font-size: 1.08rem; color: var(--muted); }
.lp-nojs .proof-stat {
  background: var(--soft);
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: var(--r-sm);
}
.lp-nojs .cta-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--r-sm);
}
.lp-nojs .cta-note { font-size: 0.92rem; color: var(--muted); }
.lp-nojs .hero-ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lp-nojs .hero-ticks li { font-size: 0.92rem; font-weight: 600; }
.lp-nojs .hero-ticks li::before { content: "✓ "; color: var(--green); }
.lp-nojs table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.lp-nojs th, .lp-nojs td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.lp-nojs th { background: var(--soft); font-family: var(--font-display); }
.lp-nojs dt { font-weight: 700; margin-top: 14px; }
.lp-nojs dd { margin: 4px 0 0; color: var(--muted); }
.lp-nojs li { margin-bottom: 6px; }
.lp-nojs a { color: var(--blue); }
