/*
 * Quick Launch Intake 0.7.0: every sales page in the public website's look (class-brand.php, body.qli-brand).
 * Copied from the Studio's website (studio/src/lib/website/blueprint.ts and the approved screenshots in
 * docs/editor-v2/review/launch/website/): dark base, violet-to-cyan pill buttons, glass cards, Space Grotesk
 * headings and Inter text, the website's header and footer. shop.css, store.css and intake.css use the same values.
 */

body.qli-brand {
  --qlb-base: #0A0B14;
  --qlb-tint: #10121F;
  --qlb-card: rgba(255, 255, 255, .04);
  --qlb-card-solid: #141729;
  --qlb-field: #0D0F1C;
  --qlb-text: #F4F5FF;
  --qlb-muted: #A3A8C6;
  --qlb-violet: #8B7CFF;
  --qlb-cyan: #2DD4EE;
  --qlb-pink: #F0ABFC;
  --qlb-line: rgba(244, 245, 255, .10);
  --qlb-line-strong: rgba(244, 245, 255, .22);
  --qlb-gradient: linear-gradient(90deg, #8B7CFF 0%, #2DD4EE 100%);
  --qlb-glow: 0 10px 34px -10px rgba(139, 124, 255, .75);
  --qlb-ring: 0 0 0 4px rgba(139, 124, 255, .32);
  --qlb-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --qlb-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* The theme's own colours switched to the website's, so its blocks (and WooCommerce's) read on the dark base:
     Quick Launch Starter's names and Twenty Twenty-Five's. */
  --wp--preset--color--base: #0A0B14;
  --wp--preset--color--tint: #10121F;
  --wp--preset--color--contrast: #F4F5FF;
  --wp--preset--color--muted: #A3A8C6;
  --wp--preset--color--primary: #8B7CFF;
  --wp--preset--color--secondary: #2DD4EE;
  --wp--preset--color--accent: #F0ABFC;
  --wp--preset--color--line: rgba(244, 245, 255, .10);
  --wp--preset--color--accent-1: #8B7CFF;
  --wp--preset--color--accent-2: #2DD4EE;
  --wp--preset--color--accent-3: #F0ABFC;
  --wp--preset--color--accent-4: #A3A8C6;
  --wp--preset--color--accent-5: #10121F;
  --wp--preset--color--accent-6: rgba(244, 245, 255, .10);

  background: var(--qlb-base) !important;
  color: var(--qlb-text);
  font-family: var(--qlb-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* The glow at the top of the page, as behind the website's hero. */
body.qli-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 620px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(139, 124, 255, .22) 0, transparent 70%),
    radial-gradient(35% 40% at 88% 10%, rgba(45, 212, 238, .12) 0, transparent 70%),
    radial-gradient(30% 35% at 10% 18%, rgba(240, 171, 252, .08) 0, transparent 70%);
}
body.qli-brand .wp-site-blocks,
body.qli-brand #page,
body.qli-brand .site { position: relative; z-index: 1; background: transparent !important; color: inherit; }
body.qli-brand .wp-site-blocks > main,
body.qli-brand main { background: transparent !important; }

body.qli-brand h1, body.qli-brand h2, body.qli-brand h3, body.qli-brand h4, body.qli-brand h5, body.qli-brand h6,
body.qli-brand .wp-block-post-title,
body.qli-brand .wc-block-components-title,
body.qli-brand .wc-block-components-checkout-step__title {
  font-family: var(--qlb-heading) !important;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--qlb-text);
}
body.qli-brand p, body.qli-brand li, body.qli-brand td, body.qli-brand th, body.qli-brand label,
body.qli-brand input, body.qli-brand select, body.qli-brand textarea, body.qli-brand button { font-family: var(--qlb-body); }
body.qli-brand a { color: var(--qlb-cyan); }
body.qli-brand a:hover { color: var(--qlb-violet); }
body.qli-brand ::selection { background: rgba(139, 124, 255, .45); color: #fff; }

/* The theme's header and footer give way to the website's (block themes and classic ones). */
body.qli-brand .wp-site-blocks > header,
body.qli-brand .wp-site-blocks > .wp-block-template-part:first-child:has(.wp-block-site-title, .wp-block-navigation),
body.qli-brand .wp-site-blocks > footer,
body.qli-brand .wp-site-blocks > .wp-block-template-part:last-child:has(.wp-block-site-title, .wp-block-navigation, .wp-block-site-tagline),
body.qli-brand #masthead,
body.qli-brand .site-header,
body.qli-brand #colophon,
body.qli-brand .site-footer { display: none !important; }

/* ---------- The website's header and footer ---------- */
.qlb-wrap { box-sizing: border-box; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.qlb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--qlb-line);
  background: rgba(10, 11, 20, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.admin-bar .qlb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .qlb-header { top: 0; } }
.qlb-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
body.qli-brand .qlb-logo {
  margin: 0;
  color: var(--qlb-text);
  font-family: var(--qlb-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
body.qli-brand .qlb-logo:hover { color: var(--qlb-text); }
.qlb-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
body.qli-brand .qlb-nav a:not(.qlb-btn) { color: var(--qlb-text); font-weight: 600; font-size: .95rem; text-decoration: none; }
body.qli-brand .qlb-nav a:not(.qlb-btn):hover { color: var(--qlb-cyan); }
@media (max-width: 520px) { body.qli-brand .qlb-nav a:not(.qlb-btn):not(.qlb-account) { display: none; } }
/* 0.12.0: My account stays on phones (signing in to see orders and Your website), so the header is tighter there. */
@media (max-width: 520px) {
  .qlb-header-row { gap: 10px; }
  .qlb-nav { gap: 12px; }
  body.qli-brand .qlb-logo { font-size: 1rem; white-space: normal; line-height: 1.15; max-width: 9em; }
  body.qli-brand .qlb-nav a.qlb-account { font-size: .88rem; white-space: nowrap; }
  body.qli-brand .qlb-header .qlb-btn { padding: 8px 14px; min-height: 40px; font-size: .88rem; }
}

/* The main button everywhere: the violet-to-cyan pill with a glow on hover. */
body.qli-brand .qlb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  line-height: 1.2;
  background: var(--qlb-gradient);
  color: #0A0B14;
  font-family: var(--qlb-body);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .2s ease, transform .2s ease, filter .2s ease;
}
body.qli-brand .qlb-btn:hover { color: #0A0B14; box-shadow: var(--qlb-glow); transform: translateY(-1px); filter: brightness(1.05); }
body.qli-brand .qlb-btn:focus-visible { outline: none; box-shadow: var(--qlb-ring); }

.qlb-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 8vw, 96px);
  padding: 56px 0 28px;
  border-top: 1px solid var(--qlb-line);
  background: var(--qlb-tint);
  color: var(--qlb-text);
  font-size: .95rem;
  line-height: 1.6;
}
.qlb-footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px 48px; }
@media (max-width: 760px) { .qlb-footer-cols { grid-template-columns: 1fr; } }
.qlb-footer p { margin: 0 0 12px; }
.qlb-footer .qlb-logo { display: block; margin-bottom: 14px; }
.qlb-footer .qlb-muted { color: var(--qlb-muted); max-width: 40ch; }
.qlb-footer-head { font-weight: 700; font-size: .9rem; }
.qlb-footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
body.qli-brand .qlb-footer-links a { color: var(--qlb-text); font-weight: 600; text-decoration: none; }
body.qli-brand .qlb-footer-links a:hover { color: var(--qlb-cyan); }
body.qli-brand .qlb-email { color: var(--qlb-cyan); text-decoration: none; overflow-wrap: anywhere; }
.qlb-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--qlb-line);
  color: var(--qlb-muted);
  font-size: .82rem;
}
body.qli-brand .qlb-footer-bottom a { color: var(--qlb-cyan); text-decoration: none; }
body.qli-brand .qlb-footer-bottom a:hover { color: var(--qlb-violet); }

/* ---------- WooCommerce notices on the dark base ---------- */
body.qli-brand .woocommerce-message,
body.qli-brand .woocommerce-info,
body.qli-brand .woocommerce-error,
body.qli-brand .wc-block-components-notice-banner {
  border: 1px solid var(--qlb-line-strong) !important;
  border-left: 4px solid var(--qlb-violet) !important;
  border-radius: 14px !important;
  background: var(--qlb-card-solid) !important;
  color: var(--qlb-text) !important;
}
body.qli-brand .woocommerce-error,
body.qli-brand .wc-block-components-notice-banner.is-error { border-left-color: #FF7A90 !important; }
body.qli-brand .wc-block-components-notice-banner.is-success,
body.qli-brand .woocommerce-message { border-left-color: var(--qlb-cyan) !important; }
body.qli-brand .wc-block-components-notice-banner > svg { fill: currentColor; background: transparent !important; }
body.qli-brand .woocommerce-message::before,
body.qli-brand .woocommerce-info::before { color: var(--qlb-cyan); }

@media (prefers-reduced-motion: reduce) {
  body.qli-brand .qlb-btn { transition: none; }
  body.qli-brand .qlb-btn:hover { transform: none; }
}
body.qli-brand .woocommerce-message,
body.qli-brand .woocommerce-info,
body.qli-brand .woocommerce-error { margin: 0 0 20px; padding: 14px 18px !important; list-style: none; font-size: .95rem; }

/* 0.7.1: links in notices ("View cart" was dark on dark on the live checkout). */
body.qli-brand .wc-block-components-notice-banner a,
body.qli-brand .wc-block-components-notice-banner .wc-forward,
body.qli-brand .woocommerce-message a,
body.qli-brand .woocommerce-info a,
body.qli-brand .woocommerce-error a { color: var(--qlb-cyan) !important; opacity: 1 !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.qli-brand .woocommerce-message a.button,
body.qli-brand .woocommerce-info a.button { float: right; margin-left: 12px; background: none !important; border: 0 !important; padding: 0 !important; }

/* ---------- 0.9.0: the newsletter sign-up above the footer (class-newsletter.php), as on the website ---------- */
.qlb-signup { position: relative; z-index: 1; margin-top: clamp(48px, 8vw, 96px); padding: 0; color: var(--qlb-text); }
.qlb-signup + .qlb-footer { margin-top: 56px; }
.qlb-signup-card { box-sizing: border-box; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 48px; align-items: center; padding: 40px; border: 1px solid var(--qlb-line-strong); border-radius: 20px; background: radial-gradient(60% 90% at 0% 0%, rgba(139, 124, 255, .16), transparent 70%), var(--qlb-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (max-width: 820px) { .qlb-signup-card { grid-template-columns: 1fr; padding: 28px 22px; } }
body.qli-brand .qlb-signup-eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: rgba(240, 171, 252, .18); color: var(--qlb-pink); font-size: 13px; font-weight: 600; }
body.qli-brand .qlb-signup h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
body.qli-brand .qlb-signup-copy p:not(.qlb-signup-eyebrow) { margin: 0; color: var(--qlb-muted); font-size: 16px; line-height: 1.6; }
body.qli-brand .qlb-signup-label { display: block; margin: 0 0 8px; color: var(--qlb-text); font-size: 14px; font-weight: 600; }
.qlb-signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
body.qli-brand .qlb-signup-row input { flex: 1 1 220px; box-sizing: border-box; min-width: 0; min-height: 50px; margin: 0; padding: 12px 16px; border: 1.5px solid var(--qlb-line-strong); border-radius: 999px; background: var(--qlb-field); color: var(--qlb-text); font-size: 16px; }
body.qli-brand .qlb-signup-row input::placeholder { color: #6B7092; }
body.qli-brand .qlb-signup-row input:focus { outline: none; border-color: var(--qlb-violet); box-shadow: var(--qlb-ring); }
body.qli-brand .qlb-signup-row button { flex: none; min-height: 50px; margin: 0; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--qlb-gradient); color: #0A0B14; font-family: var(--qlb-body); font-size: 16px; font-weight: 700; cursor: pointer; transition: box-shadow .2s, transform .2s; }
body.qli-brand .qlb-signup-row button:hover { box-shadow: var(--qlb-glow); transform: translateY(-1px); }
body.qli-brand .qlb-signup-row button:disabled { opacity: .6; cursor: default; transform: none; }
body.qli-brand .qlb-signup-note { margin: 10px 0 0; color: var(--qlb-muted); font-size: 13px; }
body.qli-brand .qlb-signup-note.is-ok { color: #5EEAD4; font-size: 15px; font-weight: 600; }
body.qli-brand .qlb-signup-note.is-bad { color: #FF8FA3; }
.qlb-signup-hide { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { body.qli-brand .qlb-signup-row button { transition: none; } }

/* 0.13.0: the affiliate program (Affiliates_Front): My account → Affiliate and the /affiliates/ sign-up page. */
body.qli-brand .qli-aff { display: flex; flex-direction: column; gap: 22px; color: var(--qlb-text); font-family: var(--qlb-body); }
body.qli-brand .qli-aff h1, body.qli-brand .qli-aff h2, body.qli-brand .qli-aff h3 { margin: 0; font-family: var(--qlb-heading); color: var(--qlb-text); letter-spacing: -.01em; }
body.qli-brand .qli-aff h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
body.qli-brand .qli-aff h2 { font-size: 24px; }
body.qli-brand .qli-aff h3 { font-size: 19px; }
body.qli-brand .qli-aff p { margin: 0; }
body.qli-brand .qli-aff-muted { color: var(--qlb-muted); font-size: .92rem; line-height: 1.55; }
body.qli-brand .qli-aff-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: var(--qlb-card); border: 1px solid var(--qlb-line); }
body.qli-brand .qli-aff-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { body.qli-brand .qli-aff-hero { grid-template-columns: minmax(0, 1fr); } }
body.qli-brand .qli-aff-pitch { display: flex; flex-direction: column; gap: 16px; }
body.qli-brand .qli-aff-pitch > p { color: #C5C9E0; font-size: 1.05rem; line-height: 1.6; }
body.qli-brand .qli-aff-eyebrow { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(139, 124, 255, .16); color: #C9C2FF; font-size: .82rem; font-weight: 600; }
body.qli-brand .qli-aff-ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
body.qli-brand .qli-aff-ticks li { position: relative; padding-left: 22px; line-height: 1.5; }
body.qli-brand .qli-aff-ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--qlb-pink); border-bottom: 2px solid var(--qlb-pink); transform: rotate(-45deg); }
body.qli-brand .qli-aff-form { display: flex; flex-direction: column; gap: 14px; }
body.qli-brand .qli-aff-form label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; color: var(--qlb-text); }
body.qli-brand .qli-aff input:not([type="checkbox"]) { width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--qlb-line-strong); background: var(--qlb-field); color: var(--qlb-text); font: 15px var(--qlb-body); }
body.qli-brand .qli-aff input:focus { outline: none; box-shadow: var(--qlb-ring); border-color: var(--qlb-violet); }
body.qli-brand .qli-aff-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { body.qli-brand .qli-aff-row { grid-template-columns: minmax(0, 1fr); } }
body.qli-brand .qli-aff-code { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.qli-brand .qli-aff-code > span { color: var(--qlb-muted); font-size: .9rem; overflow-wrap: anywhere; }
body.qli-brand .qli-aff-code input { flex: 1 1 160px; width: auto !important; }
body.qli-brand .qli-aff-bank { margin: 0; padding: 14px; border-radius: 12px; border: 1px solid var(--qlb-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { body.qli-brand .qli-aff-bank { grid-template-columns: minmax(0, 1fr); } }
body.qli-brand .qli-aff-bank legend { padding: 0 6px; font-weight: 600; font-size: .9rem; }
body.qli-brand .qli-aff-bank label { font-weight: 500; color: #C5C9E0; font-size: .85rem; }
body.qli-brand .qli-aff-terms label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: #C5C9E0; font-size: .92rem; }
body.qli-brand .qli-aff-terms input { margin-top: 3px; accent-color: var(--qlb-violet); }
body.qli-brand .qli-aff-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.qli-brand .qli-aff-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--qlb-gradient); color: #0A0B14; font: 700 .95rem var(--qlb-body); cursor: pointer; white-space: nowrap; }
body.qli-brand .qli-aff-btn:hover { box-shadow: var(--qlb-glow); }
body.qli-brand .qli-aff-btn.is-quiet { background: transparent; color: var(--qlb-text); border: 1px solid var(--qlb-line-strong); }
body.qli-brand .qli-aff-copyrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
body.qli-brand .qli-aff-copyrow input { flex: 1 1 220px; width: auto !important; }
body.qli-brand .qli-aff-copyrow label { margin: 0; font-size: .9rem; color: #C5C9E0; white-space: nowrap; }
body.qli-brand .qli-aff-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
body.qli-brand .qli-aff-pill { padding: 3px 10px; border-radius: 999px; background: rgba(45, 212, 238, .14); color: #9EEBF7; font-size: .82rem; font-weight: 600; }
body.qli-brand .qli-aff-pill.is-paused { background: rgba(240, 171, 252, .14); color: #F7D2FD; }
body.qli-brand .qli-aff-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { body.qli-brand .qli-aff-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.qli-brand .qli-aff-stats > div { padding: 18px; border-radius: 16px; background: var(--qlb-card); border: 1px solid var(--qlb-line); display: flex; flex-direction: column; gap: 6px; }
body.qli-brand .qli-aff-stats span { color: var(--qlb-muted); font-size: .85rem; }
body.qli-brand .qli-aff-stats strong { font-family: var(--qlb-heading); font-size: 1.5rem; overflow-wrap: anywhere; }
body.qli-brand .qli-aff-tablewrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--qlb-line); }
body.qli-brand .qli-aff-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
body.qli-brand .qli-aff-table th { text-align: left; padding: 12px 16px; background: rgba(255, 255, 255, .05); color: var(--qlb-muted); font-weight: 600; font-size: .82rem; }
body.qli-brand .qli-aff-table td { padding: 12px 16px; border-top: 1px solid var(--qlb-line); color: var(--qlb-text); }
body.qli-brand .qli-aff-table tr.is-off td { color: var(--qlb-muted); }
body.qli-brand .qli-aff-note, body.qli-brand .qli-aff-done, body.qli-brand .qli-aff-error { padding: 14px 18px; border-radius: 14px; line-height: 1.55; }
body.qli-brand .qli-aff-note { background: var(--qlb-card); border: 1px solid var(--qlb-line); }
body.qli-brand .qli-aff-done { background: rgba(45, 212, 238, .10); border: 1px solid rgba(45, 212, 238, .35); }
body.qli-brand .qli-aff-error { background: rgba(240, 171, 252, .10); border: 1px solid rgba(240, 171, 252, .40); }
body.qli-brand .qli-aff details summary { cursor: pointer; color: #9EEBF7; }
body.qli-brand .qli-aff details[open] summary { margin-bottom: 14px; }
/* The sign-up page: our own heading, the full width (the theme's title and narrow column left out). */
body.qli-brand.qli-aff-page .wp-block-post-title, body.qli-brand.qli-aff-page .entry-title, body.qli-brand.qli-aff-page .page-title { display: none; }
body.qli-brand.qli-aff-page .is-layout-constrained > .qli-aff-public, body.qli-brand.qli-aff-page .entry-content > .qli-aff-public, body.qli-brand.qli-aff-page .qli-aff-public { max-width: 1200px !important; width: 100%; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
body.qli-brand.qli-aff-page .qli-aff-public { padding: clamp(28px, 5vw, 64px) 16px clamp(40px, 6vw, 80px); }
body.qli-brand .qli-aff-row > p { display: flex; flex-direction: column; justify-content: flex-end; }
