/* =========================================================
   Verified Market Intelligence — Homepage
   Modern CSS: custom props, fluid type, grid, glass, reveal
   ========================================================= */

/* ---------- Brand typeface: General Sans ----------
   Loaded via Fontshare CDN in index.html (free for commercial use). */

:root {
  --navy:        #0a0e3f;
  --navy-2:      #11164d;
  --ink:         #000;
  --ink-soft:    #333;
  --muted:       #8d90a6;
  --line:        #e9e9f0;
  --bg:          #ffffff;
  --bg-2:        #f6f5f2;
  --indigo:      #3a36e0;
  --indigo-600:  #2a27c4;
  --accent:      #4f46ff;

  --maxw: 1240px;
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 1px 2px rgba(16,18,60,.06), 0 4px 14px rgba(16,18,60,.05);
  --shadow-md: 0 18px 50px rgba(16,18,60,.12);
  --shadow-lg: 0 40px 120px rgba(16,18,60,.22);

  --font-head: "General Sans", Arial, sans-serif;
  --font-body: "General Sans", Arial, sans-serif;
  --font-mono: "General Sans", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg) url("../../images/bgphoto1.jpeg") top center / 100% auto no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 400;            /* light base for body text */
}

/* No bold anywhere — cap emphasis at Medium (500) */
h1, h2, h3, h4, h5, h6, b, strong { font-weight: 500; }

a { color: inherit; text-decoration: none; }

/* Responsive media safety — nothing overflows its container */
img, svg, video, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; }
table { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: 500; font-size: .95rem;
  padding: .72rem 1.4rem; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 24px rgba(58,54,224,.28); }
.btn--primary:hover { background: var(--indigo-600); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(58,54,224,.38); }

.btn--ghost { color: var(--indigo); border-color: rgba(58,54,224,.35); }
.btn--ghost:hover { background: rgba(58,54,224,.06); }

.btn--dark { background: #0b0b16; color: #fff; padding: .9rem 1.9rem; font-size: 1.02rem; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }

.btn--play { background: transparent; color: var(--ink); padding: .9rem .6rem; font-size: 1.02rem; }
.btn--play .play {
  width: 30px; height: 30px; border-radius: 50%; background: var(--indigo);
  display: grid; place-items: center; color: #fff;
  transition: transform .25s var(--ease);
}
.btn--play:hover .play { transform: scale(1.12); }

/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */
.announce {
  position: relative; z-index: 60;
  background: radial-gradient(120% 200% at 50% -60%, #1b2270 0%, var(--navy) 55%);
  color: #e8e9ff;
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  padding: .85rem 3rem;
  font-size: .92rem; letter-spacing: .1px;
}
.announce::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; pointer-events: none;
}
.announce__text { position: relative; opacity: .92; }
.announce__cta {
  position: relative; font-weight: 500; padding: .42rem 1rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  transition: background .25s var(--ease);
}
.announce__cta:hover { background: rgba(255,255,255,.12); }
.announce__close {
  position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #cfd1ff; font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.announce.hide { display: none; }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16,18,60,.05); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem 1.5rem;
}

.brand { display: flex; align-items: center; gap: .6rem; color: var(--indigo); }
.brand__logo { height: 50px; width: auto; display: block; }
@media (max-width: 620px) { .brand__logo { height: 30px; } }
.brand__mark { display: grid; place-items: center; }
.brand__name {
  font-family: var(--font-head); font-weight: 500; font-size: 1.32rem;
  letter-spacing: -.02em; color: var(--ink);
}
.brand__name-accent { color: var(--indigo); }

.nav__menu { display: flex; align-items: center; gap: 1.7rem; margin-left: .5rem; }
.nav__item {
  font-weight: 500; color: #25263a; cursor: pointer; font-size: .98rem;
  display: inline-flex; align-items: center; gap: .3rem;
  transition: color .2s var(--ease);
}
.nav__item:hover { color: var(--indigo); }
.caret { font-size: .7rem; opacity: .6; }

.nav__actions { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.search {
  display: flex; align-items: center; gap: .5rem;
  background: #f1f1f6; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .9rem; color: var(--muted); transition: border-color .2s var(--ease), background .2s;
}
.search:focus-within { border-color: var(--indigo); background: #fff; }
.search input { border: none; background: none; outline: none; font-size: .92rem; width: 120px; color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  max-width: 1000px; margin: 0 auto;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6.5rem) 1.5rem clamp(2rem, 4vw, 3rem);
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(.85rem, 1.4vw, 1rem);
  letter-spacing: .04em; color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 1.06; letter-spacing: -.03em;
  color: var(--ink);
}
.hero__title--muted { color: #9a9cae; font-weight: 500; }
.hero__cta { margin-top: 2.6rem; display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap; }

/* =========================================================
   SHOWCASE (glass search)
   ========================================================= */
.showcase { max-width: var(--maxw); margin: clamp(1rem,3vw,2.5rem) auto 0; padding: 0 1.5rem; }
.showcase__glass {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1rem,4vw,3rem);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #3a2fb0 url("../../images/3.jpg") center/cover no-repeat;
}
@keyframes swirl { to { transform: rotate(360deg); } }

.showcase__card {
  position: relative; z-index: 2;
  width: min(680px, 100%);
  background: #fff; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-lg);
}
.ask { display: flex; align-items: center; gap: .9rem; padding: .4rem .2rem; }
.ask__plus {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; font-size: 1.3rem; color: #555;
  cursor: pointer; line-height: 1; transition: .2s var(--ease);
}
.ask__plus:hover { border-color: var(--indigo); color: var(--indigo); }
.ask__query { flex: 1; font-size: clamp(1rem, 2.2vw, 1.3rem); color: #222; }
.ask__query::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask__voice {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: #0b0b16; border: none; cursor: pointer; display: grid; place-items: center;
  transition: transform .25s var(--ease);
}
.ask__voice:hover { transform: scale(1.08); }

.ask__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; padding: 0 .2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #f4f4f8; border: 1px solid #ededf3; border-radius: 999px;
  padding: .42rem .85rem; font-size: .85rem; color: #34354a; font-weight: 500;
  transition: .2s var(--ease);
}
.chip:hover { background: #fff; border-color: var(--indigo); transform: translateY(-1px); }
.chip--more { color: #999; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--blue{background:#2f7bff}.dot--green{background:#23b26d}.dot--orange{background:#ff8a3c}
.dot--purple{background:#8b5cf6}.dot--red{background:#ef4444}.dot--teal{background:#14b8c4}

/* =========================================================
   TRUST (logos + event)
   ========================================================= */
.trust { max-width: var(--maxw); margin: clamp(3rem,6vw,5rem) auto 0; padding: 0 1.5rem; }
.trust__row {
  display: grid; grid-template-columns: 280px 1fr; align-items: center;
  border: 1px solid var(--line); border-radius: 0;
  border-left: none; border-right: none;
}
.trust__label {
  font-weight: 500; color: #1c1d2e; font-size: 1.02rem; line-height: 1.35;
  padding: 1.6rem 1.6rem 1.6rem 0; border-right: 1px solid var(--line);
}
.trust__label--center {
  text-align: center; border: none; padding: 0 0 1.6rem;
  font-size: clamp(1rem, 2vw, 1.25rem); color: #2a2c44;
}
.clients {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.clients img { display: block; width: 100%; height: auto; }

/* featured report banner */
.feature { max-width: var(--maxw); margin: clamp(3rem,6vw,5rem) auto 0; padding: 0 1.5rem; }
.feature__link { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__link img { display: block; width: 100%; height: auto; }
.marquee { overflow: hidden; padding: 1.6rem 0 1.6rem 2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; letter-spacing: .02em; color: #9b9dac; white-space: nowrap; }

/* event banner */
.event {
  margin-top: clamp(2rem,4vw,3.5rem);
  display: grid; grid-template-columns: 360px 1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); min-height: 280px;
}
.event__brand {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem; color: #fff;
  background:
    radial-gradient(80% 80% at 20% 20%, #ff7a45 0%, transparent 60%),
    linear-gradient(135deg, #ff5e3a, #c2410c 70%);
}
.event__brand::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 14px 14px; opacity: .35;
}
.event__logo { position: relative; font-family: var(--font-head); font-weight: 500; font-size: 2.4rem; line-height: .9; }
.event__year { position: relative; font-family: var(--font-head); font-weight: 500; font-size: 2.4rem; line-height: .95; margin-top: .2rem; }
.event__body {
  padding: clamp(1.8rem,4vw,3rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  background: linear-gradient(120deg, #6a4bff 0%, #8b5cf6 50%, #3b2bd0 100%);
  color: #fff;
}
.event__meta { font-size: .92rem; opacity: .9; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 1rem; }
.event__title { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem,3.4vw,2.4rem); letter-spacing: -.02em; }
.event__btn { align-self: flex-start; background: #fff; color: var(--indigo); box-shadow: none; }
.event__btn:hover { background: #fff; color: var(--indigo-600); }

/* =========================================================
   VALUE / STATS
   ========================================================= */
.value { position: relative; max-width: var(--maxw); margin: clamp(4rem,9vw,8rem) auto 0; padding: 0 1.5rem; }
.value::before {
  content: ""; position: absolute; top: -3rem; right: 0; width: min(560px, 55%); aspect-ratio: 1029/505;
  background: url("../../images/cloud-location-map.svg") center/contain no-repeat;
  opacity: .5; pointer-events: none; z-index: 0;
}
.value > * { position: relative; z-index: 1; }
.value__head {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.05rem); line-height: 1.1; letter-spacing: -.03em;
  max-width: 780px;
}
.value__grid {
  margin-top: clamp(3rem,6vw,5rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid var(--line); padding-top: 2.4rem;
}
.vfeat__icon { color: var(--ink); margin-bottom: 1.6rem; }
.vfeat__text { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; max-width: 230px; }
.vfeat__text b { color: var(--ink); font-weight: 500; }

/* =========================================================
   THREE CARDS
   ========================================================= */
.cards {
  max-width: var(--maxw); margin: clamp(4rem,9vw,7rem) auto 0; padding: 0 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--bg-2); border-radius: var(--radius-lg); overflow: hidden;
}
.ccard { position: relative; border-right: 1px solid #e7e5df; }
.ccard:last-child { border-right: none; }
.ccard__art { height: 240px; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.ccard__art--green { background-image: url("../../images/4.jpg"); }
.ccard__art--fire  { background-image: url("../../images/2.jpg"); }
.ccard__art--blue  { background-image: url("../../images/nova.png"); }
.ccard__body { padding: 2rem 1.8rem 2.4rem; }
.ccard__kicker { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.ccard__title { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4rem,2.4vw,1.85rem); letter-spacing: -.02em; margin: 1.2rem 0 1.6rem; line-height: 1.1; }
.ccard__link { display: inline-flex; align-items: center; gap: .6rem; color: var(--indigo); font-weight: 500; }
.ccard__link .arrow { width: 26px; height: 26px; border-radius: 50%; background: rgba(58,54,224,.12); display: grid; place-items: center; transition: transform .25s var(--ease); }
.ccard__link:hover .arrow { transform: translateX(4px); }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { margin-top: clamp(5rem,10vw,9rem); background: #0a0d22; color: #c9cbe0; }
.foot__top { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5rem) 1.5rem; display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem; }
.foot__brand .brand__name { color: #fff; }
.foot__logo { height: 46px; width: auto; display: block; margin-bottom: .2rem; }
.foot__brand p { margin-top: .8rem; color: #8a8da8; }
.foot__cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.foot__cols h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; font-weight: 500; }
.foot__cols a { display: block; color: #8a8da8; padding: .35rem 0; font-size: .92rem; transition: color .2s; }
.foot__cols a:hover { color: #fff; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.foot__bottom { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: #75789a; }
.foot__legal a { margin-left: 1.4rem; }
.foot__legal a:hover { color: #fff; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   MOBILE NAV (hamburger + drawer)
   ========================================================= */
.nav__toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__drawer {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16,18,60,.12);
  padding: .6rem 1.5rem 1.5rem;
  flex-direction: column; gap: .2rem;
}
.nav.is-open .nav__drawer { display: flex; }
.nav__drawer-link { padding: .95rem .25rem; font-size: 1.05rem; color: #25263a; border-bottom: 1px solid var(--line); }
.nav__drawer-link:last-of-type { border-bottom: none; }
.nav__drawer-cta { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.nav__drawer-cta .btn { justify-content: center; width: 100%; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav__menu { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .trust__row { grid-template-columns: 1fr; }
  .trust__label { border-right: none; border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
  .marquee { padding-left: 0; }
  .event { grid-template-columns: 1fr; }
  .value__grid { grid-template-columns: repeat(2,1fr); gap: 2.4rem; }
  .cards { grid-template-columns: 1fr; }
  .ccard { border-right: none; border-bottom: 1px solid #e7e5df; }
  .ccard:last-child { border-bottom: none; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .announce { padding: .8rem 2.6rem .8rem 1rem; gap: .8rem; flex-wrap: wrap; justify-content: flex-start; }
  .value__grid { grid-template-columns: 1fr; }
  .value::before { display: none; }
  .foot__cols { grid-template-columns: repeat(2,1fr); }
  .foot__bottom { flex-direction: column; }
  /* Hero: search takes the full row, button + link stack below */
  .hero__form { gap: .9rem; }
  .hero__search { flex-basis: 100%; max-width: none; }
  .hero__form .btn--build,
  .hero__form .btn--play { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 400px) {
  .foot__cols { grid-template-columns: 1fr; }
  .event__brand { padding: 1.5rem; }
}

/* =========================================================
   NAV ACTIVE STATE (anchors)
   ========================================================= */
.nav__item { text-decoration: none; }
.nav__item.is-active { color: var(--indigo); }

/* =========================================================
   FAQ (visible — mirrors FAQPage schema for AEO)
   ========================================================= */
.faq { max-width: 860px; margin: clamp(4rem,9vw,7rem) auto 0; padding: 0 1.5rem; }
.faq__head {
  font-family: var(--font-head); font-weight: 500; letter-spacing: -.02em;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-align: center; margin-bottom: 2.2rem;
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer; padding: 1.3rem .25rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; font-size: 1.5rem; color: var(--indigo); line-height: 1;
  transition: transform .3s var(--ease);
}
.faq__item[open] .faq__q::after { content: "\2212"; } /* minus */
.faq__a { padding: 0 .25rem 1.4rem; color: var(--ink-soft); line-height: 1.6; max-width: 70ch; }

/* =========================================================
   404
   ========================================================= */
.error404 { max-width: 720px; margin: clamp(4rem,12vw,9rem) auto; padding: 0 1.5rem; text-align: center; }
.error404__code { font-family: var(--font-head); font-weight: 500; font-size: clamp(4rem,16vw,9rem); line-height: 1; color: var(--indigo); }
.error404__title { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem,4vw,2.6rem); letter-spacing: -.02em; margin: .6rem 0 1rem; }
.error404__text { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 2rem; }
.error404__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   HERO — report-builder search
   ========================================================= */
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(58,54,224,.08); color: var(--indigo);
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero__sub {
  color: var(--ink-soft); line-height: 1.5;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 640px; margin: 1.1rem auto 0;
}
.hero__form { margin-top: 2.6rem; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero__search {
  display: flex; align-items: center; gap: .85rem;
  flex: 1 1 420px; max-width: 560px;
  background: #fff; border: 1.5px solid rgba(58,54,224,.45); border-radius: 14px;
  padding: 1.05rem 1.3rem; box-shadow: 0 12px 34px rgba(16,18,60,.07);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero__search:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(58,54,224,.13); }
.hero__search.is-hint { border-color: var(--indigo); animation: searchHint 1.8s var(--ease); }
@keyframes searchHint {
  0%, 100% { box-shadow: 0 12px 34px rgba(16,18,60,.07); }
  20%, 60% { box-shadow: 0 0 0 5px rgba(58,54,224,.18); }
}
.hero__search svg { color: #9499b0; flex: none; }
.hero__search input {
  flex: 1; border: none; outline: none; background: none;
  font-family: inherit; font-size: clamp(1rem, 2vw, 1.12rem); color: var(--ink);
}
.hero__search input::placeholder { color: #9aa0b5; }
.hero__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.btn--build { padding: .95rem 2.1rem; font-size: 1.05rem; }

/* Typeahead dropdown */
.hero__search { position: relative; }
.hero__results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); overflow: hidden auto; max-height: 360px; text-align: left;
}
.hero__results[hidden] { display: none; }
.hres {
  display: block; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .15s var(--ease); color: var(--ink);
}
.hres:last-child { border-bottom: none; }
.hres:hover, .hres.is-active { background: rgba(58,54,224,.06); }
.hres__name { display: block; font-size: .98rem; line-height: 1.35; }
.hres__cat  { display: block; font-size: .76rem; color: var(--muted); margin-top: .15rem; }
.hres__empty { padding: 1rem 1.1rem; color: var(--muted); font-size: .92rem; }

/* =========================================================
   REPORT BUILDER (/report/{slug})
   ========================================================= */
.rb { max-width: 960px; margin: clamp(2rem,5vw,4rem) auto clamp(4rem,8vw,7rem); padding: 0 1.5rem; }
.rb__crumbs { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); margin-bottom: 2rem; }
.rb__crumbs a { color: var(--ink-soft); }
.rb__crumbs a:hover { color: var(--indigo); }
.rb__crumb-current { color: var(--ink); }

.rb__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(58,54,224,.08); color: var(--indigo);
  font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 999px;
}
.rb__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 0 rgba(58,54,224,.5); animation: rbPulse 1.6s var(--ease) infinite; }
@keyframes rbPulse { 70% { box-shadow: 0 0 0 8px rgba(58,54,224,0); } 100% { box-shadow: 0 0 0 0 rgba(58,54,224,0); } }
.rb__title { font-family: var(--font-head); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.8rem,4.4vw,3rem); line-height: 1.08; margin: 1.1rem 0 1.4rem; }

.rb__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; }
.rb__meta li { display: flex; flex-direction: column; gap: .15rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: .7rem 1rem; }
.rb__meta-k { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rb__meta-v { font-size: 1rem; color: var(--ink); }

.rb__stages { margin-top: clamp(2.4rem,5vw,3.5rem); display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; }
.rb__steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.rb__step { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; color: var(--ink-soft); transition: background .2s var(--ease); }
.rb__step.is-active { background: rgba(58,54,224,.06); color: var(--ink); }
.rb__step-no { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; background: #ececf4; color: var(--ink-soft); }
.rb__step.is-active .rb__step-no { background: var(--indigo); color: #fff; }
.rb__step div { display: flex; flex-direction: column; }
.rb__step b { font-weight: 500; color: var(--ink); }
.rb__step span { font-size: .85rem; color: var(--muted); }

.rb__panel { min-height: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; place-items: center; padding: 2rem; }
.rb__panel-note { color: var(--ink-soft); }

@media (max-width: 760px) {
  .rb__stages { grid-template-columns: 1fr; }
  .rb__steps { flex-direction: row; overflow-x: auto; gap: .6rem; }
  .rb__step { flex: 1 0 auto; }
}
