/* Zupsy customer look (2.1.293): the screens a first-time customer sees (body.lite): the home screen, the header, the cards, the buttons. Colors and type follow the homepage (welcome.html).
   Everything here is scoped to body.lite, so the owner's full editor is unchanged. It only retunes colors and shapes (and the home layout); it does not move any editor control. */
body.lite {
  --acc: #7c14e3; --acc2: #f8eeff; --ink: #33074f; --mute: #5f4f73; --line: #ede7f2; --r: 18px;
  --z-brand: #7c14e3; --z-brand2: #6a11c9; --z-cyan: #fa3668; --z-body: #4a3a60; --z-soft: #fbf5ff; --z-edge: #f0e0fb;
  /* colour pop: the logo's three colours. Purple = actions and links; red-pink = selected / current / counts; orange = highlights, tips, credits. -d variants are for small text (4.5:1 on white). */
  --z-purple: #7c14e3; --z-purple-d: #6a11c9; --z-plum: #33074f;
  --z-red: #f83565; --z-red-d: #d4204f; --z-red-tint: #ffedf2; --z-red-edge: #ffd0dc;
  --z-orange: #f99011; --z-orange-d: #b45f06; --z-orange-tint: #fff3e0; --z-orange-edge: #ffdcae; --z-on-orange: #4a2400;
  --z-grad3: linear-gradient(135deg, #7c14e3 0%, #f83565 62%, #f99011 100%);
  --z-grad: linear-gradient(135deg, #7c14e3 0%, #e0245a 100%); /* the main button: white label stays 4.6:1 at the light end */
  --z-wash: #fff;
  --z-shadow: 0 22px 48px -26px rgba(60,10,100, .45);
  background: var(--z-wash) fixed;
  color: var(--ink);
}
/* the gray frame around each screen goes: the page itself carries the soft color */
body.lite #home, body.lite #feels, body.lite #videos, body.lite #results, body.lite #learn { background: transparent; box-shadow: none; border-radius: 0; }

.zsteps { display: none; }

/* ---- the top bar ---- */
body.lite .top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 8px 22px; gap: 12px; }
body.lite .logo img { height: 46px; }
body.lite .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--z-grad3); pointer-events: none; } /* a thin three-colour stripe under the bar (the bar is sticky, so it is the anchor) */
body.lite .ver { font-size: 11px; font-weight: 600; opacity: .55; }
body.lite #creditsPill { background: var(--z-orange-tint); color: var(--z-on-orange); border: 1px solid var(--z-orange-edge); border-radius: 999px; padding: 4px 13px; font-size: 13px; font-weight: 700; opacity: 1; } /* credits = orange; dark text on the tint (12.4:1) */
body.lite #creditsPill::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--z-orange); margin-right: 7px; vertical-align: 1px; }
body.lite .top .btn.sm { border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* ---- buttons and fields ---- */
body.lite .btn { border-radius: 12px; font-weight: 700; transition: background .15s, transform .15s, box-shadow .15s; }
body.lite .btn:hover { filter: none; background: var(--z-brand2); }
body.lite .btn.ghost { background: #fff; color: var(--z-brand2); border: 1px solid #ead8f7; }
body.lite .btn.ghost:hover { background: var(--acc2); border-color: var(--z-red-edge); }
body.lite .btn.on { background: var(--ok); }
body.lite .btn.skip { background: #f3eef6; color: var(--mute); }
body.lite input:focus, body.lite select:focus, body.lite textarea:focus { outline: 3px solid #edd3ff; border-color: var(--z-brand); }

/* ---- the home screen ---- */
body.lite .home { padding-top: 12px; }
body.lite .hero { text-align: center; padding: 34px 8px 22px; margin: 0; }
body.lite .hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.08; letter-spacing: -.03em; margin: 0; background: linear-gradient(90deg, #33074f 8%, #7c14e3 46%, #f83565 88%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #33074f; }
body.lite .hero h1::after { content: ""; display: block; width: 76px; height: 5px; border-radius: 5px; margin: 14px auto 0; background: var(--z-grad3); } /* a small colour stroke under the big heading */
body.lite .hero p { font-size: 17px; line-height: 1.5; color: var(--z-body); max-width: 640px; margin: 12px auto 0; }
body.lite .zsteps { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 auto 24px; max-width: 860px; }
body.lite .zsteps span { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--z-edge); border-radius: 999px; padding: 7px 16px 7px 8px; font-size: 14px; font-weight: 600; color: var(--z-body); box-shadow: 0 6px 16px -12px rgba(60,10,100, .5); }
body.lite .zsteps b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--z-purple); color: #fff; font-size: 13px; }
body.lite .zsteps span:nth-child(3n+2) b { background: var(--z-red-d); } /* step dots cycle purple, red, orange (white 5.1:1 on the red; dark text on the orange) */
body.lite .zsteps span:nth-child(3n) b { background: var(--z-orange); color: var(--z-on-orange); }
body.lite .zsteps span:nth-child(3n+1) { border-color: var(--z-edge); } body.lite .zsteps span:nth-child(3n+2) { border-color: var(--z-red-edge); } body.lite .zsteps span:nth-child(3n) { border-color: var(--z-orange-edge); }

body.lite .make { max-width: 860px; margin: 0 auto; padding: 9px; gap: 10px; flex-wrap: nowrap; align-items: center; background: linear-gradient(#fff, #fff) padding-box, var(--z-grad3) border-box; border: 2px solid transparent; border-radius: 24px; box-shadow: var(--z-shadow); transition: box-shadow .15s; } /* the box gets a three-colour edge */
body.lite .make:focus-within { box-shadow: 0 0 0 4px #efd8ff, var(--z-shadow); }
body.lite .make input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font-size: 17px; height: 54px; padding: 0 16px; border-radius: 14px; }
body.lite .make input:focus { outline: none; }
body.lite .make .btn.big { height: 54px; padding: 0 28px; border-radius: 16px; background: var(--z-grad); box-shadow: 0 12px 24px -12px rgba(224,36,90, .85); white-space: nowrap; }
body.lite .make .btn.big:hover { background: var(--z-grad); transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(224,36,90, .9); }
body.lite #zusbyResults { height: 54px; border-radius: 16px; padding: 0 20px; white-space: nowrap; }
body.lite #homeStatus { max-width: 860px; margin: 10px auto 0; text-align: center; }

body.lite #projects { max-width: 1240px; margin: 34px auto 0; }
body.lite .hwrap { margin-top: 6px; }
body.lite .crumbt, body.lite .crumb b { font-size: 20px; letter-spacing: -.01em; }
body.lite .hsearch, body.lite .hsort { border-radius: 14px; border: 1px solid var(--z-edge); background: #fff; }
body.lite .adgrid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
body.lite .adcard { border-radius: 22px; border: 1px solid #f3e9fb; box-shadow: 0 10px 26px -20px rgba(60,10,100, .5); }
body.lite .adcard:hover { box-shadow: var(--z-shadow); transform: translateY(-3px); }
/* each video card wears a coloured top band, cycling purple, red, orange (the picture inside is the customer's own and is not touched) */
body.lite .adcard { border-top: 4px solid var(--z-purple); }
body.lite .adcard:nth-child(3n+2) { border-color: var(--z-red-edge); border-top-color: var(--z-red); }
body.lite .adcard:nth-child(3n) { border-color: var(--z-orange-edge); border-top-color: var(--z-orange); }
body.lite .adband { height: 112px; }
body.lite .adgrid:has(.vcard) { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
@media (max-width: 560px) { body.lite .adgrid:has(.vcard) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
body.lite .vcard .adplay { background: rgba(34, 24, 120, .6); }
body.lite .adtitle { font-size: 16px; }
body.lite .hempty { border: 2px dashed var(--z-red-edge); background: #fff; border-radius: 24px; padding: 46px 20px; text-align: center; }
body.lite .hempty::before { content: "\1F3AC"; display: block; font-size: 42px; margin-bottom: 8px; }
body.lite .hempty b { font-size: 18px; }

/* ---- cards and the status window ---- */
body.lite .card { border-radius: var(--r); border-color: var(--z-edge); box-shadow: 0 8px 22px -18px rgba(60,10,100, .45); }
body.lite .stw { border-top-color: var(--z-edge); box-shadow: 0 -10px 30px -14px rgba(60,10,100, .35); }
body.lite .toast { background: #33074f; border-radius: 14px; }

/* ---- phones ---- */
@media (max-width: 640px) {
  body.lite .top { padding: 8px 12px; gap: 8px; }
  body.lite .logo img { height: 38px; }
  body.lite .hero { padding: 22px 4px 14px; }
  body.lite .hero p { font-size: 15.5px; }
  body.lite .zsteps { display: none; } /* the heading already says it; the strip would push the box off the first screen */
  body.lite .ver { display: none; }
  body.lite .make { flex-wrap: wrap; border-radius: 22px; }
  body.lite .make input { flex: 1 1 100%; height: 50px; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
  body.lite .make .btn.big, body.lite #zusbyResults { flex: 1 1 100%; height: 50px; }
  body.lite .adgrid { grid-template-columns: 1fr; }
}

/* ---- 2.1.341: the approved Home screen and the bottom bar (zupsy-home.js; shown only where the Zusby window is allowed: body.zh) ---- */
.zhome, .znav { display: none; }
body.lite.zh #home .hero, body.lite.zh #home .card.make, body.lite.zh #home #ownBox, body.lite.zh #zsteps { display: none; }
body.lite.zh .zhome { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin: 0 auto; padding: 22px 4px 8px; }
.zh-pill { align-self: flex-start; background: var(--z-red-tint); color: var(--z-red-d); border: 1px solid var(--z-red-edge); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; } /* a count / status pill: red-pink (4.5:1 on its tint) */
.zh-pill[hidden] { display: none; }
.zhome h1 { margin: 0; font-size: clamp(28px, 7vw, 40px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); background: linear-gradient(90deg, #33074f 6%, #7c14e3 42%, #f83565 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* gradient heading: large type, so the red end (3.7:1) is fine; it stops before the orange */
.zhome h1::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 5px; margin-top: 12px; background: var(--z-grad3); }
body.lite.zh .zhome { position: relative; isolation: isolate; }
body.lite.zh .zhome::before { display: none; content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 280px; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 72%); background: radial-gradient(circle at 8% 4%, rgba(248,53,101,.13), transparent 52%), radial-gradient(circle at 96% 12%, rgba(249,144,17,.15), transparent 48%), radial-gradient(circle at 55% 0, rgba(124,20,227,.09), transparent 60%); } /* soft three-colour glow behind the heading (kept inside the column, so no sideways scroll) */
.zhome .zh-sub { margin: 0; font-size: 16px; line-height: 1.5; color: var(--z-body); }
.zh-fld { display: flex; align-items: center; gap: 10px; height: 56px; border: 1.5px solid #e0d0f6; border-radius: 16px; background: #fff; padding: 0 16px; color: #5f4f73; }
.zh-fld .zh-ic { color: var(--z-red); } /* the little globe is red-pink (an icon, not text) */
.zh-fld:focus-within { border-color: var(--z-brand); outline: 3px solid #edd3ff; }
.zh-fld input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); padding: 0; }
.zh-ic { display: inline-flex; flex: none; }
.zh-err { min-height: 0; color: #b42318; font-size: 14px; }
.zh-err:empty { display: none; }
.zhome .btn.big { width: 100%; min-height: 56px; font-size: 17px; }
body.lite .zhome .btn.big { background: var(--z-grad); box-shadow: 0 12px 24px -12px rgba(224,36,90, .85); } /* the main button: purple to red, white label 4.6:1 at the light end */
body.lite .zhome .btn.big:hover { background: var(--z-grad); transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(224,36,90, .9); }
.zh-lk { display: flex; align-items: center; justify-content: center; min-height: 44px; width: 100%; background: none; border: 0; color: var(--z-brand2); font: 600 15px Inter, system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.zh-have { display: none; }
body.guest .zh-have { display: flex; }
.zh-get { display: flex; gap: 14px; align-items: center; background: #fff; border: 1.5px solid var(--z-orange-edge); border-radius: 20px; padding: 13px; margin-top: 4px; } /* "What you get" is a highlight: orange tint; its text stays plum / dark body colour (9:1) */
.zh-get b { font-size: 16px; }
.zh-get p { margin: 4px 0 0; font-size: 13.5px; color: var(--z-body); }
.zh-ex { width: 84px; height: 112px; border-radius: 12px; flex: none; background: var(--z-grad); color: #fff; display: flex; align-items: flex-end; padding: 8px; font-weight: 800; font-size: 15px; line-height: 1.05; position: relative; }
.zh-ex::after { content: ""; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--z-orange); } /* an orange spark in the corner (the label sits low, on the purple-to-red part) */
@media (max-width: 999px) { /* 2.1.387: the bottom bar now serves tablets too (it was 640 and the side menu starts at 1000, so 641 to 999 had no menu) */
  body.lite.zh #vidsTop, body.lite.zh #shareTop, body.lite.zh #resTop { display: none; }
  body.lite.zh.zh-nav { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body.lite.zh.zh-nav .znav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--z-edge); justify-content: space-around; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .znav button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 96px; min-height: 52px; color: #6a5a7e; font: 600 12px Inter, system-ui, sans-serif; padding: 0; cursor: pointer; }
  .znav button { position: relative; }
  .znav button.on { color: var(--z-red-d); }
  .znav button.on::after { content: ""; position: absolute; top: -8px; left: 50%; width: 30px; height: 4px; margin-left: -15px; border-radius: 0 0 4px 4px; background: var(--z-red); } /* the current tab: red-pink label (5.1:1) and a red stripe on the bar's edge */
}

/* 2.1.378: the two choices on the new Home: videos for your customers, or ads */
.zh-q { font: 700 13px Inter, system-ui, sans-serif; color: var(--z-red-d); margin: 14px 2px 8px; } /* a small kicker: red-pink, the dark variant (5.1:1 on white) */
.zh-kinds { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 14px; }
.zh-kind { text-align: left; border: 1.5px solid #e0d0f6; border-radius: 16px; background: #fff; padding: 12px 14px; font: inherit; color: var(--ink); cursor: pointer; min-height: 56px; }
.zh-kind b { display: block; font-size: 16px; }
.zh-kind span { display: block; font-size: 13.5px; color: #5f4f73; line-height: 1.4; }
.zh-kind:hover { border-color: var(--z-red-edge); }
.zh-kind.on { border-color: var(--z-red); background: var(--z-red-tint); outline: 2px solid var(--z-red-edge); } /* the chosen card is red-pink (plum text on the tint, 14:1) */
@media (min-width: 640px) { .zh-kinds { grid-template-columns: 1fr 1fr; } }

/* 2.1.387: on a wide screen the menu (Create, My videos, Results, Account) is a column on the left instead of a bar at the bottom */
@media (min-width: 1000px) {
  body.lite.zh.zh-nav .znav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: fixed; left: 0; top: 96px; bottom: 0; width: 200px; z-index: 20; background: transparent; padding: 8px 10px; } /* top 96: clear of the header, and of the amber test-customer banner above it */
  body.lite.zh.zh-nav .znav button { position: relative; border: 0; background: none; display: flex; align-items: center; color: #6a5a7e; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; text-align: left; flex-direction: row; justify-content: flex-start; gap: 12px; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; font-size: 15px; }
  body.lite.zh.zh-nav .znav button.on { background: var(--z-red-tint); color: var(--z-red-d); } /* red-pink on its tint 4.5:1 */
  body.lite.zh.zh-nav .znav button.on::after { content: ""; position: absolute; background: var(--z-red); top: 10px; bottom: 10px; left: 0; width: 4px; height: auto; margin-left: 0; border-radius: 0 4px 4px 0; }
  body.lite.zh.zh-nav #home, body.lite.zh.zh-nav #zmake, body.lite.zh.zh-nav #videos, body.lite.zh.zh-nav #results, body.lite.zh.zh-nav #learn { margin-left: 216px; }
}
@media (min-width: 1000px) { body.lite.zh.zh-nav #vidsTop, body.lite.zh.zh-nav #shareTop, body.lite.zh.zh-nav #resTop { display: none; } } /* the menu has them */

/* 2.1.388: a first visit (guest, no sign-in yet): the website box, then the pages of the flow; no menu, no list of videos, no account buttons until there is an account */
body.guest .znav, body.guest.lite.zh .znav { display: none !important; }
body.guest.lite.zh.zh-nav { padding-bottom: 0; }
body.guest.lite.zh #home > *:not(.zhome) { display: none; }
body.guest #resTop, body.guest #vidsTop, body.guest #shareTop, body.guest #tcOpen, body.guest .av-wrap { display: none !important; }
@media (min-width: 1000px) { body.guest.lite.zh.zh-nav #home, body.guest.lite.zh.zh-nav #zmake { margin-left: 0; } }
