/* DemandVista public pages (home, pricing, market preview) — brand R10 (global-constraints.md, Brand). */
:root {
  --ink: #0D183C; --ink-deep: #05070F;
  --primary: #2652F7; --primary-dark: #2535E3; --primary-light: #1B91FD;
  --primary-grad: linear-gradient(135deg, #1B91FD 0%, #2652F7 50%, #2535E3 100%);
  --warm-grad: linear-gradient(135deg, #FD9C61 0%, #FA4F61 55%, #C63971 100%);
  --orange: #FD9C61; --coral: #FA4F61; --magenta: #C63971; --lavender: #9CBBFD;
  --bg: #F6F8FC; --surface: #fff; --border: #E3E8F2; --muted: #5B6680;
  --on-dark: #C9D4F2; --on-dark-muted: #8E9BC2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 24, 60, .04), 0 8px 24px rgba(13, 24, 60, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { letter-spacing: -.02em; line-height: 1.2; margin: 0; }
p { margin: 0 0 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.narrow.center, p.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.strong { color: var(--ink) !important; font-weight: 600; }
[id] { scroll-margin-top: 76px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(5, 7, 15, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(156, 187, 253, .12); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.wordmark { font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; color: #fff; }
.vista { background: var(--primary-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--primary-light); }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--on-dark); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.header-cta { color: #fff; font-size: .9rem; font-weight: 600; padding: 8px 16px; flex: none;
  border: 1px solid rgba(156, 187, 253, .35); border-radius: 8px; white-space: nowrap; }
.header-cta:hover { background: rgba(156, 187, 253, .12); text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 600;
  font-size: .95rem; line-height: 1.2; text-align: center;
  transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(38, 82, 247, .28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { color: #fff; border: 1px solid rgba(156, 187, 253, .4); }
.btn-ghost:hover { background: rgba(156, 187, 253, .1); }
.btn-outline { color: var(--primary); border: 1px solid rgba(38, 82, 247, .4); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 14px; margin-top: 32px; align-items: flex-start; }
.cta-row.center { justify-content: center; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-row.center .cta { align-items: center; }
.rewards-note { display: block; max-width: 340px; font-size: .74rem; line-height: 1.45; color: var(--muted); }
.cta-row.center .rewards-note { text-align: center; }
.hero .rewards-note { color: var(--on-dark-muted); }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px; }
.eyebrow.on-dark { color: var(--lavender); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 104px 0 96px;
  background:
    radial-gradient(ellipse 55% 60% at 85% 15%, rgba(38, 82, 247, .30), transparent 70%),
    radial-gradient(ellipse 30% 35% at 96% 90%, rgba(250, 79, 97, .12), transparent 70%),
    radial-gradient(ellipse 40% 45% at 5% 100%, rgba(27, 145, 253, .12), transparent 70%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 100%); }
.hero-inner { max-width: 1160px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.04em;
  line-height: 1.02; margin-bottom: 22px; }
.hero h1::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 22px;
  border-radius: 4px; background: var(--warm-grad); }
.hero-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: #fff; max-width: 720px; }
.hero-sub { color: var(--on-dark); font-size: 1.08rem; max-width: 640px; }
.hero-small { padding: 72px 0 64px; }
.hero-small h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
/* Reachline intro (reachline.ai/intro.js): the hero waits at most 2.5 s for its personal text. */
.rl-attente [data-reachline-titre],
.rl-attente [data-reachline-valeur] { visibility: hidden; }
.rl-salut { color: var(--on-dark-muted); font-size: .95rem; font-weight: 600; margin: 0 0 14px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow); }
.card > p { color: var(--muted); }
.card-accent { position: relative; overflow: hidden; }
.card-accent::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--warm-grad); }
.statement { margin-top: 26px; font-size: 1.2rem; font-weight: 600; color: var(--ink); }

.checks { list-style: none; padding: 0; margin: 4px 0 26px; }
.checks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--border); font-size: .98rem; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--primary-grad); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 16px; width: 6px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Ask */
.questions { list-style: none; padding: 0; margin: 36px 0 44px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 14px; }
.questions li { background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; font-weight: 500; line-height: 1.45; position: relative; }
.questions li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--primary); }
.questions-stack { grid-template-columns: 1fr; margin: 24px 0 0; }
.questions-stack li { background: var(--surface); }
.ask-split { align-items: center; }
.ask-example { margin: 0; background: var(--ink); color: #fff; border-radius: 18px; padding: 28px;
  box-shadow: 0 24px 48px rgba(13, 24, 60, .22); }
.ask-example .badge-illustrative { color: var(--orange); background: rgba(253, 156, 97, .1);
  border-color: rgba(253, 156, 97, .5); margin-bottom: 16px; }
.ask-q { font-weight: 600; font-size: 1.05rem; }
.ask-a { color: var(--on-dark); }
.ask-label { display: inline-block; width: 24px; font-weight: 700; color: var(--lavender); }
.ask-meta { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(156, 187, 253, .18);
  display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.ask-meta dt { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.ask-meta dd { margin: 4px 0 0; font-size: .92rem; }
.evidence { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.evidence-moderate { background: rgba(27, 145, 253, .18); color: #7FC3FF; }
.badge-illustrative { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--magenta); background: rgba(198, 57, 113, .08);
  border: 1px dashed rgba(198, 57, 113, .45); border-radius: 999px; padding: 3px 10px; }

/* Network */
.flow-chain { margin: 40px auto 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.flow-chain .node { padding: 11px 18px; border-radius: 999px; background: var(--surface); border: 1px solid rgba(38, 82, 247, .3);
  color: var(--ink); font-weight: 600; font-size: .93rem; white-space: nowrap; box-shadow: var(--shadow); }
.flow-chain .node-warm { border-color: transparent; color: #fff; background: var(--warm-grad); }
.flow-chain .arrow { color: var(--primary); font-weight: 700; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }

/* Protection band */
.band-dark { padding: 96px 0; color: #fff;
  background: radial-gradient(ellipse 50% 70% at 0% 0%, rgba(38, 82, 247, .18), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%); }
.band-dark h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 18px; }
.band-lead { color: var(--on-dark); font-size: 1.15rem; }
.safeguards { margin: 24px auto; padding: 16px 20px; border: 1px solid rgba(156, 187, 253, .2); border-radius: 12px;
  color: var(--lavender); font-weight: 500; font-size: .95rem; line-height: 1.8; }
.protect-goal { color: #fff; font-size: 1.25rem; margin-top: 8px; }
.shield { display: block; width: 40px; height: 46px; margin: 0 auto 22px; background: var(--primary-grad);
  clip-path: polygon(50% 0, 100% 16%, 100% 52%, 50% 100%, 0 52%, 0 16%); }

/* Pricing */
.price-card { text-align: left; }
.price-card .offer { font-size: 1.1rem; color: var(--ink); }
.price { color: var(--primary); }
.price-card .packs { color: var(--ink); }
.price-card .free { margin: 0; color: var(--muted); }
.plans { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.plan h2 { font-size: 1.5rem; margin-bottom: 8px; }
.plan h3 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.plan-main { border-color: rgba(38, 82, 247, .35); position: relative; overflow: hidden; }
.plan-main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--primary-grad); }
.plan-price { margin: 4px 0 20px; }
.plan-price .price { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; }
.plan-unit { color: var(--muted); font-weight: 500; }
.plan-note { color: var(--muted); }
.packs-list { list-style: none; padding: 0; margin: 0; }
.packs-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
.packs-list strong { color: var(--primary); }
.credit-costs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.credit-costs th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 0 8px; }
.credit-costs th:last-child, .credit-costs td:last-child { text-align: right; white-space: nowrap; }
.credit-costs td { padding: 10px 0; border-top: 1px solid var(--border); }
.pricing-notes { margin-top: 32px; text-align: center; }
.pricing-notes .free { font-size: 1.1rem; }
.fine { color: var(--muted); font-size: .88rem; }
.buy-card { max-width: 520px; margin: 0 auto; }
.buy-card form { margin: 0; }

/* Market preview */
.cohort-band { margin-top: 26px; display: inline-block; padding: 12px 18px; border-radius: 12px;
  border: 1px solid rgba(156, 187, 253, .25); background: rgba(255, 255, 255, .04); }
.cohort-band p { margin: 0; color: var(--on-dark); }
.cohort-band strong { color: #fff; }
.building { color: var(--lavender) !important; font-weight: 500; }
.findings { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; gap: 14px; }
.finding { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.finding-share { flex: none; width: 76px; font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; color: var(--primary); }
.finding-body { display: flex; flex-direction: column; }
.finding-concept { font-weight: 600; font-size: 1.05rem; }
.finding-meta { color: var(--muted); font-size: .85rem; }

/* Final band */
.final { position: relative; overflow: hidden; color: #fff; padding: 104px 0;
  background:
    radial-gradient(ellipse 45% 70% at 50% 120%, rgba(38, 82, 247, .35), transparent 70%),
    radial-gradient(ellipse 25% 40% at 80% 110%, rgba(250, 79, 97, .12), transparent 70%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 100%); }
.final-inner { text-align: center; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 16px; }
.final-claim { font-size: 1.2rem; color: var(--on-dark); max-width: 640px; margin: 0 auto; }

/* Footer */
.site-footer { background: var(--ink-deep); border-top: 1px solid rgba(156, 187, 253, .1); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.brand.small img { width: 22px; height: 22px; border-radius: 6px; }
.brand.small .wordmark { font-size: 1rem; }
.footer-note { color: var(--on-dark-muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 1024px) {
  .site-nav { gap: 18px; }
  .questions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0 16px; padding-top: 12px; }
  .header-cta { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 6px 0 0; padding: 8px 0 10px; gap: 6px 18px; flex-wrap: wrap;
    border-top: 1px solid rgba(156, 187, 253, .12); }
  .site-nav a { font-size: .84rem; }
  .hero { padding: 64px 0 64px; }
  .split, .plans { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .flow-chain { flex-direction: column; }
  .flow-chain .arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .questions, .steps { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .ask-example { padding: 22px 18px; }
  .ask-meta { grid-template-columns: 1fr; }
  .cta-row .cta, .cta-row .btn { width: 100%; }
  .cta-row .cta { align-items: stretch; }
  .flow-chain .node { white-space: normal; text-align: center; }
  .finding { gap: 14px; padding: 16px; }
  .finding-share { width: 60px; font-size: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 6px; }
}

/* Footer links, markets cards, contact form, legal pages */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--on-dark); font-size: .85rem; }
.footer-links a:hover { color: #fff; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 28px; }
.market-card { display: flex; flex-direction: column; gap: 6px; }
.market-card h3 { font-size: 1.3rem; }
.market-card p { margin: 0; }
.market-card .cohort-line { font-weight: 600; color: var(--ink); margin-top: 8px; }
.market-card .building-line { font-weight: 500; color: var(--muted); margin-top: 8px; }
.market-card .cta { margin-top: 14px; }
.more-markets { margin-top: 22px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 11px 12px;
  border: 1px solid var(--border); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--lavender); border-color: var(--primary); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form button { justify-self: start; cursor: pointer; border: 0; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error, .form-error { color: #B3222F; font-size: .85rem; margin: 0; }
.form-error { background: #FFF0F1; border: 1px solid #F6B3BA; border-radius: 10px; padding: 10px 14px; }
.contact-note { color: var(--muted); font-size: .85rem; }
.contact-topics { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-topics li { display: flex; flex-direction: column; }
.contact-topics span { color: var(--muted); font-size: .92rem; }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal p, .legal li { color: #2B3558; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal-meta { color: var(--muted); font-size: .85rem; }
.fine a { text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.narrow-card { max-width: 640px; }

/* Early signals (20/10): names only, no figure */
.signals { list-style: none; padding: 0; margin: 24px 0 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.signal { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; }
.signals-note { color: var(--muted); font-size: .88rem; margin: 0; }
