/* Quad Founders landing page. Builds on base.css tokens. */

html { scroll-behavior: smooth; }
body { font-size: 15px; overflow-x: hidden; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
section { position: relative; }

/* Reveal on scroll (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-color: var(--border-soft); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .links { display: flex; gap: 4px; }
.nav .links a { padding: 6px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--text-2); transition: color .15s, background .15s; }
.nav .links a:hover { color: var(--text); background: var(--hover); }
.nav .right { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 760px) { .nav .links { display: none; } .nav .right .ghost { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; text-align: center; isolation: isolate; }
.hero .bg { position: absolute; inset: -64px 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 14s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 420px; left: 8%; top: 40px; background: #2563EB; }
.blob.b2 { width: 460px; height: 380px; right: 6%; top: 100px; background: #A855F7; animation-delay: -4s; }
.blob.b3 { width: 380px; height: 320px; left: 40%; top: 260px; background: #EC4899; opacity: .32; animation-delay: -8s; }
@media (prefers-color-scheme: light) { .blob { opacity: .22; } .blob.b3 { opacity: .16; } }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.1); } }

.announce { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 6px 0 6px; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--panel) 80%, transparent); backdrop-filter: blur(8px); font-size: 13px; color: var(--text-2); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.announce:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); transform: translateY(-1px); }
.announce b { height: 22px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 600; }
.announce svg { width: 14px; height: 14px; margin-right: 6px; }

.hero h1 { margin: 26px auto 0; max-width: 15ch; font-size: clamp(44px, 8vw, 92px); line-height: .98; letter-spacing: -0.055em; font-weight: 700; }
.hero h1 .grad-text { padding-right: .04em; }
.hero .lede { margin: 24px auto 0; max-width: 58ch; font-size: clamp(16px, 2vw, 19px); color: var(--text-2); line-height: 1.55; }

.hero-input { margin: 36px auto 0; max-width: 640px; display: flex; gap: 8px; padding: 8px; border-radius: 18px; border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow-lg); transition: box-shadow .2s, border-color .2s; }
.hero-input:focus-within { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow-lg); }
.hero-input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-size: 16px; outline: none; }
.hero-input input::placeholder { color: var(--text-3); }
.hero-input select { flex: none; max-width: 170px; border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--text); padding: 0 10px; font: inherit; font-size: 14px; outline: none; cursor: pointer; }
.hero-input select:invalid { color: var(--text-3); }
.hero-input select option { color: var(--text); background: var(--panel); }
.hero-under { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--text-3); }
.hero-under span { display: inline-flex; align-items: center; gap: 6px; }
.hero-under svg { width: 14px; height: 14px; color: var(--ok); }
.hero-under a { color: var(--text-2); text-underline-offset: 3px; }
.hero .err { margin: 12px auto 0; max-width: 640px; font-size: 13px; color: var(--danger); }
@media (max-width: 560px) { .hero-input { flex-direction: column; padding: 10px; } .hero-input input { height: 44px; } .hero-input select { height: 44px; max-width: none; border-left: 0; border-top: 1px solid var(--border); } }

/* Product mockup */
.stage { position: relative; margin: 64px auto 0; max-width: 1060px; perspective: 1600px; }
.stage::before { content: ""; position: absolute; inset: 10% 8% -4%; background: var(--grad); filter: blur(80px); opacity: .28; z-index: -1; border-radius: 40px; }
.window { border-radius: 16px; border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--panel) 60%, transparent) inset; overflow: hidden; transform: rotateX(8deg); transform-origin: 50% 0; transition: transform 1s var(--ease); text-align: left; }
.stage.in .window { transform: rotateX(0); }
.window .titlebar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--border-soft); background: var(--panel-2); }
.window .titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } .window .titlebar i:nth-child(2) { background: #FEBC2E; } .window .titlebar i:nth-child(3) { background: #28C840; }
.window .titlebar span { margin: 0 auto; font: 500 12px var(--mono); color: var(--text-3); }
.app { display: grid; grid-template-columns: 210px 1fr; min-height: 470px; }
.app .side { background: var(--sidebar); border-right: 1px solid var(--border-soft); padding: 14px 10px; display: grid; align-content: start; gap: 2px; font-size: 12.5px; }
.app .side .brand { font-size: 13px; padding: 2px 8px 12px; }
.app .side .brand .mark { width: 18px; height: 18px; }
.app .side .new { height: 30px; border-radius: 9px; display: flex; align-items: center; gap: 7px; padding: 0 10px; margin-bottom: 10px; border: 1px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; font-weight: 550; }
.app .side .new svg { width: 13px; height: 13px; color: var(--accent); }
.app .side .lbl { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); padding: 8px 8px 4px; }
.app .side .it { white-space: nowrap; overflow: hidden; height: 28px; display: flex; align-items: center; gap: 9px; padding: 0 8px; border-radius: 7px; color: var(--text-2); }
.app .side .it.on { background: var(--panel); color: var(--text); font-weight: 550; box-shadow: var(--shadow-sm); }
.app .side .it .d { width: 7px; height: 7px; border-radius: 2px; }
.app .side .it .m { margin-left: auto; width: 22px; height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; }
.app .side .it .m b { display: block; height: 100%; }
.app .side .it svg { width: 13px; height: 13px; }
.app .mainp { padding: 22px; display: grid; gap: 14px; align-content: start; }
.mock-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); }
.mock-hero .t { display: grid; gap: 8px; }
.mock-hero .tags { display: flex; gap: 5px; }
.mock-hero .tg { height: 19px; padding: 0 7px; border-radius: 5px; font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; background: var(--hover); color: var(--text-2); }
.mock-hero .tg.g { background: var(--grad); color: #fff; }
.mock-hero h3 { font-size: 22px; letter-spacing: -0.04em; font-weight: 700; }
.mock-hero p { font-size: 12.5px; color: var(--text-2); max-width: 46ch; }
.mock-hero .cta { margin-top: 4px; display: flex; gap: 6px; }
.mock-hero .cta span { height: 26px; padding: 0 10px; border-radius: 7px; font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; border: 1px solid var(--border); }
.mock-hero .cta span.p { background: var(--accent); color: #fff; border-color: transparent; }
.ring { position: relative; width: 116px; height: 116px; }
.ring svg { width: 116px; height: 116px; }
.ring circle { stroke-width: 11; stroke-linecap: butt; }
.ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .c b { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.ring .c span { font-size: 9.5px; color: var(--text-3); margin-top: 3px; }
.ring .arc { transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); display: grid; gap: 8px; position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(180px 80px at 0 0, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); }
.tile .h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; position: relative; }
.tile .h i { width: 20px; height: 20px; border-radius: 6px; background: var(--c); display: grid; place-items: center; color: #fff; }
.tile .h i svg { width: 11px; height: 11px; }
.tile .h span { margin-left: auto; font: 500 10.5px var(--mono); color: var(--text-3); }
.tile .bar { height: 4px; border-radius: 2px; background: var(--border-soft); overflow: hidden; position: relative; }
.tile .bar b { display: block; height: 100%; background: var(--c); border-radius: 2px; width: 0; transition: width 1.4s var(--ease) .6s; }
.tile .n { font-size: 11px; color: var(--text-2); position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float { position: absolute; z-index: 2; border-radius: 14px; border: 1px solid var(--border); background: color-mix(in srgb, var(--panel) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); padding: 12px 14px; text-align: left; font-size: 12.5px; animation: bob 7s ease-in-out infinite; }
.float.f1 { left: -48px; bottom: 70px; width: 250px; }
.float.f2 { right: -46px; top: -28px; width: 240px; animation-delay: -2.5s; }
.float.f3 { right: -30px; bottom: 40px; width: 260px; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float .k { font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; display: block; }
.float .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.float .st { height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.float .src { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 11px; margin: 2px 4px 2px 0; }
.float .bub { display: flex; gap: 9px; }
.float .av { width: 24px; height: 24px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; flex: none; }
.float .av .mark { width: 14px; height: 14px; }
.float .av .mark circle, .float .av .mark path { stroke: #fff; }
@media (max-width: 1180px) { .float.f1 { left: -10px; } .float.f2, .float.f3 { right: -10px; } }
@media (max-width: 900px) { .float { display: none; } .app { grid-template-columns: 1fr; } .app .side { display: none; } }
@media (max-width: 560px) { .mock-hero { grid-template-columns: 1fr; } .ring { display: none; } .tiles { grid-template-columns: 1fr; } .app .mainp { padding: 12px; } }

/* ---------- Sources strip ---------- */
.sources { padding: 70px 0 30px; text-align: center; }
.sources p.k { font-size: 13px; color: var(--text-3); }
.marquee { margin-top: 18px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 44px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); white-space: nowrap; opacity: .8; }
@keyframes scroll { to { transform: translateX(-50%); } }
.sources .fine { margin-top: 14px; font-size: 12px; color: var(--text-3); }

/* ---------- Section headings ---------- */
.sec { padding: 110px 0; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.sec-head h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 700; }
.sec-head p { margin-top: 18px; font-size: 17px; color: var(--text-2); line-height: 1.6; }

/* ---------- How it works ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
@media (max-width: 980px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow-sm); display: grid; gap: 10px; align-content: start; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .no { font: 500 12px var(--mono); color: var(--c); }
.step h3 { font-size: 19px; letter-spacing: -0.03em; }
.step p { font-size: 14px; color: var(--text-2); }
.step .ill { height: 120px; margin: -2px -2px 6px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border-soft); position: relative; overflow: hidden; display: grid; place-items: center; }
.step .ill::before { content: ""; position: absolute; inset: 0; background: radial-gradient(160px 90px at 50% 100%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.ill .typing { position: relative; width: 78%; height: 40px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: var(--text-2); }
.ill .typing::after { content: ""; width: 2px; height: 15px; background: var(--c); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ill .qs { position: relative; display: grid; gap: 6px; width: 80%; }
.ill .qs i { height: 22px; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); display: block; }
.ill .qs i:nth-child(1) { width: 85%; } .ill .qs i:nth-child(2) { width: 70%; margin-left: auto; background: color-mix(in srgb, var(--c) 18%, var(--panel)); border-color: transparent; } .ill .qs i:nth-child(3) { width: 60%; }
.ill .quadmini { position: relative; display: grid; grid-template-columns: 34px 34px; gap: 5px; }
.ill .quadmini i { height: 34px; border-radius: 8px; }
.ill .browser { position: relative; width: 78%; height: 88px; border-radius: 9px; background: var(--panel); border: 1px solid var(--border); overflow: hidden; }
.ill .browser::before { content: ""; display: block; height: 14px; background: var(--panel-2); border-bottom: 1px solid var(--border-soft); }
.ill .browser b { display: block; height: 10px; width: 60%; margin: 12px 0 0 12px; border-radius: 4px; background: var(--text); opacity: .8; }
.ill .browser em { display: block; height: 6px; width: 75%; margin: 8px 0 0 12px; border-radius: 3px; background: var(--border); }
.ill .browser u { display: block; height: 14px; width: 46px; margin: 10px 0 0 12px; border-radius: 999px; background: var(--c); }

/* ---------- Quadrants explorer ---------- */
.quad-x { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .quad-x { grid-template-columns: 1fr; } }
.qwheel { position: relative; max-width: 420px; width: 100%; margin: 0 auto; aspect-ratio: 1; }
.qwheel svg { width: 100%; height: 100%; overflow: visible; }
.qwheel path { stroke: none; cursor: pointer; transition: transform .35s var(--ease), opacity .25s; transform-origin: 200px 200px; opacity: .35; }
.qwheel path.on { opacity: 1; }
.qwheel path:hover { opacity: .8; }
.qwheel .glow { position: absolute; inset: 15%; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .25; z-index: -1; }
.qwheel .hub { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.qwheel .hub b { font-size: 46px; letter-spacing: -0.05em; font-weight: 700; line-height: 1; }
.qwheel .hub span { font-size: 12px; color: var(--text-3); margin-top: 6px; font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.qtabs { display: grid; gap: 10px; }
.qtab { text-align: left; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--panel); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.qtab:hover { transform: translateX(3px); }
.qtab[aria-selected="true"] { border-color: color-mix(in srgb, var(--c) 55%, var(--border)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 12%, transparent), var(--shadow); }
.qtab .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; background: var(--c); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -8px var(--c); }
.qtab .ic svg { width: 18px; height: 18px; }
.qtab h3 { font-size: 16px; letter-spacing: -0.02em; }
.qtab p { font-size: 13.5px; color: var(--text-2); }
.qtab ul { grid-column: 2; display: none; list-style: none; padding: 0; margin: 8px 0 0; gap: 6px; }
.qtab[aria-selected="true"] ul { display: grid; animation: rise .4s var(--ease); }
.qtab li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.qtab li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid var(--c); flex: none; }
.qtab li em { margin-left: auto; font: 500 11px var(--mono); color: var(--text-3); font-style: normal; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }
.cell { position: relative; padding: 26px; border-radius: 20px; border: 1px solid var(--border); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 300px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s; }
.cell:hover { border-color: color-mix(in srgb, var(--c, var(--accent)) 40%, var(--border)); box-shadow: var(--shadow); }
.cell.span2 { grid-column: span 2; }
@media (max-width: 640px) { .cell.span2 { grid-column: auto; } }
.cell::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -140px; border-radius: 50%; background: var(--c, var(--accent)); filter: blur(70px); opacity: .1; pointer-events: none; }
.cell h3 { font-size: 20px; letter-spacing: -0.03em; }
.cell > p { font-size: 14px; color: var(--text-2); max-width: 44ch; }
.cell .demo { margin-top: auto; padding-top: 20px; position: relative; z-index: 1; }
.chat { display: grid; gap: 10px; max-width: 520px; }
.chat .me { justify-self: end; max-width: 78%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--accent); color: #fff; font-size: 13px; }
.chat .ai { display: flex; gap: 10px; max-width: 90%; }
.chat .ai .av { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; flex: none; }
.chat .ai .av .mark { width: 16px; height: 16px; } .chat .ai .av .mark circle, .chat .ai .av .mark path { stroke: #fff; }
.chat .ai div { padding: 10px 14px; border-radius: 4px 14px 14px 14px; border: 1px solid var(--border); background: var(--bg); font-size: 13px; line-height: 1.55; }
.chat .ai ol { margin: 4px 0 0; padding-left: 18px; }
.chat .src { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 11px; vertical-align: 1px; }
.alist { display: grid; gap: 8px; }
.alist div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); font-size: 12.5px; }
.alist b { height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; display: inline-flex; align-items: center; white-space: nowrap; font-weight: 600; }
.alist .ok { background: var(--ok-soft); color: var(--ok); }
.alist .no { background: var(--danger-soft); color: var(--danger); }
.alist .un { background: var(--hover); color: var(--text-2); }
.srcs { display: flex; flex-wrap: wrap; gap: 8px; }
.srcs span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); font-size: 12.5px; font-weight: 550; }
.srcs span i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.site-demo { border-radius: 12px; border: 1px solid var(--border); background: #fff; overflow: hidden; box-shadow: var(--shadow); color: #16151c; }
.site-demo .b { height: 22px; display: flex; gap: 5px; align-items: center; padding: 0 9px; background: #f2f2f4; border-bottom: 1px solid #e7e7ea; }
.site-demo .b i { width: 7px; height: 7px; border-radius: 50%; background: #d8d8de; }
.site-demo .c { padding: 18px; background: linear-gradient(135deg, #fff 40%, #f4efff); }
.site-demo .nm { font-weight: 800; font-size: 12px; display: flex; justify-content: space-between; }
.site-demo .nm em { font-style: normal; font-weight: 500; color: #6b6b78; font-size: 10.5px; letter-spacing: .02em; }
.site-demo h4 { margin: 16px 0 6px; font-size: 22px; letter-spacing: -0.04em; line-height: 1.05; font-weight: 800; }
.site-demo p { font-size: 11px; color: #55545f; }
.site-demo u { display: inline-block; margin-top: 12px; height: 26px; line-height: 26px; padding: 0 14px; border-radius: 999px; background: #6d28d9; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }
.ideas-fan { position: relative; height: 150px; }
.ideas-fan div { position: absolute; left: 50%; top: 10px; width: 176px; margin-left: -88px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow); font-size: 12px; transition: transform .5s var(--ease); }
.ideas-fan div b { display: block; font-size: 13px; margin: 4px 0 2px; }
.ideas-fan div em { font: 500 10px var(--mono); color: var(--c); font-style: normal; }
/* Four ideas, fanned: the app always returns exactly four */
.ideas-fan div:nth-child(1) { transform: translateX(-160%) rotate(-7deg); --c: var(--q0); }
.ideas-fan div:nth-child(2) { transform: translateX(-54%) translateY(-6px) rotate(-2deg); z-index: 2; --c: var(--q1); }
.ideas-fan div:nth-child(3) { transform: translateX(54%) translateY(-6px) rotate(2deg); z-index: 2; --c: var(--q2); }
.ideas-fan div:nth-child(4) { transform: translateX(160%) rotate(7deg); --c: var(--q3); }
.cell:hover .ideas-fan div:nth-child(1) { transform: translateX(-168%) rotate(-9deg); }
.cell:hover .ideas-fan div:nth-child(4) { transform: translateX(168%) rotate(9deg); }
@media (max-width: 1100px) {
  .ideas-fan { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ideas-fan div, .ideas-fan div:nth-child(n) { position: static; width: auto; margin: 0; transform: none; }
}
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times span { height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--mono); border: 1px solid var(--border); background: var(--bg); }
.times span i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* ---------- New ideas band ---------- */
.band { margin: 0 20px; border-radius: 32px; background: #08080A; color: #EDEDED; overflow: hidden; isolation: isolate; }
.band .wrap { padding: 100px 0; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 15% 0%, rgba(37,99,235,.45), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(236,72,153,.35), transparent 70%), radial-gradient(400px 260px at 60% 40%, rgba(124,58,237,.3), transparent 70%); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(#000, transparent 80%); -webkit-mask-image: linear-gradient(#000, transparent 80%); }
.band .sec-head p { color: #A1A1A1; }
.band .kicker { color: #8FB0FF; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow > div { position: relative; padding: 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); backdrop-filter: blur(10px); display: grid; gap: 8px; align-content: start; }
.flow .n { font: 500 12px var(--mono); color: #8FB0FF; }
.flow h3 { font-size: 18px; letter-spacing: -0.03em; }
.flow p { font-size: 13.5px; color: #A1A1A1; line-height: 1.55; }
.flow .eg { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 12.5px; color: #D4D4D4; border: 1px solid rgba(255,255,255,.06); }
.band .note { margin-top: 26px; font-size: 13px; color: #8A8A8A; }

/* ---------- Honest section ---------- */
.isnt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .isnt { grid-template-columns: 1fr; } }
.isnt > div { padding: 28px; border-radius: 20px; border: 1px solid var(--border); background: var(--panel); }
.isnt h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.isnt h3 i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.isnt .yes h3 i { background: var(--ok-soft); color: var(--ok); }
.isnt .no h3 i { background: var(--danger-soft); color: var(--danger); }
.isnt ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.isnt li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.isnt li svg { margin-top: 3px; }
.isnt .yes li svg { color: var(--ok); } .isnt .no li svg { color: var(--danger); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--border); background: var(--panel); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; color: var(--text-3); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }

/* ---------- Final CTA + footer ---------- */
.final { text-align: center; padding: 130px 0 120px; isolation: isolate; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 90%); height: 300px; transform: translate(-50%, -50%); background: var(--grad); filter: blur(100px); opacity: .22; z-index: -1; border-radius: 50%; }
.final .big { width: 76px; height: 76px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 22px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.final .big .mark { width: 42px; height: 42px; }
.final h2 { font-size: clamp(38px, 6.5vw, 76px); line-height: 1; letter-spacing: -0.055em; font-weight: 700; }
.final p { margin: 18px auto 30px; color: var(--text-2); font-size: 17px; max-width: 48ch; }
.final .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
footer { border-top: 1px solid var(--border-soft); padding: 40px 0 50px; font-size: 13px; color: var(--text-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
footer .brand { color: var(--text); }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--text-2); }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; line-height: 1.6; max-width: 80ch; }
.faq p a { color: var(--accent); text-underline-offset: 2px; }

/* Independence statement (normal size, not fine print) */
.indep { max-width: 760px; margin: 0 auto; text-align: center; display: grid; gap: 10px; }
.indep .lead-in { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin: 0; }
.indep p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); margin: 0; }
/* Plain citations in demos (no agency names or badges) */
.float .cite-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 500; padding: 4px 0; }
.float .cite-row + .cite-row { border-top: 1px solid var(--border-soft); }
.float .cite-row em { font-style: normal; font: 500 10.5px var(--mono); color: var(--accent); white-space: nowrap; }
.cites { display: grid; gap: 8px; }
.cites div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); font-size: 13px; }
.cites span { font: 500 11px var(--mono); color: var(--accent); }
