/* Nexal Media static site: small additions on top of the original styles.css.
   Everything here recreates motion the old React app did with motion.dev. */

/* The original never sets a page background and relies on the browser's
   default white. Browsers in dark mode (e.g. the Claude app's preview pane)
   paint that default dark, turning every uncoloured section black. */
html, body { background-color: #fff; }

/* White brand logos (Blue, WYR, Nectar) are turned black with brightness-0.
   The original's dark:invert flips them back to white in dark-mode browsers,
   which made them vanish on the (now always white) page. Keep them black. */
@media (prefers-color-scheme: dark) {
  .dark\:invert { --tw-invert: brightness(1) !important; }
}

/* FAQ chevron: site.js adds .rotate-180, which styles.css already defines
   (rotate: 180deg). Don't redefine it here: a second rotation un-flips the
   decorative images that also use .rotate-180. */

/* Menu overlay links: letters slide up on hover, 0.4s ease-in-out,
   0.02s stagger per letter (delays set in site.js). */
.font-Lilita a > div > span { transition: transform .4s ease-in-out; }
.font-Lilita a:hover > div:first-child > span { transform: translateY(-100%) !important; }
.font-Lilita a:hover > div.absolute > span { transform: translateY(0) !important; }

/* Green call-to-action buttons grow 10% on hover with a springy bounce
   (original: whileHover scale 1.1, spring stiffness 400 / damping 20). */
.rounded-xl.bg-PrimaryColor,
.rounded-xl.bg-\[\#abd652\] { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.rounded-xl.bg-PrimaryColor:hover,
.rounded-xl.bg-\[\#abd652\]:hover,
a:hover > .rounded-xl.bg-PrimaryColor { transform: scale(1.1); }

/* Floating platform icons: endless gentle float and tilt (site.js sets a
   random 5–10s duration per icon, like the original). */
@keyframes nx-float {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(6px, -8px) rotate(5deg); }
  50%  { transform: translate(0, 0) rotate(0deg); }
  75%  { transform: translate(-6px, 8px) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.nx-float { animation: nx-float 7s ease-in-out infinite alternate; }

/* ---------- SEO page visuals (seo/index.html, animated by assets/seo.js) ---------- */
/* Google-style results card: "Your Store" at #1 */
.nx-serp { width: 100%; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08); font-family: Arial, Helvetica, sans-serif; text-align: left; }
.nx-serp-bar { display: flex; align-items: center; gap: 12px; border: 1px solid #dfe1e5; border-radius: 999px;
  padding: 12px 18px; font-size: 17px; color: #202124; box-shadow: 0 1px 6px rgba(32, 33, 36, .12); }
.nx-serp-bar svg { width: 20px; height: 20px; color: #9aa0a6; flex: none; }
.nx-serp-res { position: relative; padding: 16px 14px; margin-top: 12px; border-radius: 14px; transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .5s ease; }
.nx-serp-res.win { background: linear-gradient(0deg, #F6FFE3, #eef9d6); outline: 2px solid #abd652; }
.nx-serp-res.dim { opacity: .45; }
.nx-serp-site { display: flex; align-items: center; gap: 10px; }
.nx-fav { width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #5f6368; flex: none; }
.nx-serp-res.win .nx-fav { background: #abd652; color: #fff; }
.nx-serp-site b { display: block; font-size: 14px; color: #202124; font-weight: 400; }
.nx-serp-site small { display: block; font-size: 12px; color: #4d5156; }
.nx-serp-title { margin-top: 8px; font-size: 20px; line-height: 1.3; color: #1a0dab; }
.nx-serp-desc { margin-top: 4px; font-size: 14px; color: #4d5156; }
.nx-serp-desc .nx-stars { color: #f9ab00; letter-spacing: 1px; }
.nx-serp-badge { position: absolute; top: -12px; right: 14px; background: #abd652; color: #fff; font: 900 15px/1 "Inter", sans-serif;
  padding: 8px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(171, 214, 82, .45); }
.nx-serp.pre .nx-serp-res.win { transform: translateY(190px); opacity: 0; }
.nx-serp.pre .nx-serp-res.dim { transform: translateY(-20px); }
@media (max-width: 640px) { .nx-serp { padding: 14px; } .nx-serp-title { font-size: 17px; } }

/* Big search bar that types real buyer searches */
.nx-search { width: 100%; max-width: 640px; margin: 0 auto; }
.nx-search-box { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 18px 26px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12); font: 500 22px/1.2 "Inter", sans-serif; color: #202124; min-height: 68px; }
.nx-search-box svg { width: 26px; height: 26px; color: #9aa0a6; flex: none; }
.nx-caret { display: inline-block; width: 2px; height: 1.1em; background: #202124; margin-left: 2px; vertical-align: -3px; animation: nx-blink 1s steps(1) infinite; }
@keyframes nx-blink { 50% { opacity: 0; } }
.nx-search-hit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font: 700 18px/1.3 "Inter", sans-serif; color: #071431;
  opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.nx-search-hit.show { opacity: 1; transform: none; }
.nx-search-hit span { background: #abd652; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 900; }
@media (max-width: 640px) { .nx-search-box { font-size: 17px; padding: 14px 18px; min-height: 56px; } .nx-search-hit { font-size: 15px; } }

/* ---------- Menu: the page you're on shows in green (full-screen menu on phones) ---------- */
.font-Lilita a.nx-current { color: #abd652; }

/* ---------- Desktop hover dropdown (site.js builds it from the menu links) ---------- */
.nx-menu-host { position: relative; z-index: 0; } /* own layer so the hover zone can sit behind the buttons */
.nx-menu-host::after { content: ""; position: absolute; inset: -26px -30px -16px -30px; z-index: -1; } /* bigger hover zone around "Menu" */
.nx-dd {
  position: absolute; top: calc(100% + 22px); right: -14px; width: 300px; padding: 10px;
  background: rgba(16, 17, 15, .9); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.97); transform-origin: top right;
  transition: opacity .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .3s;
  z-index: 60;
}
.nx-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* hover bridge */
.nx-dd.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.nx-dd a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 14px; color: #fff; text-decoration: none;
  font-family: "Lilita One", sans-serif; font-size: 22px; letter-spacing: .02em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px);
  transition: background .2s ease, color .2s ease, opacity .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.nx-dd.open a { opacity: 1; transform: none; }
.nx-dd a:hover, .nx-dd a:focus-visible { background: rgba(171, 214, 82, .14); color: #abd652; outline: none; }
.nx-dd a.nx-current { color: #abd652; background: rgba(171, 214, 82, .08); }
.nx-dd .nx-here { font: 600 11px/1 "Inter", sans-serif; letter-spacing: .08em; color: #abd652; border: 1px solid rgba(171, 214, 82, .45); border-radius: 999px; padding: 5px 8px; }
.nx-dd .nx-word { position: relative; display: inline-flex; overflow: hidden; line-height: 1.15; }
.nx-dd .nx-word > span:not(.nx-alt) { display: inline-block; transition: transform .4s ease-in-out; white-space: pre; }
.nx-dd .nx-alt { position: absolute; left: 0; top: 0; display: inline-flex; }
.nx-dd .nx-alt span { display: inline-block; white-space: pre; transform: translateY(100%); transition: transform .4s ease-in-out; }
.nx-dd a:hover .nx-word > span:not(.nx-alt), .nx-dd a:focus-visible .nx-word > span:not(.nx-alt) { transform: translateY(-100%); }
.nx-dd a:hover .nx-alt span, .nx-dd a:focus-visible .nx-alt span { transform: translateY(0); }
.nx-dd .nx-arrow { width: 18px; height: 18px; flex: none; opacity: 0; transform: translate(-8px, 8px); transition: opacity .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
.nx-dd a:hover .nx-arrow, .nx-dd a:focus-visible .nx-arrow { opacity: 1; transform: none; }
.nx-menu-host .nx-trigger { transition: color .2s ease; }
.nx-menu-host.is-open .nx-trigger { color: #abd652; }
.nx-menu-host .nx-burger svg { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.nx-menu-host.is-open .nx-burger svg { transform: rotate(90deg); }
/* Soft blur over the page while the dropdown is open (doesn't block the mouse) */
.nx-veil { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: rgba(10, 10, 10, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nx-veil.open { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nx-dd, .nx-dd a, .nx-veil { transition: none; } }

/* ---------- SEO page: section animations (seo.js adds .in when each scrolls into view) ---------- */
.nx-vis { width: 100%; max-width: 620px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08); font-family: "Inter", sans-serif; color: #071431; text-align: left; }
.nx-vis-cap { margin-top: 14px; font-size: 13px; color: #6b7280; text-align: center; }
.nx-pill { display: inline-block; font: 800 11px/1 "Inter", sans-serif; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; }

/* 1. Lost on page 9 */
.nx-lost-bar { display: flex; align-items: center; gap: 10px; border: 1px solid #dfe1e5; border-radius: 999px; padding: 11px 16px; font: 16px Arial, sans-serif; color: #202124; }
.nx-lost-bar svg { width: 18px; height: 18px; color: #9aa0a6; flex: none; }
.nx-lost-rows { margin: 16px 0 8px; display: grid; gap: 12px; }
.nx-lost-row { display: grid; gap: 6px; }
.nx-lost-row i { display: block; height: 10px; border-radius: 6px; background: #eef0f3; }
.nx-lost-row i:first-child { width: 38%; height: 9px; }
.nx-lost-row i:nth-child(2) { width: 82%; height: 13px; background: #dfe3f7; }
.nx-lost-row i:nth-child(3) { width: 64%; }
.nx-lost.flip .nx-lost-rows { animation: nx-flip .35s ease; }
@keyframes nx-flip { 0% { opacity: 1; transform: none; } 45% { opacity: 0; transform: translateY(-10px); } 55% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
.nx-pager { display: flex; justify-content: center; align-items: flex-end; gap: 2px; margin-top: 18px; font: 700 26px/1 "Product Sans", Arial, sans-serif; user-select: none; }
.nx-pager .g { color: #4285F4; } .nx-pager .o1 { color: #EA4335; } .nx-pager .o2 { color: #FBBC05; } .nx-pager .l { color: #34A853; } .nx-pager .e { color: #EA4335; }
.nx-pager .o { color: #FBBC05; display: inline-flex; flex-direction: column; align-items: center; width: 22px; }
.nx-pager .o b { font: 400 13px/1 Arial, sans-serif; color: #1a0dab; margin-top: 6px; }
.nx-pager .o.on { color: #EA4335; } .nx-pager .o.on b { color: #202124; font-weight: 700; }
.nx-lost-msg { margin-top: 18px; text-align: center; font-weight: 700; font-size: 17px; min-height: 26px; }
.nx-lost-msg .nx-pill { background: #fde8e7; color: #d93025; margin-left: 6px; }
.nx-lost-msg.found .nx-pill { background: #fff4d6; color: #b06000; }

/* 2. Cost per customer chart */
.nx-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.nx-chart .grid line { stroke: #eef0f3; }
.nx-chart .axis text { font: 12px "Inter", sans-serif; fill: #6b7280; }
.nx-chart path.line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s cubic-bezier(.4, 0, .2, 1); }
.nx-chart path.area { opacity: 0; transition: opacity 1s ease 1.6s; }
.nx-chart.in path.line { stroke-dashoffset: 0; }
.nx-chart.in path.area { opacity: 1; }
.nx-chart .tag { opacity: 0; transition: opacity .5s ease 2.1s; font: 800 13px "Inter", sans-serif; }
.nx-chart.in .tag { opacity: 1; }
.nx-legend { display: flex; gap: 16px; justify-content: center; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.nx-legend span::before { content: ""; display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 8px; vertical-align: middle; background: currentColor; }

/* 3. Store health scores */
.nx-scores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nx-score { text-align: center; }
.nx-score .ring { position: relative; width: 100%; max-width: 110px; margin: 0 auto; }
.nx-score svg { width: 100%; height: auto; display: block; transform: rotate(-90deg); }
.nx-score circle { fill: none; stroke-width: 9; }
.nx-score .track { stroke: #f0f2f5; }
.nx-score .val { stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transition: stroke .3s ease; }
.nx-score .num { position: absolute; inset: 0; display: grid; place-items: center; font: 900 26px/1 "Inter", sans-serif; }
.nx-score .lbl { margin-top: 8px; font-size: 14px; font-weight: 600; color: #343E56; }
.nx-scores-head { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.nx-scores-head .before { background: #fde8e7; color: #d93025; } .nx-scores-head .after { background: #eef9d6; color: #5d8a12; opacity: .25; transition: opacity .4s ease; }
.nx-scores.done .nx-scores-head .before { opacity: .25; } .nx-scores.done .nx-scores-head .after { opacity: 1; }
@media (max-width: 640px) { .nx-scores-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } .nx-score .num { font-size: 22px; } }

/* 4. Listing rewrite */
.nx-rw-tag { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.nx-rw-tag .nx-pill.before { background: #fde8e7; color: #d93025; } .nx-rw-tag .nx-pill.after { background: #eef9d6; color: #5d8a12; }
.nx-rw-site { display: flex; align-items: center; gap: 10px; font: 14px Arial, sans-serif; color: #202124; }
.nx-rw-site span { width: 28px; height: 28px; border-radius: 50%; background: #abd652; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.nx-rw-site small { display: block; color: #4d5156; font-size: 12px; }
.nx-rw-title { margin-top: 8px; font: 20px/1.3 Arial, sans-serif; color: #1a0dab; min-height: 52px; }
.nx-rw-desc { margin-top: 4px; font: 14px/1.5 Arial, sans-serif; color: #4d5156; min-height: 42px; }
.nx-rw.bad .nx-rw-title, .nx-rw.bad .nx-rw-desc { color: #9aa0a6; text-decoration: line-through; text-decoration-color: #d93025; }
.nx-rw-caret { display: inline-block; width: 2px; height: 1em; background: #1a0dab; vertical-align: -2px; margin-left: 1px; animation: nx-blink 1s steps(1) infinite; }
.nx-rw-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.nx-rw-meta span { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 6px; background: #f1f3f4; color: #5f6368; transition: background .3s ease, color .3s ease; }
.nx-rw.good .nx-rw-meta span { background: #eef9d6; color: #5d8a12; }

/* 5. Search intent meters */
.nx-intent-row { display: grid; grid-template-columns: 1fr 130px; gap: 6px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f2f5; }
.nx-intent-row:last-child { border-bottom: 0; }
.nx-intent-q { font: 15px Arial, sans-serif; color: #202124; display: flex; align-items: center; gap: 8px; min-width: 0; }
.nx-intent-q svg { width: 15px; height: 15px; color: #9aa0a6; flex: none; }
.nx-intent-q span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-intent-tag { justify-self: end; }
.nx-intent-bar { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: #f0f2f5; overflow: hidden; }
.nx-intent-bar i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1.2s cubic-bezier(.22, 1, .36, 1); }
.nx-intent-row.money { background: linear-gradient(0deg, #F6FFE3, #f2fbe2); margin: 6px -12px 0; padding: 12px; border-radius: 12px; border: 0; outline: 2px solid #abd652; }
.nx-intent-note { margin-top: 12px; text-align: center; font-weight: 700; font-size: 15px; opacity: 0; transition: opacity .5s ease 1.4s; }
.nx-intent.in .nx-intent-note { opacity: 1; }

/* 6. Links into your store */
.nx-links-stage { position: relative; width: 100%; aspect-ratio: 1.45; }
.nx-links-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nx-links-stage line { stroke: #abd652; stroke-width: 2.5; stroke-dasharray: 6 7; opacity: 0; }
.nx-links-stage line.on { opacity: 1; animation: nx-dash 1s linear infinite; }
@keyframes nx-dash { to { stroke-dashoffset: -26; } }
.nx-node { position: absolute; transform: translate(-50%, -50%); background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: #343E56; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); opacity: .35; transition: opacity .4s ease, border-color .4s ease; }
.nx-node.on { opacity: 1; border-color: #abd652; }
.nx-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 128px; height: 128px; border-radius: 50%; background: #abd652; color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 0 0 0 rgba(171, 214, 82, .5); }
.nx-hub b { display: block; font: 900 16px/1.1 "Inter", sans-serif; }
.nx-hub small { display: block; font: 600 12px/1.3 "Inter", sans-serif; margin-top: 4px; }
.nx-hub em { display: block; font: 900 30px/1 "Inter", sans-serif; font-style: normal; margin-top: 2px; }
.nx-hub.pulse { animation: nx-hub .6s ease; }
@keyframes nx-hub { 0% { box-shadow: 0 0 0 0 rgba(171, 214, 82, .55); transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -50%) scale(1.06); } 100% { box-shadow: 0 0 0 26px rgba(171, 214, 82, 0); transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 640px) { .nx-node { font-size: 11px; padding: 6px 8px; } .nx-hub { width: 96px; height: 96px; } .nx-hub em { font-size: 22px; } .nx-hub b { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .nx-chart path.line, .nx-intent-bar i { transition: none; } .nx-links-stage line.on { animation: none; } }
.nx-vis { position: relative; z-index: 2; } /* sit above the decorative green stripes */
@media (max-width: 640px) {
  .nx-intent-row { grid-template-columns: 1fr; }
  .nx-intent-q span { white-space: normal; }
  .nx-intent-tag { justify-self: start; }
}

/* ---------- Logo: the whole panda is the "N", then EXAL ---------- */
.nx-logo { display: inline-flex; align-items: center; line-height: 1; } /* text centred on his chest (the N on the shirt) */
.nx-logo-n { height: 1.8em; width: auto; flex: none; margin: -0.4em 0.04em -0.4em 0; transform-origin: 50% 100%;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
a.nx-logo:hover .nx-logo-n { transform: rotate(-6deg) translateY(-2px); }
/* Footer: more room, so a bigger panda */
h1.nx-logo .nx-logo-n { height: 3em; margin: 0 0.06em 0 0; }

/* ---------- Landing Pages page visuals (landing-pages/index.html, animated by assets/landing.js) ---------- */
.lp-tee { display: inline-block; color: #abd652; }
.lp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-muted { color: #6b7280; font-size: 13px; }
.lp-btn { display: block; width: 100%; border: 0; border-radius: 12px; background: #abd652; color: #071431; font: 900 16px/1 "Inter", sans-serif; padding: 14px; text-align: center; cursor: pointer; }

/* 1. Leaky funnel */
.lp-funnel svg { width: 100%; height: auto; display: block; }
.lp-funnel .shape { fill: #f6f8fb; stroke: #dfe3ea; stroke-width: 2; }
.lp-funnel .hole { font: 700 12px "Inter", sans-serif; fill: #d93025; }
.lp-funnel .order { fill: #eef9d6; stroke: #abd652; stroke-width: 2; }
.lp-funnel .order-t { font: 900 15px "Inter", sans-serif; fill: #5d8a12; }
.lp-funnel-stats { display: flex; justify-content: center; gap: 28px; margin-top: 8px; font-weight: 800; font-size: 15px; }
.lp-funnel-stats b { font: 900 28px/1 "Inter", sans-serif; display: block; }
.lp-funnel-stats .bad b { color: #d93025; } .lp-funnel-stats .good b { color: #5d8a12; }

/* 2. Conversion rate calculator */
.lp-calc-top { text-align: center; font-weight: 700; color: #343E56; }
.lp-calc-rate { text-align: center; font: 900 54px/1 "Inter", sans-serif; color: #071431; margin: 14px 0 4px; }
.lp-calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #abd652 var(--p, 30%), #eef0f3 var(--p, 30%)); outline: none; margin: 10px 0 18px; }
.lp-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid #abd652; box-shadow: 0 3px 10px rgba(0,0,0,.2); cursor: grab; }
.lp-calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #abd652; cursor: grab; }
.lp-calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-calc-grid div { background: #f6f8fb; border-radius: 14px; padding: 14px 10px; text-align: center; }
.lp-calc-grid b { display: block; font: 900 26px/1.1 "Inter", sans-serif; color: #071431; }
.lp-calc-grid span { font-size: 13px; color: #6b7280; font-weight: 600; }
.lp-calc-grid .cpa b { color: #5d8a12; }
@media (max-width: 640px) { .lp-calc-grid b { font-size: 20px; } .lp-calc-rate { font-size: 44px; } }

/* 3. Phone product page that builds itself */
.lp-phone { width: 270px; max-width: 100%; margin: 0 auto; border-radius: 36px; background: #0b0b0b; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.25); position: relative; z-index: 2; }
.lp-screen { background: #fff; border-radius: 26px; overflow: hidden; height: 500px; padding: 14px; font-family: "Inter", sans-serif; text-align: left; }
.lp-pop { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1); }
.lp-pop.on { opacity: 1; transform: none; }
.lp-shot { height: 170px; border-radius: 18px; background: linear-gradient(160deg, #f6ffe3, #e4f3c6); display: grid; place-items: center; }
.lp-shot svg { width: 110px; height: 110px; }
.lp-ptitle { margin-top: 12px; font-weight: 800; font-size: 17px; color: #071431; }
.lp-stars { color: #f9ab00; font-size: 13px; letter-spacing: 1px; } .lp-stars em { color: #6b7280; font-style: normal; letter-spacing: 0; margin-left: 4px; }
.lp-price { font-weight: 900; font-size: 20px; color: #071431; margin-top: 4px; }
.lp-ticks { margin-top: 8px; display: grid; gap: 4px; font-size: 12.5px; color: #343E56; }
.lp-ticks span::before { content: "✓ "; color: #5d8a12; font-weight: 900; }
.lp-sizes { display: flex; gap: 6px; margin-top: 10px; }
.lp-sizes span { flex: 1; text-align: center; border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 6px 0; font-size: 12px; font-weight: 700; }
.lp-sizes span.sel { border-color: #071431; }
.lp-screen .lp-btn { margin-top: 12px; }

/* 4. Before / after product page (drag the handle) */
.lp-ba { position: relative; user-select: none; touch-action: pan-y; overflow: hidden; padding: 0; }
.lp-ba-side { padding: 22px; min-height: 360px; box-sizing: border-box; font-family: "Inter", sans-serif; text-align: left; }
.lp-ba-before { position: absolute; inset: 0; background: #fff; clip-path: inset(0 var(--cut, 50%) 0 0); }
.lp-ba-after { background: #fff; }
.lp-ba-tag { position: absolute; top: 12px; z-index: 3; }
.lp-ba-tag.l { left: 12px; background: #fde8e7; color: #d93025; } .lp-ba-tag.r { right: 12px; background: #eef9d6; color: #5d8a12; }
.lp-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; background: #071431; transform: translateX(-50%); z-index: 4; cursor: ew-resize; }
.lp-ba-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #071431; color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.lp-ba-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; margin-top: 26px; }
.lp-ba-img { border-radius: 14px; aspect-ratio: 1; display: grid; place-items: center; }
.lp-ba-before .lp-ba-img { background: #e5e7eb; filter: blur(2px); color: #9ca3af; font-weight: 800; }
.lp-ba-after .lp-ba-img { background: linear-gradient(160deg, #f6ffe3, #e4f3c6); }
.lp-ba-after .lp-ba-img svg { width: 70%; height: 70%; }
.lp-ba-before .t { color: #9ca3af; font-size: 15px; } .lp-ba-before .p { color: #9ca3af; margin: 6px 0; }
.lp-ba-before i { display: block; height: 7px; border-radius: 4px; background: #eef0f3; margin-top: 6px; }
.lp-ba-before .tiny { display: inline-block; margin-top: 10px; font-size: 11px; padding: 4px 8px; border: 1px solid #d1d5db; color: #9ca3af; border-radius: 4px; }
.lp-ba-after .t { font-weight: 800; font-size: 17px; color: #071431; } .lp-ba-after .p { font-weight: 900; font-size: 20px; margin: 4px 0; color: #071431; }
.lp-ba-after .lp-btn { margin-top: 10px; padding: 12px; font-size: 15px; }
.lp-ba-after .ship { font-size: 12px; color: #5d8a12; font-weight: 700; margin-top: 8px; }
@media (max-width: 640px) { .lp-ba-grid { grid-template-columns: 1fr; } .lp-ba-img { aspect-ratio: 2; } .lp-ba-side { min-height: 470px; padding: 18px; } }

/* 5. Bundle picker */
.lp-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-tier { position: relative; border: 2px solid #e5e7eb; border-radius: 16px; padding: 14px 8px 12px; text-align: center; cursor: pointer; background: #fff; transition: border-color .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1), background .2s ease; font-family: "Inter", sans-serif; }
.lp-tier:hover { transform: translateY(-2px); }
.lp-tier.sel { border-color: #abd652; background: #f6ffe3; }
.lp-tier .tees { display: flex; justify-content: center; gap: 2px; height: 34px; }
.lp-tier .tees svg { width: 30px; height: 34px; }
.lp-tier b { display: block; margin-top: 8px; font-size: 15px; color: #071431; }
.lp-tier .pr { font: 900 22px/1.2 "Inter", sans-serif; color: #071431; }
.lp-tier .save { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 800; color: #5d8a12; background: #eef9d6; border-radius: 999px; padding: 4px 8px; min-height: 13px; }
.lp-tier .save:empty { visibility: hidden; }
.lp-tier .pop { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #071431; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.lp-ship { margin-top: 16px; font-size: 14px; font-weight: 700; color: #343E56; }
.lp-ship-bar { height: 10px; border-radius: 6px; background: #eef0f3; margin-top: 8px; overflow: hidden; }
.lp-ship-bar i { display: block; height: 100%; width: 0; background: #abd652; border-radius: 6px; transition: width .6s cubic-bezier(.22,1,.36,1); }
.lp-aov { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f0f2f5; }
.lp-aov b { font: 900 34px/1 "Inter", sans-serif; color: #071431; }
.lp-aov .up { font-weight: 800; color: #5d8a12; font-size: 15px; }
@media (max-width: 640px) { .lp-tier .tees svg { width: 22px; height: 26px; } .lp-tier .pr { font-size: 18px; } }

/* 6. Cart drawer upsell */
.lp-cart h4 { margin: 0 0 12px; font: 800 17px "Inter", sans-serif; color: #071431; }
.lp-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; font-size: 14px; color: #071431; }
.lp-line .ic { width: 46px; height: 46px; border-radius: 10px; background: #f6ffe3; display: grid; place-items: center; flex: none; }
.lp-line .ic svg { width: 30px; height: 30px; }
.lp-line .nm { flex: 1; font-weight: 700; } .lp-line .nm small { display: block; font-weight: 500; color: #6b7280; }
.lp-line .amt { font-weight: 800; }
.lp-line.added { animation: lp-in .45s cubic-bezier(.22,1,.36,1); }
@keyframes lp-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.lp-offer { margin-top: 14px; border: 2px dashed #abd652; border-radius: 14px; padding: 12px; background: #fbfff4; }
.lp-offer .lp-line { border: 0; padding: 0; }
.lp-add { border: 0; border-radius: 10px; background: #071431; color: #fff; font: 800 13px "Inter", sans-serif; padding: 10px 14px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lp-add.done { background: #abd652; color: #071431; }
.lp-add.press { transform: scale(.92); }
.lp-cart-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-weight: 800; font-size: 16px; }
.lp-cart-total b { font: 900 28px/1 "Inter", sans-serif; }
.lp-bump { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 800; color: #5d8a12; background: #eef9d6; border-radius: 999px; padding: 4px 8px; opacity: 0; transition: opacity .3s ease; }
.lp-bump.on { opacity: 1; }

/* 7. Trust stack */
.lp-trust-grid { display: grid; gap: 10px; }
.lp-badge { display: flex; align-items: center; gap: 12px; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 15px; color: #071431; opacity: .25; transform: translateX(-10px); transition: opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1), border-color .4s ease, background .4s ease; }
.lp-badge.on { opacity: 1; transform: none; border-color: #abd652; background: #fbfff4; }
.lp-badge .ic { width: 34px; height: 34px; border-radius: 50%; background: #eef9d6; color: #5d8a12; display: grid; place-items: center; flex: none; font-size: 16px; }
.lp-faces { display: flex; margin-left: auto; } .lp-faces span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.lp-meter { margin-top: 16px; } .lp-meter .lp-row { font-weight: 800; font-size: 15px; } .lp-meter b { font: 900 22px/1 "Inter", sans-serif; color: #5d8a12; }
.lp-meter-bar { height: 12px; border-radius: 7px; background: #eef0f3; margin-top: 8px; overflow: hidden; }
.lp-meter-bar i { display: block; height: 100%; width: 20%; border-radius: 7px; background: linear-gradient(90deg, #f2b544, #abd652); transition: width .6s cubic-bezier(.22,1,.36,1); }

/* 8. Order total that keeps growing */
.lp-receipt { font-family: "Inter", sans-serif; }
.lp-receipt .lp-line { opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.lp-receipt .lp-line.on { opacity: 1; transform: none; }
.lp-receipt .tot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; }
.lp-receipt .tot b { font: 900 46px/1 "Inter", sans-serif; color: #071431; }
.lp-receipt .tot .up { font-weight: 800; color: #5d8a12; text-align: right; }
@media (max-width: 640px) { .lp-funnel .hole { font-size: 21px; } } /* SVG scales down on phones; keep the hole labels readable */

/* Real product photos in the visuals (assets/products/) */
.lp-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.lp-shot { background: #111; overflow: hidden; }
.lp-shot .lp-photo { object-position: 50% 20%; }
.lp-ba-after .lp-ba-img { overflow: hidden; background: #111; }
.lp-tier .tees { gap: 4px; }
.lp-tier .tees .lp-photo { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.lp-line .ic { overflow: hidden; }
.lp-line .ic .lp-photo { border-radius: 10px; }
@media (max-width: 640px) { .lp-tier .tees .lp-photo { width: 24px; height: 24px; border-radius: 6px; } }
/* Product thumbnail on the Google-style results (SEO page) */
.nx-thumb { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 92px; height: 92px; object-fit: cover; object-position: 50% 20%; border-radius: 12px; }
.nx-serp-res.win { padding-right: 120px; }
.nx-rw { position: relative; padding-right: 130px; }
.nx-rw-thumb { top: 62%; opacity: 0; transition: opacity .4s ease; }
.nx-rw.good .nx-rw-thumb { opacity: 1; } /* the photo only shows up in the fixed "after" listing */
@media (max-width: 640px) { .nx-thumb { width: 64px; height: 64px; right: 10px; } .nx-serp-res.win { padding-right: 84px; } .nx-rw { padding-right: 22px; } .nx-rw-thumb { position: static; transform: none; margin: 10px 0 0; display: block; } .nx-rw:not(.good) .nx-rw-thumb { display: none; } }

/* Footer social icons (Facebook, Instagram, YouTube) */
.nx-social { display: inline-flex; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease; }
.nx-social:hover { transform: translateY(-2px) scale(1.12); opacity: .85; }

/* ---------- Google Ads page visuals (google-ads/index.html, animated by assets/gads.js) ---------- */
.ga-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 700 14px "Inter", sans-serif; color: #343E56; margin-bottom: 12px; }
.ga-g { font: 700 18px "Product Sans", Arial, sans-serif; letter-spacing: -.5px; }
.ga-g b:nth-child(1) { color: #4285F4; } .ga-g b:nth-child(2) { color: #EA4335; } .ga-g b:nth-child(3) { color: #FBBC05; } .ga-g b:nth-child(4) { color: #4285F4; } .ga-g b:nth-child(5) { color: #34A853; } .ga-g b:nth-child(6) { color: #EA4335; }
.ga-g b { font-weight: 700; }
.ga-pill-red { background: #fde8e7; color: #d93025; } .ga-pill-green { background: #eef9d6; color: #5d8a12; } .ga-pill-gray { background: #f1f3f4; color: #5f6368; }

/* 1. Budget drain */
.ga-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ga-kpis div { background: #f6f8fb; border-radius: 14px; padding: 14px; }
.ga-kpis span { font-size: 13px; font-weight: 600; color: #6b7280; }
.ga-kpis b { display: block; font: 900 32px/1.1 "Inter", sans-serif; color: #071431; }
.ga-kpis .zero b { color: #d93025; }
.ga-terms-pop { margin-top: 12px; display: grid; gap: 8px; min-height: 230px; }
.ga-term { display: flex; align-items: center; gap: 10px; border: 1px solid #f0f2f5; border-radius: 12px; padding: 10px 12px; font: 15px Arial, sans-serif; color: #202124; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.ga-term.on { opacity: 1; transform: none; }
.ga-term svg { width: 15px; height: 15px; color: #9aa0a6; flex: none; }
.ga-term .q { flex: 1; min-width: 0; }
.ga-term .c { font: 700 14px "Inter", sans-serif; color: #071431; }

/* 2. Shopping carousel */
.ga-shop-bar { display: flex; align-items: center; gap: 10px; border: 1px solid #dfe1e5; border-radius: 999px; padding: 11px 16px; font: 16px Arial, sans-serif; color: #202124; }
.ga-shop-bar svg { width: 18px; height: 18px; color: #9aa0a6; }
.ga-spons { margin: 14px 0 8px; font: 700 13px Arial, sans-serif; color: #202124; } .ga-spons small { font-weight: 400; color: #6b7280; }
.ga-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ga-card { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; font: 12.5px/1.35 Arial, sans-serif; color: #202124; opacity: 0; transform: translateX(24px); transition: opacity .4s ease, transform .55s cubic-bezier(.22,1,.36,1); }
.ga-card.on { opacity: 1; transform: none; }
.ga-card .im { aspect-ratio: 1; background: #eef0f3; }
.ga-card .im .lp-photo { border-radius: 0; object-position: 50% 20%; }
.ga-card .tx { padding: 8px; }
.ga-card .pr { font-weight: 700; font-size: 14px; margin-top: 2px; }
.ga-card .st { color: #f9ab00; font-size: 11px; } .ga-card .sh { color: #188038; font-size: 11px; }
.ga-card i { display: block; height: 8px; border-radius: 4px; background: #eef0f3; margin-top: 6px; }
.ga-card.you { border: 2px solid #abd652; box-shadow: 0 6px 18px rgba(171,214,82,.35); }
@media (max-width: 640px) { .ga-cards { grid-template-columns: repeat(2, 1fr); } }

/* 3. Account structure */
.ga-root { display: inline-flex; align-items: center; gap: 10px; background: #071431; color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 800; font-size: 15px; }
.ga-branches { position: relative; margin: 10px 0 0 22px; padding-left: 22px; border-left: 2px dashed #d1d5db; }
.ga-branch { position: relative; padding: 9px 0; opacity: .2; transition: opacity .4s ease; }
.ga-branch.on { opacity: 1; }
.ga-branch::before { content: ""; position: absolute; left: -22px; top: 24px; width: 18px; border-top: 2px dashed #d1d5db; }
.ga-branch .nm { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 15px; color: #071431; }
.ga-branch .nm small { font-weight: 600; color: #6b7280; }
.ga-branch .why { font-size: 13px; color: #6b7280; margin-top: 2px; }
.ga-bar { height: 10px; border-radius: 6px; background: #eef0f3; margin-top: 6px; overflow: hidden; }
.ga-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: #abd652; transition: width .8s cubic-bezier(.22,1,.36,1); }

/* 4. Product feed fix (Merchant Center) */
.ga-feed-row { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.ga-feed-row .th { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #111; }
.ga-feed-title { font: 700 17px/1.3 Arial, sans-serif; color: #071431; min-height: 44px; }
.ga-feed.bad .ga-feed-title { color: #9aa0a6; text-decoration: line-through; text-decoration-color: #d93025; }
.ga-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.ga-field { border-radius: 10px; padding: 8px; text-align: center; font-size: 12px; font-weight: 700; background: #fde8e7; color: #d93025; transition: background .3s ease, color .3s ease; }
.ga-field.ok { background: #eef9d6; color: #5d8a12; }
.ga-field b { display: block; font-size: 15px; }
@media (max-width: 640px) { .ga-fields { grid-template-columns: repeat(2, 1fr); } }

/* 5. Search terms cleanup */
.ga-st { display: grid; grid-template-columns: 1fr 190px; gap: 14px; }
.ga-st-table { font: 14px Arial, sans-serif; }
.ga-st-row { display: grid; grid-template-columns: 1fr 52px 48px; gap: 8px; padding: 9px 4px; border-bottom: 1px solid #f0f2f5; color: #202124; transition: opacity .4s ease, background .3s ease; }
.ga-st-row.hd { font: 700 11px "Inter", sans-serif; color: #6b7280; letter-spacing: .06em; text-transform: uppercase; }
.ga-st-row .n { text-align: right; } .ga-st-row.good { background: #f6ffe3; }
.ga-st-row.cut { color: #9aa0a6; text-decoration: line-through; text-decoration-color: #d93025; opacity: .5; }
.ga-neg { background: #fbfbfc; border: 1px dashed #d1d5db; border-radius: 14px; padding: 12px; }
.ga-neg h5 { margin: 0 0 8px; font: 800 13px "Inter", sans-serif; color: #071431; }
.ga-neg-list { display: flex; flex-wrap: wrap; gap: 6px; min-height: 80px; align-content: flex-start; }
.ga-neg-list span { font: 600 12px Arial, sans-serif; background: #fde8e7; color: #d93025; border-radius: 999px; padding: 5px 9px; animation: lp-in .4s cubic-bezier(.22,1,.36,1); }
.ga-saved { margin-top: 12px; font-size: 13px; font-weight: 700; color: #343E56; } .ga-saved b { display: block; font: 900 28px/1.1 "Inter", sans-serif; color: #5d8a12; }
@media (max-width: 640px) { .ga-st { grid-template-columns: 1fr; } }

/* 6. Remarketing journey */
.ga-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
.ga-step { text-align: center; opacity: .3; transform: scale(.96); transition: opacity .4s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.ga-step.on { opacity: 1; transform: none; }
.ga-step .box { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f6f8fb; display: grid; place-items: center; position: relative; font-size: 34px; }
.ga-step .box .lp-photo { border-radius: 0; object-position: 50% 20%; }
.ga-step .lbl { margin-top: 8px; font-size: 13px; font-weight: 700; color: #071431; line-height: 1.3; }
.ga-yt { position: absolute; inset: 0; }
.ga-yt::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 28px; border-radius: 8px; background: #FF0000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center/18px no-repeat; }
.ga-yt span { position: absolute; left: 6px; right: 6px; bottom: 6px; background: rgba(0,0,0,.72); color: #fff; font: 700 10px/1.2 "Inter", sans-serif; border-radius: 6px; padding: 4px; }
.ga-step.buy .box { background: #eef9d6; color: #5d8a12; font: 900 26px "Inter", sans-serif; }
@media (max-width: 640px) { .ga-steps { grid-template-columns: repeat(2, 1fr); } }

/* 7. Conversion tracking */
.ga-sees { display: flex; align-items: center; justify-content: space-between; background: #f6f8fb; border-radius: 14px; padding: 12px 14px; font-weight: 700; color: #343E56; margin-bottom: 12px; }
.ga-sees b { font: 900 22px/1 "Inter", sans-serif; color: #d93025; transition: color .3s ease; }
.ga-track.full .ga-sees b { color: #5d8a12; }
.ga-ev { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #f0f2f5; font-weight: 700; font-size: 15px; color: #071431; }
.ga-ev .dot { width: 14px; height: 14px; border-radius: 50%; background: #e5e7eb; flex: none; transition: background .3s ease, box-shadow .3s ease; }
.ga-ev .st { margin-left: auto; font-size: 12px; font-weight: 800; color: #9aa0a6; transition: color .3s ease; }
.ga-ev.on .dot { background: #abd652; box-shadow: 0 0 0 5px rgba(171,214,82,.25); } .ga-ev.on .st { color: #5d8a12; }

/* 8. New-order notifications */
.ga-orders { max-width: 520px; display: grid; gap: 10px; min-height: 250px; align-content: start; background: transparent; box-shadow: none; padding: 0; }
.ga-toast { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 8px 26px rgba(0,0,0,.12); font-family: "Inter", sans-serif; text-align: left; animation: ga-toast .55s cubic-bezier(.22,1,.36,1); }
@keyframes ga-toast { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
.ga-toast .th { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex: none; background: #111; }
.ga-toast .tx { flex: 1; min-width: 0; font-size: 13px; color: #6b7280; } .ga-toast .tx b { display: block; font-size: 15px; color: #071431; }
.ga-toast .amt { font: 900 18px "Inter", sans-serif; color: #5d8a12; }

/* Footer link columns: turn Nexal green on hover */
.text-\[\#DFE0E4\] a { width: fit-content; transition: color .2s ease, transform .2s ease; }
.text-\[\#DFE0E4\] a:hover { color: #abd652; transform: translateX(3px); }
html { scroll-behavior: smooth; } /* "Reviews" / "Agency" glide to their section */

/* "Our offering": the free Rise card spans the full width under Agency + Pinnacle */
.nx-rise { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  border: 1.5px dashed rgba(171, 214, 82, .55); background: linear-gradient(120deg, rgba(171,214,82,.07), rgba(13,13,13,0) 55%), #0d0d0d; }
.nx-rise-hook { margin-top: 18px; font: 800 22px/1.3 "Inter", sans-serif; color: #fff; }
.nx-rise-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.nx-rise-cta span { font-size: 13px; color: rgba(255,255,255,.5); max-width: 220px; }
@media (max-width: 767px) { .nx-rise { grid-template-columns: 1fr; gap: 22px; } .nx-rise-cta a { width: 100%; } .nx-rise-hook { font-size: 19px; } }

/* Decorative corner images poke a few px past the edge (About Us): never allow sideways scrolling */
html, body { overflow-x: clip; }

/* "Live dot": the red dot in the BREAKING NEWS pill pulses like a live broadcast */
p.bg-\[\#ff1d00\].rounded-full { position: relative; flex: none; animation: nx-live-dot 1.6s ease-in-out infinite; }
p.bg-\[\#ff1d00\].rounded-full::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ff1d00; animation: nx-live-ring 1.6s cubic-bezier(.2,.6,.4,1) infinite; }
@keyframes nx-live-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,29,0,.0), 0 0 8px 1px rgba(255,29,0,.55); opacity: 1; } 50% { box-shadow: 0 0 0 0 rgba(255,29,0,0), 0 0 14px 3px rgba(255,29,0,.85); opacity: .75; } }
@keyframes nx-live-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { p.bg-\[\#ff1d00\].rounded-full, p.bg-\[\#ff1d00\].rounded-full::after { animation: none; } }

/* Closing banner on phones: floating icons smaller + fainter so they never crowd the heading */
@media (max-width: 640px) {
  section.bg-\[\#080a07\] > div.absolute.inset-0 { opacity: .4; }
  section.bg-\[\#080a07\] .nx-float { scale: .75; }
}
/* Big section headings always sit above the decorative green stripes */
h2.font-black { position: relative; z-index: 3; }

/* ---------- Smart sticky header: hides while you scroll down, slides back in when you scroll up ----------
   Uses `top` (not transform/filters) because the phone menu overlay lives inside the header and must
   stay fixed to the screen. site.js toggles the classes. */
.nx-head.nx-pinned { position: fixed; top: 0; padding-top: 12px; padding-bottom: 12px; transition: top .38s cubic-bezier(.22, 1, .36, 1); }
.nx-head.nx-pinned.nx-away { top: -130px; }
.nx-head.nx-pinned.nx-instant { transition: none; }
.nx-head.nx-pinned > div > .rounded-full { background: rgba(14, 15, 13, .9); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: background .3s ease; }
@media (prefers-reduced-motion: reduce) { .nx-head.nx-pinned { transition: none; } }

/* ---------- Homepage hero: Pinnacle Drop announcement pill + social-proof row ---------- */
.nx-announce { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 16px 7px 7px;
  border-radius: 999px; background: rgba(12, 12, 20, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font: 500 15px/1.2 "Inter", sans-serif; text-decoration: none; isolation: isolate; transition: transform .25s ease, background .25s ease; }
.nx-announce::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--nx-ang, 0deg), rgba(164,139,255,.25), #a48bff 20%, rgba(171,214,82,.9) 30%, rgba(164,139,255,.25) 45%, rgba(164,139,255,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: nx-spin 4s linear infinite; }
@property --nx-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes nx-spin { to { --nx-ang: 360deg; } }
.nx-announce:hover { transform: translateY(-2px); background: rgba(20, 18, 34, .7); }
.nx-announce-new { background: linear-gradient(135deg, #a48bff, #6d5ef5); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; }
.nx-announce-logo { width: 26px; height: 17px; flex: none; }
.nx-announce-text b { font-weight: 800; }
.nx-announce-arrow { transition: transform .25s ease; }
.nx-announce:hover .nx-announce-arrow { transform: translateX(4px); }

.nx-proof { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; color: #fff; font: 400 15px/1.35 "Inter", sans-serif; text-align: left; }
.nx-faces { display: flex; flex: none; }
.nx-faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2.5px solid rgba(255,255,255,.95); margin-left: -12px; background: #222; }
.nx-faces img:first-child { margin-left: 0; }
.nx-proof-stars { color: #fbbf24; letter-spacing: 1px; }
.nx-proof b { font-weight: 800; }
.nx-proof-sub { color: rgba(255,255,255,.75); font-size: 14px; }
@media (max-width: 640px) {
  .nx-announce { font-size: 13px; gap: 8px; padding-right: 12px; max-width: calc(100vw - 32px); }
  .nx-announce-text { white-space: normal; text-align: left; }
  .nx-proof { flex-direction: column; text-align: center; gap: 8px; }
  .nx-faces img { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .nx-announce::before { animation: none; } }
/* centre the hero content in the space below the header, so the pill never crowds it */
@media (min-width: 768px) { .nx-hero-body { padding-top: 96px; } }

/* Pill border tracer: a bright purple streak (white-hot tip) races around the outline, with a soft glow */
.nx-announce { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.nx-announce::before { padding: 2px;
  background: conic-gradient(from var(--nx-ang, 0deg), transparent 0deg, transparent 250deg, rgba(109,94,245,.35) 290deg, #a48bff 330deg, #fff 352deg, transparent 360deg);
  animation: nx-spin 2.6s linear infinite; }
.nx-announce::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; z-index: -2; pointer-events: none;
  background: conic-gradient(from var(--nx-ang, 0deg), transparent 0deg, transparent 280deg, rgba(164,139,255,.55) 330deg, rgba(255,255,255,.6) 352deg, transparent 360deg);
  filter: blur(8px); animation: nx-spin 2.6s linear infinite; }
.nx-announce:hover::before, .nx-announce:hover::after { animation-duration: 1.3s; }
@media (prefers-reduced-motion: reduce) { .nx-announce::after { animation: none; } }

/* Pill border tracer v2 (works everywhere): a rotating light beam behind the pill, covered by an inner
   panel so only a 2px border shows. Replaces the custom-property version, which some browsers don't repaint. */
.nx-announce { overflow: hidden; background: transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 6px 24px rgba(109,94,245,.25); padding-left: 14px; }
.nx-announce::before { inset: auto; left: 50%; top: 50%; width: 130%; height: auto; aspect-ratio: 1; padding: 0; z-index: -2;
  -webkit-mask: none; mask: none; transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(transparent 0deg, transparent 240deg, rgba(109,94,245,.45) 285deg, #a48bff 325deg, #ffffff 350deg, transparent 360deg);
  animation: nx-beam 2.8s linear infinite; }
.nx-announce::after { inset: 2px; z-index: -1; filter: none; animation: none; background: rgba(14, 13, 24, .9); }
@keyframes nx-beam { to { transform: translate(-50%, -50%) rotate(360deg); } }
.nx-announce:hover::before { animation-duration: 1.4s; }
@media (prefers-reduced-motion: reduce) { .nx-announce::before { animation: none; } }
.nx-announce-text { text-wrap: balance; } /* on phones the two lines split evenly instead of leaving "app" alone */

/* Offer cards: highlighted panels (Agency web dev link, Pinnacle guarantee, Rise free) (tools/offer.mjs) */
.nx-perk { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(171,214,82,.35); border-radius: 12px; background: rgba(171,214,82,.06); }
.nx-webdev { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(171,214,82,.35); border-radius: 12px; background: rgba(171,214,82,.06); text-decoration: none; transition: background .25s, border-color .25s, transform .25s; }
.nx-webdev:hover { background: rgba(171,214,82,.12); border-color: #abd652; transform: translateY(-2px); }
.nx-webdev-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(171,214,82,.15); color: #abd652; }
.nx-webdev-ic svg { width: 22px; height: 22px; }
.nx-webdev-txt { flex: 1; min-width: 0; font-family: "Inter", sans-serif; }
.nx-webdev-txt b { display: block; color: #fff; font-size: 16px; font-weight: 800; }
.nx-webdev-txt span { display: block; margin-top: 2px; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.45; }
.nx-webdev-go { flex: none; color: #abd652; font-size: 20px; font-weight: 800; transition: transform .25s; }
.nx-webdev:hover .nx-webdev-go { transform: translateX(4px); }
@media (max-width: 767px) { .nx-perk { align-items: flex-start; gap: 12px; padding: 14px; } .nx-webdev { align-items: flex-start; gap: 12px; padding: 14px; } .nx-webdev-ic { width: 34px; height: 34px; } .nx-webdev-ic svg { width: 19px; height: 19px; } .nx-webdev-go { display: none; } .nx-webdev-txt b { font-size: 15px; } }

/* ---------- Web Development page: live sites in browser / laptop / phone frames + live API demo (assets/webdev.js) ---------- */
.wd-rise { --p: 0; transform: perspective(1600px) rotateX(calc((1 - var(--p)) * 24deg)) translateY(calc((1 - var(--p)) * 40px)) scale(calc(.92 + var(--p) * .08)); transform-origin: 50% 100%; opacity: calc(.35 + var(--p) * .65); will-change: transform; }
.wd-browser { margin: 0; background: #0d1018; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(7,20,49,.35), 0 0 0 1px rgba(255,255,255,.06) inset; }
.wd-chrome { display: flex; align-items: flex-end; gap: 14px; padding: 10px 14px 0; background: #151924; }
.wd-lights { display: flex; gap: 7px; padding-bottom: 12px; } .wd-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .wd-lights i + i { background: #febc2e; } .wd-lights i + i + i { background: #28c840; }
.wd-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.wd-tabs button { font: 600 13px "Inter", sans-serif; color: #8b93a7; background: transparent; border: 0; border-radius: 10px 10px 0 0; padding: 9px 18px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.wd-tabs button:hover { color: #fff; }
.wd-tabs button[aria-selected="true"] { background: #0d1018; color: #fff; }
.wd-url { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #0d1018; border-bottom: 1px solid #1d2230; font: 13px "Inter", sans-serif; color: #c9cfdc; }
.wd-addr { flex: 1; background: #1a1f2c; border-radius: 999px; padding: 6px 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wd-lock { font-size: 11px; opacity: .7; }
.wd-livepill { display: inline-flex; align-items: center; gap: 6px; font: 800 11px "Inter", sans-serif; letter-spacing: .08em; color: #abd652; background: rgba(171,214,82,.12); border-radius: 999px; padding: 4px 10px; }
.wd-livepill i { width: 7px; height: 7px; border-radius: 50%; background: #abd652; animation: wd-pulse 1.6s infinite; }
@keyframes wd-pulse { 0% { box-shadow: 0 0 0 0 rgba(171,214,82,.7); } 100% { box-shadow: 0 0 0 9px rgba(171,214,82,0); } }
.wd-open { color: #8b93a7; text-decoration: none; font-weight: 600; } .wd-open:hover { color: #fff; }
.wd-vp { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #070a12; }
.wd-vp iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; opacity: 0; transition: opacity .6s; pointer-events: none; }
.wd-vp.ready iframe { opacity: 1; }
.wd-loading { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .4s; }
.wd-loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: #abd652; animation: wd-rot .8s linear infinite; }
@keyframes wd-rot { to { transform: rotate(360deg); } }
.wd-vp.ready .wd-loading { opacity: 0; pointer-events: none; }
.wd-shield { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22px; }
.wd-shield span { font: 700 14px "Inter", sans-serif; color: #fff; background: rgba(7,10,18,.82); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 10px 18px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.wd-vp.ready .wd-shield span { opacity: 1; transform: none; }
.wd-shield:hover span { background: #abd652; color: #071431; }
.wd-done { display: none; position: absolute; top: 10px; right: 10px; z-index: 2; font: 700 12px "Inter", sans-serif; border: 0; border-radius: 999px; padding: 7px 12px; background: rgba(7,10,18,.85); color: #fff; cursor: pointer; }
.wd-live.on .wd-shield { display: none; } .wd-live.on iframe { pointer-events: auto; }
@media (hover: none) { .wd-live.on .wd-done { display: block; } .wd-shield span::after { content: ""; } }
.wd-live.on .wd-vp { box-shadow: 0 0 0 3px #abd652 inset; }
.wd-devices { position: relative; margin: 0; padding: 0 110px 40px 0; transform: none; opacity: 1; }
.wd-laptop { perspective: 2000px; }
.wd-lid { background: #0b0d12; border-radius: 18px 18px 6px 6px; padding: 14px 14px 18px; box-shadow: 0 0 0 2px #2a2f3a inset, 0 30px 70px rgba(7,20,49,.35); transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p, 1)) * -70deg)); }
.wd-lid .wd-vp { border-radius: 6px; }
.wd-base { height: 16px; margin: 0 -6%; background: linear-gradient(#d7dbe2, #9aa1ad); border-radius: 0 0 16px 16px; position: relative; }
.wd-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #868d99; border-radius: 0 0 8px 8px; }
.wd-phone { position: absolute; right: 0; bottom: 0; width: 23%; background: #0b0d12; border-radius: 34px; padding: 9px; box-shadow: 0 0 0 2px #2a2f3a inset, 0 25px 60px rgba(7,20,49,.45); transform: translateY(calc((1 - var(--p, 1)) * 140px)) rotate(calc((1 - var(--p, 1)) * 6deg)); z-index: 3; }
.wd-phone .wd-vp { aspect-ratio: 390/844; border-radius: 26px; }
.wd-notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 30%; height: 16px; background: #0b0d12; border-radius: 999px; z-index: 4; }
.wd-phone .wd-shield span { font-size: 11px; padding: 7px 10px; text-align: center; }
.wd-api { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border-radius: 18px; overflow: hidden; background: #0d1018; box-shadow: 0 30px 80px rgba(7,20,49,.35); text-align: left; }
.wd-api-l { padding: 20px; min-width: 0; }
.wd-api-top { display: flex; align-items: center; gap: 10px; font: 600 13px "Inter", sans-serif; color: #c9cfdc; margin-bottom: 14px; }
.wd-api-form { display: flex; gap: 8px; }
.wd-api-form input { flex: 1; min-width: 0; font: 600 15px "Inter", sans-serif; color: #fff; background: #1a1f2c; border: 1px solid #2a3142; border-radius: 10px; padding: 10px 14px; outline: none; }
.wd-api-form input:focus { border-color: #abd652; }
.wd-api-form button { font: 800 14px "Inter", sans-serif; color: #071431; background: #abd652; border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; white-space: nowrap; transition: transform .15s; }
.wd-api-form button:active { transform: scale(.96); }
.wd-api.busy .wd-api-form button { opacity: .6; }
.wd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.wd-chips button { font: 600 12px "Inter", sans-serif; color: #c9cfdc; background: transparent; border: 1px solid #2a3142; border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.wd-chips button:hover { border-color: #abd652; color: #abd652; }
.wd-req, .wd-json { margin: 0; font: 12.5px/1.65 ui-monospace, Menlo, monospace; color: #c9d1d9; white-space: pre-wrap; word-break: break-all; }
.wd-req { background: #141925; border-radius: 10px; padding: 12px; }
.wd-json { background: #141925; border-radius: 10px; padding: 12px; min-height: 178px; }
.wd-req .c { color: #6b7385; } .wd-req .f, .wd-json .k { color: #ff7b72; } .wd-req .s, .wd-json .s { color: #a5d6ff; } .wd-json .n { color: #abd652; }
.wd-json .k { color: #d2a8ff; }
.wd-meta { display: flex; gap: 10px; align-items: center; margin: 12px 0 8px; font: 700 12px "Inter", sans-serif; color: #8b93a7; }
.wd-status { border-radius: 6px; padding: 3px 8px; background: #1a1f2c; }
.wd-status.ok { background: rgba(171,214,82,.15); color: #abd652; } .wd-status.bad { background: rgba(239,68,68,.15); color: #f87171; }
.wd-api.busy .wd-status { animation: wd-blink 1s infinite; } @keyframes wd-blink { 50% { opacity: .4; } }
.wd-api-r { background: linear-gradient(160deg, #f6ffe3, #fff 55%); padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.wd-api-r small { font: 700 11px "Inter", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; margin-bottom: 12px; }
.wd-wx { background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 14px 40px rgba(7,20,49,.12); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.wd-api.got .wd-wx { transform: scale(1.04); }
.wd-wx-ic { font-size: 54px; line-height: 1; }
.wd-wx-t { font: 900 52px/1.1 "Inter", sans-serif; color: #071431; margin-top: 8px; } .wd-wx-t small { font-size: 20px; color: #6b7280; font-weight: 700; }
.wd-wx-c { font: 600 15px "Inter", sans-serif; color: #374151; margin-top: 4px; }
.wd-wx-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #eef0f2; font: 13px "Inter", sans-serif; color: #6b7280; }
@media (max-width: 760px) {
  .wd-api { grid-template-columns: 1fr; }
  .wd-devices { padding: 0 0 20px; }
  .wd-laptop { display: none; }
  .wd-phone { position: relative; width: 78%; max-width: 300px; margin: 0 auto; }
  .wd-vp { aspect-ratio: 9/14; }
  .wd-lid .wd-vp, .wd-phone .wd-vp { aspect-ratio: 390/844; }
  .wd-url .wd-open { display: none; }
  .wd-chrome { gap: 8px; padding: 8px 8px 0; } .wd-lights { gap: 5px; } .wd-lights i { width: 9px; height: 9px; }
  .wd-tabs button { font-size: 12px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { .wd-rise { transform: none; opacity: 1; } .wd-livepill i, .wd-loading span { animation: none; } }
