/* ===== Fraser AI Solutions — cinematic black ===== */
:root {
  /* Light tokens (admin page). Dark pages override below. */
  --ink: #0b0b0c;
  --muted: #5e6470;
  --line: #e6e7ea;
  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --accent: #0b0b0c;
  --glow: #8be9f5;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --amber: var(--accent); /* legacy alias used by portal inline styles */
}
.cinema, .page-dark {
  color-scheme: dark;
  --ink: #f4f4f5;
  --muted: rgba(244, 244, 245, .76);
  --faint: rgba(244, 244, 245, .55);
  --line: rgba(255, 255, 255, .13);
  --line-2: rgba(255, 255, 255, .24);
  --bg: #000;
  --bg-alt: #070708;
  --panel: #0a0a0b;
  --panel-2: #111113;
  --accent: #f4f4f5;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
::selection { background: #fff; color: #000; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.micro { font-size: .84rem; }

/* Serif italic accent — the "film title" voice */
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.cinema h1 em, .cinema h2 em, .cinema .tagline em, .page-dark h1 em, .wordmark em {
  background: linear-gradient(100deg, #ffffff 0%, #d9f7fb 45%, var(--glow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
}

/* Film grain over everything */
.grain { position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* Icons */
.ico-sm { width: 18px; height: 18px; }
.btn svg, .card-ico svg, .ev-ico svg, .brand-mark svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  background: #fff; color: #000; font: 600 .98rem/1 var(--font); letter-spacing: -.005em;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 10px 40px -6px rgba(255, 255, 255, .35); }
.btn:hover .ico-sm { transform: translateX(3px); }
.btn .ico-sm { transition: transform .3s var(--ease); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.btn-lg { padding: 18px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2, var(--line)); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.page-light .btn { background: #0b0b0c; color: #fff; }
.page-light .btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.nav.scrolled, .nav.open { background: rgba(0, 0, 0, .62); border-bottom-color: var(--line); backdrop-filter: saturate(1.2) blur(18px); -webkit-backdrop-filter: saturate(1.2) blur(18px); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.04rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #000; display: grid; place-items: center; }
.page-light .brand-mark { background: #0b0b0c; color: #fff; }
.brand-mark svg { width: 16px; height: 16px; fill: currentColor; stroke-width: 1; }
.links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .93rem; padding: 8px 14px; border-radius: 999px; transition: color .2s; }
.links a:hover { color: var(--ink); }
.links .nav-cta-mobile { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.nav.open .menu-btn span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.open .menu-btn span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ===== Hero — the opening scene ===== */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 170px 0 0; text-align: center; }
.beam { position: absolute; z-index: -1; left: 50%; top: -260px; width: 1400px; height: 1100px; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .24), transparent 70%) 50% 0 / 560px 560px no-repeat,
    conic-gradient(from 180deg at 50% 0%, transparent 156deg, rgba(220, 245, 250, .12) 170deg, rgba(255, 255, 255, .22) 180deg, rgba(220, 245, 250, .12) 190deg, transparent 204deg);
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 0%, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 75% at 50% 0%, #000 35%, transparent 75%);
  animation: flicker 7s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .82; } 50% { opacity: .95; } 55% { opacity: .78; } }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px circle at var(--x, 50%) var(--y, 30%), rgba(139, 233, 245, .07), transparent 60%); transition: background .2s; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .84rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 40px; }
.title { font-size: clamp(2.9rem, 7.4vw, 7rem); font-weight: 500; letter-spacing: -.05em; line-height: .96; max-width: 13.5em; text-wrap: balance; }
.title em { letter-spacing: -.025em; font-size: 1.08em; line-height: .9; }
.lede { margin-top: 36px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 620px; line-height: 1.65; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.assurances { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--faint); font-size: .88rem; }
.assurances li { display: inline-flex; align-items: center; gap: 10px; }
.assurances li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }

/* Word-by-word title reveal (spans added by app.js) */
.title .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(14px); animation: wordIn 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 75ms + 150ms); }
.title em .w { background: linear-gradient(100deg, #ffffff 0%, #d9f7fb 45%, var(--glow) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
.intro { opacity: 0; animation: fadeUp 1.1s var(--ease) forwards; animation-delay: calc(var(--d) * 90ms + 250ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* The "screen": tilts back, then straightens as you scroll */
.stage-wrap { margin-top: 90px; perspective: 1600px; }
.stage { --tilt: 1; position: relative; margin: 0 auto; max-width: 1040px; text-align: left; border-radius: 22px; padding: 14px; background: linear-gradient(180deg, #0e0e10, #070708);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 -20px 120px -30px rgba(139, 233, 245, .28), 0 60px 120px -40px rgba(0, 0, 0, .9);
  transform: rotateX(calc(var(--tilt) * 26deg)) scale(calc(1 - var(--tilt) * .08)); transform-origin: 50% 0; will-change: transform;
  opacity: 0; animation: fadeIn 1.6s var(--ease) 1.2s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 45%; border-radius: 0 0 22px 22px; background: linear-gradient(transparent, #000); pointer-events: none; }
.stage-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 16px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 12px #ff4d4d; animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.stage-title { margin-left: 10px; color: var(--faint); letter-spacing: .04em; font-weight: 500; }
.stage-time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--faint); letter-spacing: .06em; }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.event { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.event div { min-width: 0; }
.event strong { display: block; font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.event p { font-size: .86rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event time { font-size: .76rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.ev-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); color: #fff; }
.ev-ico svg { width: 19px; height: 19px; }

/* ===== Marquee ===== */
.marquee { position: relative; padding: 60px 0 20px; overflow: hidden; }
.marquee-label { text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); margin-bottom: 30px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 44px; padding-right: 44px; flex-shrink: 0; }
.marquee-row span { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .32); transition: color .3s, -webkit-text-stroke-color .3s; }
.marquee-row span:hover { color: #fff; -webkit-text-stroke-color: #fff; }
.marquee-row i { font-style: normal; color: var(--faint); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { position: relative; padding: 120px 0; }
.section-head { max-width: 900px; margin: 0 auto 80px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.kicker span { color: var(--ink); font-variant-numeric: tabular-nums; }
.kicker span::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 14px; }
.cinema h2, .page-dark h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.cinema h2 em { font-size: 1.06em; }
.sub { margin: 26px auto 0; max-width: 620px; font-size: 1.1rem; color: var(--muted); }
.section-head.left .sub { margin-left: 0; }
.sub a { color: var(--ink); text-underline-offset: 4px; }

/* Problem: title-card stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 56px 40px 52px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(3.6rem, 7.4vw, 6.6rem); font-weight: 300; letter-spacing: -.06em; line-height: .9; margin-bottom: 26px; color: #fff; }
.stat strong span { color: var(--faint); }
.stat p { color: var(--muted); max-width: 300px; }
.tagline { text-align: center; margin-top: 70px; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 400; letter-spacing: -.025em; color: var(--muted); }
.tagline em { font-size: 1.1em; }

/* Services: spotlight cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { --mx: 50%; --my: 0%; position: relative; overflow: hidden; border-radius: var(--radius); padding: 36px 32px 38px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 45%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-4px); }
.card-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 48px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); color: #fff; }
.card-ico svg { width: 21px; height: 21px; }
.card h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -.025em; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }

/* How it works: three acts */
.acts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.act { display: grid; grid-template-columns: 300px 1fr 1.2fr; gap: 40px; align-items: baseline; padding: 48px 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.act:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .025), transparent 70%); }
.act-no { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); transition: color .4s, -webkit-text-stroke-color .4s; }
.act:hover .act-no { color: #fff; -webkit-text-stroke-color: #fff; }
.act h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.act p { color: var(--muted); font-size: 1.04rem; }

/* Pricing */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 40px 34px 34px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.plan.popular { background: radial-gradient(120% 80% at 50% 0%, rgba(139, 233, 245, .10), transparent 60%), #0c0c0e; box-shadow: 0 30px 80px -30px rgba(139, 233, 245, .25); }
.plan.popular::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), rgba(255, 255, 255, .15), #fff 8%, var(--glow) 14%, rgba(255, 255, 255, .15) 24%, rgba(255, 255, 255, .15) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: sweep 6s linear infinite; }
@keyframes sweep { to { --angle: 360deg; } }
.plan .tag { position: absolute; top: 26px; right: 26px; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #000; background: #fff; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.plan .blurb { color: var(--muted); margin: 8px 0 30px; font-size: .96rem; min-height: 3.2em; }
.plan .price { font-size: clamp(3.4rem, 5vw, 4.4rem); font-weight: 300; letter-spacing: -.06em; line-height: 1; color: #fff; }
.plan .price small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--faint); margin-left: 8px; }
.plan ul { list-style: none; padding: 28px 0 0; margin: 30px 0 34px; flex: 1; border-top: 1px solid var(--line); }
.plan li { position: relative; padding: 7px 0 7px 30px; font-size: .97rem; color: rgba(244, 244, 245, .85); }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; background: var(--glow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan:not(.popular) li::before { background: rgba(255, 255, 255, .6); }
.plan .btn { width: 100%; }
.fineprint { text-align: center; margin-top: 34px; font-size: .84rem; color: var(--faint); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; font-weight: 500; font-size: 1.18rem; letter-spacing: -.02em; transition: color .2s; }
.faq-list summary:hover { color: #fff; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .4s var(--ease), background-color .3s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; }
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: rgba(255, 255, 255, .08); }
.faq-list details p { color: var(--muted); padding: 0 60px 30px 0; margin-top: -8px; font-size: 1.02rem; }

/* Contact */
.contact { overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.beam-low { top: -420px; opacity: .8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact .sub { margin-left: 0; }
.expect { list-style: none; padding: 0; margin: 50px 0 0; border-top: 1px solid var(--line); }
.expect li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.expect strong { font-weight: 600; letter-spacing: -.01em; }
.expect p { color: var(--muted); font-size: .96rem; }
#lead-form { background: var(--panel); border-radius: 26px; padding: 40px; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -40px rgba(139, 233, 245, .18); }
#lead-form label { display: block; font-weight: 500; margin-bottom: 20px; font-size: .86rem; color: var(--muted); letter-spacing: .01em; }
#lead-form input, #lead-form select, #lead-form textarea {
  display: block; width: 100%; margin-top: 9px; padding: 14px 16px; border: 0; border-radius: var(--radius-sm);
  background: #000; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
  font: 400 1rem var(--font); transition: box-shadow .2s, background .2s; }
#lead-form textarea { resize: vertical; min-height: 120px; }
#lead-form input::placeholder, #lead-form textarea::placeholder { color: var(--faint); }
#lead-form input:hover, #lead-form select:hover, #lead-form textarea:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
#lead-form input:focus, #lead-form select:focus, #lead-form textarea:focus { outline: none; box-shadow: inset 0 0 0 1px #fff, 0 0 0 4px rgba(139, 233, 245, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honeypot { display: none !important; }
#lead-form .btn { margin-top: 8px; }
#lead-form .micro { margin-top: 12px; }
#lead-status { min-height: 1.4em; font-weight: 600; }
#lead-status:empty { min-height: 0; margin: 0; }
#lead-status.ok { color: #6ee7b7; }
#lead-status.err { color: #fca5a5; }

/* Footer — end credits */
footer { position: relative; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; overflow: hidden; }
.foot-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 20px; }
.foot-brand p { margin-top: 18px; max-width: 340px; }
.foot-links { display: grid; gap: 12px; align-content: start; }
.foot-links a, .foot-contact a { color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-links a:hover, .foot-contact a:hover { color: #fff; }
.foot-contact p { color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.wordmark { text-align: center; font-size: clamp(5rem, 19vw, 19rem); font-weight: 600; letter-spacing: -.07em; line-height: .78; margin: 60px 0 -0.08em; padding: 0 12px; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark em { background: linear-gradient(180deg, rgba(139, 233, 245, .35), rgba(139, 233, 245, 0) 85%); -webkit-background-clip: text; background-clip: text; letter-spacing: -.03em; padding-left: .04em; }
.foot-bottom { position: relative; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 30px; font-size: .84rem; color: var(--faint); background: var(--bg); }

/* Scroll reveal (enabled by app.js; content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ===== Shared: portal / success (dark) and admin (light) ===== */
.page-dark { min-height: 100vh; background: radial-gradient(900px 500px at 50% -10%, rgba(255, 255, 255, .07), transparent 70%), #000; }
.page-dark .portal-card { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.page-dark .portal-card input, .page-dark .portal-card textarea { background: #000; color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); }
.page-dark .portal-card input:focus, .page-dark .portal-card textarea:focus { box-shadow: inset 0 0 0 1px #fff, 0 0 0 4px rgba(139, 233, 245, .14); }
.page-dark .portal-card label { color: var(--muted); font-weight: 500; }
.page-dark .portal-card a, .page-dark .linklike { color: var(--ink); }
.page-dark .pill { background: rgba(110, 231, 183, .12); color: #6ee7b7; }
.page-dark .pill.closed, .page-dark .pill.canceled { background: rgba(252, 165, 165, .12); color: #fca5a5; }
.page-dark #dash h1 { font-weight: 500; letter-spacing: -.04em; }
.portal-card h2 + p { margin: 6px 0 22px; }
.portal-card .btn + p, .portal-card p + p { margin-top: 14px; }
.portal-card .kv + p { margin-top: 4px; }
.page-dark .lede, .page-light .lede { margin-left: auto; margin-right: auto; }
.page-dark .topbar, .page-light .topbar { padding-top: 8px; }
.page-dark h1 { font-weight: 500; letter-spacing: -.045em; }
.steps-list { display: grid; gap: 12px; margin-top: 40px; text-align: left; }
.steps-list .step { display: flex; gap: 20px; align-items: flex-start; background: var(--panel, #fff); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.steps-list .num { flex: 0 0 auto; font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; width: 40px; color: var(--glow); }
.steps-list .step h3 { margin-bottom: 4px; font-weight: 600; letter-spacing: -.02em; }
.steps-list .step p { color: var(--muted); }
.page-light { background: var(--bg-alt); min-height: 100vh; }
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }
.admin-wrap h1 { font-size: 1.6rem; margin: 0 0 6px; letter-spacing: -.03em; }
.admin-wrap > div[id$="-table"] { margin-top: 18px; background: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); overflow-x: auto; }
.admin-wrap > div[id$="-table"] > p { padding: 20px; }
table.leads { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.leads th, table.leads td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.leads th { background: var(--bg-alt); color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
table.leads tr:last-child td { border-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan.popular { order: -1; grid-column: 1 / -1; }
  .act { grid-template-columns: 160px 1fr; }
  .act p { grid-column: 2; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .faq-grid .section-head { position: static; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: #000; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.open .links { opacity: 1; visibility: visible; transform: none; }
  .links a { padding: 16px 4px; font-size: 1.2rem; color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line); }
  .links .nav-cta-mobile { display: inline-flex; margin-top: 18px; color: #000; border-radius: 999px; border: 0; font-size: 1rem; }
  .nav-cta { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 44px 4px; }
  .stage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding-top: 130px; }
  .title { font-size: clamp(2.5rem, 11vw, 3.4rem); letter-spacing: -.045em; }
  .eyebrow { font-size: .78rem; margin-bottom: 28px; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 54px; }
  .cards, .plans { grid-template-columns: 1fr; }
  .act { grid-template-columns: 1fr; gap: 14px; padding: 38px 0; }
  .act p { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  #lead-form { padding: 26px 20px; }
  .expect li { grid-template-columns: 1fr; gap: 4px; }
  .event { grid-template-columns: 40px 1fr; padding: 14px; }
  .event time { display: none; }
  .ev-ico { width: 40px; height: 40px; }
  .stage-wrap { margin-top: 64px; }
  .cta-row { width: 100%; }
  .cta-row .btn { width: 100%; }
  .foot-inner { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }
}

/* ===================================================================
   BRIGHT + SHINING layer: color light on black
   =================================================================== */
:root { --c1: #22d3ee; --c2: #818cf8; --c3: #e879f9; --c4: #34d399; --c5: #fbbf24; --c6: #60a5fa;
  --iris: linear-gradient(90deg, #67e8f9 0%, #a78bfa 30%, #f0abfc 55%, #67e8f9 80%, #a78bfa 100%); }

/* Iridescent, moving accent words */
.cinema h1 em, .cinema h2 em, .cinema .tagline em, .page-dark h1 em, .title em .w {
  background: var(--iris); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation-name: wordIn, iris; animation-duration: 1.1s, 8s; animation-timing-function: var(--ease), linear;
  animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none;
  filter: drop-shadow(0 0 22px rgba(167, 139, 250, .35)); }
.cinema h2 em, .cinema .tagline em, .page-dark h1 em { animation: iris 8s linear infinite; }
@keyframes iris { to { background-position: 300% 0; } }
.title .w { animation-delay: calc(var(--i) * 75ms + 150ms), 0s; }
.title em .w { filter: none; }
.title em { filter: drop-shadow(0 0 28px rgba(167, 139, 250, .45)); }

/* White headlines glow softly */
.title, .cinema h2 { color: #fff; text-shadow: 0 0 40px rgba(255, 255, 255, .22); }

/* Aurora light behind the hero headline */
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 620px; height: 420px; left: 6%; top: 22%; background: var(--c1); }
.aurora span:nth-child(2) { width: 560px; height: 460px; right: 4%; top: 12%; background: var(--c2); animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 520px; height: 360px; left: 34%; top: 48%; background: var(--c3); opacity: .38; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.15); } 100% { transform: translate(-50px, 30px) scale(.95); } }
.aurora-low span { opacity: .32; }
.aurora-low span:nth-child(1) { top: 10%; left: -6%; }
.aurora-low span:nth-child(2) { top: 40%; right: -8%; }
.aurora-low span:nth-child(3) { top: 70%; }
.beam { opacity: 1.0; }
.eyebrow { color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 30px -6px rgba(103, 232, 249, .45); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; margin: auto 10px auto 0; background: var(--c4); box-shadow: 0 0 12px var(--c4); }
.assurances { color: rgba(255, 255, 255, .78); }

/* Buttons: bright with a colored halo and a light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 10px 40px -6px rgba(103, 232, 249, .55), 0 0 70px -12px rgba(167, 139, 250, .65); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(103, 232, 249, .55) 45%, rgba(240, 171, 252, .55) 55%, transparent 70%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 0 0 1px #fff, 0 14px 50px -6px rgba(103, 232, 249, .8), 0 0 90px -10px rgba(240, 171, 252, .7); }
.btn-ghost { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 30px -10px rgba(129, 140, 248, .5); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 40px -8px rgba(103, 232, 249, .6); }
.btn-ghost::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%); }
.page-light .btn { box-shadow: none; }

/* Brand mark glows */
.brand-mark { box-shadow: 0 0 22px rgba(103, 232, 249, .6), 0 0 44px -6px rgba(167, 139, 250, .55); }

/* Kickers: lit chapter numbers */
.kicker { color: rgba(255, 255, 255, .8); }
.kicker span { background: linear-gradient(90deg, var(--c1), var(--c3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker span::after { background: linear-gradient(90deg, var(--c1), transparent); }

/* Colored glow behind every section title */
.section { isolation: isolate; }
.section-head { position: relative; }
.section-head::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -60px; width: 760px; max-width: 120vw; height: 420px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(129, 140, 248, .26), rgba(34, 211, 238, .10) 55%, transparent); filter: blur(20px); }
.section-head.left::before { left: 30%; }
#services .section-head::before { background: radial-gradient(closest-side, rgba(34, 211, 238, .26), rgba(129, 140, 248, .10) 55%, transparent); }
#how .section-head::before { background: radial-gradient(closest-side, rgba(232, 121, 249, .24), rgba(129, 140, 248, .10) 55%, transparent); }
#pricing .section-head::before { background: radial-gradient(closest-side, rgba(52, 211, 153, .2), rgba(34, 211, 238, .12) 55%, transparent); }

/* Hero screen: neon icons */
.stage { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 -30px 140px -20px rgba(103, 232, 249, .45), 0 0 120px -30px rgba(167, 139, 250, .5), 0 60px 120px -40px rgba(0, 0, 0, .9); }
.event { background: #121216; }
.event strong { color: #fff; }
.stage-grid .event:nth-child(1) .ev-ico { --n: var(--c1); }
.stage-grid .event:nth-child(2) .ev-ico { --n: var(--c4); }
.stage-grid .event:nth-child(3) .ev-ico { --n: var(--c5); }
.stage-grid .event:nth-child(4) .ev-ico { --n: var(--c3); }
.ev-ico, .card-ico { color: var(--n, #fff); background: color-mix(in srgb, var(--n, #fff) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--n, #fff) 45%, transparent), 0 0 24px -4px color-mix(in srgb, var(--n, #fff) 60%, transparent); }

/* Marquee: brighter outlines, every other word lit */
.marquee-label { color: rgba(255, 255, 255, .7); }
.marquee-row span { -webkit-text-stroke: 1px rgba(255, 255, 255, .6); }
.marquee-row span:nth-of-type(even) { -webkit-text-stroke: 0; background: var(--iris); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iris 10s linear infinite; }
.marquee-row i { color: var(--c1); text-shadow: 0 0 12px var(--c1); }

/* Stats: gradient-lit numbers */
.stat strong { background: linear-gradient(180deg, #fff 30%, #a5f3fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 26px rgba(103, 232, 249, .35)); }
.stat:nth-child(2) strong { background-image: linear-gradient(180deg, #fff 30%, #c4b5fd 100%); filter: drop-shadow(0 0 26px rgba(167, 139, 250, .38)); }
.stat:nth-child(3) strong { background-image: linear-gradient(180deg, #fff 30%, #f5d0fe 100%); filter: drop-shadow(0 0 26px rgba(240, 171, 252, .35)); }
.stat strong span { -webkit-text-fill-color: rgba(255, 255, 255, .45); }
.stat p { color: rgba(255, 255, 255, .78); }
.tagline { color: rgba(255, 255, 255, .85); }

/* Service cards: each with its own neon color */
.cards .card:nth-child(1) { --n: var(--c1); }
.cards .card:nth-child(2) { --n: var(--c4); }
.cards .card:nth-child(3) { --n: var(--c5); }
.cards .card:nth-child(4) { --n: var(--c2); }
.cards .card:nth-child(5) { --n: var(--c3); }
.cards .card:nth-child(6) { --n: var(--c6); }
.card { background: linear-gradient(180deg, color-mix(in srgb, var(--n) 9%, #0b0b0d), #0b0b0d 55%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--n) 22%, rgba(255, 255, 255, .1)); }
.card::before { background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--n) 22%, transparent), transparent 45%); }
.card::after { background: radial-gradient(300px circle at var(--mx) var(--my), var(--n), transparent 50%); }
.card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--n) 40%, transparent), 0 30px 80px -30px color-mix(in srgb, var(--n) 55%, transparent); }
.card h3 { color: #fff; }

/* Acts: lit outlines */
.act-no { -webkit-text-stroke: 1px rgba(255, 255, 255, .75); text-shadow: 0 0 30px rgba(167, 139, 250, .35); }
.act:hover .act-no { color: transparent; -webkit-text-stroke-color: transparent; background: var(--iris); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: iris 6s linear infinite; }
.acts .act:nth-child(1) .act-no { text-shadow: 0 0 30px rgba(34, 211, 238, .45); }
.acts .act:nth-child(3) .act-no { text-shadow: 0 0 30px rgba(232, 121, 249, .45); }

/* Pricing: stronger glow on the featured plan */
.plan { background: linear-gradient(180deg, #0f0f12, #0a0a0b); }
.plan.popular { background: radial-gradient(120% 70% at 50% 0%, rgba(129, 140, 248, .28), rgba(34, 211, 238, .08) 45%, transparent 70%), #0d0d12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 100px -20px rgba(129, 140, 248, .55), 0 0 120px -40px rgba(34, 211, 238, .6); }
.plan.popular::before { background: conic-gradient(from var(--angle), rgba(255, 255, 255, .2), #fff 6%, var(--c1) 12%, var(--c3) 18%, rgba(255, 255, 255, .2) 26%, rgba(255, 255, 255, .2) 100%); }
.plan .price { background: linear-gradient(180deg, #fff 40%, #cbd5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .price small { -webkit-text-fill-color: rgba(255, 255, 255, .6); }
.plan.popular .price { filter: drop-shadow(0 0 24px rgba(167, 139, 250, .55)); }
.plan .tag { box-shadow: 0 0 22px rgba(255, 255, 255, .55), 0 0 40px -6px rgba(103, 232, 249, .7); }
.plan li { color: rgba(255, 255, 255, .9); }
.plan li::before { background: linear-gradient(135deg, var(--c1), var(--c3)); }
.plan:not(.popular) li::before { background: linear-gradient(135deg, var(--c4), var(--c1)); }

/* FAQ + contact */
.faq-list summary { color: rgba(255, 255, 255, .92); }
.faq-list details[open] summary { color: #fff; }
.faq-list details[open] summary::after { background-color: rgba(103, 232, 249, .16); box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .55), 0 0 20px -4px rgba(103, 232, 249, .6); }
#lead-form { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(129, 140, 248, .15), 0 40px 140px -30px rgba(129, 140, 248, .5), 0 0 100px -40px rgba(34, 211, 238, .6); }
#lead-form input:focus, #lead-form select:focus, #lead-form textarea:focus { box-shadow: inset 0 0 0 1px var(--c1), 0 0 0 4px rgba(103, 232, 249, .2), 0 0 24px -4px rgba(103, 232, 249, .5); }
.expect strong { color: #fff; }

/* Footer credits: brighter wordmark */
.wordmark { background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 88%); -webkit-background-clip: text; background-clip: text; }
.wordmark em { background: linear-gradient(180deg, rgba(167, 139, 250, .9), rgba(34, 211, 238, 0) 88%); -webkit-background-clip: text; background-clip: text; animation: none; filter: none; }
footer { background: radial-gradient(900px 400px at 50% 100%, rgba(129, 140, 248, .2), transparent 70%), #000; }
.foot-bottom { background: transparent; }

/* Portal + success glow */
.page-dark { background: radial-gradient(700px 420px at 20% -5%, rgba(34, 211, 238, .22), transparent 70%), radial-gradient(700px 420px at 85% 0%, rgba(167, 139, 250, .22), transparent 70%), #000; }
.page-dark .portal-card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 100px -40px rgba(129, 140, 248, .5); }
.steps-list .num { background: var(--iris); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iris 8s linear infinite; }

@media (max-width: 640px) {
  .aurora span { filter: blur(70px); }
  .aurora span:nth-child(1) { width: 320px; height: 300px; left: -20%; }
  .aurora span:nth-child(2) { width: 300px; height: 320px; right: -25%; }
  .aurora span:nth-child(3) { width: 280px; height: 240px; left: 10%; }
  .section-head::before { width: 420px; height: 300px; }
}


/* ===== Quant & trading ===== */
#trading .section-head::before { background: radial-gradient(closest-side, rgba(52, 211, 153, .24), rgba(129, 140, 248, .12) 55%, transparent); }
.quant-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; align-items: stretch; }
.quant-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quant-cards .card { padding: 30px 26px; }
.quant-cards .card-ico { margin-bottom: 30px; }
.quant-cards .card h3 { font-size: 1.12rem; }
.quant-cards .card p { font-size: .93rem; }
.quant-cards .card:nth-child(1) { --n: var(--c4); }
.quant-cards .card:nth-child(2) { --n: var(--c1); }
.quant-cards .card:nth-child(3) { --n: var(--c2); }
.quant-cards .card:nth-child(4) { --n: var(--c3); }
.terminal { position: relative; border-radius: var(--radius); overflow: hidden; background: #050507;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3), 0 0 80px -20px rgba(52, 211, 153, .45), 0 0 120px -40px rgba(34, 211, 238, .5); }
.terminal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar span:nth-child(2) { background: #febc2e; }
.term-bar span:nth-child(3) { background: #28c840; }
.term-bar p { margin-left: 10px; font: 500 .8rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--faint); }
.term-body { margin: 0; padding: 22px 22px 26px; font: 400 .86rem/2 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; color: rgba(255, 255, 255, .88); white-space: pre; overflow-x: auto; }
.term-body b { font-weight: 500; }
.t-dim { color: rgba(255, 255, 255, .38); }
.t-c { color: var(--c1); text-shadow: 0 0 10px rgba(34, 211, 238, .6); }
.t-g { color: var(--c4); text-shadow: 0 0 10px rgba(52, 211, 153, .7); }
.t-y { color: var(--c5); text-shadow: 0 0 10px rgba(251, 191, 36, .6); }
.t-v { color: #a78bfa; text-shadow: 0 0 10px rgba(167, 139, 250, .6); }
.t-p { color: #f0abfc; text-shadow: 0 0 10px rgba(240, 171, 252, .6); }
.t-w { color: #fff; }
.caret { display: inline-block; width: 9px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--c4); box-shadow: 0 0 10px var(--c4); animation: rec 1s steps(1) infinite; }
.terminal { display: flex; flex-direction: column; }
.term-body { flex: 1; }
.term-status { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .03); font: 500 .76rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(255, 255, 255, .7); letter-spacing: .04em; text-transform: uppercase; }
.term-status span { display: inline-flex; align-items: center; gap: 8px; }
.term-status i { width: 7px; height: 7px; border-radius: 50%; }
.dot-g { background: var(--c4); box-shadow: 0 0 10px var(--c4); }
.dot-c { background: var(--c1); box-shadow: 0 0 10px var(--c1); }
.dot-v { background: #a78bfa; box-shadow: 0 0 10px #a78bfa; }
.quant-foot { display: flex; align-items: center; gap: 32px; margin-top: 40px; }
.disclaimer { font-size: .82rem; color: var(--faint); max-width: 640px; line-height: 1.6; }
.faq-list details p em { font-family: inherit; font-style: italic; }
@media (max-width: 1000px) {
  .quant-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .quant-cards { grid-template-columns: 1fr; }
  .term-body { font-size: .74rem; padding: 18px 16px; }
  .quant-foot { flex-direction: column; align-items: stretch; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .title .w, .intro, .stage { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
/* final brightness tweaks */
.links a { color: rgba(255, 255, 255, .86); }
.links a:hover { color: #fff; text-shadow: 0 0 18px rgba(103, 232, 249, .8); }
.stage::after { height: 22%; }
/* Let the terminal scroll inside itself instead of widening the page on phones */
.quant-grid > *, .terminal, .term-body { min-width: 0; }
/* Section glows must never widen the page (clip keeps sticky FAQ heading working) */
.section, .marquee, .hero { overflow-x: clip; }
