/*
  Vantage — w2 visual world (Webull doorway, 05.08 build)
  THESIS: a clear-headed guide shaped like a clean analytics dashboard — cool
          light ground, a single electric-violet accent, and an authored
          sparkline + KPI panel as the signature object. Deliberately NOT w1's
          warm cream serif handbook, NOT w7's blue broker, NOT a dark terminal.
  OWN-WORLD: cool near-white (#f5f6fb), deep slate-indigo ink (#171b2e), one
             electric violet (#6d28d9 / #7c3aed) on CTAs and the sparkline, with
             market green / red for moves. Geometric sans, pill nav, uppercase
             micro-labels, soft grid background.
  MOTION: one authored moment — the hero sparkline draws itself on load.
*/

:root {
  --bg: #f5f6fb;
  --bg-2: #ffffff;
  --sunk: #eceef7;
  --ink: #171b2e;
  --ink-soft: #5a6178;
  --violet: #6d28d9;
  --violet-bright: #7c3aed;
  --violet-deep: #57209e;
  --violet-soft: #ece7fb;
  --up: #16a34a;
  --down: #e5484d;
  --line: #e3e6f1;
  --line-ink: #2a3350;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow: 0 24px 50px -30px rgba(23, 27, 46, 0.45);
  --shadow-sm: 0 12px 26px -18px rgba(23, 27, 46, 0.35);
  --shadow-violet: 0 16px 34px -16px rgba(109, 40, 217, 0.5);
  --sans: "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: "Consolas", "SF Mono", "Roboto Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.62; font-size: 16.5px; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 1px 1px, rgba(23,27,46,0.045) 1px, transparent 0); background-size: 26px 26px; }
img { max-width: 100%; display: block; }
a { color: var(--violet-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1170px, 92vw); margin: 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }

/* topbar */
.topbar { background: var(--ink); color: #b9c0d8; font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 9px 0; align-items: center; }
.topbar a { color: #cdd3e6; font-weight: 600; } .topbar .sep { margin-left: auto; }

/* nav */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(245,246,251,.9); backdrop-filter: blur(9px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; padding: 13px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; }
.brand b { font-size: 21px; letter-spacing: -0.02em; font-weight: 800; }
.brand b i { color: var(--violet); font-style: normal; }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { background: var(--violet-soft); text-decoration: none; }
.nav-cta { background: var(--violet); color: #fff !important; box-shadow: var(--shadow-violet); }
.nav-cta:hover { background: var(--violet-deep); }
.nav-toggle { display: none; }

/* hero */
.hero { padding: 70px 0 78px; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; }
.kicker .pill { background: var(--violet-soft); color: var(--violet-deep); padding: 3px 11px; border-radius: 999px; font-size: 11.5px; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 4.6rem); line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 18px; font-weight: 800; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 47ch; margin: 0 0 26px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px; border: 0; cursor: pointer; transition: transform .16s cubic-bezier(.2,.8,.2,1), box-shadow .16s, background .16s; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: var(--shadow-violet); }
.btn-primary:hover { transform: translateY(-2px); background: var(--violet-deep); text-decoration: none; }
.btn-ghost { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--violet); text-decoration: none; }

/* dashboard panel — signature object */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.panel .phead { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel .phead .t { font-weight: 700; font-size: 14.5px; } .panel .phead .d { font-size: 12px; color: var(--ink-soft); }
.panel .pbody { padding: 20px 22px; }
.panel .big { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; } .panel .big small { font-size: 14px; color: var(--up); font-weight: 700; margin-left: 8px; font-family: var(--mono); }
.panel svg { display: block; width: 100%; height: 92px; margin: 10px 0 4px; }
.panel .spark { fill: none; stroke: var(--violet); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 1.5s cubic-bezier(.4,0,.2,1) forwards; }
.panel .sparkfill { fill: url(#pv); stroke: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .panel .spark { animation: none; stroke-dashoffset: 0; } }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.pill-stat { background: var(--sunk); border-radius: var(--radius-sm); padding: 12px; }
.pill-stat .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.pill-stat .v { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; margin-top: 2px; }
.pill-stat .v.up { color: var(--up); } .pill-stat .v.down { color: var(--down); }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: var(--sunk); }
.section.ink { background: var(--ink); color: #e6e9f5; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0); background-size: 26px 26px; }
.section.ink h2, .section.ink .fakeh2 { color: #fff; } .section.ink p { color: #a6adc6; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.05; margin: 8px 0 14px; font-weight: 800; }
.section p { color: var(--ink-soft); max-width: 68ch; }
.prose p { margin: 0 0 18px; }
.prose h3 { font-size: 1.32rem; letter-spacing: -0.02em; margin: 30px 0 10px; font-weight: 700; }

/* label that reads like a heading but stays out of the h1/h2 outline */
.fakeh2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.05; margin: 8px 0 14px; font-weight: 800; }

/* paired h3 under each keyword h2 */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.duo > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: relative; }
.duo > div::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--violet); }
.duo h3 { margin: 0 0 6px 12px; font-size: 1.15rem; letter-spacing: -0.02em; font-weight: 700; }
.duo p { margin: 0 0 0 12px; color: var(--ink-soft); font-size: 15.5px; }
.section.ink .duo > div { background: #1d2338; border-color: var(--line-ink); }
.section.ink .duo p { color: #a6adc6; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* watch rows */
.watch { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.wrow { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 15px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); }
.wrow:last-child { border-bottom: 0; }
.wrow .tk { width: 32px; height: 32px; border-radius: 9px; background: var(--violet-soft); color: var(--violet-deep); display: grid; place-items: center; font-weight: 800; font-family: var(--sans); }
.wrow .nm { font-family: var(--sans); } .wrow .nm b { display: block; } .wrow .nm span { color: var(--ink-soft); font-size: 12.5px; }
.wrow .ch.up { color: var(--up); } .wrow .ch.down { color: var(--down); }

/* media band */
.mediaband { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.mediaband img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.mediaband.flip { direction: rtl; } .mediaband.flip > * { direction: ltr; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.stat .n { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--violet); }
.stat .l { color: var(--ink-soft); font-size: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-deep); font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; }
.step b { display: block; margin-bottom: 4px; font-size: 1.06rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.gallery-grid a { overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.gallery-grid img { aspect-ratio: 1/1; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member img { aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.member b { display: block; font-size: 1.04rem; } .member span { color: var(--ink-soft); font-size: 14px; }

/* faq */
.faq { max-width: 78ch; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { font-size: 1.1rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); }

/* cta */
.cta-band { padding: 72px 0; text-align: center; background: var(--violet); color: #fff; }
.cta-band .fakeh2 { color: #fff; }
.cta-band p { color: #e4ddfb; margin: 0 auto 24px; max-width: 54ch; }
.cta-band .btn-primary { background: #fff; color: var(--violet-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f2eefe; }

/* login */
.login-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh; }
.login-aside { background: var(--ink); color: #e6e9f5; padding: 62px 6vw; display: flex; flex-direction: column; justify-content: center;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0); background-size: 26px 26px; }
.login-aside .lead-big { font-size: clamp(1.9rem,3vw,2.5rem); letter-spacing: -0.03em; font-weight: 800; margin-bottom: 12px; line-height: 1.05; color: #fff; }
.login-aside p { color: #a6adc6; max-width: 40ch; }
.login-main { padding: 62px 6vw; display: flex; flex-direction: column; justify-content: center; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; max-width: 440px; width: 100%; }
.card h1 { font-size: 1.7rem; letter-spacing: -0.03em; margin: 0 0 6px; }

/* forms */
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); font: inherit; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(109,40,217,.22); border-color: var(--violet); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.btn-block { width: 100%; justify-content: center; background: var(--violet); color: #fff; box-shadow: var(--shadow-violet); }
.btn-block:hover { background: var(--violet-deep); }
.muted { color: var(--ink-soft); font-size: 14.5px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.contact-list ul { padding: 0; margin: 0; }
.contact-list li { list-style: none; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--violet); font-weight: 700; }

/* page hero */
.page-hero { padding: 58px 0; background: var(--sunk); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -0.035em; margin: 0 0 10px; font-weight: 800; }
.page-hero p { color: var(--ink-soft); max-width: 62ch; margin: 0; }
.crumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; font-weight: 600; }

/* footer */
.site-foot { background: var(--ink); color: #a6adc6; padding: 52px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.site-foot .fh { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.09em; margin: 0 0 14px; font-weight: 700; }
.site-foot a { color: #a6adc6; display: block; padding: 5px 0; } .site-foot a:hover { color: #fff; }
.site-foot .brand b { color: #fff; }
.foot-bottom { border-top: 1px solid var(--line-ink); margin-top: 30px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* cookie */
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 560px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); padding: 15px 18px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; z-index: 60; font-size: 14px; }
.cookie button { border: 0; border-radius: 999px; padding: 9px 15px; font-weight: 700; cursor: pointer; }
.cookie .ok { background: var(--violet); color: #fff; } .cookie .no { background: transparent; color: var(--ink-soft); }

/* thank-you */
.ty { text-align: center; padding: 90px 0; }
.ty .check { width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 999px; background: var(--violet); display: grid; place-items: center; box-shadow: var(--shadow-violet); }
.ty h1 { font-size: clamp(2rem,4vw,3rem); letter-spacing: -0.03em; margin: 0 0 12px; }

@media (max-width: 900px) {
  .hero .grid, .mediaband, .stats, .gallery-grid, .team, .contact-grid, .foot-grid, .login-shell { grid-template-columns: 1fr; }
  .stats, .team, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: var(--violet); color: #fff; border: 0; border-radius: 999px; padding: 10px 15px; font-weight: 700; cursor: pointer; }
  .mediaband.flip { direction: ltr; } .login-aside { display: none; }
  .wrow { grid-template-columns: 38px 1fr auto; } .wrow .val2 { display: none; }
}
