/* AdLogic marketing site — styles
   Dark, spacey, blue with violet, mint, amber and pink accents. Built from the approved homepage
   prototype and spruced up: fly-in reveals, shining buttons, spotlight cards, a tilting rotating
   hero, and a WebGL sky (js/space.js). */

:root {
  --bg: #050914; --bg2: #081226; --panel: rgba(12, 24, 46, .78);
  --line: rgba(125, 169, 235, .16); --muted: #9aabc5; --text: #f4f8ff;
  --blue: #42baff; --blue2: #3478ff; --violet: #a28bff; --cyan: #5ce7f5; --mint: #62e2c9; --amber: #ffc46b; --pink: #ff7ad9;
  --blue-rgb: 66,186,255; --violet-rgb: 162,139,255; --cyan-rgb: 92,231,245; --mint-rgb: 98,226,201; --amber-rgb: 255,196,107; --pink-rgb: 255,122,217;
  /* the purple of "found for you" in the hero, used as a light accent site-wide */
  --purple: #a28bff; --purple-lt: #c9bbff; --purple-line: rgba(162,139,255,.55);
  --grad: linear-gradient(110deg, #20baff, #346cff 60%, #795cff);
  --max: 1200px; --radius: 22px;
}
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* accent families: a component takes one and every tint inside it follows */
.ac-cyan { --a: var(--cyan); --a-rgb: var(--cyan-rgb); }
.ac-violet { --a: var(--violet); --a-rgb: var(--violet-rgb); }
.ac-mint { --a: var(--mint); --a-rgb: var(--mint-rgb); }
.ac-amber { --a: var(--amber); --a-rgb: var(--amber-rgb); }
.ac-pink { --a: var(--pink); --a-rgb: var(--pink-rgb); }
.c-cyan { color: var(--cyan) !important; } .c-violet { color: var(--violet) !important; } .c-mint { color: var(--mint) !important; } .c-amber { color: var(--amber) !important; } .c-pink { color: var(--pink) !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-width: thin; scrollbar-color: #2f6fe0 #070c18; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070c18; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #42baff 0%, #3478ff 55%, #2b4fd6 100%); border-radius: 10px; border: 2px solid #070c18; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #5ce7f5 0%, #42baff 55%, #3478ff 100%); }
::-webkit-scrollbar-corner { background: #070c18; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; overflow-x: hidden; }
main, footer { overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: -4; pointer-events: none; background:
  radial-gradient(ellipse at 75% 18%, rgba(25,104,220,.08), transparent 36%),
  radial-gradient(ellipse at 12% 52%, rgba(44,82,180,.05), transparent 34%),
  linear-gradient(180deg, #020409 0%, #030710 52%, #020409 100%); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.noise { position: fixed; inset: 0; z-index: -2; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); }
#space { position: fixed; inset: 0; z-index: -3; width: 100%; height: 100%; pointer-events: none; }
#space.flat { opacity: .48; }

/* ---------- Navigation ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: rgba(5,9,20,.76); border-bottom: 1px solid rgba(136,177,245,.12); transition: background .3s ease, box-shadow .3s ease; }
.nav-wrap.scrolled { background: rgba(5,9,20,.9); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; filter: drop-shadow(0 0 14px rgba(66,186,255,.28)); transition: filter .3s, transform .3s; }
.brand:hover .logo-img { filter: drop-shadow(0 0 20px rgba(92,231,245,.55)); transform: translateY(-1px); }
.logo-img.small { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #b2bfd4; font-size: 13px; font-weight: 700; }
.nav-links a { position: relative; transition: color .25s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); border-radius: 4px; box-shadow: 0 0 10px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.75,.2,1); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 13px 20px; font-size: 13px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, filter .25s ease; cursor: pointer; }
.nav-cta, .btn-primary { position: relative; overflow: hidden; color: #fff; background: var(--grad); box-shadow: 0 8px 30px rgba(36,126,255,.22), inset 0 1px rgba(255,255,255,.28); }
.nav-cta::before, .btn-primary::before { content: ""; position: absolute; inset: -2px; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.42) 50%, transparent 68%); transform: translateX(-130%); }
.btn-primary::before { animation: sheen 5.5s ease-in-out infinite; }
.nav-cta:hover::before, .btn-primary:hover::before { animation: sheen .9s ease-out 1; }
.nav-cta:hover, .btn:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(40,137,255,.34), 0 0 0 1px rgba(120,200,255,.25); filter: saturate(1.12); }
.btn-primary:active, .nav-cta:active { transform: translateY(-1px) scale(.98); }
.btn-secondary { border-color: rgba(98,168,255,.42); color: #eef6ff; background: rgba(7,18,37,.62); }
.btn-secondary:hover { border-color: var(--purple); background: rgba(30,32,82,.7); box-shadow: 0 10px 30px rgba(10,40,90,.35), 0 0 22px rgba(var(--violet-rgb), .22); }
::selection { background: rgba(var(--violet-rgb), .38); color: #fff; }
.btn-lg { padding: 16px 26px; font-size: 14px; }
/* the hamburger: three cyan lines that fold into an X, as on the old site */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; padding: 6px 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; transition: transform .3s, opacity .3s; box-shadow: 0 1px 6px rgba(0,0,0,.9), 0 0 8px rgba(92,231,245,.45); }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.menu-cta { display: none; }
#mobile-space, .vignette-m, .hero-cta-m { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 40px; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: auto 1fr; column-gap: 64px; align-items: end; }
.hero-content > .eyebrow { grid-column: 1; } .hero-content > h1 { grid-column: 1; margin-bottom: 0; } .hero-side { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 3px; color: var(--a, #76c9ff); font-size: 10px; font-weight: 800; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--a, var(--purple)), transparent); }
.section-head .eyebrow, .ts-intro .eyebrow, .pricing-grid .eyebrow, .route-why .eyebrow { color: var(--a, var(--purple-lt)); }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 800 clamp(39px, 5.2vw, 70px)/1.05 Manrope, sans-serif; letter-spacing: -2.7px; margin: 20px 0 22px; max-width: 650px; }
.gradient-text { background: linear-gradient(100deg, #54d8ff 0%, #6f9dff 48%, #a28bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-text.alt { background-image: linear-gradient(100deg, #a28bff 0%, #d48cff 55%, #ff7ad9 100%); }
.gradient-text.warm { background-image: linear-gradient(100deg, #ffc46b 0%, #ff8fa3 55%, #ff7ad9 100%); }
.gradient-text.cool { background-image: linear-gradient(100deg, #62e2c9 0%, #5ce7f5 55%, #42baff 100%); }
/* the glowing words: a slow light sweep that drifts between blue and purple (5.2s, half the speed of the reference) */
.glow { white-space: nowrap; color: #42baff; background: linear-gradient(100deg, #3a7bff 0%, #42baff 24%, #5ad6ff 42%, #dcecff 50%, #a28bff 58%, #8b6cff 76%, #3a7bff 100%); background-size: 320% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: wordGlow 5.2s ease-in-out infinite; }
@keyframes wordGlow { 0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 0 12px rgba(66,186,255,.40)); } 50% { background-position: 100% 50%; filter: drop-shadow(0 0 16px rgba(162,139,255,.48)); } }
.hero-copy { color: #b0bfd5; font-size: 17px; line-height: 1.7; max-width: 520px; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.h1-zip { display: none; }
/* the trust line sits centred directly above "Try the demo", under the hero */
.hero-foot { display: grid; justify-items: center; gap: 22px; margin-top: 72px; text-align: center; }
.trust-line { display: flex; align-items: center; justify-content: center; gap: 11px; color: #8d9fbb; font-size: 12px; }
.pulse-dot { width: 7px; height: 7px; background: #5be4d3; border-radius: 50%; box-shadow: 0 0 0 5px rgba(91,228,211,.09), 0 0 15px #5be4d3; animation: pulse 2.4s ease-in-out infinite; }
.hero-in { opacity: 0; animation: heroIn .95s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: calc(var(--i, 0) * 130ms + 80ms); }

.scroll-cue { display: flex; justify-content: center; align-items: center; gap: 10px; color: #6f84a3; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; transition: color .25s; }
.scroll-cue:hover { color: var(--purple-lt); }
.scroll-cue span { display: block; width: 1px; height: 25px; background: linear-gradient(var(--purple), transparent); animation: scrollLine 1.8s ease-in-out infinite; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 690px; margin-bottom: 42px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font: 800 clamp(30px, 4vw, 46px)/1.16 Manrope, sans-serif; letter-spacing: -1.8px; margin: 16px 0 14px; }
.section-head p { color: var(--muted); line-height: 1.75; font-size: 15px; margin: 0; }
.section-head p a { color: #9fe0ff; font-weight: 600; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--a-rgb, var(--blue-rgb)), .16), transparent 62%); }
.spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.how-section { background: linear-gradient(180deg, transparent, rgba(9,21,42,.72), transparent); border-block: 1px solid rgba(124,163,222,.08); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 13%; right: 13%; top: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--mint), transparent); opacity: .55; transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.75,.2,1) .25s; }
.steps.visible::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 18px; }
.step-num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 17px; margin: 0 auto 22px; display: grid; place-items: center; font: 800 17px Manrope, sans-serif; color: var(--a, #8be5ff); border: 1px solid rgba(var(--a-rgb, var(--blue-rgb)), .5); background: #0b1a33; box-shadow: 0 0 25px rgba(var(--a-rgb, var(--blue-rgb)), .14); transition: box-shadow .3s, transform .3s; }
.step:hover .step-num { box-shadow: 0 0 35px rgba(var(--a-rgb, var(--blue-rgb)), .4); transform: translateY(-3px); }
.step h3 { font: 700 17px Manrope, sans-serif; margin-bottom: 10px; }
.step p { color: #98aac4; font-size: 13px; line-height: 1.7; margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.price-card { position: relative; border-radius: 27px; padding: 1.5px; background: conic-gradient(from var(--ang), rgba(66,186,255,.15), #42baff, #a28bff, #ff7ad9, rgba(66,186,255,.15), #42baff); animation: spin 9s linear infinite; box-shadow: 0 30px 90px rgba(0,0,0,.3), 0 0 60px rgba(120,100,255,.14); }
.price-inner { background: linear-gradient(145deg, #0d1c37, #070f20); border-radius: 26px; padding: 38px 36px; }
.price-badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 13px; background: rgba(255,122,217,.1); border: 1px solid rgba(255,122,217,.4); color: #ffb3ea; font: 800 10px/1 Manrope, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.price-badge::before { content: "✦"; color: #fff; }
.price-amount { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 6px; flex-wrap: wrap; }
.price-amount b { font: 800 64px/1 Manrope, sans-serif; letter-spacing: -3px; }
.price-amount span { color: var(--muted); font-size: 14px; }
.price-note { color: #9db1cd; font-size: 13px; line-height: 1.6; }
.price-list { display: grid; gap: 12px; margin: 26px 0 28px; }
.price-list div { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; color: #d4e1f4; line-height: 1.5; }
.price-fine { color: #7f91ad; font-size: 11px; margin: 14px 0 0; line-height: 1.6; }
.timeline { border-top: 1px solid var(--line); margin-top: 14px; }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tl-day { font: 800 10px Manrope, sans-serif; color: var(--amber); letter-spacing: 2px; text-transform: uppercase; padding-top: 4px; }
.tl-item h3 { margin: 0 0 6px; font: 700 15px Manrope, sans-serif; }
.tl-item p { margin: 0; color: #9aacc6; font-size: 13px; line-height: 1.65; }
.founder { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(11,24,46,.55); }
.founder-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(66,186,255,.45); box-shadow: 0 0 20px rgba(66,186,255,.25); flex: none; }
.founder b { display: block; font: 700 14px Manrope, sans-serif; margin-bottom: 3px; }
.founder span { color: #8fa3c1; font-size: 12px; line-height: 1.6; }
.founder a { color: #9fe0ff; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 700 14px Manrope, sans-serif; transition: color .2s; }
summary:hover { color: #9fe0ff; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--purple); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #9bacc5; font-size: 13px; line-height: 1.75; padding: 13px 32px 0 0; margin: 0; animation: slideIn .4s both; }

/* ---------- CTA + footer ---------- */
.cta-section { padding: 30px 0 100px; }
.cta-box { text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(91,174,255,.26); border-radius: 27px; padding: 65px 25px; background: radial-gradient(ellipse at 20% 120%, rgba(98,226,201,.14), transparent 55%), radial-gradient(ellipse at 80% 120%, rgba(255,122,217,.14), transparent 55%), radial-gradient(ellipse at 50% 120%, rgba(40,117,255,.25), transparent 60%), linear-gradient(130deg, #0c1b35, #071023); }
.cta-box::before, .cta-box::after { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(74,166,255,.13); border-radius: 50%; top: -230px; left: calc(50% - 170px); box-shadow: 0 0 0 25px rgba(74,166,255,.025), 0 0 0 55px rgba(74,166,255,.02); }
.cta-box::after { animation: breathe 9s ease-in-out infinite; }
.cta-box h2 { position: relative; font: 800 clamp(31px, 4vw, 48px)/1.14 Manrope, sans-serif; letter-spacing: -1.7px; max-width: 750px; margin: 17px auto; }
.cta-box p { position: relative; color: #9db1cd; font-size: 14px; line-height: 1.7; max-width: 570px; margin: 0 auto 27px; }
.cta-box .hero-actions { justify-content: center; position: relative; }
footer { position: relative; padding: 30px 0 28px; background: rgba(4,8,17,.6); }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(66,186,255,.28), rgba(var(--violet-rgb), .35), transparent); }
.footer-inner { display: grid; gap: 20px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; }
.footer-links { display: flex; gap: 10px 18px; flex-wrap: wrap; color: #93a5bf; font-size: 12px; }
.footer-links a { transition: color .2s; } .footer-links a:hover { color: var(--purple-lt); }
.footer-copy { margin: 0; padding-top: 18px; border-top: 1px solid rgba(124,163,222,.1); color: #71839e; font-size: 11.5px; line-height: 1.6; text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- About page ---------- */
.about-top { padding: 48px 0 20px; }
.about-wrap { max-width: 900px; }
.crumb, .toc { display: block; min-height: 0; }   /* these are <nav>s too; keep the main-nav flex rule off them */
.crumb { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #617693; margin-bottom: 34px; }
.crumb a:hover { color: var(--cyan); } .crumb span { margin: 0 8px; color: #3f4f68; }
.about-hero { display: grid; grid-template-columns: 168px 1fr; gap: 36px; align-items: center; }
.about-hero h1 { font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -2px; margin: 14px 0 12px; max-width: none; }
.headshot { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(66,186,255,.45); box-shadow: 0 0 34px rgba(66,186,255,.22), 0 0 70px rgba(162,139,255,.14); }
.role { color: #8fa3c1; font-size: 14px; margin: 0; } .role a { color: #9fe0ff; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0 10px; }
.about-stat { position: relative; overflow: hidden; text-align: center; padding: 26px 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(15,31,57,.8), rgba(8,17,34,.85)); transition: transform .3s, border-color .3s; }
.about-stat::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--a, var(--blue)), transparent); opacity: .8; }
.about-stat:hover { transform: translateY(-4px); border-color: rgba(var(--a-rgb, var(--blue-rgb)), .45); }
.about-stat b { display: block; font: 800 40px/1 Manrope, sans-serif; letter-spacing: -2px; color: var(--a, #8be5ff); text-shadow: 0 0 22px rgba(var(--a-rgb, var(--blue-rgb)), .35); margin-bottom: 10px; }
.about-stat span { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #8fa3c1; }
.about-sec { padding: 44px 0 0; }
.about-sec h2 { font: 800 24px/1.2 Manrope, sans-serif; letter-spacing: -.8px; margin-bottom: 16px; }
.about-sec p { color: #a8b8d0; font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.about-sec p strong { color: #eef4ff; font-weight: 600; } .about-sec p a { color: #9fe0ff; font-weight: 600; }
.about-tl .tl-item { grid-template-columns: 118px 1fr; }
.about-tl .tl-item h3 { font-size: 16px; } .about-tl .tl-item p { font-size: 14px; line-height: 1.75; margin: 0; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.cred { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgba(11,24,46,.66); transition: border-color .25s, transform .25s; }
.cred:hover { border-color: rgba(var(--a-rgb, var(--blue-rgb)), .45); transform: translateY(-2px); }
.cred b { display: block; font: 700 13px Manrope, sans-serif; margin-bottom: 4px; }
.cred span { font-size: 11px; color: #8fa3c1; }
.pull { border-left: 2px solid var(--cyan); padding: 16px 22px; background: rgba(11,24,46,.55); border-radius: 0 12px 12px 0; color: #e6eefc !important; font-size: 16px !important; line-height: 1.75 !important; font-weight: 500; }
.linkrow { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Legal pages (Terms, Privacy) ---------- */
.legal-wrap { max-width: 860px; padding-top: 48px; padding-bottom: 40px; }
.legal-head h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -1.6px; margin: 12px 0 8px; }
.legal-head .effective { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #76c9ff; margin: 0 0 16px; }
.legal-head .lede { color: #b0bfd5; font-size: 16px; line-height: 1.75; max-width: 700px; }
.toc { margin: 36px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(11,24,46,.55); }
.toc h2 { font: 800 10px Manrope, sans-serif; letter-spacing: 2.5px; text-transform: uppercase; color: #8fa3c1; margin-bottom: 14px; }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; }
.toc li { counter-increment: toc; font-size: 13px; }
.toc li::before { content: counter(toc) "."; color: rgba(92,231,245,.5); margin-right: 8px; font-variant-numeric: tabular-nums; }
.toc a { color: #a8b8d0; transition: color .2s; } .toc a:hover { color: var(--cyan); }
.legal-section { padding-top: 40px; }
.legal-section h2 { font: 700 19px/1.4 Manrope, sans-serif; letter-spacing: -.3px; margin-bottom: 14px; }
.s-num { color: rgba(92,231,245,.6); margin-right: 10px; font-variant-numeric: tabular-nums; }
.legal-section p { color: #a8b8d0; font-size: 14.5px; line-height: 1.85; margin-bottom: 14px; }
.legal-section p strong, .legal-section li strong { color: #eef4ff; font-weight: 600; }
.legal-section a { color: #9fe0ff; }
.plain-list { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.plain-list li { font-size: 14.5px; color: #a8b8d0; line-height: 1.8; margin-bottom: 9px; padding-left: 20px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 1px; background: rgba(92,231,245,.55); }
.contact-block { line-height: 2.05 !important; }
.table-scroll { overflow-x: auto; margin: 4px 0 18px; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.legal-table th { text-align: left; font: 800 10px Manrope, sans-serif; letter-spacing: 1.8px; text-transform: uppercase; color: #8fa3c1; padding: 12px 14px; border-bottom: 1px solid rgba(92,231,245,.18); background: rgba(19,39,70,.6); }
.legal-table td { padding: 12px 14px; color: #a8b8d0; line-height: 1.65; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-foot { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.legal-foot p { margin: 0; color: #a8b8d0; font-size: 14px; } .legal-foot a { color: #9fe0ff; } .legal-foot .btn { color: #eef6ff; }
@media (max-width: 700px) { .toc ol { grid-template-columns: 1fr; } .legal-foot .btn { width: 100%; } }

/* ---------- Hero extras ---------- */
.trade-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.trade-chips li { padding: 6px 12px; border: 1px solid var(--purple-line); border-radius: 999px; background: rgba(16,20,52,.6); color: #e4ddff; font: 700 12px Manrope, sans-serif; box-shadow: 0 0 14px rgba(var(--violet-rgb), .12), inset 0 0 10px rgba(var(--violet-rgb), .06); transition: border-color .25s, box-shadow .25s; }
.trade-chips li:hover { border-color: var(--purple-lt); box-shadow: 0 0 18px rgba(var(--violet-rgb), .3); }
.check { color: #62e2c9; background: rgba(255,255,255,.06); width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; }
.btn-sm { padding: 10px 16px; font-size: 12px; }

/* ---------- The interactive sample app (js/demo.js) ---------- */
.demo-section { padding: 30px 0 80px; }
.demo-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 22px; }
.demo-head h2 { font: 800 clamp(26px, 3vw, 34px)/1.15 Manrope, sans-serif; letter-spacing: -1.2px; margin: 12px 0 0; }
.demo-head p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.app { border: 1px solid rgba(112,178,255,.24); border-radius: 18px; background: linear-gradient(160deg, #0d1b35, #071021); box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid rgba(142,180,235,.12); background: rgba(5,12,26,.6); }
.app-brand { display: flex; align-items: center; gap: 9px; font: 700 13px Manrope, sans-serif; }
.app-path { color: #6e85a8; font-weight: 500; }
.mini-logo { width: 21px; height: 21px; border: 1px solid #4ac9ff; border-radius: 7px; display: grid; place-items: center; color: #58d9ff; font-size: 12px; }
.sample-pill { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #ffd79a; border: 1px solid rgba(255,196,107,.35); background: rgba(255,196,107,.08); border-radius: 999px; padding: 4px 10px; }
.app-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid rgba(104,160,231,.22); border-radius: 11px; background: rgba(6,16,32,.8); }
.seg button, .ev-cats button, .pieces button { border: 0; background: transparent; color: #9fb2cf; font: 700 12px "DM Sans", sans-serif; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: color .2s, background .2s; min-height: 34px; }
.seg button:hover, .ev-cats button:hover, .pieces button:hover { color: #fff; background: rgba(66,186,255,.08); }
.seg button[aria-pressed="true"], .pieces button[aria-pressed="true"] { background: #1f5fd6; color: #fff; box-shadow: 0 2px 10px rgba(36,126,255,.3); }
.seg button:active, .ev-cats button:active, .pieces button:active, .ns:active, .lead-item:active { transform: scale(.98); }
.terr { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #8fa3c1; }
.terr select { font: 600 12px "DM Sans", sans-serif; color: #e6eefc; background: #0a1730; border: 1px solid rgba(104,160,231,.3); border-radius: 9px; padding: 8px 10px; min-height: 36px; cursor: pointer; }
.app-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 0 16px 12px; font-size: 12px; color: #8fa3c1; border-bottom: 1px solid rgba(142,180,235,.1); }
.app-summary b { color: #e6eefc; }
.app-summary .sum-terr { margin-left: auto; color: #6e85a8; }
.app-summary::before { content: "Sample counts"; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #6e85a8; }
.app-main { display: grid; grid-template-columns: 2fr 3fr; min-height: 470px; }
.lead-list { padding: 12px; border-right: 1px solid rgba(142,180,235,.1); display: grid; gap: 8px; align-content: start; background: rgba(4,10,22,.35); }
.lead-item { width: 100%; text-align: left; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 12px; border-radius: 12px; border: 1px solid rgba(119,167,237,.14); background: rgba(13,29,55,.6); color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.lead-item:hover { border-color: rgba(92,180,255,.4); background: rgba(18,40,74,.7); }
.lead-item.selected { border-color: #42baff; background: rgba(31,95,214,.18); box-shadow: inset 3px 0 0 #42baff; }
.li-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(51,151,255,.12); color: #62ceff; font-size: 14px; }
.li-main { display: grid; gap: 3px; min-width: 0; }
.li-name { font: 700 13px Manrope, sans-serif; color: #f0f5ff; }
.li-name em { font-style: normal; font-weight: 500; color: #6e85a8; font-size: 11px; }
.li-type { font-size: 11px; color: #8ea4c3; }
.li-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.li-tags span { font-size: 10px; color: #b9cbe6; border: 1px solid rgba(119,167,237,.2); border-radius: 6px; padding: 2px 6px; }
.li-score { font: 800 14px Manrope, sans-serif; color: #69e1c8; background: rgba(40,190,160,.1); border: 1px solid rgba(65,221,191,.22); border-radius: 8px; padding: 5px 8px; }
.li-score.warm { color: #ffc46b; background: rgba(255,170,60,.1); border-color: rgba(255,170,60,.25); }
.lead-detail { padding: 16px 18px 18px; min-width: 0; outline: none; }
.ld-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.ld-kind { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: #76c9ff; font-weight: 700; }
.ld-head h3 { font: 800 20px Manrope, sans-serif; letter-spacing: -.5px; margin: 5px 0 4px; }
.ld-head p { font-size: 12px; color: #8ea4c3; margin: 0; }
.ld-score { text-align: center; border: 1px solid rgba(65,221,191,.25); background: rgba(40,190,160,.08); border-radius: 12px; padding: 8px 12px; flex: none; }
.ld-score b { display: block; font: 800 24px/1 Manrope, sans-serif; color: #69e1c8; }
.ld-score span { font-size: 9px; color: #8fa3c1; text-transform: uppercase; letter-spacing: 1px; }
.ld-tabs { display: flex; gap: 4px; margin: 12px 0 12px; border-bottom: 1px solid rgba(142,180,235,.14); }
.ld-tabs button { border: 0; background: none; color: #8fa3c1; font: 700 13px "DM Sans", sans-serif; padding: 10px 12px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; min-height: 40px; }
.ld-tabs button:hover { color: #fff; }
.ld-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: #42baff; }
.ld-section { margin-bottom: 12px; }
.ld-section h4 { font: 700 11px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #8fa3c1; margin: 0 0 7px; }
.ld-why { font-size: 14px; line-height: 1.6; color: #e1eaf8; margin: 0; padding: 11px 13px; border-left: 2px solid #42baff; background: rgba(31,95,214,.1); border-radius: 0 10px 10px 0; }
.ev-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(119,167,237,.2); background: rgba(13,29,55,.6); color: #f0f5ff; font: 700 13px Manrope, sans-serif; padding: 10px 13px; border-radius: 10px; cursor: pointer; min-height: 42px; }
.ev-toggle small { font: 500 11px "DM Sans", sans-serif; color: #8fa3c1; margin-left: 8px; }
.ev-toggle:hover { border-color: rgba(92,180,255,.45); }
.ev-chev { transition: transform .2s; color: #76c9ff; }
.ev-toggle[aria-expanded="false"] .ev-chev { transform: rotate(-90deg); }
.ev-body { padding-top: 10px; }
.ev-cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.ev-cats button { border: 1px solid rgba(119,167,237,.2); padding: 6px 10px; min-height: 32px; font-size: 11px; }
.ev-cats button[aria-pressed="true"] { border-color: #42baff; color: #fff; background: rgba(31,95,214,.25); }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ev-row { border: 1px solid rgba(119,167,237,.14); border-radius: 10px; background: rgba(6,15,30,.5); transition: border-color .2s; }
.ev-row.open { border-color: rgba(66,186,255,.4); }
.ev-head { display: grid; gap: 3px; width: 100%; text-align: left; border: 0; background: none; color: inherit; font: inherit; padding: 9px 12px; cursor: pointer; border-radius: 10px; }
.ev-head:hover { background: rgba(66,186,255,.05); }
.ev-head .ev-top { margin-bottom: 0; }
.ev-src { font-size: 11px; color: #8fa3c1; }
.ev-more { padding: 0 12px 10px; }
.ev-more .ev-why { margin: 4px 0 0; }
.ev-top { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #76c9ff; font-weight: 700; margin-bottom: 4px; }
.ev-date { color: #8fa3c1; font-weight: 600; text-transform: none; letter-spacing: 0; text-align: right; }
.ev-obs { font-size: 13px; color: #f0f5ff; line-height: 1.45; font-weight: 600; }
.ev-why { font-size: 12px; color: #b8c8e0; margin: 0 0 6px; line-height: 1.55; }
.ev-why b { color: #c9d7ee; font-weight: 600; }
.next-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ns-label { font: 700 11px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #8fa3c1; margin-right: 4px; }
.ld-why b { display: block; font: 700 11px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #76c9ff; margin-bottom: 3px; }
.ns { border: 1px solid rgba(104,160,231,.3); background: rgba(10,24,46,.7); color: #e6eefc; font: 700 12px "DM Sans", sans-serif; padding: 9px 12px; border-radius: 9px; cursor: pointer; min-height: 38px; transition: border-color .2s, background .2s; }
.ns:hover { border-color: #42baff; background: rgba(31,95,214,.2); }
.pieces, .views { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid rgba(104,160,231,.22); border-radius: 11px; background: rgba(6,16,32,.8); margin-bottom: 14px; }
.views { margin-bottom: 10px; }
.views button { border: 0; background: transparent; color: #9fb2cf; font: 700 12px "DM Sans", sans-serif; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: color .2s, background .2s; min-height: 34px; }
.views button:hover { color: #fff; background: rgba(var(--violet-rgb), .1); }
.views button[aria-pressed="true"] { background: linear-gradient(135deg, #6a4fd8, var(--purple)); color: #fff; box-shadow: 0 2px 12px rgba(var(--violet-rgb), .35); }
.out-wrap { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.out-wrap.printed { display: flex; flex-wrap: wrap; }
.out-wrap.printed .out-side { flex: 1 1 210px; min-width: 0; }
.out-side p { font-size: 12px; color: #a8b8d0; line-height: 1.6; margin: 0 0 12px; }
.out-side .out-for { color: #e6eefc; }
.out-brand { display: flex; align-items: flex-start; gap: 5px; }
.out-brand .sw { width: 13px; height: 13px; border-radius: 50%; flex: none; margin-top: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.out-brand > span:last-child { margin-left: 4px; } .out-brand b { color: #e6eefc; }
.out-qr { display: flex; gap: 8px; } .out-qr > span { color: var(--purple-lt); flex: none; }

/* ---------- Demo: print pieces. Each piece is a size container and 1em = 10px at its design width, so it scales as a whole ---------- */
.pcol { margin: 0; flex: none; display: grid; gap: 8px; justify-items: center; max-width: 100%; }
.piece { container-type: inline-size; color: var(--bi); font-family: Manrope, sans-serif; }
/* the figure carries the width: the piece is a size container, so it cannot size itself from its content */
.pcol.pc-hanger { width: min(184px, 100%); } .pcol.pc-flyer { width: min(256px, 100%); } .pcol.pc-post { width: min(350px, 100%); }
.piece { width: 100%; } .piece.post { perspective: 1400px; }
.pz { font-size: 10px; line-height: 1.25; }
.hanger .pz { font-size: 5.435cqw; }
.flyer .pz { font-size: 3.906cqw; }
.post .pz { font-size: 2.857cqw; }
.pcap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; font-size: 11px; color: #8fa3c1; }
.pc-flip { border: 1px solid rgba(var(--violet-rgb), .45); background: rgba(var(--violet-rgb), .12); color: #e4dcff; font: 700 12px "DM Sans", sans-serif; padding: 7px 12px; border-radius: 999px; cursor: pointer; min-height: 34px; transition: background .2s, border-color .2s; }
.pc-flip:hover { background: rgba(var(--violet-rgb), .24); border-color: var(--purple); }
.pz-logo { display: inline-flex; align-items: center; gap: .6em; color: #fff; }
.pz-mark { width: 2.8em; height: 2.8em; border-radius: 50%; display: grid; place-items: center; background: var(--b2); color: #fff; box-shadow: 0 0 0 .22em rgba(255,255,255,.2); flex: none; }
.pz-mark svg { width: 1.7em; height: 1.7em; display: block; }
.pz-name { display: grid; line-height: 1.05; text-align: left; }
.pz-name b { font-size: 1.35em; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.pz-name small { font: 700 .8em "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.pz-art { display: block; width: 100%; height: auto; }
.pz-kicker { font-size: .95em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bk); line-height: 1.3; }
.pz-head { font-size: 2.1em; font-weight: 800; line-height: 1.04; letter-spacing: -.03em; color: var(--bi); }
.pz-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; font: 600 1.05em/1.3 "DM Sans", sans-serif; color: var(--bi); }
.pz-ticks li { position: relative; padding-left: 1.55em; }
.pz-ticks li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 1.12em; height: 1.12em; border-radius: 50%; background: var(--b2); color: #fff; font-size: .9em; font-weight: 800; line-height: 1.12em; text-align: center; }
.pz-offer { display: flex; align-items: center; gap: .7em; padding: .6em .8em; border: .15em dashed var(--b2); border-radius: .7em; background: #fff; }
.pz-offer b { font-size: 2.1em; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--b1); white-space: nowrap; }
.pz-offer span { font: 700 .92em/1.25 "DM Sans", sans-serif; color: var(--bi); }
.pz-foot { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: .65em 1.1em; background: var(--b1); color: #fff; }
.pz-call { display: grid; line-height: 1.1; min-width: 0; }
.pz-call small { font: 700 .78em "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.pz-call b { font-size: 1.4em; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.pz-qr { display: grid; justify-items: center; gap: .25em; flex: none; }
.pz-qrcode { width: 5.4em; height: 5.4em; display: block; border-radius: .25em; }
.pz-qr small { font: 800 .68em "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
/* door hanger, 3.5 x 8.5 in */
.hanger .pz { display: flex; flex-direction: column; aspect-ratio: 3.5 / 8.5; background: var(--bp); border-radius: 1em 1em .6em .6em; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.hg-head { position: relative; overflow: hidden; display: grid; justify-items: center; padding: 4.6em 1em 1.35em; border-radius: 1em 1em 0 0; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.16), transparent 60%), var(--b1); }
.hg-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .9em; background: var(--b2); clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%); }
.hg-hole { position: absolute; top: 1.3em; left: 50%; width: 2.8em; height: 2.8em; margin-left: -1.4em; border-radius: 50%; background: #0a1530; box-shadow: inset 0 0 0 .2em rgba(255,255,255,.22); }
.hg-slit { position: absolute; top: 2.6em; left: calc(50% + 1.25em); width: 8em; height: .16em; background: #0a1530; transform: rotate(-32deg); transform-origin: left center; }
.hanger .pz-art { height: 7em; }
.hg-body { flex: 1; display: flex; flex-direction: column; gap: .55em; padding: 1em 1.2em 1em; }
.hg-body .pz-offer { margin-top: auto; }
.hg-body .pz-head { font-size: 1.85em; }
.hg-body .pz-ticks { font-size: 1em; }
.hanger .pz-foot { border-radius: 0 0 .6em .6em; }
/* flyer, 8.5 x 11 in */
.flyer .pz { display: flex; flex-direction: column; aspect-ratio: 8.5 / 11; background: var(--bp); border-radius: .6em; box-shadow: 0 14px 34px rgba(0,0,0,.45); overflow: hidden; }
.fl-hero { display: grid; gap: .35em; padding: 1.1em 1.5em 1em; color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.16), transparent 55%), var(--b1); }
.fl-hero .pz-logo { margin-bottom: .3em; }
.fl-hero .pz-kicker { color: var(--b3); }
.fl-hero .pz-head { color: #fff; font-size: 2.05em; }
.fl-hero .pz-art { margin: .5em -1.5em -1em; width: calc(100% + 3em); height: 3.4em; border-top: .3em solid var(--b2); }
.fl-body { flex: 1; display: flex; flex-direction: column; gap: .45em; padding: .75em 1.5em .75em; }
.fl-sub { font-size: 1.05em; font-weight: 800; color: var(--b1); line-height: 1.2; }
.fl-body .pz-ticks { font-size: .96em; gap: .25em; }
.fl-body .pz-offer { margin-top: auto; }
.flyer .pz-qrcode { width: 4.2em; height: 4.2em; }
.flyer .pz-foot { padding: .5em 1.5em; }
/* postcard, 6.25 x 9 in, with a front and a back */
.pc-inner { position: relative; aspect-ratio: 9 / 6.25; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3,.7,.2,1); }
.post.flipped .pc-inner { transform: rotateY(180deg); }
.pc-face { position: absolute; inset: 0; overflow: hidden; border-radius: .7em; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.pc-front { display: grid; grid-template-columns: 1.28fr .72fr; color: #fff; background: radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,.12), transparent 50%), var(--b1); }
.pc-copy { display: flex; flex-direction: column; gap: .7em; padding: 1.8em 1.4em 1.6em 2em; }
.pc-copy .pz-head { margin-top: auto; color: #fff; font-size: 2.5em; }
.pc-sub { font: 600 1.1em/1.35 "DM Sans", sans-serif; opacity: .88; }
.pc-phone { font-size: 1.55em; font-weight: 800; color: var(--b3); letter-spacing: -.01em; }
.pc-art { position: relative; display: grid; align-content: start; padding: 1.8em 1.2em 0 0; }
.pc-art::before { content: ""; position: absolute; inset: 0 0 0 1.2em; background: var(--b2); opacity: .9; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.pc-art .pz-art { position: relative; border-radius: .5em; border: .35em solid #fff; box-shadow: 0 .5em 1.2em rgba(0,0,0,.3); transform: rotate(3deg); background: var(--bp); }
.pc-burst { position: absolute; right: 1.4em; bottom: 1.6em; width: 7.4em; height: 7.4em; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--b3); color: var(--b1); transform: rotate(-10deg); box-shadow: 0 .4em 1em rgba(0,0,0,.3), 0 0 0 .3em rgba(255,255,255,.55); }
.pc-burst b { font-size: 2.3em; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.pc-burst small { font: 800 .82em/1.15 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; padding: 0 .6em; }
.pc-back { transform: rotateY(180deg); display: grid; grid-template-columns: 1.32fr .68fr; background: var(--bp); color: var(--bi); }
.pc-msg { display: flex; flex-direction: column; gap: .45em; padding: 1.4em 1.4em 1.2em 1.8em; min-width: 0; }
.pc-back .pz-logo { color: var(--bi); }
.pc-hello { font-size: 1.55em; font-weight: 800; color: var(--b1); letter-spacing: -.02em; line-height: 1.1; }
.pc-msg p { margin: 0; font: 500 1.02em/1.4 "DM Sans", sans-serif; color: var(--bi); }
.pc-msg .pz-ticks { font-size: .92em; gap: .2em; }
.pc-reach { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8em; padding-top: .6em; border-top: .1em solid rgba(0,0,0,.12); }
.pc-reach .pz-call b { color: var(--b1); font-size: 1.5em; }
.pc-reach .pz-qrcode { width: 5.6em; height: 5.6em; box-shadow: 0 0 0 .1em rgba(0,0,0,.15); }
.pc-mail { display: flex; flex-direction: column; gap: 1em; padding: 1.2em 1.2em 1.2em 1.1em; border-left: .12em dashed rgba(0,0,0,.18); }
.pc-indicia, .pc-stamp { align-self: flex-end; text-align: center; font: 800 .7em/1.3 "DM Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--bi); border: .15em solid var(--bi); padding: .5em .7em; }
.pc-stamp { width: 6.6em; height: 7.6em; display: grid; place-items: center; border-style: dashed; opacity: .7; }
.pc-addr { margin: auto 0; display: grid; gap: .3em; font-size: 1.05em; }
.pc-addr b { font-weight: 800; line-height: 1.2; }
.pc-addr small { font: 600 .82em "DM Sans", sans-serif; opacity: .75; }
.email-card { border: 1px solid rgba(119,167,237,.2); border-radius: 12px; background: rgba(6,15,30,.6); padding: 14px; max-width: 340px; font-size: 13px; color: #dfe8f6; line-height: 1.6; }
.email-card p { margin: 10px 0 0; }
.email-card .em-sign { color: #8fa3c1; }
.email-card.empty p { margin: 0 0 12px; color: #b8c8e0; }
.em-row { font-size: 12px; color: #c9d7ee; padding: 4px 0; border-bottom: 1px solid rgba(142,180,235,.1); }
.em-row b { display: inline-block; width: 60px; color: #8fa3c1; font-weight: 600; }
.app-note { margin: 0; padding: 11px 16px; font-size: 11px; line-height: 1.55; color: #7f91ad; border-top: 1px solid rgba(142,180,235,.1); }
.demo-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding: 20px 24px; border: 1px solid rgba(112,178,255,.22); border-radius: 16px; background: rgba(11,24,46,.7); }
.demo-cta h3 { font: 800 19px Manrope, sans-serif; margin: 0 0 4px; }
.demo-cta p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Why AdLogic is different ---------- */
.why-section { padding-top: 70px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* cards take an accent family (.ac-cyan, .ac-violet …) and tint their border, icon and glow with it */
.why-card, .feat, .data-card, .trade { position: relative; border: 1px solid rgba(var(--a-rgb, 125,169,235), .2); border-radius: 14px; background: linear-gradient(155deg, rgba(var(--a-rgb, var(--blue-rgb)), .09), transparent 58%), rgba(11,24,46,.78); transition: border-color .25s, transform .25s, box-shadow .25s; }
.why-card:hover, .feat:hover, .data-card:hover, .trade:hover { border-color: rgba(var(--a-rgb, 92,180,255), .5); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 24px rgba(var(--a-rgb, var(--blue-rgb)), .1); }
.why-card::before, .feat::before, .data-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--a, var(--blue)), transparent); opacity: .75; }
.why-card { padding: 20px; }
.mini-icon, .feat-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(var(--a-rgb, var(--blue-rgb)), .35); background: rgba(var(--a-rgb, var(--blue-rgb)), .1); color: var(--a, #6bd8ff); font-size: 14px; font-weight: 700; }
.why-card .mini-icon { margin-bottom: 12px; }
.why-card h3, .feat h3, .trade h3 { font: 700 15px Manrope, sans-serif; margin: 0 0 6px; }
.why-card p, .feat p, .trade p { color: #9aacc6; font-size: 13px; line-height: 1.6; margin: 0; }
.why-line { text-align: center; font: 700 15px Manrope, sans-serif; color: #c9d7ee; margin: 22px 0 0; }

/* ---------- Features (compact grid) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat { padding: 16px 18px; }
.feat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.feat-group { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--a, #6e85a8); opacity: .85; font-weight: 700; }

/* ---------- Data ---------- */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.data-card { padding: 18px; }
.data-card h3 { font: 700 14px Manrope, sans-serif; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.data-card h3 span { color: var(--a, #6bd8ff); }
.data-card ul { margin: 0; padding-left: 16px; display: grid; gap: 6px; font-size: 12.5px; color: #a8b8d0; line-height: 1.5; }
.data-card em { font-style: normal; color: #ffd79a; }
.data-aside { font-size: 11.5px; color: #8fa3c1; margin: 10px 0 0; }
.data-note { max-width: 760px; margin: 20px auto 0; text-align: center; font-size: 12.5px; color: #8fa3c1; line-height: 1.65; }

/* ---------- Trades ---------- */
.trade-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trade { padding: 18px; border-top: 2px solid var(--a, rgba(66,186,255,.5)); }
.trade h3 { color: var(--a, #fff); }

/* ---------- Demo: lead meta, contact, map layers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ld-meta { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px !important; }
.ld-meta span { font-size: 10.5px; color: #b9cbe6; border: 1px solid rgba(119,167,237,.2); border-radius: 999px; padding: 2px 8px; background: rgba(6,15,30,.5); }
.ld-score.warm { border-color: rgba(255,170,60,.3); background: rgba(255,170,60,.08); } .ld-score.warm b { color: #ffc46b; }
.ld-contact { font-size: 12.5px; color: #b8c8e0; line-height: 1.55; padding: 10px 12px; border: 1px dashed rgba(119,167,237,.25); border-radius: 10px; }
.ld-contact b { display: block; font: 700 11px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #8fa3c1; margin-bottom: 3px; }
.ld-panel.enter { animation: panelIn .28s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.layers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.layers button { border: 1px solid rgba(119,167,237,.25); background: rgba(6,15,30,.6); color: #9fb2cf; font: 700 12px "DM Sans", sans-serif; padding: 7px 11px; border-radius: 999px; cursor: pointer; min-height: 34px; transition: all .2s; }
.layers button:hover { color: #fff; border-color: rgba(92,180,255,.5); }
.layers button[aria-pressed="true"] { color: #fff; border-color: #42baff; background: rgba(31,95,214,.28); }
.map-frame { position: relative; border: 1px solid rgba(119,167,237,.2); border-radius: 12px; overflow: hidden; background: #08132a; }
.map-svg { display: block; width: 100%; height: auto; }
.map-tag { position: absolute; right: 8px; top: 8px; font-size: 9.5px; letter-spacing: .8px; text-transform: uppercase; color: #ffd79a; background: rgba(5,12,26,.8); border: 1px solid rgba(255,196,107,.3); border-radius: 999px; padding: 3px 8px; }
.m-street { fill: #12223f; }
.m-lot { fill: #1b2f52; transition: fill .3s; }
.m-lot.on-route { fill: #2b5fae; }
.m-route { fill: rgba(66,186,255,.06); stroke: #42baff; stroke-width: 1.2; stroke-dasharray: 5 4; }
.m-tree { fill: rgba(72,190,120,.42); }
.m-flood { fill: rgba(56,140,255,.2); }
.m-creek { fill: none; stroke: #4ea8ff; stroke-width: 2.5; opacity: .8; }
.m-track { fill: none; stroke: #ff6b81; stroke-width: 14; stroke-opacity: .22; stroke-linecap: round; }
.m-dist { stroke: #ffc46b; stroke-width: 1; stroke-dasharray: 3 3; opacity: .8; }
.m-hail-ring { fill: rgba(255,196,107,.16); stroke: #ffc46b; stroke-width: 1.2; }
.m-hail-ic { fill: #ffc46b; font-size: 11px; }
.m-pulse { fill: rgba(66,186,255,.18); stroke: #42baff; stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: mapPing 2.4s ease-out infinite; }
.m-lead { fill: #5cc8ff; stroke: #fff; stroke-width: 1.5; }
.m-bubble rect { fill: #0b1730; stroke: #a28bff; }
.m-bubble text { fill: #d9ccff; font: 700 9.5px "DM Sans", sans-serif; }
.m-label { font: 700 10px "DM Sans", sans-serif; paint-order: stroke; stroke: #08132a; stroke-width: 3px; }
.m-label.route { fill: #9fdcff; } .m-label.storm { fill: #ffb37a; }
@keyframes mapPing { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.learn { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.learn li { font-size: 12px; color: #b8c8e0; line-height: 1.55; padding: 8px 10px; border-radius: 9px; background: rgba(6,15,30,.5); border: 1px solid rgba(119,167,237,.12); }
.learn b { color: #e6eefc; }

/* ---------- One home, four scores ---------- */
.ts-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; margin-top: 18px; padding: 24px; border: 1px solid rgba(112,178,255,.2); border-radius: 18px; background: linear-gradient(140deg, rgba(13,28,54,.85), rgba(7,15,31,.85)); }
.ts-intro h3 { font: 800 22px Manrope, sans-serif; letter-spacing: -.6px; margin: 12px 0 8px; }
.ts-intro p { color: #a8b8d0; font-size: 13.5px; line-height: 1.65; margin: 0; }
.ts-intro .ts-note { font-size: 11px; color: #7f91ad; margin-top: 8px; }
.ts-card { border: 1px solid rgba(119,167,237,.18); border-radius: 14px; background: rgba(6,15,30,.55); padding: 16px; }
.ts-home { font: 700 14px Manrope, sans-serif; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ts-home span { color: #62ceff; } .ts-home small { font: 500 11px "DM Sans", sans-serif; color: #8fa3c1; margin-left: auto; }
.ts-bars { display: grid; gap: 6px; }
.ts-bar { display: grid; grid-template-columns: 120px 1fr 32px; gap: 10px; align-items: center; width: 100%; text-align: left; border: 1px solid transparent; background: none; color: #c9d7ee; font: 600 12.5px "DM Sans", sans-serif; padding: 7px 8px; border-radius: 9px; cursor: pointer; transition: background .2s, border-color .2s; }
.ts-bar:hover { background: rgba(66,186,255,.06); }
.ts-bar.on { border-color: rgba(66,186,255,.45); background: rgba(31,95,214,.16); color: #fff; }
.ts-bar b { font: 800 15px Manrope, sans-serif; text-align: right; color: #69e1c8; }
.ts-track { height: 8px; border-radius: 6px; background: rgba(119,167,237,.14); overflow: hidden; }
.ts-track span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #3478ff, #42baff, #62e2c9); transition: width 1.1s cubic-bezier(.2,.75,.2,1); }
.ts-bar:nth-child(2) .ts-track span { transition-delay: .1s; } .ts-bar:nth-child(3) .ts-track span { transition-delay: .2s; } .ts-bar:nth-child(4) .ts-track span { transition-delay: .3s; }
.ts-why { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(142,180,235,.12); font-size: 12.5px; color: #c9d7ee; }
.ts-why ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 3px; color: #a8b8d0; }

/* ---------- Comparison table ---------- */
.cmp { margin-top: 18px; }
.cmp-title { font: 800 18px Manrope, sans-serif; margin: 0 0 10px; text-align: center; }
.cmp-scroll { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-table th, .cmp-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.5; }
.cmp-table thead th { border-top: 0; font: 800 11px Manrope, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #8fa3c1; background: rgba(19,39,70,.6); }
.cmp-table tbody th { font: 700 13px Manrope, sans-serif; color: #c9d7ee; width: 20%; }
.cmp-table td { color: #8ea4c3; }
.cmp-table .us { background: rgba(31,95,214,.14); color: #eef4ff; font-weight: 600; }
.cmp-table thead .us { color: var(--purple-lt); }

/* ---------- Data stats ---------- */
.data-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.data-stats div { padding: 16px 18px; border: 1px solid rgba(112,178,255,.22); border-radius: 14px; background: linear-gradient(150deg, rgba(20,44,84,.7), rgba(8,17,34,.8)); }
.data-stats b { display: block; font: 800 26px/1.1 Manrope, sans-serif; letter-spacing: -.8px; color: #6bd8ff; margin-bottom: 4px; }
.data-stats div:nth-child(2) b { color: var(--purple-lt); } .data-stats div:nth-child(3) b { color: var(--mint); } .data-stats div:nth-child(4) b { color: var(--amber); }
.data-stats span { font-size: 12.5px; color: #a8b8d0; line-height: 1.45; }
.data-lede { max-width: 860px; margin: 0 auto 18px; text-align: center; color: #c9d7ee; font-size: 14.5px; line-height: 1.7; }
.new { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #62e2c9; border: 1px solid rgba(98,226,201,.4); border-radius: 999px; padding: 1px 6px; margin-left: 3px; vertical-align: 1px; }

/* ---------- Reveals (fly-ins) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.75,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
/* keyboard users get a visible focus ring; mouse users don't */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: #0b1730; color: #fff; font-weight: 700; font-size: 13px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.reveal[data-fly="left"] { transform: translateX(-44px); }
.reveal[data-fly="right"] { transform: translateX(44px); }
.reveal[data-fly="zoom"] { transform: scale(.92) translateY(16px); }
.reveal[data-fly="none"] { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes scrollLine { 0%, 100% { transform: scaleY(.65); opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheen { 0% { transform: translateX(-130%); } 35%, 100% { transform: translateX(130%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .7; } }
@keyframes spin { to { --ang: 360deg; } }
@keyframes wordGlowFlat { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes mfxSheen { 0%, 62%, 100% { transform: translateX(-130%); } 88% { transform: translateX(130%); } }
@keyframes mfxNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes mfxBreathe { 0%, 100% { box-shadow: 0 0 14px rgba(0,229,255,.16), 0 0 34px rgba(0,150,255,.06); } 50% { box-shadow: 0 0 22px rgba(0,229,255,.34), 0 0 48px rgba(0,180,255,.13); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-in { opacity: 1; transform: none; }
  .steps::before { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { gap: 17px; } .nav-links a:nth-child(3), .nav-links a:nth-child(5), .nav-links a:nth-child(8) { display: none; }
  .hero-content { display: block; } .hero-content > h1 { margin-bottom: 22px; } .hero-copy { max-width: 680px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .container { width: min(100% - 34px, var(--max)); } nav { min-height: 62px; } .logo-img { height: 36px; }
  .menu-toggle { display: flex; } .nav-cta { display: none; }
  .nav-links { display: none; position: fixed; top: 62px; left: 0; right: 0; padding: 22px 24px 26px; background: rgba(0,1,8,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(92,231,245,.1); flex-direction: column; align-items: stretch; gap: 0; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links a:nth-child(3), .nav-links a:nth-child(5), .nav-links a:nth-child(8) { display: block; padding: 13px 0; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(192,216,238,.7); }
  .nav-links a.active { color: #fff; } .nav-links a::after { display: none; }
  .nav-links .menu-cta { display: block; margin-top: 10px; padding: 14px 0; text-align: center; color: #eaf9ff; border: 1px solid rgba(92,231,245,.42); border-radius: 10px; background: rgba(10,32,70,.42); }
  .about-hero { grid-template-columns: 1fr; gap: 20px; text-align: center; justify-items: center; } .about-hero h1 { font-size: 34px; letter-spacing: -1.4px; } .about-stats { gap: 8px; margin-top: 30px; } .about-stat { padding: 18px 8px 16px; } .about-stat b { font-size: 30px; } .about-stat span { font-size: 9px; letter-spacing: 1.2px; }
  .creds { grid-template-columns: 1fr; } .about-tl .tl-item { grid-template-columns: 1fr; gap: 4px; } .about-sec { padding-top: 34px; } .linkrow .btn { width: 100%; }
  h1 { font-size: clamp(35px, 9.9vw, 50px); letter-spacing: -2px; } .hero-copy { font-size: 15px; } .hero-actions .btn { width: 100%; }

  /* ══ MOBILE MAKEOVER: the old adlogic.tech phone look. The background IS the hero. ══ */
  #space, .noise { display: none !important; }
  /* pinned to the LARGE viewport so the iOS address bar collapsing never resizes the scene */
  #mobile-space { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -3; pointer-events: none; background:
    radial-gradient(ellipse 120% 46% at 50% 104%, rgba(0,150,255,.30) 0%, rgba(0,80,200,.12) 42%, transparent 72%),
    radial-gradient(ellipse 60% 26% at 50% 99%, rgba(168,85,247,.26) 0%, transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 18%, rgba(8,20,70,.55) 0%, transparent 75%),
    #000105; }
  #mobile-space canvas { display: block; width: 100%; height: 100%; }
  .vignette-m { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 100% 62% at 50% 26%, rgba(6,18,72,.32) 0%, rgba(2,6,22,.10) 46%, rgba(0,1,5,.30) 72%, rgba(0,1,5,.72) 100%); }
  body { background: #000105; }

  /* nav: no bar. Logo and hamburger float over the scene; a thin pane slides in past the hero */
  .nav-wrap, .nav-wrap.scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; box-shadow: none; transition: background .38s ease, box-shadow .38s ease, border-color .38s ease; }
  .nav-wrap.mfx-solid { background: rgba(0,0,0,.2); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid rgba(92,231,245,.12); box-shadow: 0 6px 26px rgba(0,0,0,.34); }
  .nav-wrap.mfx-solid::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.42), rgba(168,85,247,.42), transparent); }
  .nav-wrap .logo-img { filter: drop-shadow(0 0 5px rgba(0,229,255,.45)) drop-shadow(0 2px 10px rgba(0,0,0,.85)); }

  /* hero: text up top, the planet gets the lower two-thirds, the sample app waits below the fold */
  /* first screen, everything centred: headline up top, the copy and trades in the middle, the trust line and
     "Try the demo" just above the bottom bar */
  .hero { position: relative; min-height: calc(100svh - 62px); padding: 40px 0 0; overflow: visible; display: flex; flex-direction: column; }   /* 62px: the nav above it */
  .hero-grid { display: flex; flex-direction: column; flex: 1; min-height: auto; }
  .hero-content { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 8px; }
  .hero-side { display: contents; }
  .hero-content > h1 { margin-bottom: 0; }
  .h1-dot { display: none; }
  .h1-zip { display: block; margin-top: 8px; font-size: .74em; letter-spacing: -1.2px; background: linear-gradient(100deg, #eef3ff 0%, var(--purple-lt) 55%, var(--purple) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .hero-copy { margin: auto auto 16px; }
  .trade-chips { justify-content: center; margin-bottom: auto; }
  .hero-foot { margin-top: 0; gap: 16px; padding: 18px 0 calc(78px + env(safe-area-inset-bottom, 0px)); }
  .trust-line { max-width: 30ch; line-height: 1.5; }
  .hero-content::before { content: ""; position: absolute; inset: -118px -50vw auto -50vw; height: 520px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,1,5,0) 0%, rgba(0,1,5,.30) 22%, rgba(0,1,5,.52) 46%, rgba(0,1,5,.42) 66%, rgba(0,1,5,.16) 86%, rgba(0,1,5,0) 100%); }
  .hero .eyebrow { opacity: .85; }
  h1 { filter: drop-shadow(0 2px 14px rgba(0,0,0,.85)); }
  .hero-copy { max-width: 33ch; font-size: 14.5px; line-height: 1.66; color: rgba(158,194,224,.88); text-shadow: 0 1px 10px rgba(0,0,0,.85); margin-bottom: 18px; }
  .hero .hero-actions { display: none; }                /* the bottom bar is the call to action; the closing box keeps its buttons */
  .trust-line { text-shadow: 0 1px 8px rgba(0,0,0,.9); }
  .trust-line .pulse-dot { flex: none; }
  .glow { filter: none; animation-name: wordGlowFlat; }  /* the drop-shadow filter is the one thing a phone GPU chokes on */

  /* the bar welded to the bottom edge */
  .hero-cta-m { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding-bottom: env(safe-area-inset-bottom, 0px); background: linear-gradient(180deg, rgba(0,6,22,0) 0%, rgba(0,4,16,.72) 55%); will-change: opacity; transition: opacity .25s linear; }
  .hero-cta-m::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.55), rgba(168,85,247,.55), transparent); }
  .hero-cta-m.mfx-gone { pointer-events: none; }
  .btn-hero-m { position: relative; isolation: isolate; overflow: hidden; display: block; width: 100%; padding: 15px 26px; text-align: center; font: 600 12px/1.3 "DM Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #f2fdff; border-top: 1px solid rgba(0,229,255,.42); background: linear-gradient(180deg, rgba(10,32,70,.42) 0%, rgba(3,10,32,.58) 100%); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); animation: mfxBreathe 4.2s ease-in-out infinite; }
  .btn-hero-m::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(105deg, transparent 34%, rgba(190,245,255,.13) 48%, transparent 62%); transform: translateX(-130%); animation: mfxSheen 6.5s ease-in-out infinite; }
  .btn-hero-m::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
  .btn-hero-m > span { position: relative; z-index: 2; display: inline-block; text-shadow: 0 0 12px rgba(0,229,255,.55); }
  .btn-hero-m > span::after { content: " \2192"; display: inline-block; animation: mfxNudge 2.4s ease-in-out infinite; }
  .btn-hero-m:active { transform: scale(.975); }
  footer { padding-bottom: 72px; }                      /* room for the bar before it has faded */
  section { padding: 64px 0; } .section-head { margin-bottom: 28px; } .section-head h2 { letter-spacing: -1.2px; }
  .steps, .faq-grid { grid-template-columns: 1fr; } .steps { gap: 28px; } .steps::before { display: none; } .step { padding: 0 8px; }
  .price-inner { padding: 28px 22px; } .price-amount b { font-size: 52px; } .tl-item { grid-template-columns: 56px 1fr; gap: 12px; } .founder { align-items: flex-start; }
  .faq-grid { gap: 25px; } .cta-section { padding: 10px 0 70px; } .cta-box { padding: 54px 20px; } .footer-top { justify-content: center; flex-direction: column; text-align: center; } .footer-links { justify-content: center; }
  .reveal[data-fly="left"] { transform: translateX(-20px); } .reveal[data-fly="right"] { transform: translateX(20px); } .reveal.visible { transform: none; }
}

/* ---------- Responsive: the new homepage sections ---------- */
@media (max-width: 1000px) {
  .demo-head { grid-template-columns: 1fr; gap: 10px; }
  .feat-grid, .data-grid, .trade-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .app-main { grid-template-columns: 1fr; min-height: 0; }
  .lead-list { border-right: 0; border-bottom: 1px solid rgba(142,180,235,.1); }
  .out-wrap { grid-template-columns: 1fr; justify-items: center; }
  .out-side { justify-self: stretch; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feat-grid, .data-grid, .trade-grid { grid-template-columns: 1fr; }
  .app-controls { flex-direction: column; align-items: stretch; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; }
  .seg button:last-child:nth-child(odd) { grid-column: span 2; }
  .terr select { flex: 1; }
  .app-summary .sum-terr { margin-left: 0; }
  .demo-cta .btn { width: 100%; }
  .lead-detail { padding: 14px 12px; }
  .ld-tabs button { flex: 1; padding: 10px 6px; }
  .pieces { display: flex; } .pieces button { flex: 1; padding: 8px 3px; white-space: nowrap; font-size: 11.5px; }
}
@media (max-width: 1000px) {
  .ts-wrap { grid-template-columns: 1fr; }
  .data-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .cmp-table thead { display: none; }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: 100%; }
  /* on a phone each row becomes its own card, so rows never run together over the moving background */
  .cmp-scroll { border: 0; border-radius: 0; overflow: visible; }
  .cmp-table tbody { display: grid; gap: 10px; }
  .cmp-table tr { padding: 10px 0 8px; border: 1px solid rgba(125,169,235,.2); border-radius: 14px; background: linear-gradient(155deg, rgba(var(--violet-rgb), .08), transparent 55%), rgba(9,19,38,.9); box-shadow: 0 8px 24px rgba(0,0,0,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .cmp-table tbody th { padding-bottom: 8px !important; margin-bottom: 4px; border-bottom: 1px solid rgba(125,169,235,.12) !important; color: #fff; }
  .cmp-table th, .cmp-table td { border-top: 0; padding: 4px 14px; }
  .cmp-table tbody th { width: 100%; }
  .cmp-table td::before { display: block; font: 800 9.5px Manrope, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #6e85a8; }
  .cmp-table td:nth-of-type(1)::before { content: "Shared-lead sites"; }
  .cmp-table td:nth-of-type(2)::before { content: "Lead lists"; }
  .cmp-table td:nth-of-type(3)::before { content: "AdLogic"; color: var(--purple-lt); }
  .cmp-table .us { width: auto; margin: 6px 8px 2px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(var(--violet-rgb), .3); background: rgba(70,60,160,.22); }
  .ts-wrap { padding: 16px; }
  .ts-bar { grid-template-columns: 96px 1fr 28px; gap: 8px; font-size: 12px; }
}
@media (max-width: 600px) { .data-stats { grid-template-columns: 1fr 1fr; gap: 8px; } .data-stats b { font-size: 20px; } .layers button { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .m-pulse { animation: none; } }
@media (min-width: 861px) { .ev-list { max-height: 236px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; } }
@media (max-width: 600px) { .m-label { font-size: 13px; } .m-bubble text { font-size: 12px; } }

/* ---------- Demo: map legend, neighborhood and similar-lead layers, satellite and street views ---------- */
.map-legend { position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.map-legend span { font: 700 10.5px/1.35 "DM Sans", sans-serif; padding: 3px 9px; border-radius: 999px; background: rgba(5,12,26,.86); border: 1px solid rgba(255,255,255,.14); color: #d9e4f5; max-width: 100%; }
.map-legend .lg-tree { color: #8be3ad; border-color: rgba(72,190,120,.45); } .map-legend .lg-flood, .map-legend .lg-rain { color: #9fd0ff; border-color: rgba(78,168,255,.45); }
.map-legend .lg-hood, .map-legend .lg-similar { color: var(--purple-lt); border-color: var(--purple-line); } .map-legend .lg-storm { color: #ffb37a; border-color: rgba(255,179,122,.45); }
.map-legend .lg-hl { color: var(--hl); border-color: var(--hl); background: rgba(5,12,26,.9); }
.m-hood { fill: rgba(var(--violet-rgb), .07); stroke: var(--purple); stroke-width: 1.4; stroke-dasharray: 6 4; }
.m-similar { fill: var(--purple); stroke: #fff; stroke-width: 1; }
.view-svg { background: #4b5f36; }
.v-hl { filter: drop-shadow(0 0 2.5px rgba(0,0,0,.7)); }

/* ---------- Demo: demand trends ---------- */
.tr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.tr-kicker { font: 700 11px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #8fa3c1; }
.tr-terms { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; }
.tr-key { display: inline-flex; align-items: center; gap: 7px; font: 700 13px Manrope, sans-serif; color: #f0f5ff; }
.tr-key::before { content: ""; width: 16px; height: 3px; border-radius: 2px; background: var(--blue); } .tr-key.tr-b::before { background: var(--amber); }
.tr-src { flex: none; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--purple-lt); border: 1px solid var(--purple-line); background: rgba(var(--violet-rgb), .1); border-radius: 999px; padding: 4px 10px; }
.tr-chart { border: 1px solid rgba(119,167,237,.2); border-radius: 12px; background: #08132a; padding: 6px 6px 0; }
.tr-svg { display: block; width: 100%; height: auto; }
.tr-grid { stroke: rgba(142,180,235,.12); stroke-width: 1; }
.tr-axis { fill: #6e85a8; font: 600 9px "DM Sans", sans-serif; }
.tr-m { fill: #8fa3c1; font: 700 10px "DM Sans", sans-serif; } .tr-m.now { fill: var(--purple-lt); }
.tr-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.tr-line.tr-a { stroke: var(--blue); } .tr-line.tr-b { stroke: var(--amber); }
.tr-dash { stroke-dasharray: 4 4; opacity: .8; }
.tr-dot { stroke: #fff; stroke-width: 1.5; } .tr-dot.tr-a { fill: var(--blue); } .tr-dot.tr-b { fill: var(--amber); }
.tr-ahead { fill: rgba(var(--violet-rgb), .09); }
.tr-ahead-t { fill: var(--purple-lt); font: 700 8.5px "DM Sans", sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.tr-now { stroke: var(--purple); stroke-width: 1.2; stroke-dasharray: 3 3; }
.tr-note { fill: #ffb37a; font: 700 9.5px "DM Sans", sans-serif; paint-order: stroke; stroke: #08132a; stroke-width: 3px; }
.tr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.tr-stats div, .tr-box { padding: 10px 12px; border: 1px solid rgba(119,167,237,.16); border-radius: 10px; background: rgba(6,15,30,.5); }
.tr-stats div { display: grid; gap: 2px; align-content: start; }
.tr-stats small { font: 700 9.5px Manrope, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #8fa3c1; }
.tr-stats b { font: 800 20px/1.15 Manrope, sans-serif; color: #f0f5ff; } .tr-stats b i { font-style: normal; font-size: 11px; font-weight: 600; color: #8fa3c1; }
.tr-stats .tr-out { font-size: 14px; line-height: 1.25; }
.tr-stats span { font-size: 11px; color: #8fa3c1; } .tr-stats .up { color: #69e1c8; } .tr-stats .down { color: #ffb37a; }
.tr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.tr-box h4 { font: 700 11px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #8fa3c1; margin: 0 0 9px; }
.tr-rising, .tr-other { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tr-rising li { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; font-size: 12.5px; color: #e1eaf8; }
.tr-rising i { grid-column: 1 / -1; grid-row: 2; position: relative; height: 4px; border-radius: 3px; background: rgba(119,167,237,.14); overflow: hidden; }
.tr-rising i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--purple), var(--blue)); }
.tr-rising b { grid-column: 2; grid-row: 1; font: 800 12px Manrope, sans-serif; color: #69e1c8; }
.tr-cite { font-size: 10.5px; color: #6e85a8; margin: 9px 0 0; }
.tr-other li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 12px; color: #c9d7ee; line-height: 1.35; }
.tr-chip { font: 800 9.5px Manrope, sans-serif; letter-spacing: .6px; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--purple-line); color: var(--purple-lt); background: rgba(var(--violet-rgb), .08); }
.tr-other b { font: 800 13px Manrope, sans-serif; color: #f0f5ff; }
.tr-tip { margin-bottom: 8px; border-left-color: var(--purple); background: rgba(139,108,255,.1); } .tr-tip b { color: var(--purple-lt); }
.tr-fine { font-size: 11px; color: #7f91ad; margin: 0; line-height: 1.55; }

/* ---------- Why USPS mail routes matter ---------- */
.route-why { display: grid; grid-template-columns: .85fr 2fr; gap: 26px; align-items: center; margin-top: 18px; padding: 22px 24px; border: 1px solid var(--purple-line); border-radius: 18px; background: radial-gradient(ellipse at 0% 0%, rgba(var(--violet-rgb), .16), transparent 55%), linear-gradient(150deg, rgba(20,22,58,.85), rgba(8,15,32,.9)); }
.route-why h3 { font: 800 20px/1.25 Manrope, sans-serif; letter-spacing: -.5px; margin: 10px 0 6px; }
.route-why > div > p { margin: 0; color: #a8b8d0; font-size: 13px; line-height: 1.6; }
.route-why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.route-why li { padding: 14px; border-radius: 12px; border: 1px solid rgba(var(--violet-rgb), .22); background: rgba(8,14,34,.7); font-size: 12.5px; line-height: 1.55; color: #a8b8d0; }
.route-why li b { display: block; color: #eef4ff; font: 700 13.5px Manrope, sans-serif; margin-bottom: 4px; }
.route-why li span[aria-hidden] { color: var(--purple-lt); margin-right: 6px; }

@media (max-width: 1000px) {
  .route-why { grid-template-columns: 1fr; gap: 14px; }
  .trade-grid .trade:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .route-why { padding: 18px 16px; } .route-why ul { grid-template-columns: 1fr; gap: 8px; }
  .tr-stats { grid-template-columns: 1fr 1fr; } .tr-stats div:last-child { grid-column: 1 / -1; }
  .tr-cols { grid-template-columns: 1fr; }
  .views { display: flex; } .views button { flex: 1; padding: 8px 6px; }
  .map-legend span { font-size: 10px; padding: 2px 7px; }
  .out-wrap.printed { justify-content: center; }
}

/* the sample app's service picker (What you offer) */
.svc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 18px 0; border: 0; background: none; }
.svc-row .svc-label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #8fa3c1; margin-right: 6px; }
.svc-row button[aria-pressed="false"] { opacity: .55; text-decoration: line-through; text-decoration-color: rgba(143,163,193,.6); }
.li-tags .li-fit { color: #62e2c9; border-color: rgba(98,226,201,.35); }
.svc-empty { padding: 22px; color: #8fa3c1; font-size: 14px; }
@media (max-width: 768px) { .svc-row { padding: 10px 12px 0; } .svc-row .svc-label { width: 100%; } }

/* ══ The tutorial video (#tour) ══ */
.video-section { padding: 70px 0 30px; }
.video-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: center; }
.video-copy h2 { margin: 12px 0 14px; }
.video-copy p { color: #a9bad3; }
.video-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.video-points li { display: flex; align-items: center; gap: 12px; color: #dbe6f6; font-size: 15px; }
.video-points li span { font: 800 11px/1 "Manrope", sans-serif; letter-spacing: 1px; color: #76c9ff; border: 1px solid rgba(118,201,255,.35); border-radius: 8px; padding: 6px 7px; }
.video-frame { position: relative; }
.video-play, .video-iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid rgba(104,160,231,.28); }
.video-play { position: relative; padding: 0; cursor: pointer; overflow: hidden; background:
  radial-gradient(120% 90% at 20% 10%, rgba(66,186,255,.12), transparent 55%), radial-gradient(90% 80% at 90% 90%, rgba(162,139,255,.14), transparent 60%), rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset; transition: transform .35s, box-shadow .35s; }
.video-play:hover { transform: translateY(-3px); box-shadow: 0 36px 90px rgba(0,0,0,.6), 0 0 50px rgba(66,186,255,.18); }
.video-play:focus-visible { outline: 2px solid #76c9ff; outline-offset: 4px; }
.video-poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 26px 28px; text-align: left; }
.video-poster img { position: absolute; top: 24px; left: 26px; width: 118px; height: auto; opacity: .95; }
.video-poster-title { font: 800 clamp(26px, 3.2vw, 40px)/1.05 "Manrope", sans-serif; letter-spacing: -1px; color: #f4f8ff; }
.video-poster-sub { margin-top: 6px; color: #9fb2cf; font-size: 14px; }
.video-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #2f8bff, #7a5cff); box-shadow: 0 0 0 10px rgba(66,186,255,.12), 0 12px 40px rgba(47,139,255,.45); transition: transform .3s; }
.video-btn svg { margin-left: 4px; }
.video-play:hover .video-btn { transform: translate(-50%, -50%) scale(1.07); }
.video-iframe { background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.video-fine { margin: 10px 4px 0; font-size: 12px; color: #6f83a3; }
.video-frame.playing .video-fine { display: none; }
/* Press play: the button punches in, shockwave rings and sparks burst out, the poster warps away, and the player
   widens to theater size (a bigger player also makes YouTube pick HD). */
.video-play.launching { pointer-events: none; }
.video-play.launching .video-btn { animation: vbtn-punch .65s cubic-bezier(.2,.8,.2,1) forwards; }
.video-play.launching .video-poster { animation: vposter-warp .65s ease-in forwards; }
.video-ring { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(162,139,255,.9); box-shadow: 0 0 24px rgba(162,139,255,.6), inset 0 0 18px rgba(66,186,255,.4); animation: vring 0.8s cubic-bezier(.1,.7,.3,1) forwards; }
.video-ring:nth-of-type(2) { border-color: rgba(118,201,255,.85); animation-delay: .12s; }
.video-ring:nth-of-type(3) { border-color: rgba(255,255,255,.6); animation-delay: .24s; }
.video-spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; pointer-events: none;
  box-shadow: 0 0 10px #a28bff, 0 0 20px #42baff; animation: vspark .75s ease-out forwards; }
@keyframes vbtn-punch { 0% { transform: translate(-50%, -50%) scale(1); } 25% { transform: translate(-50%, -50%) scale(.82); } 100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; filter: blur(6px); } }
@keyframes vposter-warp { to { opacity: 0; transform: scale(1.12); filter: blur(10px); } }
@keyframes vring { from { transform: scale(.6); opacity: 1; } to { transform: scale(9); opacity: 0; } }
@keyframes vspark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.video-grid { transition: grid-template-columns .6s cubic-bezier(.2,.8,.2,1), gap .6s; }
.video-grid.theater { grid-template-columns: minmax(0, 0fr) minmax(0, 1fr); gap: 0; }
.video-grid.theater .video-copy { opacity: 0; visibility: hidden; max-height: 0; overflow: hidden; transition: opacity .3s, visibility 0s .3s; }
.video-iframe { animation: viframe-in .6s cubic-bezier(.2,.8,.2,1); }
@keyframes viframe-in { from { opacity: 0; transform: scale(.94); filter: brightness(2) blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .video-play.launching *, .video-ring, .video-spark, .video-iframe, .video-grid { animation: none !important; transition: none !important; } }
/* condensed homepage: six features, the trades as one list, the add-on ZIP price */
.feat-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trades-lede { max-width: 720px; margin: -6px auto 22px; text-align: center; color: #a9bad3; }
.trade-list { justify-content: center; max-width: 920px; margin: 0 auto; }
.trade-list a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(118,201,255,.5); }
.trade-list a:hover { color: #fff; }
.price-addon { margin: 2px 0 10px; color: #c8d6ea; font-size: 15px; } .price-addon b { color: #76c9ff; font-size: 18px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; gap: 26px; } .feat-six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .video-section { padding: 40px 0 10px; } .video-copy { text-align: center; } .video-points { justify-items: center; }
  .video-btn { width: 66px; height: 66px; } .video-poster { padding: 18px; } .video-poster img { width: 92px; top: 16px; left: 18px; }
  .feat-six { grid-template-columns: 1fr; }
}

/* trade pages: the three figures, the data-edge cards two across, prices at the right of each service row */
.trade-stats .about-stat b { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -1px; line-height: 1.12; }
.edge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
summary .svc-price { margin-left: auto; color: #76c9ff; font-weight: 600; white-space: nowrap; }
@media (max-width: 768px) {
  .trade-stats .about-stat b { font-size: 19px; letter-spacing: -.4px; }
  .edge-grid { grid-template-columns: 1fr; }
  summary .svc-price { white-space: normal; text-align: right; font-size: 12.5px; max-width: 45%; }
}

/* ══ The trade explorer (#tradeExplorer, js/explorer.js) ══ */
.tx { max-width: 1080px; margin: 0 auto; }
.tx-top { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tx-search { flex: 1 1 420px; max-width: 560px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(104,160,231,.3);
  background: rgba(6,16,32,.85); color: #8fa3c1; transition: border-color .2s, box-shadow .2s; }
.tx-search:focus-within { border-color: #76c9ff; box-shadow: 0 0 0 4px rgba(66,186,255,.14); }
.tx-search input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; color: #f4f8ff; font: 500 15px "DM Sans", sans-serif; }
.tx-search input::placeholder { color: #6f83a3; }
.tx-surprise { height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(162,139,255,.45); background: linear-gradient(135deg, rgba(47,139,255,.18), rgba(122,92,255,.22));
  color: #e9e4ff; font: 700 14px Manrope, sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.tx-surprise:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(122,92,255,.3); }
.tx-surprise span { display: inline-block; transition: transform .5s; } .tx-surprise:hover span { transform: rotate(180deg); }
.tx-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 8px; }
.tx-groups button { border: 1px solid rgba(104,160,231,.22); background: rgba(6,16,32,.6); color: #9fb2cf; font: 700 12px "DM Sans", sans-serif; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.tx-groups button:hover { color: #fff; border-color: rgba(118,201,255,.5); }
.tx-groups button[aria-pressed="true"] { background: #1f5fd6; border-color: #1f5fd6; color: #fff; box-shadow: 0 4px 16px rgba(36,126,255,.3); }
.tx-count { text-align: center; color: #8fa3c1; font-size: 13px; margin: 6px 0 18px; min-height: 18px; }
.tx-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tx-cell { transition: opacity .35s, transform .35s; transition-delay: var(--d); }
.tx-cell.off { opacity: .14; transform: scale(.94); pointer-events: none; filter: grayscale(1); }
.tx-tile { position: relative; width: 100%; height: 100%; min-height: 150px; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 14px; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(15,31,57,.85), rgba(8,17,34,.9)); color: #e6eefc; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tx-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(var(--a-rgb, var(--blue-rgb)), .22), transparent 60%); opacity: 0; transition: opacity .3s; }
.tx-tile:hover, .tx-tile:focus-visible { transform: translateY(-4px); border-color: rgba(var(--a-rgb, var(--blue-rgb)), .55); box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 26px rgba(var(--a-rgb, var(--blue-rgb)), .18); outline: none; }
.tx-tile:hover::before, .tx-tile.on::before { opacity: 1; }
.tx-tile.on { border-color: var(--a, #76c9ff); box-shadow: 0 0 0 1px var(--a, #76c9ff), 0 14px 34px rgba(0,0,0,.45), 0 0 34px rgba(var(--a-rgb, var(--blue-rgb)), .28); }
.tx-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--a, #8be5ff);
  background: rgba(var(--a-rgb, var(--blue-rgb)), .12); border: 1px solid rgba(var(--a-rgb, var(--blue-rgb)), .3); transition: transform .35s; }
.tx-tile:hover .tx-icon { transform: rotate(-6deg) scale(1.08); }
.tx-icon.big { width: 58px; height: 58px; border-radius: 16px; flex: none; }
.tx-name { position: relative; font: 800 15px/1.2 Manrope, sans-serif; letter-spacing: -.2px; }
.tx-tag { position: relative; font-size: 12px; line-height: 1.4; color: #8fa3c1; }
.tx-n { position: relative; margin-top: auto; font: 700 10.5px "DM Sans", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: var(--a, #76c9ff); }
.tx-panel { margin-top: 16px; padding: 22px 24px; border-radius: 20px; border: 1px solid rgba(var(--a-rgb, var(--blue-rgb)), .45);
  background: radial-gradient(90% 120% at 0% 0%, rgba(var(--a-rgb, var(--blue-rgb)), .14), transparent 55%), linear-gradient(160deg, rgba(15,31,57,.92), rgba(8,17,34,.95)); }
.tx-panel.pop { animation: txPop .45s cubic-bezier(.2,.8,.2,1); }
@keyframes txPop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.tx-p-head { display: flex; align-items: center; gap: 16px; }
.tx-p-head h3 { margin: 0; font: 800 22px Manrope, sans-serif; letter-spacing: -.5px; }
.tx-p-head p { margin: 2px 0 0; color: #9fb2cf; font-size: 14px; }
.tx-job { margin-left: auto; text-align: right; } .tx-job b { display: block; font: 800 22px Manrope, sans-serif; color: var(--a, #8be5ff); } .tx-job span { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: #8fa3c1; }
.tx-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6,16,32,.7); color: #c8d6ea; font-size: 20px; line-height: 1; cursor: pointer; }
.tx-close:hover { color: #fff; border-color: rgba(118,201,255,.5); }
.tx-svcs { list-style: none; padding: 0; margin: 18px 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.tx-svcs li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 2px; border-bottom: 1px solid rgba(142,180,235,.1); font-size: 14px; color: #dbe6f6; animation: txIn .4s both; }
.tx-svcs li b { color: var(--a, #76c9ff); font-weight: 600; white-space: nowrap; font-size: 13px; }
.tx-svcs li em { white-space: nowrap; font-style: normal; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #8fa3c1; border: 1px solid rgba(143,163,193,.35); border-radius: 6px; padding: 1px 5px; margin-left: 4px; }
.tx-svcs li.hit { color: #fff; background: rgba(var(--a-rgb, var(--blue-rgb)), .12); border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.tx-svcs li:nth-child(2n) { animation-delay: .04s; } .tx-svcs li:nth-child(3n) { animation-delay: .08s; }
@keyframes txIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tx-p-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; } .tx-p-foot > span { flex: 1 1 240px; color: #8fa3c1; font-size: 13px; }
@media (max-width: 1000px) { .tx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tx-tile { min-height: 132px; padding: 13px 12px 12px; } .tx-name { font-size: 14px; } .tx-tag { font-size: 11.5px; }
  .tx-surprise { flex: 1 1 100%; } .tx-search { flex-basis: 100%; }
  .tx-groups { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; } .tx-groups button { flex: none; }
  .tx-panel { position: relative; padding: 18px 16px; } .tx-p-head { flex-wrap: wrap; padding-right: 40px; } .tx-job { margin-left: 0; text-align: left; flex-basis: 100%; order: 3; }
  .tx-close { position: absolute; top: 14px; right: 14px; } .tx-svcs { grid-template-columns: 1fr; } .tx-p-foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tx-cell, .tx-tile, .tx-icon, .tx-svcs li, .tx-panel.pop { transition: none; animation: none; } }

/* ---------- The AI assistant (#ai): copy on the left, the scripted sample (js/ai-demo.js) on the right ---------- */
.ai-section { padding: 70px 0 84px; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 46px; align-items: center; }
.ai-copy h2 { font: 800 clamp(30px, 4vw, 44px)/1.15 Manrope, sans-serif; letter-spacing: -1.6px; margin: 16px 0 14px; }
.ai-copy > p { color: var(--muted); line-height: 1.75; font-size: 15px; margin: 0; }
.ai-copy .eyebrow { color: var(--purple-lt); }
.ai-can { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ai-can li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(var(--a-rgb), .2); border-radius: 13px; background: linear-gradient(120deg, rgba(var(--a-rgb), .08), transparent 60%), rgba(11,24,46,.6); font-size: 13.5px; line-height: 1.55; color: #a9b9d1; }
.ai-can li > span { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(var(--a-rgb), .35); background: rgba(var(--a-rgb), .12); color: var(--a); font-weight: 700; }
.ai-can b { display: block; color: #eef4ff; font: 700 14.5px Manrope, sans-serif; margin-bottom: 2px; }
.ai-trust { margin-top: 18px !important; padding-left: 14px; border-left: 2px solid var(--purple-line); font-size: 13.5px !important; color: #b4c2d9 !important; }

.ai-stage { position: relative; }
.ai-stage::before { content: ""; position: absolute; inset: 8% 6% 12%; z-index: -1; background: radial-gradient(closest-side, rgba(162,139,255,.28), rgba(66,186,255,.12) 60%, transparent); filter: blur(30px); pointer-events: none; }
.ai-app { position: relative; display: flex; flex-direction: column; height: 600px; border: 1px solid rgba(162,139,255,.32); border-radius: 22px; overflow: hidden; background: linear-gradient(170deg, #111a3a 0%, #0a1229 45%, #070d1e 100%); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 60px rgba(162,139,255,.12); }
.ai-note { margin: 12px 4px 0; font-size: 11.5px; line-height: 1.55; color: #7f91ad; }

.ai-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(162,139,255,.16); background: rgba(6,10,26,.55); }
.ai-badge { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #42baff, #795cff 70%, #b07bff); box-shadow: 0 4px 16px rgba(121,92,255,.45), inset 0 1px rgba(255,255,255,.35); }
.ai-badge.big { width: 54px; height: 54px; border-radius: 16px; } .ai-badge.big svg { width: 28px; height: 28px; }
.ai-title { display: grid; line-height: 1.2; min-width: 0; } .ai-title b { font: 800 15px Manrope, sans-serif; } .ai-title small { font-size: 11.5px; color: #8c9cc0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-trades { margin-left: auto; flex-wrap: nowrap; }
.ai-trades button { padding: 6px 10px; min-height: 32px; font-size: 11.5px; }
.ai-trades button[aria-pressed="true"] { background: linear-gradient(135deg, #3a6dff, #795cff); }

.ai-log { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: #3b3f86 transparent; overscroll-behavior: contain; }
.ai-hello { text-align: center; padding: 18px 8px 4px; display: grid; justify-items: center; gap: 4px; }
.ai-hello h3 { font: 800 22px Manrope, sans-serif; margin: 10px 0 0; }
.ai-hello p { margin: 0; color: #8fa1c3; font-size: 13px; }
.ai-ideas { display: grid; gap: 8px; }
.ai-idea { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(var(--a-rgb), .24); background: linear-gradient(110deg, rgba(var(--a-rgb), .1), rgba(255,255,255,.015) 70%); color: #e4ecfb; font: 600 13.5px/1.4 "DM Sans", sans-serif; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.ai-idea span { flex: 1; } .ai-idea i { font-style: normal; color: var(--a); transition: transform .2s; }
.ai-idea:hover { border-color: rgba(var(--a-rgb), .55); transform: translateY(-1px); } .ai-idea:hover i { transform: translateX(3px); }

.ai-me { align-self: flex-end; max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, #2f63ec, #6a4fe6); color: #fff; font-size: 13.5px; line-height: 1.45; box-shadow: 0 6px 18px rgba(64,82,230,.3); animation: aiIn .3s ease both; }
.ai-turn { display: flex; gap: 10px; align-items: flex-start; animation: aiIn .3s ease both; }
.ai-turn > .ai-badge { width: 26px; height: 26px; border-radius: 8px; } .ai-turn > .ai-badge svg { width: 15px; height: 15px; }
.ai-body { flex: 1; min-width: 0; display: grid; gap: 9px; }
.ai-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.ai-steps li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9aa9c9; }
.ai-steps li i { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(162,139,255,.35); border-top-color: #a28bff; animation: aiSpin .7s linear infinite; }
.ai-steps li.ok { color: #7f8fb0; } .ai-steps li.ok i { animation: none; border: 0; background: rgba(98,226,201,.18); position: relative; }
.ai-steps li.ok i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 9px; font-style: normal; font-weight: 800; color: var(--mint); }
.ai-query { justify-self: start; padding: 4px 9px; border-radius: 7px; border: 1px solid rgba(92,231,245,.3); background: rgba(92,231,245,.08); color: #9ff1fa; font: 600 11.5px ui-monospace, Consolas, monospace; }
.ai-text { white-space: pre-line; font-size: 14px; line-height: 1.6; color: #e3eaf8; }
.ai-text.typing::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: #a28bff; border-radius: 2px; animation: aiBlink .8s steps(2) infinite; }
.ai-lead { display: inline; padding: 0; border: 0; background: none; color: #c9bbff; font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(162,139,255,.5); text-underline-offset: 3px; cursor: pointer; }
.ai-lead:hover { color: #fff; text-decoration-color: #a28bff; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips button { padding: 7px 12px; min-height: 34px; border-radius: 999px; border: 1px solid rgba(162,139,255,.34); background: rgba(162,139,255,.06); color: #d8cfff; font: 600 12.5px "DM Sans", sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.ai-chips button:hover:not(:disabled) { background: rgba(162,139,255,.16); border-color: rgba(162,139,255,.6); }
.ai-chips button:disabled { opacity: .4; cursor: default; }
.ai-fine { margin: 0; font-size: 10.5px; color: #5f6f90; letter-spacing: .3px; }

.ai-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; border-radius: 13px; border: 1px solid rgba(255,122,217,.22); background: linear-gradient(140deg, rgba(255,122,217,.08), transparent 60%), rgba(8,14,32,.7); }
.ai-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-nums div { display: grid; } .ai-nums b { font: 800 18px Manrope, sans-serif; } .ai-nums span { font-size: 10.5px; color: #8c9cc0; text-transform: uppercase; letter-spacing: .8px; }
.ai-bars { display: flex; align-items: flex-end; gap: 6px; height: 86px; }
.ai-bars span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.ai-bars i { width: 100%; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #ff7ad9, #795cff); box-shadow: 0 0 12px rgba(255,122,217,.35); animation: aiGrow .7s cubic-bezier(.2,.75,.2,1) both; transform-origin: bottom; }
.ai-bars em { font-style: normal; font-size: 9.5px; color: #7f8fb0; }

.ai-card { border-radius: 14px; border: 1px solid rgba(var(--a-rgb), .32); background: linear-gradient(150deg, rgba(var(--a-rgb), .1), transparent 55%), rgba(8,14,32,.85); padding: 12px 14px; display: grid; gap: 8px; animation: aiIn .35s ease both; transition: border-color .3s, opacity .3s; }
.ai-card-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ai-card-h span { font: 700 13.5px Manrope, sans-serif; color: #f1f5ff; } .ai-card-h small { font-size: 10.5px; color: var(--a); text-transform: uppercase; letter-spacing: .8px; white-space: nowrap; }
.ai-subj { margin: 0; font-size: 12.5px; color: #c6d2e8; } .ai-subj b { color: #8c9cc0; font-weight: 600; margin-right: 6px; }
.ai-mail { margin: 0; white-space: pre-line; font-size: 12.8px; line-height: 1.55; color: #c6d2e8; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); max-height: 180px; overflow: auto; }
.ai-names { margin: 0; font-size: 12.5px; color: #c6d2e8; line-height: 1.5; }
.ai-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 12.8px; } .ai-dl dt { color: #8c9cc0; } .ai-dl dd { margin: 0; color: #eef3ff; font-weight: 600; }
.ai-card-a { display: flex; gap: 8px; }
.ai-card-a button { min-height: 36px; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #c8d3e8; font: 700 12.5px "DM Sans", sans-serif; cursor: pointer; }
.ai-card-a .ai-ok { border: 0; color: #06101f; background: var(--a); box-shadow: 0 4px 14px rgba(var(--a-rgb), .35); }
.ai-card-a button:hover { filter: brightness(1.1); }
.ai-done { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--mint); }
.ai-done span { width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(98,226,201,.16); font-size: 10px; font-weight: 800; }
.ai-done.off { color: #8c9cc0; } .ai-done.off span { background: rgba(255,255,255,.08); }
.ai-card.is-done { border-color: rgba(98,226,201,.45); } .ai-card.is-off { opacity: .65; }

.ai-peek { margin: 0 12px 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(162,139,255,.4); background: rgba(14,20,48,.97); box-shadow: 0 -10px 30px rgba(0,0,0,.4); animation: aiIn .25s ease both; }
.ai-peek-in { display: flex; gap: 12px; align-items: flex-start; }
.ai-peek-in > div { flex: 1; min-width: 0; } .ai-peek-in b { font: 700 14px Manrope, sans-serif; } .ai-peek-in small { display: block; font-size: 11.5px; color: #8c9cc0; margin-top: 2px; }
.ai-peek-in p { margin: 6px 0 0; font-size: 12.8px; color: #c6d2e8; line-height: 1.5; }
.ai-ring { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#a28bff calc(var(--p) * 1%), rgba(255,255,255,.08) 0); box-shadow: 0 0 16px rgba(162,139,255,.4); }
.ai-ring b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #0e1430; font: 800 13px Manrope, sans-serif; }
.ai-peek-x { flex: none; width: 32px; height: 32px; border-radius: 9px; border: 1px solid rgba(255,255,255,.12); background: transparent; color: #c8d3e8; font-size: 18px; cursor: pointer; }
.ai-peek-link { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: #9fe0ff; }

.ai-compose { display: flex; align-items: center; gap: 6px; margin: 4px 12px 12px; padding: 5px 5px 5px 14px; border-radius: 999px; border: 1px solid rgba(162,139,255,.3); background: rgba(5,9,24,.8); transition: border-color .2s, box-shadow .2s; }
.ai-compose:focus-within { border-color: rgba(162,139,255,.7); box-shadow: 0 0 0 3px rgba(162,139,255,.15); }
.ai-compose input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: 500 16px "DM Sans", sans-serif; outline: none; padding: 8px 0; }
.ai-compose input::placeholder { color: #6f7fa3; }
.ai-mic, .ai-send { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; }
.ai-mic { background: transparent; color: #a9b6d6; } .ai-mic:hover { color: #fff; background: rgba(255,255,255,.06); }
.ai-mic.on { color: #fff; background: #e0457b; animation: aiPulse 1s ease-in-out infinite; }
.ai-send { color: #fff; background: linear-gradient(135deg, #3a6dff, #795cff); box-shadow: 0 4px 14px rgba(121,92,255,.45); }

@keyframes aiIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes aiSpin { to { transform: rotate(360deg); } }
@keyframes aiBlink { 50% { opacity: 0; } }
@keyframes aiGrow { from { transform: scaleY(0); } }
@keyframes aiPulse { 50% { box-shadow: 0 0 0 7px rgba(224,69,123,.2); } }

@media (max-width: 1000px) { .ai-grid { grid-template-columns: 1fr; gap: 30px; } .ai-stage { max-width: 640px; width: 100%; margin-inline: auto; } }
@media (max-width: 600px) {
  .ai-app { height: 580px; border-radius: 18px; }
  .ai-bar { flex-wrap: wrap; } .seg.ai-trades { display: flex; margin-left: 0; width: 100%; } .ai-trades button { flex: 1; }
  .ai-log { padding: 14px 12px 8px; } .ai-me { max-width: 90%; }
  .ai-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ai-me, .ai-turn, .ai-card, .ai-peek, .ai-bars i, .ai-mic.on, .ai-steps li i { animation: none !important; } .ai-idea, .ai-idea i { transition: none; } }

/* English | Español (2026-10-20): the Spanish labels are longer; keep every nav label on one line and tighten the gaps on laptops */
.nav-links a, .nav-cta { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 769px) { .nav-links { gap: 18px; } }

/* D79 (2026-10-24): a trade page's service groups (tree service lists its services under group headings) */
.svc-group { font: 700 15px Manrope, sans-serif; color: #9fe0ff; margin: 26px 0 4px; letter-spacing: .01em; }
.svc-group:first-of-type { margin-top: 18px; }
