/* ============================================================
   marketing.css — public site (hero + 3D use-case carousel, bands,
   pricing, steps, checker), extracted from quedzal-mockup-final.html.
   Loads after components.css.
   ============================================================ */
.muted { color: var(--ink-soft); }

/* hero */
.hero { position: relative; padding: 80px 0 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(56% 70% at 80% 12%, rgba(39,209,153,.14), transparent 60%), radial-gradient(46% 60% at 8% 96%, rgba(242,169,56,.1), transparent 55%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px,5.4vw,64px); font-weight: 540; margin: 18px 0; } .hero h1 em { font-style: italic; color: var(--emerald); }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.actions { display: flex; gap: 13px; flex-wrap: wrap; }
.trust { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.trust .lbl { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.eng { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; } .eng i { width: 9px; height: 9px; border-radius: 50%; }

/* 3D use-case carousel */
.hero-carousel { position: relative; width: 100%; height: 452px; perspective: 1150px; }
.hero-carousel::before { content: ""; position: absolute; left: 50%; top: 48%; width: 300px; height: 300px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(39,209,153,.16), transparent 65%); filter: blur(8px); pointer-events: none; }
.ring { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ucard { position: absolute; left: 50%; top: 50%; width: 196px; height: 284px; margin: -142px 0 0 -98px; transform-origin: center; transform-style: preserve-3d; cursor: pointer; }
.uc-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2,.8,.2,1); }
.ucard.flipped .uc-flip { transform: rotateY(180deg); }
.uc-face { position: absolute; inset: 0; border-radius: 20px; padding: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; display: flex; flex-direction: column; }
.uc-face.front { background: radial-gradient(120% 75% at 50% 0%, rgba(var(--g),.18), transparent 55%), linear-gradient(162deg,#fff 0%,#f6f2e9 100%); border: 1px solid rgba(var(--g),.38); box-shadow: 0 32px 60px -24px rgba(var(--g),.6), 0 14px 30px -12px rgba(6,46,30,.18); }
.uc-face.back { transform: rotateY(180deg); background: radial-gradient(120% 75% at 50% 0%, rgba(var(--g),.13), transparent 55%), linear-gradient(162deg,#fff 0%,#f3efe5 100%); border: 1px solid rgba(var(--g),.45); box-shadow: 0 32px 60px -24px rgba(var(--g),.6); }
.uc-top { display: flex; align-items: center; gap: 11px; }
.uc-med { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, rgba(var(--g),.26), rgba(var(--g),.07)); box-shadow: inset 0 0 0 1px rgba(var(--g),.3); }
.uc-eyebrow { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gi); line-height: 1.35; }
.uc-name { font-family: var(--font-display); font-weight: 560; font-size: 21px; color: var(--ink); margin-top: 15px; line-height: 1.04; }
.uc-loc { font-size: 11px; color: var(--ink-faint); margin-top: 4px; }
.uc-rule { height: 1px; background: linear-gradient(90deg, rgba(var(--g),.5), rgba(var(--g),.06) 70%, transparent); margin-top: 14px; }
.uc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.uc-gauge { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.uc-ring-bg { stroke: rgba(19,32,26,.1); } .uc-ring-fg { stroke: rgb(var(--g)); } .uc-ring-n { font-family: var(--font-display); font-size: 18px; font-weight: 600; fill: var(--gi); }
.uc-glabel { font-size: 8px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 800; }
.uc-eng { display: flex; flex-wrap: wrap; gap: 5px; max-width: 76px; justify-content: flex-end; }
.ucdot { width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: #fff; }
.ucdot.off { background: transparent !important; color: var(--ink-faint); border: 1px dashed var(--line-strong); }
.ucb-kick { font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--gi); }
.ucb-name { font-family: var(--font-display); font-weight: 560; font-size: 18px; color: var(--ink); margin-top: 3px; }
.ucb-rule { height: 1px; background: linear-gradient(90deg, rgba(var(--g),.5), rgba(var(--g),.06) 70%, transparent); margin: 9px 0 11px; }
.ucb-help { font-size: 10.5px; line-height: 1.5; color: var(--ink-soft); }

/* bands + sections */
.band { padding: 90px 0; } .band.alt { background: var(--bone-2); }
.sec-head { max-width: 660px; margin-bottom: 44px; } .sec-head h2 { font-size: clamp(28px,3.4vw,42px); margin: 12px 0; } .sec-head p { font-size: 18px; color: var(--ink-soft); }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feat .fi, .step .fi { margin-bottom: 16px; }
.fi { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.fi svg { width: 24px; height: 24px; stroke-width: 1.9; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.fi.c1 { background: linear-gradient(135deg, rgba(39,209,153,.2), rgba(14,142,107,.1)); color: var(--teal); }
.fi.c4 { background: linear-gradient(135deg, rgba(17,159,188,.2), rgba(70,201,221,.1)); color: var(--cyan); }
.fi.c5 { background: linear-gradient(135deg, rgba(224,73,47,.18), rgba(255,106,67,.1)); color: var(--crimson); }
.feat h3 { font-size: 21px; margin-bottom: 9px; } .feat p { font-size: 14px; color: var(--ink-soft); } .feat .do { font-size: 12.5px; font-weight: 700; color: var(--emerald); margin-top: 14px; display: inline-block; }
.step .n { font-family: var(--font-display); font-size: 40px; color: var(--jade); font-weight: 600; } .step h4 { font-size: 18px; margin: 8px 0 6px; } .step p { font-size: 14px; color: var(--ink-soft); }
.ctaband { background: var(--emerald-deep); color: #EAF6F0; border-radius: 32px; padding: 64px 48px; text-align: center; } .ctaband h2 { color: #fff; font-size: clamp(28px,3.4vw,40px); margin-bottom: 14px; } .ctaband h2 em { font-style: italic; color: var(--jade); } .ctaband p { color: rgba(234,246,240,.75); font-size: 18px; max-width: 520px; margin: 0 auto 26px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.price { position: relative; } .price.feat-plan { border: 2px solid var(--crimson); } .price.soon { opacity: .65; }
.price h3 { font-size: 22px; } .price .who { font-size: 14px; color: var(--ink-faint); margin: 4px 0 16px; }
.price .amt { font-family: var(--font-display); font-size: 40px; font-weight: 600; } .price .amt span { font-size: 15px; color: var(--ink-faint); font-family: var(--font-body); font-weight: 500; }
.price ul { list-style: none; margin: 18px 0 22px; padding: 0; } .price li { font-size: 14px; color: var(--ink-soft); padding: 7px 0 7px 26px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 4px; top: 7px; color: var(--teal); font-weight: 700; }

/* leaderboard / badge — Ranking Data (Phase 3) */
.lbrow { display: flex; align-items: center; gap: 15px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 9px; }
.lbrow.me { border-color: var(--crimson); background: var(--crimson-tint); }
.lbrow .rk { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--emerald); width: 30px; }
.lbrow .nm { flex: 1; font-weight: 600; min-width: 0; } .lbrow .nm small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 12px; }
.num.t-high { color: var(--teal); } .num.t-mid { color: var(--gold-ink, var(--ink)); } .num.t-low { color: var(--crimson); }
.aibadge { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 11px 16px; }
.aibadge .bk { width: 30px; height: 30px; display: grid; place-items: center; background: var(--emerald-deep); color: #cfe9dd; border-radius: 8px; font-weight: 700; font-size: 13px; }
.aibadge .bt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; }
.aibadge .bn { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.embed { background: var(--emerald-deep); color: #cfe9dd; border-radius: var(--r-sm); padding: 13px 15px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; line-height: 1.5; overflow-x: auto; white-space: pre; }
.lb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.lb-card { display: block; padding: 22px; transition: transform .15s ease, box-shadow .15s ease; color: inherit; text-decoration: none; }
.lb-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md, 0 12px 28px -16px rgba(11,93,59,.18)); }
.lb-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.lb-preview .lbrow { padding: 10px 14px; margin-bottom: 6px; }
.lb-preview .lbrow .rk { font-size: 18px; width: 24px; }
.lb-preview .lbrow .nm { font-size: 14px; } .lb-preview .lbrow .nm small { font-size: 11px; }

/* checker */
.scanbar { height: 6px; background: var(--success-tint); border-radius: 100px; overflow: hidden; margin: 18px auto; max-width: 360px; } .scanbar i { display: block; height: 100%; width: 10%; background: linear-gradient(90deg, var(--teal), var(--jade)); border-radius: 100px; transition: width .25s; }

/* footer — dark band, brand col + menu cols, legal rule (lifted from mockup, menu-driven) */
footer.site { background: var(--emerald-deep); color: rgba(234,246,240,.7); padding: 64px 0 30px; margin-top: 60px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
footer.site .brand-col .brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
footer.site .brand-col .brand img { height: 30px; }
footer.site .brand-col .brand svg { width: 26px; height: 26px; }
footer.site .brand-col .tagline { font-size: 14px; color: rgba(234,246,240,.55); max-width: 320px; margin: 0; line-height: 1.5; }
footer.site h5 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 13px; font-weight: 700; }
footer.site a { display: block; font-size: 14px; padding: 5px 0; color: rgba(234,246,240,.7); text-decoration: none; transition: color .12s ease; }
footer.site a:hover { color: #fff; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 12.5px; color: rgba(234,246,240,.5); }

@media (max-width: 920px) { .hero .wrap, .g3, .price-grid { grid-template-columns: 1fr; } .hero-carousel { height: 420px; } footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site .cols { grid-template-columns: 1fr; gap: 24px; } }
