:root {
  --ink: #15121A; --ink2: #4A4552; --muted: #807A88; --line: #E9E4DD; --bg: #FAF7F3; --card: #FFFFFF;
  --violet: #6C3CF0; --violet2: #A97BFF; --pink: #FF6FA8; --ok: #1E9E62; --warn: #D98A00; --err: #D23B3B;
  --r: 18px; --shadow: 0 1px 2px rgba(20, 10, 40, .04), 0 12px 32px -12px rgba(40, 20, 80, .14);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: -20vh -10vw auto auto; width: 70vw; height: 70vh; background: radial-gradient(closest-side, rgba(169, 123, 255, .16), transparent); pointer-events: none; z-index: -1; }
button, input, select, textarea { font: inherit; color: inherit; }
[dir="rtl"], [lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--font); }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
h1, h2, h3 { letter-spacing: -.02em; margin: 0; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 40px); background: rgba(250, 247, 243, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 800; font-size: 24px; color: var(--ink); text-decoration: none; letter-spacing: -.04em; white-space: nowrap; }
.wordmark .dots { color: var(--violet); font-size: 18px; margin-left: 1px; }
.wordmark em { font-style: normal; font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.steps { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 12px 6px 8px; border-radius: 99px; display: flex; align-items: center; gap: 8px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #EEE9E2; font-size: 11px; }
.steps li.on { color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.steps li.on::before { background: var(--ink); color: #fff; }
.steps li.done::before { content: "✓"; background: var(--ok); color: #fff; }
.mode { font-size: 12px; font-weight: 600; color: var(--ink2); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); display: inline-block; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(30, 158, 98, .15); }
main { padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 40px) 120px; max-width: 1280px; margin: 0 auto; }

/* shared controls */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font-weight: 700; font-size: 16px; color: #fff; padding: 16px 26px; border-radius: 14px;
  background: linear-gradient(135deg, #1B1424, #3A1F6E 60%, var(--violet)); box-shadow: 0 10px 24px -10px rgba(108, 60, 240, .7); transition: transform .15s, box-shadow .15s; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(108, 60, 240, .8); }
.cta:disabled { opacity: .6; cursor: progress; }
.cta.sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 600; cursor: pointer; color: var(--ink); text-decoration: none; font-size: 14px; }
.ghost:hover { border-color: #CFC7BC; }
.ghost.sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.linkbtn { background: none; border: 0; color: var(--violet); font-weight: 600; cursor: pointer; padding: 8px; font-size: 14px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; font-weight: 700; color: var(--ink2); text-transform: uppercase; letter-spacing: .06em; }
input:not([type=checkbox]):not([type=file]), textarea, select { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--violet2); box-shadow: 0 0 0 4px rgba(108, 60, 240, .12); }
textarea { resize: vertical; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* 1. upload */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; min-height: calc(100vh - 220px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--violet); background: rgba(108, 60, 240, .08); padding: 7px 12px; border-radius: 99px; }
.spark { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet2); }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; margin: 18px 0 16px; font-weight: 800; }
.grad { background: linear-gradient(100deg, var(--violet), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink2); max-width: 520px; }
.proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.proof li { display: flex; flex-direction: column; } .proof b { font-size: 18px; } .proof span { font-size: 13px; color: var(--muted); }
.upload-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.drops { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.drop { position: relative; border: 2px dashed #DCD4C9; border-radius: 16px; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; cursor: pointer; min-height: 170px; background: #FDFCFA; transition: .15s; }
.drop:hover, .drop.over { border-color: var(--violet2); background: #F8F4FF; }
.drop.has { border-style: solid; border-color: #CDBFF5; background: #FBF9FF; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-ico { font-size: 28px; margin-bottom: 6px; }
.drop b { font-size: 16px; } .drop small { color: var(--muted); font-size: 12px; }
.logo-prev { width: 72px; height: 72px; object-fit: contain; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; position: relative; z-index: 2; }
.chip { font-size: 12px; background: #fff; border: 1px solid var(--line); padding: 4px 6px 4px 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 4px; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip button { border: 0; background: #F1ECE6; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; line-height: 1; padding: 0; }
.swatches { display: flex; gap: 4px; margin-top: 8px; } .swatches i, .sw { width: 18px; height: 18px; border-radius: 6px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.more { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; background: #fff; }
.more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink2); padding: 10px 0; }
.more[open] { padding-bottom: 14px; } .more[open] > *:not(summary) { margin-top: 8px; }
.langs { display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); padding: 8px 12px; border-radius: 99px; font-size: 14px; cursor: pointer; }

/* 2. build */
.build { max-width: 560px; margin: 4vh auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.orb { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 26px; }
.orb img { width: 96px; height: 96px; object-fit: contain; border-radius: 22px; position: relative; z-index: 1; background: #fff; padding: 8px; box-shadow: var(--shadow); }
.ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--violet), var(--pink), #FFC14D, var(--violet)); animation: spin 2.4s linear infinite; filter: blur(.3px); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.ring::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(169, 123, 255, .35), transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
.build h2 { font-size: 28px; } .build h2 span { color: var(--violet); }
.checklist { list-style: none; padding: 0; margin: 28px 0 10px; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: #B3ACA3; font-weight: 600; transition: .3s; }
.checklist li i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #E4DDD3; flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.checklist li em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; display: flex; gap: 4px; }
.checklist li.active { color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.checklist li.active i { border-color: var(--violet); border-right-color: transparent; animation: spin .8s linear infinite; }
.checklist li.ok { color: var(--ink); }
.checklist li.ok i { background: var(--ok); border-color: var(--ok); color: #fff; } .checklist li.ok i::after { content: "✓"; }
.ticker { height: 28px; font-weight: 600; color: var(--ink2); } .ticker span { animation: rise .2s ease-out; display: inline-block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.elapsed { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.card.error { margin-top: 20px; border-color: #F3C5C5; text-align: left; width: 100%; } .card.error p { color: var(--ink2); }

/* 3. review */
.review-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.rlogo { width: 64px; height: 64px; object-fit: contain; border-radius: 16px; background: #fff; padding: 6px; box-shadow: var(--shadow); }
.review-head h2 { font-size: 28px; } .review-head p { margin: 4px 0 0; }
.stats { list-style: none; display: flex; gap: 8px; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; font-size: 12px; color: var(--muted); text-align: center; }
.stats b { display: block; font-size: 22px; color: var(--ink); }
.review-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.sec { font-size: 17px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.sec + .muted { margin: 0 0 14px; }
aside .sec { margin-top: 18px; } aside .sec:first-child { margin-top: 0; margin-bottom: 12px; }
.count { background: var(--ink); color: #fff; border-radius: 99px; font-size: 12px; padding: 2px 9px; }
.issues { display: flex; flex-direction: column; gap: 12px; }
.issue { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); transition: .25s; }
.issue.error { border-left-color: var(--err); }
.issue.leaving { opacity: 0; transform: translateX(30px) scale(.98); }
.ihead { display: flex; align-items: center; gap: 12px; }
.ihead .emo { font-size: 24px; width: 42px; height: 42px; display: grid; place-items: center; background: #F6F2EC; border-radius: 12px; }
.ihead .emo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.ihead b { display: block; } .ihead small { color: var(--muted); font-size: 12px; }
.sev { margin-left: auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--warn); background: #FFF5E0; padding: 4px 8px; border-radius: 6px; }
.error .sev { color: var(--err); background: #FDECEC; }
.ititle { font-weight: 700; margin: 12px 0 2px; } .idetail { margin: 0; color: var(--ink2); font-size: 14px; }
.fix { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; } .fix.row { flex-direction: row; }
.money { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.money > span { padding: 0 10px; font-size: 13px; color: var(--muted); font-weight: 600; background: #F7F4F0; align-self: stretch; display: grid; place-items: center; }
.money input { border: 0 !important; box-shadow: none !important; width: 110px !important; padding: 9px 10px !important; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .opts > .cta, .opts > .row { grid-column: 1 / -1; justify-self: start; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #FAF8F5; padding: 6px 6px 6px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .tr .row { grid-column: 1 / -1; }
.tr small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.tr p { margin: 4px 0 0; font-size: 14px; color: var(--ink2); } .tr input { margin-bottom: 6px; }
.bulks { display: flex; flex-direction: column; gap: 10px; }
.bulk { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; }
.bulk summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; font-size: 14px; }
.bulk summary::-webkit-details-marker { display: none; }
.bulk summary .ghost { margin-left: auto; }
.bi { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #F4EFFF; }
.bulk ul { list-style: none; padding: 0 0 14px; margin: 0; display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow: auto; }
.bulk li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; align-items: center; font-size: 13px; }
.bulk li:has(textarea) { grid-template-columns: 1fr; } .bulk li em { color: var(--muted); font-style: normal; }
.bulk input, .bulk textarea { padding: 8px 10px !important; font-size: 13px !important; }
.sugg { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sugg li { background: #FFFBF0; border: 1px solid #F3E6C4; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.dock { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(880px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px; justify-content: space-between; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); padding: 10px 10px 10px 20px; border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(20, 10, 40, .35); font-size: 14px; font-weight: 600; z-index: 10; }

/* 4. ready */
.ready-head { text-align: center; margin-bottom: 28px; }
.ready-head h2 { font-size: clamp(28px, 3.4vw, 42px); } .ready-head p { font-size: 16px; margin-top: 8px; }
.pop { display: inline-block; animation: pop 1s ease-out; } @keyframes pop { 0% { transform: scale(0) rotate(-40deg); } 60% { transform: scale(1.3); } }
.ready-grid { display: grid; grid-template-columns: 1fr 390px 1fr; gap: 28px; align-items: start; }
.qr-stage svg { width: 100%; height: auto; max-width: 320px; display: block; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .14)); }
.qr-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.qs { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 6px 4px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.qs[aria-checked="true"] { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108, 60, 240, .12); }
.qthumb svg { width: 56px; height: auto; display: block; }
.qr-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.locked { color: var(--ink2); }
.phone { position: relative; width: 390px; height: 800px; max-width: 100%; border-radius: 52px; background: #111; padding: 12px; box-shadow: 0 40px 80px -30px rgba(20, 10, 40, .5), inset 0 0 0 2px #2A2A2A; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 41px; background: #fff; }
.notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #111; border-radius: 20px; z-index: 2; }
.phone-col p { margin-top: 12px; }
.unlock { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; border: 1.5px solid #DCCFFF; background: linear-gradient(180deg, #FFFFFF, #FBF8FF); }
.lock-ico { font-size: 30px; width: 56px; height: 56px; display: grid; place-items: center; background: #F2ECFF; border-radius: 16px; }
.unlock h3 { font-size: 21px; line-height: 1.25; } .unlock p { margin: 0; line-height: 1.5; font-size: 14px; }
.phone-in { display: flex; gap: 6px; } .phone-in select { width: 112px; flex: none; padding-right: 4px; } .phone-in input { font-size: 18px !important; letter-spacing: .02em; }
.fine { font-size: 12px !important; color: var(--muted); }
.next { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; } .next p { margin: 0; font-size: 14px; line-height: 1.5; }
.linkbox { display: flex; gap: 6px; } .linkbox input { font-size: 13px !important; }

/* AI images */
#aiimgs { margin-bottom: 18px; }
.gtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 10px; }
.gtile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.gtile.approved { border-color: #A8DDC2; box-shadow: 0 0 0 2px #E2F5EB; }
.gimg { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #F6F2EC; display: grid; place-items: center; font-size: 36px; }
.gimg img { width: 100%; height: 100%; object-fit: cover; }
.gspin { position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(108, 60, 240, .2); border-top-color: var(--violet); animation: spin .8s linear infinite; }
.aibadge { position: absolute; left: 6px; top: 6px; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: rgba(21, 18, 26, .65); padding: 2px 7px; border-radius: 99px; }
.gtile b { font-size: 12px; line-height: 1.25; }
.gact { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; } .gact small { color: var(--muted); }
.gok { color: var(--ok); font-weight: 700; font-size: 12px; } .gerr { color: var(--err) !important; }
.cta.xs, .ghost.xs { padding: 5px 8px; font-size: 11px; border-radius: 8px; box-shadow: none; }
.grow-row { display: flex; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; max-width: min(560px, calc(100% - 32px)); z-index: 50; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { top: 110vh; transform: translateX(60px) rotate(720deg); } }

@media (max-width: 1180px) {
  .ready-grid { grid-template-columns: 1fr 390px; } .side-col { grid-column: 1 / -1; order: -1; }
  .unlock, .next { position: static; }
}
@media (max-width: 900px) {
  .hero, .review-grid { grid-template-columns: 1fr; } .hero { min-height: 0; }
  .ready-grid { grid-template-columns: 1fr; justify-items: center; } .qr-col { width: 100%; max-width: 420px; }
  .steps li:not(.on) { font-size: 0; padding: 4px; gap: 0; } .steps { margin: 0; } .mode { display: none; }
  .stats { margin-left: 0; }
}
@media (max-width: 560px) {
  .drops, .grid2, .tr, .opts { grid-template-columns: 1fr; }
  .phone { width: 100%; height: 720px; border-radius: 40px; padding: 8px; } .phone iframe { border-radius: 33px; }
  .dock { flex-direction: column; align-items: stretch; text-align: center; }
  .wordmark em { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* treated logos (see analyzeLogo) */
/* Logo in a circle: the image is absolutely centred inside a square badge, so it can't drift off-centre
   whatever the container's size, and object-fit keeps its proportions (never stretched). */
.logo-badge { position: relative; display: inline-block; flex: none; box-sizing: border-box; background: var(--lbg, #fff); border-radius: 50%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 26px -12px rgba(0, 0, 0, .35); }
.logo-badge img { position: absolute; inset: 0; margin: auto; width: var(--lw, 100%); height: var(--lh, 100%); max-width: 100%; max-height: 100%; object-fit: contain; object-position: 50% 50%; display: block; }
/* Pill: sized from the badge itself (percentage padding would follow the parent's width and can squeeze the logo to nothing). */
.logo-badge.lb-pill { border-radius: 999px; aspect-ratio: auto; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.logo-badge.lb-pill img { position: static; inset: auto; width: 76%; height: auto; max-width: 76%; max-height: none; margin: 8% auto; }
.logo-badge.lb-cover { padding: 0; box-shadow: 0 0 0 3px #fff, 0 10px 26px -12px rgba(0, 0, 0, .35); }
.logo-badge.lb-cover img { object-fit: cover; }
.logo-natural { object-fit: contain; }
.rlogo.logo-badge { padding: 0; } .rlogo.lb-pill { width: 110px; height: auto; }

/* teaser before unlock */
.teaser { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1180px; margin: 0 auto; }
.tz-main { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tz-main h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.tz-main > p { margin: 0; font-size: 16px; }
.tz-logo { width: 92px; height: 92px; } .tz-logo.lb-pill { width: 180px; height: auto; } img.tz-logo { object-fit: contain; }
.tz-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 6px; }
.tz-stats li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; font-size: 12px; color: var(--muted); }
.tz-stats b { display: block; font-size: 22px; color: var(--ink); }
.teaser .unlock { position: static; width: 100%; max-width: 520px; }
.teaser .unlock h3 { font-size: 18px; }
.tz-side { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 640px; }
.tz-phone { width: 330px; height: 640px; }
.tz-phone iframe { filter: blur(5px) saturate(1.05); pointer-events: none; transform: scale(1.02); }
.tz-lock { position: absolute; inset: 12px; border-radius: 41px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(21, 18, 26, .45)); color: #fff; z-index: 2; }
.tz-lock span { font-size: 34px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.tz-lock b { font-size: 18px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); } .tz-lock small { opacity: .9; }
.tz-qr { position: absolute; left: 0; bottom: 20px; width: 170px; transform: rotate(-6deg); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); z-index: 3; }
.tz-qr svg { width: 100%; height: auto; display: block; }
@media (max-width: 960px) {
  .teaser { grid-template-columns: 1fr; } .tz-side { min-height: 0; order: -1; } .tz-phone { width: 280px; height: 520px; }
  .tz-qr { width: 130px; left: calc(50% - 230px); }
}
@media (max-width: 560px) { .tz-qr { display: none; } }
input.bad, .field input.bad { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(210, 59, 59, .12) !important; }

/* ---------------------------------------------------------- round 4: 48-hour launch offer */
.side-col { display: flex; flex-direction: column; gap: 16px; }
.offer { position: relative; overflow: hidden; border: 1.5px solid #FFD58A; background: linear-gradient(160deg, #FFF8EA, #fff 55%); }
.offer-top { display: flex; gap: 14px; align-items: center; }
.offer h3 { margin: 4px 0 6px; font-size: 17px; } .offer p { margin: 0; font-size: 14px; line-height: 1.45; }
.offer-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9A5B00; background: #FFE7B8; padding: 3px 8px; border-radius: 99px; }
.offer .ring { position: relative; inset: auto; width: 104px; height: 104px; flex: none; background: none; animation: none; filter: none; -webkit-mask: none; mask: none; }
.offer .ring::after { content: none; }
.offer .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.offer .ring circle { fill: none; stroke-width: 7; } .offer .ring .trk { stroke: #F4E6CB; } .offer .ring .bar { stroke: #F29F05; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.offer .ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-in b { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .02em; } .ring-in small { font-size: 10.5px; color: #8a7a60; }
.gift-sm { font-size: 18px; line-height: 1; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
.docs { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 12px; }
.doc { display: flex; align-items: center; gap: 10px; border: 1.5px dashed #E2D4BA; border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #fff; }
.doc:hover { border-color: #F29F05; } .doc.ok { border-style: solid; border-color: #1E9E62; background: #F1FBF6; }
.doc-ico { font-size: 20px; } .doc-t { flex: 1; min-width: 0; } .doc-t b { display: block; font-size: 13.5px; }
.doc-t small { display: block; font-size: 12px; color: #8a827a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc.ok small { color: #1E7A4E; }
.doc-btn { font-size: 12.5px; font-weight: 600; color: #9A5B00; }
.offer-cta { width: 100%; background: #F29F05 !important; color: #1a1205 !important; font-weight: 700; }
.offer-cta:disabled { opacity: .45; cursor: not-allowed; }
.offer .fine { font-size: 12px; color: #8a827a; margin-top: 8px; }
.offer.expired .ring .bar { stroke: #ccc; }
.offer.done { text-align: center; border-color: #9BDDBB; background: linear-gradient(160deg, #EFFBF4, #fff 60%); }
.offer.done .gift { font-size: 40px; } .offer.done h3 { font-size: 20px; }
.manage-fab { position: fixed; z-index: 50; right: 0; top: 46%; display: flex; align-items: center; gap: 8px; padding: 12px 16px 12px 14px; border-radius: 14px 0 0 14px;
  background: #111; color: #fff; text-decoration: none; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: padding .2s; }
.manage-fab:hover { padding-right: 22px; }
@media (max-width: 700px) { .manage-fab { top: auto; bottom: 90px; } .manage-fab b { display: none; } }

/* ---------------------------------------------------------- import pipeline: language picker, real build stages */
.urlfield { margin-top: 2px; }
.langpick { position: relative; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 7px 8px; background: #fff; min-height: 46px; }
.lchip { display: inline-flex; align-items: center; gap: 4px; background: rgba(108, 60, 240, .09); color: var(--violet); font-weight: 600; font-size: 13px; border-radius: 99px; padding: 5px 6px 5px 11px; }
.lchip button { border: 0; background: none; color: inherit; font-size: 15px; line-height: 1; cursor: pointer; padding: 0 4px; border-radius: 50%; }
.lchip button:hover { background: rgba(108, 60, 240, .15); }
.ladd { border: 1px dashed var(--line); background: none; border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 13px; color: var(--ink2); cursor: pointer; }
.ladd:hover { border-color: var(--violet2); color: var(--violet); }
.lmenu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(340px, 100%); max-height: 300px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; }
.lmenu label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.lmenu label:hover { background: var(--bg); } .lmenu small { margin-left: auto; color: var(--muted); }
.field > small.muted { display: block; margin-top: 6px; font-size: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr auto; column-gap: 10px; align-items: center; }
.checklist li .sl { min-width: 0; }
.checklist li em { margin-left: 0; grid-column: 2 / 4; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.checklist li time { grid-column: 3; grid-row: 1; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.checklist li.fail i { background: var(--err) !important; border-color: var(--err) !important; }
.checklist li.fail i::after { content: "!"; color: #fff; font-style: normal; font-weight: 800; font-size: 12px; display: grid; place-items: center; height: 100%; }
.checklist li.fail em { color: var(--err); }
#build-error .card.error { margin-top: 18px; text-align: left; }

/* review: warnings + every item, highlighted and editable */
.warnbar { border-color: #F3D9A6; background: #FFFBF1; padding: 14px 18px; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.warnbar .wrow { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; font-size: 14px; }
.allitems { margin: 28px 0 90px; }
.allitems .ai-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.qchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.qchips button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink2); }
.qchips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.qcat h4 { margin: 18px 0 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qrow { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; font: inherit; color: inherit; }
.qrow:hover { border-color: var(--violet2); }
.qrow.bad { border-left: 4px solid var(--err); } .qrow.warn { border-left: 4px solid var(--warn); }
.qimg { width: 52px; height: 52px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-size: 24px; overflow: hidden; flex: none; }
.qimg img { width: 100%; height: 100%; object-fit: cover; } .qimg.lg { width: 44px; height: 44px; } .qimg.xl { width: 96px; height: 96px; font-size: 40px; }
.qmain { min-width: 0; } .qmain b { display: block; font-size: 15px; }
.qmain small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qbs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.qb { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #F1EEF4; color: var(--ink2); }
.qb.t-bad { background: #FDECEC; color: #B42318; } .qb.t-warn { background: #FFF4DE; color: #9A5B00; } .qb.t-info { background: #EEF4FF; color: #2453B3; } .qb.t-ai { background: rgba(108, 60, 240, .1); color: var(--violet); }
.qchips button.t-bad:not(.on) { color: #B42318; } .qchips button.t-warn:not(.on) { color: #9A5B00; }
.qprice { font-weight: 700; white-space: nowrap; } .qprice.miss { color: var(--err); font-weight: 600; font-size: 13px; }
.edscrim { position: fixed; inset: 0; z-index: 90; background: rgba(21, 18, 26, .45); display: flex; justify-content: flex-end; }
.editor { width: min(560px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; animation: edin .2s ease-out; }
@keyframes edin { from { transform: translateX(30px); opacity: 0; } }
.editor header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.editor header div { flex: 1; } .editor header b { display: block; } .editor header small { color: var(--muted); }
.editor .x { border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--muted); }
.ebody { flex: 1; overflow: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.ebody fieldset.lang { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ebody fieldset.lang legend { font-size: 12.5px; font-weight: 700; color: var(--ink2); padding: 0 6px; }
.aibox:empty { display: none; }
.aibox { background: rgba(108, 60, 240, .05); border: 1px solid rgba(108, 60, 240, .2); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.aibox p { margin: 0 0 8px; } .aibox blockquote { margin: 0; padding: 8px 10px; background: #fff; border-radius: 10px; flex: 1; }
.aibox .row { display: flex; gap: 8px; margin-top: 8px; }
.sugrow { display: flex; gap: 10px; align-items: center; margin-top: 8px; } .sugrow > span { width: 86px; font-size: 12px; font-weight: 700; color: var(--muted); }
.eimg { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } .eimg .row { display: flex; gap: 8px; flex-wrap: wrap; }
.editor footer { display: flex; gap: 8px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); } .editor footer .grow { flex: 1; }
.cta.xs, .ghost.xs { padding: 6px 10px; font-size: 12.5px; }
@media (max-width: 640px) { .qrow { grid-template-columns: 44px 1fr; } .qprice { grid-column: 2; } .qimg { width: 44px; height: 44px; } }

/* build screen: moderately compact loader with one testimonial carousel underneath */
.build3 { max-width: 760px; margin: 3vh auto 0; padding: 0 16px; }
.build3 .build { max-width: 520px; margin: 0 auto; }
.build3 .orb { width: 132px; height: 132px; margin-bottom: 18px; }
.build3 .orb img { width: 84px; height: 84px; border-radius: 20px; padding: 6px; }
.build3 .build h2 { font-size: 25px; line-height: 1.25; }
.build3 #build-sub { font-size: 14px; margin: 8px 0 0; }
.build3 .checklist { margin: 18px auto 8px; gap: 0; max-width: 500px; background: #fff; border-radius: 18px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(20, 10, 40, .04), 0 10px 26px -18px rgba(40, 20, 80, .3); }
.build3 .checklist li { padding: 6px 8px; font-size: 14.5px; border-radius: 10px; column-gap: 10px; row-gap: 0; box-shadow: none; }
.build3 .checklist li em { font-size: 11.5px; line-height: 1.3; }
.build3 .checklist li time { font-size: 12px; }
.tcar { position: relative; margin: 22px auto 0; max-width: 720px; }
.tview { overflow: hidden; border-radius: 20px; margin: 0 46px; }
.ttrack { position: relative; min-height: 118px; display: grid; }
.tslide { grid-area: 1 / 1; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.tcard { display: flex; gap: 14px; align-items: center; text-align: left; border-radius: 20px; padding: 16px 18px; min-height: 118px;
  box-shadow: 0 1px 2px rgba(20, 10, 40, .05), 0 12px 28px -16px rgba(40, 20, 80, .3); }
.tlogo { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 800; letter-spacing: .03em; flex: none; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.tbody { flex: 1; min-width: 0; }
.tcard b { display: block; font-size: 15.5px; color: var(--ink); } .tcard small { font-size: 12.5px; color: #6E6878; }
.tcard p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: #2B2733; }
.tbadge { flex: none; font-style: normal; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 99px; white-space: nowrap; }
.tint-lav { background: #F1ECFF; } .tint-lav .tbadge { background: #DED3FF; color: #4B2BB8; } .tint-lav .tlogo { color: #5A36D6; }
.tint-mint { background: #E6F6EC; } .tint-mint .tbadge { background: #C8EBD5; color: #13693D; } .tint-mint .tlogo { color: #178A4F; }
.tint-rose { background: #FDEBF1; } .tint-rose .tbadge { background: #F9CFDE; color: #A5194F; } .tint-rose .tlogo { color: #C2245F; }
.tint-sky { background: #E7F1FD; } .tint-sky .tbadge { background: #CCE0FA; color: #1D4F9C; } .tint-sky .tlogo { color: #2864C2; }
.tint-cream { background: #FFF4E0; } .tint-cream .tbadge { background: #FCE2B2; color: #8A5300; } .tint-cream .tlogo { color: #A86500; }
.tarrow { position: absolute; top: 59px; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--brand, #6A3DF0);
  font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(20, 10, 40, .12); }
.tarrow.prev { left: 0; } .tarrow.next { right: 0; }
.tdots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.tdots i { width: 7px; height: 7px; border-radius: 50%; background: #DAD5E0; } .tdots i.on { background: #6A3DF0; }
.testi-note { text-align: center; font-size: 11px; color: #A8A1AF; margin: 10px 0 30px; }
@media (max-width: 600px) {
  .tview { margin: 0; } .tarrow { display: none; }
  .tcard { flex-wrap: wrap; } .tbadge { margin-left: 70px; }
}
@media (prefers-reduced-motion: reduce) { .tslide { transition: none; } }

/* final step: version toggle, menu health, revenue opportunity (compact) */
.vtoggle { display: inline-flex; align-self: center; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px; margin: 0 auto 10px; box-shadow: var(--shadow); }
.phone-col { display: flex; flex-direction: column; }
.vtoggle button { border: 0; background: none; border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: 13px; color: var(--ink2); cursor: pointer; }
.vtoggle button[aria-checked="true"] { background: var(--ink); color: #fff; }
.aichips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.aichips i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--violet); background: rgba(108, 60, 240, .08); padding: 3px 8px; border-radius: 99px; }
.health, .revenue { padding: 16px 18px; }
.hhead { display: flex; gap: 12px; align-items: center; }
.hhead small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.hring { position: relative; width: 48px; height: 48px; flex: none; }
.hring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hring circle { fill: none; stroke-width: 4.5; } .hring .t { stroke: #EEE9F4; } .hring .b { stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.hring.good .b { stroke: var(--ok); } .hring.ok .b { stroke: var(--warn); } .hring.low .b { stroke: var(--err); }
.hring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; }
.hlist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.hlist li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 6px; }
.linkbtn.sm { font-size: 12.5px; padding: 0; white-space: nowrap; }
.rhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 600; }
.rhead b { font-size: 17px; color: var(--ok); white-space: nowrap; } .rhead b small { font-size: 12px; color: var(--muted); font-weight: 500; }
.revenue p { margin: 4px 0 0; }
.calc summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--violet); margin-top: 8px; }
.calc-in { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.calc-in label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.calc-in input { max-width: 110px; padding: 6px 10px !important; font-size: 13px !important; }
.calc-in table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.calc-in td { border-top: 1px solid var(--line); padding: 6px 4px; vertical-align: top; } .calc-in td:not(:first-child) { white-space: nowrap; text-align: right; }
.calc-in td small { display: block; color: var(--muted); font-size: 11.5px; }

/* final step: original source viewer inside the phone frame */
.srcview { position: absolute; inset: 12px; border-radius: 41px; background: #EDEBF0; overflow-y: auto; padding: 44px 10px 20px; }
.srcview[hidden] { display: none; }
.srcview canvas, .srcview img { display: block; width: 100%; height: auto; margin: 0 auto 10px; background: #fff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.srcview pre { white-space: pre-wrap; font: 12.5px/1.5 ui-monospace, Menlo, monospace; background: #fff; padding: 14px; border-radius: 10px; margin: 0; color: #222; }
.srcview .srclink { display: block; text-align: center; font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.phone iframe[hidden] { display: none; }
@media (max-width: 760px) { .srcview { inset: 8px; border-radius: 33px; } }

/* review: approve all AI improvements */
.approve-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #F1ECFF; border: 1px solid #DED3FF; border-radius: 16px; padding: 12px 16px; margin: 0 0 18px; font-size: 14px; }
