/* analystsolution.com: new homepage first screen (2026-10-18).
   Lives outside #root so the React app hydrates untouched.
   On the homepage only, the app's own header and first section are hidden. */
html.as-home #root header,
html.as-home #root main > section:first-of-type { display: none !important; }

.ash { --bg:#05060e; --ink:#e9edfb; --muted:#8a93b0; --line:rgba(255,255,255,.1);
  --violet:#7359ef; --blue:#2557f4; --cyan:#6bc7f8; --ok:#3be0a0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(37,87,244,.34), transparent 62%),
    radial-gradient(700px 520px at -8% 105%, rgba(107,199,248,.12), transparent 60%),
    var(--bg);
  color: var(--ink); font-family: Inter, system-ui, sans-serif; }
.ash *, .ash *::before, .ash *::after { box-sizing: border-box; }
.ash a { color: inherit; text-decoration: none; }
.ash-wrap { max-width: 1420px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 640px) { .ash-wrap { padding-inline: 32px; } }

/* header */
.ash-head { border-bottom: 1px solid var(--line); }
.ash-head .ash-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ash-logo img { height: 28px; width: auto; display: block; }
@media (min-width: 640px) { .ash-logo img { height: 32px; } }
.ash-nav { display: none; gap: 32px; font: 600 14px Inter, system-ui, sans-serif; }
.ash-nav a:hover, .ash-nav a:focus-visible { color: var(--cyan); }
.ash-headcta { display: none; }
@media (min-width: 768px) { .ash-nav { display: flex; } .ash-headcta { display: inline-flex; } .ash-menu { display: none; } }
.ash-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px;
  font: 600 15px Poppins, Inter, system-ui, sans-serif; padding: 14px 24px; transition: transform .15s ease, box-shadow .15s ease; }
.ash-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.ash-btn.primary { background: linear-gradient(100deg, var(--blue), #2e8bff 60%, var(--cyan)); color: #fff;
  box-shadow: 0 18px 40px -16px rgba(37,87,244,.9); }
.ash-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 22px 46px -16px rgba(37,87,244,1); }
.ash-btn.ghost { border: 1px solid rgba(255,255,255,.2); color: var(--ink); }
.ash-btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.ash-btn.small { padding: 10px 18px; font-size: 14px; }

/* mobile menu (no JS) */
.ash-menu { position: relative; }
.ash-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; }
.ash-menu summary::-webkit-details-marker { display: none; }
.ash-menu summary:focus-visible { outline: 2px solid var(--cyan); }
.ash-menu nav { position: absolute; right: 0; top: 48px; z-index: 50; min-width: 220px; display: grid; gap: 4px; padding: 10px;
  background: #0b0e1c; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.ash-menu nav a { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.ash-menu nav a:hover { background: rgba(255,255,255,.06); }
.ash-menu nav a.cta { background: linear-gradient(100deg, var(--blue), var(--cyan)); color: #fff; text-align: center; margin-top: 6px; }

/* hero */
.ash-hero .ash-wrap { display: grid; gap: 36px; padding-block: 40px 56px; }
@media (min-width: 1024px) { .ash-hero .ash-wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 56px; padding-block: 64px 88px; } }
.ash-copy { display: grid; gap: 22px; min-width: 0; }
.ash-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px Inter, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.ash-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(59,224,160,.18); }
.ash h1 { margin: 0; font: 600 clamp(2.6rem, 6.2vw, 5.4rem)/.95 Poppins, Inter, system-ui, sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.ash h1 .grad { background: linear-gradient(100deg, var(--violet), var(--blue) 45%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.ash-sub { margin: 0; font-size: 19px; line-height: 1.55; color: #c3cbe4; max-width: 34ch; }
.ash-sub b { color: var(--ink); font-weight: 600; }
.ash-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ash-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.ash-chips li { font: 600 13px Inter, system-ui, sans-serif; color: #c3cbe4; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; background: rgba(255,255,255,.03); }

/* compare slider */
.ash-compare { position: relative; min-width: 0; }
.ash-frame { position: relative; border-radius: 22px; padding: 8px; background: #0b0e1c;
  box-shadow: 0 40px 110px -30px rgba(37,87,244,.55); outline: 1px solid var(--line); }
.ash-bar { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 10px; color: rgba(255,255,255,.6);
  font: 700 10px Inter, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.ash-bar span.dots { display: flex; gap: 6px; } .ash-bar span.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.ash-stage { position: relative; overflow: hidden; border-radius: 15px; aspect-ratio: 16 / 10; max-width: 100%; background: #111; user-select: none; touch-action: pan-y; cursor: ew-resize; }
@media (max-width: 639px) { .ash-stage { aspect-ratio: 4 / 5; } }
.ash-stage picture, .ash-stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ash-stage img { object-fit: cover; object-position: top center; pointer-events: none; }
.ash-old { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ash-tag { position: absolute; top: 12px; z-index: 3; font: 700 11px Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.ash-tag.old { left: 12px; background: rgba(204,59,50,.92); color: #fff; }
.ash-tag.new { right: 12px; background: rgba(5,6,14,.82); color: var(--ok); border: 1px solid rgba(59,224,160,.5); }
.ash-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; z-index: 4;
  background: linear-gradient(var(--cyan), var(--blue)); box-shadow: 0 0 18px rgba(107,199,248,.8); }
.ash-knob { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  display: grid; place-items: center; background: #05060e; border: 2px solid var(--cyan); color: var(--ink);
  font: 700 18px Poppins, system-ui, sans-serif; box-shadow: 0 10px 30px -8px rgba(37,87,244,.9); }
.ash-range { position: absolute; left: 0; bottom: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ash-range:focus-visible ~ .ash-handle .ash-knob { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ash-hint { margin: 12px 4px 0; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.ash-hint b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .ash-stage.intro .ash-old, .ash-stage.intro .ash-handle { transition: clip-path .9s cubic-bezier(.2,.8,.2,1), left .9s cubic-bezier(.2,.8,.2,1); }
}

/* sticky phone CTA */
.ash-sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: none; justify-content: center; }
.ash-sticky a { width: 100%; max-width: 420px; }
@media (max-width: 767px) { html.as-home .ash-sticky { display: flex; } html.as-home body { padding-bottom: 76px; } }

/* fixes after first preview */
.ash-head .ash-headcta { display: none; }
@media (min-width: 768px) { .ash-head .ash-headcta { display: inline-flex; } }
@media (max-width: 1023px) {
  .ash-hero .ash-wrap { gap: 18px; padding-block: 28px 44px; }
  .ash-copy { display: contents; }
  .ash-eyebrow { order: 1; } .ash h1 { order: 2; } .ash-compare { order: 3; margin: 6px 0 4px; }
  .ash-sub { order: 4; } .ash-ctas { order: 5; } .ash-chips { order: 6; }
  .ash-sub { max-width: none; font-size: 17px; }
}
@media (max-width: 639px) { .ash-stage { aspect-ratio: 1 / 1; } .ash-hint span:last-child { display: none; } }
