/* Pink + chrome brand layer. Content, illustration shapes and page geometry stay shared. */
:root {
  --brand-accent: #d11b8d;
  --brand-pink: #e82aa4;
  --brand-paper: #fdfafb;
  --brand-ink: #211b25;
  --brand-soft: #f4edf2;
  --brand-border: #e3d5df;
}
body {
  background: var(--brand-paper);
}
.lp-v3 {
  --font-landing-display: "GeistSans", Arial, sans-serif;
  --lp-font-display: var(--font-landing-display);
}
.font-display {
  --font-landing-display: "GeistSans", Arial, sans-serif;
}
.lp-v3 [class*="font-landing-display"] {
  font-weight: 550 !important;
  letter-spacing: -0.035em !important;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  white-space: nowrap;
  height: 32px;
  color: var(--brand-ink);
}
.brand-lockup > img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: none;
  filter: none !important;
}
.brand-wordmark {
  font-family: var(--font-landing-body), Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
}
.brand-lockup-footer {
  height: 48px;
  color: #fdfafb;
}
.brand-lockup-footer > img {
  width: 32px;
  height: 32px;
}
.brand-lockup-footer .brand-wordmark {
  font-size: 28px;
}
html.lp-nav-inverted .brand-lockup {
  color: #fdfafb;
  filter: none !important;
}
.brand-agent-preview {
  width: 100%;
  height: 112px !important;
  object-fit: cover;
  object-position: 50% 31%;
  background: #20131e;
}
#hero .brand-agent-preview {
  height: auto !important;
  aspect-ratio: 16/9;
}
#hero {
  position: relative;
  isolation: isolate;
}
#hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: 3%;
  top: 13%;
  width: 46%;
  height: 75%;
  background: radial-gradient(
    ellipse at center,
    rgba(239, 158, 210, 0.1),
    transparent 68%
  );
}
#hero h1 {
  max-width: 450px;
}
#magic h2 {
  letter-spacing: -0.035em !important;
}
#workflow .workflow-active > span:not(.absolute),
#workflow .workflow-active > span > span:first-child {
  font-weight: 550 !important;
  letter-spacing: -0.025em !important;
}
button[data-cta="get_started"] {
  box-shadow: 0 1px 2px rgba(92, 17, 66, 0.06);
}
button[data-cta="get_started"]:hover {
  box-shadow: 0 4px 15px rgba(209, 27, 141, 0.14);
}
.auth-heading > img {
  object-fit: contain;
}
.auth-dialog::before {
  background-image:
    radial-gradient(ellipse at 18% 10%, #e5b6d5 0, transparent 52%),
    radial-gradient(ellipse at 95% 95%, #dce8f6 0, transparent 56%);
  opacity: 0.4;
}
.cookie-actions button,
.preference-actions button {
  border-color: var(--brand-accent);
}
.cookie-actions .cookie-accept,
.cookie-actions .cookie-reject,
.preference-actions button:last-child {
  background: var(--brand-accent);
}
.cookie-actions .cookie-customise,
.preference-actions button:not(:last-child) {
  color: var(--brand-accent);
}
@media (max-width: 767px) {
  .brand-wordmark {
    font-size: 20px;
  }
  .brand-lockup > img {
    width: 22px;
    height: 22px;
  }
  .brand-lockup {
    gap: 5px;
  }
  #hero::before {
    right: 0;
    top: 42%;
    width: 95%;
    height: 55%;
  }
  .brand-lockup-footer .brand-wordmark {
    font-size: 28px;
  }
}

/* Full visual system: new surfaces, scale and framing around the same content. */
body {
  background: #faf6f9;
}
.lp-v3 {
  background: #faf6f9;
}
.lp-v3-nav-chrome {
  top: 16px !important;
  left: 24px !important;
  right: 24px !important;
  border: 1px solid rgba(226, 210, 224, 0.85);
  border-radius: 999px;
  background: rgba(255, 253, 255, 0.94) !important;
  box-shadow:
    0 8px 36px rgba(67, 32, 64, 0.07),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.lp-v3-nav-chrome .lp-nav-ink {
  color: #33233a !important;
}
.lp-v3-nav-chrome .lp-nav-ink svg {
  color: #8b6c83 !important;
}
html.lp-nav-inverted .lp-v3-nav-chrome {
  background: rgba(255, 253, 255, 0.94) !important;
}
html.lp-nav-inverted .lp-v3-nav-chrome .brand-lockup {
  color: #211b25;
}
.lp-v3-nav-chrome button[data-cta="get_started"] {
  height: 38px !important;
  padding-inline: 18px !important;
}
.lp-v3 button[data-cta="get_started"],
.lp-v3 button[data-cta="request_demo"] {
  border-radius: 999px !important;
}
.lp-v3 button[data-cta="get_started"] {
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.lp-v3 button[data-cta="get_started"]:hover {
  transform: translateY(-1px);
}
#hero {
  margin: 34px 24px 0;
  padding: 64px 36px 54px;
  border-radius: 36px;
  border: 1px solid #eeddea;
  /* Exact background asset from YourGM's product shell; a light veil protects copy. */
  background:
    linear-gradient(100deg, rgba(255, 250, 253, .95) 0%, rgba(255, 250, 253, .75) 38%, rgba(252, 233, 246, .17) 75%),
    url('/assets/brand/yourgm-sky-clouds.webp') center 32% / cover no-repeat,
    #e5f2ff;
  box-shadow: inset 0 1px 0 #fff;
}
#hero > div > div {
  min-height: 650px !important;
}
#hero h1 {
  font-size: clamp(42px, 4.4vw, 64px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.055em !important;
  font-weight: 500 !important;
}
#hero h1 [class*="font-landing-display"] {
  font-weight: 550 !important;
  letter-spacing: -0.055em !important;
}
#hero h1 + p {
  margin-top: 26px;
}
#hero button[data-section="hero"] {
  height: 48px !important;
  padding-inline: 26px !important;
}
#hero button[data-video="launch"] {
  left: -4% !important;
  top: 34% !important;
  width: 37% !important;
}
#hero button[data-video="launch"] > div {
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(62, 26, 58, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
#hero::before {
  inset: 0;
  width: auto;
  height: auto;
  background: radial-gradient(
    ellipse at 76% 12%,
    rgba(255, 255, 255, 0.65),
    transparent 58%
  );
  border-radius: inherit;
}
#investor-logos {
  padding-block: 56px !important;
}
#vision > div {
  background: radial-gradient(
    ellipse at 78% 55%,
    #49324e 0,
    #261b2c 51%,
    #211925 100%
  ) !important;
  border: 1px solid #4a354e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#vision h2,
#vision .text-foreground {
  color: #fff6fc !important;
}
#vision p {
  color: #d5bfd0 !important;
}
#vision canvas[aria-hidden="true"] {
  filter: invert(1);
}
#vision [class*="bg-[#f7d5eb]"] {
  background: #f7d5eb;
}
#workflow {
  padding-block: 100px !important;
}
#workflow h2 > span:first-child,
#channels h2 > span:first-child {
  font-size: clamp(32px, 3.3vw, 48px) !important;
  letter-spacing: -0.045em !important;
}
#workflow h2 > span:last-child {
  font-size: clamp(32px, 3.3vw, 48px) !important;
  line-height: 1.08 !important;
}
#workflow [data-workflow-panel] [class*="rounded-"] {
  border-radius: 10px;
}
#channels > div {
  background: linear-gradient(145deg, #f8edf6, #ebe3f1) !important;
  border: 1px solid #e1cee1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
#channels [data-channel-toggle] {
  background: #38263e !important;
  border: 1px solid #5a3c60;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 20px rgba(49, 24, 53, 0.12);
}
#magic {
  background: linear-gradient(#faf6f9, #f3eaf4 70%, #faf6f9);
}
#magic h2 {
  font-size: clamp(48px, 7vw, 98px) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
}
#magic button[aria-label^="Show creative"] {
  background: #cbb2c7;
}
#testimonials > div {
  background: linear-gradient(135deg, #fffafd, #f1eaf4 55%, #fceaf4) !important;
  border: 1px solid #e2d0e1 !important;
  box-shadow: inset 0 1px 0 #fff;
}
#testimonials blockquote {
  font-weight: 450 !important;
  letter-spacing: -0.03em !important;
}
#customer-results h2 {
  letter-spacing: -0.035em !important;
}
#customer-results a[class*="rounded-"] {
  border: 1px solid #e9dbe5;
  border-radius: 24px !important;
  background: #fffafd;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
#customer-results a[class*="rounded-"]:hover {
  box-shadow: 0 16px 40px rgba(77, 33, 64, 0.08);
  transform: translateY(-3px);
}
#final-cta {
  background:
    linear-gradient(90deg, rgba(255, 248, 252, .87), rgba(255, 248, 252, .48)),
    url('/assets/brand/yourgm-sky-clouds.webp') center 40% / cover no-repeat,
    #e5f2ff;
  border-top: 1px solid #e7d8e5;
}
#final-cta h2 > span {
  font-size: clamp(32px, 3.5vw, 48px) !important;
  letter-spacing: -0.045em !important;
}
footer {
  border-top: 1px solid #5b3b57;
  background: #251b2b !important;
}
@media (max-width: 767px) {
  .lp-v3-nav-chrome {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    border-radius: 22px;
  }
  .lp-v3-nav-chrome > div {
    padding-inline: 12px !important;
  }
  .lp-v3-nav-chrome button[data-cta="get_started"] {
    height: 34px !important;
    padding-inline: 14px !important;
  }
  #hero {
    margin: 26px 10px 0;
    padding: 40px 20px 32px;
    border-radius: 28px;
  }
  #hero > div > div {
    min-height: 0 !important;
  }
  #hero h1 {
    font-size: 42px !important;
    line-height: 1.04 !important;
  }
  #hero button[data-video="launch"] {
    left: -2% !important;
    width: 37% !important;
  }
  #workflow {
    padding-block: 60px !important;
  }
  #workflow h2 > span,
  #channels h2 > span:first-child {
    font-size: 30px !important;
  }
  #investor-logos {
    padding-block: 40px !important;
  }
  #magic h2 {
    font-size: 48px !important;
  }
  .brand-lockup-footer {
    height: 48px;
  }
}

/* The first cascade layer owns deliberate overrides of legacy important utilities. */
@layer brand {
  .lp-v3 [class*="font-landing-display"] {
    font-weight: 550 !important;
    letter-spacing: -0.035em !important;
  }
  #hero h1 {
    font-size: clamp(42px, 4.4vw, 64px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.055em !important;
    font-weight: 500 !important;
  }
  #hero h1 [class*="font-landing-display"] {
    font-weight: 550 !important;
    letter-spacing: -0.055em !important;
  }
  #hero > div > div {
    min-height: 650px !important;
  }
  #hero button[data-section="hero"] {
    height: 48px !important;
    padding-inline: 26px !important;
  }
  #hero button[data-video="launch"] {
    left: -4% !important;
    top: 34% !important;
    width: 37% !important;
  }
  #vision h2,
  #vision .text-foreground {
    color: #fff6fc !important;
  }
  #vision p {
    color: #d5bfd0 !important;
  }
  #workflow h2 > span:first-child,
  #channels h2 > span:first-child {
    font-size: clamp(32px, 3.3vw, 48px) !important;
    letter-spacing: -0.045em !important;
  }
  #workflow h2 > span:last-child {
    font-size: clamp(32px, 3.3vw, 48px) !important;
    line-height: 1.08 !important;
  }
  #workflow .workflow-active > span:not(.absolute),
  #workflow .workflow-active > span > span:first-child {
    font-weight: 550 !important;
    letter-spacing: -0.025em !important;
  }
  #magic h2 {
    font-size: clamp(48px, 7vw, 98px) !important;
    font-weight: 500 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
  }
  #testimonials blockquote {
    font-weight: 450 !important;
    letter-spacing: -0.03em !important;
  }
  #final-cta h2 > span {
    font-size: clamp(32px, 3.5vw, 48px) !important;
    letter-spacing: -0.045em !important;
  }
  .lp-v3 button[data-cta="get_started"],
  .lp-v3 button[data-cta="request_demo"] {
    border-radius: 999px !important;
  }
  .lp-v3-nav-chrome button[data-cta="get_started"] {
    height: 38px !important;
    padding-inline: 18px !important;
  }
  @media (max-width: 767px) {
    #hero h1 {
      font-size: 42px !important;
      line-height: 1.04 !important;
    }
    #hero > div > div {
      min-height: 0 !important;
    }
    #hero button[data-video="launch"] {
      left: -2% !important;
      width: 37% !important;
    }
    #workflow h2 > span,
    #channels h2 > span:first-child {
      font-size: 30px !important;
    }
    #magic h2 {
      font-size: 48px !important;
    }
    .lp-v3-nav-chrome button[data-cta="get_started"] {
      height: 34px !important;
      padding-inline: 14px !important;
    }
  }
}

/* Live brand labels keep editorial artwork reusable without baking in a wordmark. */

img.brand-news-agent { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 31%; }

/* The starburst has its own compact footprint; tiles are never used as marks. */
.brand-lockup-footer { gap: 10px; }
.auth-heading > img[src$="muze-mark.svg"] { width: 28px; height: 28px; }
#final-cta img[src$="muze-mark.svg"].size-\[52px\] { width: 36px; height: 36px; }
.logo img[src$="muze-mark.svg"] { width: 24px; height: 24px; object-fit: contain; }

@media(max-width:767px) { .brand-lockup-footer > img { width:30px; height:30px; } }

/* Brand roles: full silver tile for identity; standalone transparent PNG for pattern. */
.brand-lockup > img { width: 28px; height: 28px; flex: 0 0 28px; }
.brand-lockup-footer > img { width: 36px; height: 36px; flex-basis: 36px; }
.brand-pattern { display: block; object-fit: contain; flex-shrink: 0; }
#customer-results > div:first-child > .brand-pattern { width: 36px; height: 36px; }
#statement .brand-pattern { width: 20px; height: 20px; flex: 0 0 20px; filter: brightness(0) invert(1); }
.statement-copy-step:not(.is-current) [data-brand-role="pattern"] { opacity: 0; }
.statement-copy-step.is-current [data-brand-role="pattern"] { opacity: 1; }
#statement .statement-copy-step p { min-width: 0; flex: 1 1 auto; overflow-wrap: normal; word-break: normal; }
#customer-results a[href="/case-study"] { background: var(--brand-accent); color: #fff; }
#customer-results a[href="/case-study"]:hover { background: #b91479; }
.auth-heading > img[src$="muze-silver-logo-small.png"] { width: 32px; height: 32px; object-fit: contain; flex: none; }
.logo img[src$="muze-silver-logo-small.png"] { width: 28px; height: 28px; object-fit: contain; }
@media(min-width:768px) {
  #statement .brand-pattern { width: 24px; height: 24px; flex-basis: 24px; }
  #customer-results > div:first-child > .brand-pattern { width: 40px; height: 40px; }
}
@media(max-width:767px) {
  .brand-lockup > img { width: 28px; height: 28px; flex-basis: 28px; }
  .brand-lockup-footer > img { width: 36px; height: 36px; flex-basis: 36px; }
}
