/* ===========================================================
   Andres — premium pre-call proposal kit
   The shared template for marketing-side proposals (e.g. tantrum,
   urbandrive). Pairs with /brand.css (tokens, fonts, .reveal, the
   animated .art-* illustration kit, the --mark logo). Page links both,
   writes only its body. See proposals/tantrum.html as the reference.
   =========================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #000; color: var(--text-primary); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }
::selection { background: var(--accent); color: #06120D; }

/* ---- nav ---- */
.pnav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.pnav.scrolled { background: rgba(0,0,0,0.72); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.pnav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .logo-mark { height: 26px; }
.brand .wm { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-secondary); }
.nav-cta { font-size: .85rem; text-decoration: none; color: var(--accent); border: 1px solid var(--accent-line); padding: 8px 16px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--accent); color: #06120D; }
@media (max-width: 620px) { .nav-tag { display: none; } }

/* ---- hero ---- */
.hero { position: relative; padding: 168px 0 110px; overflow: hidden; }
.hero-glow { position: absolute; top: -10%; left: 50%; width: 900px; height: 900px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(circle, rgba(111,233,181,0.16) 0%, rgba(111,233,181,0.04) 38%, transparent 66%); animation: heroPulse 9s ease-in-out infinite; }
@keyframes heroPulse { 0%,100% { opacity: .6; transform: translateX(-50%) scale(0.95); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%); -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%); }
.hero-inner { position: relative; }
.eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: .96; letter-spacing: -0.04em; margin: 20px 0 0; }
.hero-sub { font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--text-secondary); max-width: 30ch; margin: 28px 0 0; }
.hero-sub .pull { color: var(--text-primary); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.chip { font-size: .78rem; color: var(--text-secondary); border: 1px solid var(--border-light); border-radius: 999px; padding: 7px 14px; }
.chip.mint { color: var(--accent); border-color: var(--accent-line); }

/* ---- sections ---- */
.sec { padding: 92px 0; border-top: 1px solid var(--border); }
.lead { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.05; letter-spacing: -0.03em; margin: 14px 0 0; max-width: 18ch; }
.copy { color: var(--text-secondary); line-height: 1.7; max-width: 60ch; margin-top: 22px; font-size: 1.05rem; }
.copy b { color: var(--text-primary); font-weight: 500; }

/* ---- client marquee (optional) ---- */
.marquee { margin-top: 42px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-row span { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--text-muted); white-space: nowrap; transition: color .3s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row span:hover { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- fast facts (alt to marquee) ---- */
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 40px; }
.fact b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--accent); line-height: 1; }
.fact span { font-size: .82rem; color: var(--text-secondary); }

/* ---- problems ---- */
.probs { display: grid; gap: 18px; margin-top: 46px; }
.prob { display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-card); transition: border-color .3s, transform .3s; }
.prob:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.prob-n { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--accent); line-height: 1; }
.prob h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin: 0 0 10px; letter-spacing: -0.02em; }
.prob p { color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ---- systems ---- */
.systems { display: flex; flex-direction: column; gap: 20px; margin-top: 46px; }
.sys { border: 1px solid var(--border); border-radius: 24px; background: var(--bg-card); padding: 34px; transition: border-color .35s, transform .35s, box-shadow .35s; }
.sys:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 24px 60px -30px rgba(111,233,181,0.25); }
.sys-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.sys-n { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--accent); letter-spacing: .1em; }
.sys-art { width: 64px; height: 64px; flex-shrink: 0; }
.sys h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.65rem; letter-spacing: -0.02em; margin: 8px 0 0; }
.sys-does { color: var(--text-primary); line-height: 1.65; margin: 16px 0 0; max-width: 64ch; }
.sys-why { color: var(--text-secondary); line-height: 1.6; margin: 14px 0 0; max-width: 64ch; font-size: .96rem; }
.sys-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.saved { font-size: .82rem; color: var(--accent); background: var(--accent-dim); border: 1px solid var(--accent-line); padding: 5px 13px; border-radius: 999px; }
/* flowing tool pipeline */
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.node { font-size: .76rem; color: var(--text-secondary); border: 1px solid var(--border-light); border-radius: 8px; padding: 5px 10px; white-space: nowrap; }
.wire { width: 26px; height: 2px; border-radius: 2px; background-image: linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: wireFlow .9s linear infinite; opacity: .8; }
@keyframes wireFlow { to { background-position: 12px 0; } }
/* featured system */
.sys.featured { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(111,233,181,0.06), var(--bg-card) 60%); }
.sys .pin { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.sys .pin::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(111,233,181,.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111,233,181,.5); } 70%,100% { box-shadow: 0 0 0 9px rgba(111,233,181,0); } }

/* ---- app / dashboard ---- */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 44px; }
@media (max-width: 820px) { .app-grid { grid-template-columns: 1fr; } }
.app-points { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.app-point { display: flex; gap: 13px; color: var(--text-secondary); line-height: 1.55; }
.app-point b { color: var(--text-primary); font-weight: 500; }
.app-point .tick { color: var(--accent); flex-shrink: 0; }
/* dashboard mock */
.dash { border: 1px solid var(--border-light); border-radius: 20px; background: #0b0b0b; padding: 22px; box-shadow: 0 30px 80px -40px rgba(111,233,181,0.3); }
.dash-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.dot3 { width: 9px; height: 9px; border-radius: 50%; background: var(--border-light); }
.dash-url { margin-left: auto; font-size: .68rem; color: var(--text-muted); }
.dash-eyebrow { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.dash-hero { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--accent); line-height: 1; margin: 8px 0 2px; }
.dash-hero small { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin: 16px 0; }
.spark i { flex: 1; background: var(--accent-dim); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
.spark i:last-child { background: var(--accent); }
@keyframes grow { from { transform: scaleY(0); } }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-stat { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.dash-stat .k { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.dash-stat .v { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-top: 5px; }
.dash-feed { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.feed-row { display: flex; align-items: center; gap: 9px; font-size: .72rem; color: var(--text-secondary); }
.feed-row .live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: ping 1.8s ease-out infinite; }

/* ---- savings / count ---- */
.save-hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin-top: 30px; }
.save-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 13vw, 8rem); line-height: .9; color: var(--accent); letter-spacing: -0.04em; }
.save-num small { font-size: .26em; color: var(--text-secondary); letter-spacing: 0; }
.save-side { color: var(--text-secondary); line-height: 1.6; max-width: 30ch; }
.save-side b { color: var(--text-primary); font-weight: 500; }
.bars { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 230px 1fr 54px; align-items: center; gap: 16px; }
@media (max-width: 620px) { .bar-row { grid-template-columns: 1fr; gap: 4px; } .bar-row .barv { text-align: left; } }
.bar-label { font-size: .9rem; color: var(--text-secondary); }
.bar-track { display: block; height: 8px; background: var(--bg-card); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 999px; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.barv { font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-align: right; }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-top: 44px; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid var(--border); border-radius: 22px; padding: 34px; background: var(--bg-card); }
.price-card.main { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(111,233,181,0.07), var(--bg-card) 55%); }
.price-k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
.price-v { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -0.03em; margin: 10px 0 0; }
.price-card.main .price-v { color: var(--accent); }
.price-sub { color: var(--text-secondary); line-height: 1.6; margin-top: 14px; font-size: .96rem; }
.price-note { margin-top: 22px; color: var(--text-muted); font-size: .9rem; }
.strike { text-decoration: line-through; color: var(--text-muted); }

/* ---- framing + cta ---- */
.frame { border-left: 2px solid var(--accent); padding: 6px 0 6px 28px; margin-top: 36px; }
.frame p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
.frame p .pull { color: var(--accent); }
.frame small { display: block; margin-top: 16px; color: var(--text-secondary); font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; }

.cta { text-align: center; padding: 110px 0 100px; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-glow { position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(111,233,181,0.14), transparent 64%); pointer-events: none; animation: heroPulse 9s ease-in-out infinite; }
.cta h2 { position: relative; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 8vw, 5.2rem); letter-spacing: -0.04em; margin: 0; line-height: 1; }
.cta p { position: relative; color: var(--text-secondary); max-width: 44ch; margin: 22px auto 0; line-height: 1.6; }
.btn-cta { position: relative; display: inline-block; margin-top: 38px; background: var(--accent); color: #06120D; font-weight: 600; font-family: var(--font-body); text-decoration: none; padding: 16px 38px; border-radius: 999px; font-size: 1.05rem; transition: transform .2s, box-shadow .2s; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -16px rgba(111,233,181,0.6); }
.cta-mail { position: relative; display: block; margin-top: 22px; color: var(--text-secondary); text-decoration: none; font-size: .95rem; }
.cta-mail:hover { color: var(--accent); }

footer.f { border-top: 1px solid var(--border); padding: 30px 0; text-align: center; color: var(--text-muted); font-size: .8rem; }
