/* WeOne front cover — recreated from the supplied visual reference. */
body:has(.ref-home) {
  background: #f4edf2;
}

.refpage.ref-home {
  --plum: #60225f;
  --ink: #2e0b2b;
  --muted: #6e5c70;
  width: min(100%, 900px);
  max-width: 900px;
  min-height: 100svh;
  background: linear-gradient(180deg, #f3dce9 0%, #fbf4f8 74%, #f6edf3 100%);
}

.ref-home .ref-home-controls,
.ref-home .ref-home-poster-hero,
.ref-home .ref-analysis-grid,
.ref-home .ref-feature-tags {
  display: none !important;
}

.ref-home .ref-hero {
  position: relative;
  height: 105cqw;
  min-height: 390px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.ref-home .ref-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(68, 11, 74, .18) 0%, rgba(68, 11, 74, .02) 58%),
    linear-gradient(180deg, rgba(40, 0, 53, .08) 0%, transparent 62%, rgba(248, 207, 227, .26) 100%);
  pointer-events: none;
}

.ref-home .ref-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.ref-home .ref-logo {
  position: absolute;
  top: 5.4cqw;
  left: 50%;
  z-index: 2;
  width: 53cqw;
  margin: 0;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
}

.ref-home .ref-hero-brand {
  position: absolute;
  top: 5cqw;
  left: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 65cqw;
  color: #fff;
  transform: translateX(-50%);
  text-decoration: none;
  text-shadow: 0 1px 16px rgba(54, 7, 61, .18);
}

.ref-home .ref-hero-brandline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 14cqw;
  gap: 3.2cqw;
}

.ref-home .ref-hero-mark {
  display: block;
  width: 29cqw;
  height: 12.8cqw;
  flex: 0 0 auto;
  background: url('/brand/weone-official-logo.png') top center / 100% auto no-repeat;
  filter: brightness(0) invert(1);
}

.ref-home .ref-hero-word {
  display: block;
  margin-top: -.6cqw;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 7.1cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.ref-home .ref-hero-slogan {
  display: block;
  margin-top: 1.4cqw;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .25em;
  white-space: nowrap;
}

.ref-home .ref-logo img {
  width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ref-home .ref-tagline {
  margin: .8cqw 0 0;
  padding: 0;
  color: #fff;
  font-size: 1.85cqw;
  font-weight: 400;
  letter-spacing: .28em;
  text-shadow: 0 1px 12px rgba(54, 7, 61, .24);
}

.ref-home .ref-tagline::before {
  display: none;
}

.ref-home .ref-hero-copy {
  position: absolute;
  top: 33cqw;
  left: 6.2cqw;
  z-index: 1;
  width: 53cqw;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 18px rgba(61, 14, 69, .18);
}

.ref-home .ref-hero-copy h1 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 5.1cqw;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: normal;
}

.ref-home .ref-hero-copy h1 em {
  margin-top: .7cqw;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.04em;
  font-style: normal;
  letter-spacing: -.025em;
}

.ref-home .ref-hero-copy p {
  width: 45cqw;
  margin-top: 5cqw;
  color: rgba(255,255,255,.96);
  font-size: 2.5cqw;
  line-height: 1.42;
  letter-spacing: -.01em;
}

.ref-home .ref-skin-card {
  position: relative;
  min-height: 49cqw;
  margin: 2.8cqw 3.1cqw 2.1cqw;
  padding: 4.1cqw 4cqw 3.3cqw;
  overflow: hidden;
  border: 1px solid rgba(107, 50, 100, .1);
  border-radius: 2.8cqw;
  background: rgba(255, 252, 254, .95);
  box-shadow: 0 14px 40px rgba(85, 36, 82, .06);
}

.ref-home .ref-skin-copy {
  width: 60cqw;
}

.ref-home .ref-skin-card .ref-kicker {
  color: #5b415e;
  font-size: 1.45cqw;
  font-weight: 600;
  letter-spacing: .14em;
}

.ref-home .ref-skin-card .ref-kicker::before {
  width: 5.4cqw;
  margin-right: 2.5cqw;
}

.ref-home .ref-skin-card h2 {
  margin-top: 3.2cqw;
  color: var(--ink);
  font-size: 5cqw;
  line-height: 1;
  letter-spacing: -.04em;
}

.ref-home .ref-skin-copy > p.ref-skin-promise {
  margin-top: 2.1cqw;
  color: #4b1a49;
  font-size: 2cqw;
  font-weight: 700;
}

.ref-home .ref-skin-copy > p.ref-skin-detail {
  width: 49cqw;
  margin-top: 2.7cqw;
  color: var(--muted);
  font-size: 2.05cqw;
  line-height: 1.48;
}

.ref-home .ref-primary {
  width: 53cqw;
  min-height: 48px;
  margin-top: 3.2cqw;
  border-radius: .8cqw;
  background: linear-gradient(100deg, #592058 0%, #74266e 100%);
  font-size: 2.05cqw !important;
  box-shadow: 0 8px 20px rgba(93, 31, 89, .13);
  transition: filter 160ms ease, box-shadow 160ms ease;
}

.ref-home .ref-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(93, 31, 89, .19);
}

.ref-home .ref-safe {
  gap: 1.2cqw;
  margin-top: 1.9cqw;
  font-size: 1.45cqw;
}

.ref-home .ref-safe svg {
  width: 2.8cqw;
  height: 2.8cqw;
}

.ref-home .ref-skin-visual {
  position: absolute;
  top: 11cqw;
  right: 2.6cqw;
  width: 29cqw;
  height: 29cqw;
}

.ref-home .ref-face {
  position: absolute;
  inset: 0;
  border-radius: 15cqw 15cqw 2cqw 2cqw;
  background: #a747a9 url('/brand/weone-skin-madammu-white.png') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.34);
}

.ref-home .ref-nav {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(87, 44, 83, .08);
  border-radius: 0;
  background: rgba(255, 249, 252, .95);
  padding: 2.5cqw 2cqw max(2.8cqw, env(safe-area-inset-bottom));
  backdrop-filter: blur(16px);
}

.ref-home .ref-nav a {
  gap: .8cqw;
  color: #786879;
  font-size: 1.75cqw;
  line-height: 1.15;
}

.ref-home .ref-nav a[aria-current] {
  color: var(--plum);
  font-weight: 700;
}

.ref-home .ref-nav svg {
  width: 4.6cqw;
  height: 4.6cqw;
}

@media (max-width: 450px) {
  .ref-home .ref-hero {
    height: 107cqw;
    min-height: 402px;
  }

  .ref-home .ref-logo {
    top: 3cqw;
    width: 32cqw;
  }

  .ref-home .ref-hero-brand {
    top: 5.5cqw;
    width: 67cqw;
  }

  .ref-home .ref-hero-brandline {
    height: 15cqw;
    gap: 3cqw;
  }

  .ref-home .ref-hero-mark {
    width: 30cqw;
    height: 13cqw;
  }

  .ref-home .ref-hero-word {
    font-size: 7.5cqw;
  }

  .ref-home .ref-hero-slogan {
    margin-top: 1.6cqw;
    font-size: 1.85cqw;
    letter-spacing: .23em;
  }

  .ref-home .ref-logo img {
    max-height: none;
    height: auto;
  }

  .ref-home .ref-tagline {
    font-size: 2.15cqw;
  }

  .ref-home .ref-hero-copy {
    top: 35cqw;
    left: 6.5cqw;
    width: 55cqw;
  }

  .ref-home .ref-hero-copy h1,
  .ref-home[lang='ms'] .ref-hero-copy h1 {
    font-size: 5.7cqw;
  }

  .ref-home .ref-hero-copy p,
  .ref-home[lang='ms'] .ref-hero-copy p {
    width: 51cqw;
    margin-top: 5.5cqw;
    font-size: 3cqw;
    line-height: 1.42;
  }

  .ref-home .ref-skin-card {
    min-height: 55cqw;
    margin: 3cqw;
    padding: 4.5cqw 4cqw 3.5cqw;
  }

  .ref-home .ref-skin-copy {
    width: 61cqw;
  }

  .ref-home .ref-skin-card .ref-kicker {
    max-width: 62cqw;
    font-size: 2.05cqw;
  }

  .ref-home .ref-skin-card h2,
  .ref-home[lang='ms'] .ref-skin-card h2 {
    margin-top: 4cqw;
    font-size: 5.8cqw;
  }

  .ref-home .ref-skin-copy > p.ref-skin-promise {
    margin-top: 2.5cqw;
    font-size: 2.65cqw;
  }

  .ref-home .ref-skin-copy > p.ref-skin-detail {
    width: 52cqw;
    margin-top: 3cqw;
    font-size: 2.55cqw;
    line-height: 1.45;
  }

  .ref-home .ref-primary,
  .ref-home[lang='ms'] .ref-primary {
    width: 55cqw;
    margin-top: 3.6cqw;
    font-size: 2.7cqw !important;
  }

  .ref-home .ref-safe {
    width: 56cqw;
    margin-top: 2.4cqw;
    font-size: 2.15cqw;
  }

  .ref-home .ref-skin-visual {
    top: 15cqw;
    right: 2.5cqw;
    width: 27cqw;
    height: 27cqw;
  }

  .ref-home .ref-nav {
    padding-top: 3.5cqw;
  }

  .ref-home .ref-nav a {
    font-size: 2.45cqw;
  }

  .ref-home .ref-nav svg {
    width: 5.5cqw;
    height: 5.5cqw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref-home *,
  .ref-home *::before,
  .ref-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* The legacy V1 stylesheet intentionally uses very specific selectors. Keep
   these final rules equally specific so the reference cover remains stable. */
.refpage.ref-home[lang] .ref-hero {
  height: 105cqw;
  min-height: 390px;
  padding: 0;
  background: #ae65b4;
}

.refpage.ref-home[lang] .ref-hero-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center 48%;
}

.refpage.ref-home[lang] .ref-hero::after {
  background:
    linear-gradient(90deg, rgba(68, 11, 74, .18) 0%, rgba(68, 11, 74, .02) 58%),
    linear-gradient(180deg, rgba(40, 0, 53, .08) 0%, transparent 62%, rgba(248, 207, 227, .26) 100%);
}

.refpage.ref-home[lang] .ref-logo {
  top: 3cqw;
  width: 34cqw;
  margin: 0;
}

.refpage.ref-home[lang] .ref-hero-brand {
  top: 5cqw;
  width: 65cqw;
  margin: 0;
}

.refpage.ref-home[lang] .ref-logo img {
  width: 100%;
  max-height: none;
  height: auto;
}

.refpage.ref-home[lang] .ref-hero-copy {
  position: absolute;
  top: 33cqw;
  left: 6.2cqw;
  width: 53cqw;
  margin: 0;
}

.refpage.ref-home[lang] .ref-hero-copy::before {
  display: none;
}

.refpage.ref-home[lang] .ref-hero-copy h1 {
  width: 100%;
  color: #fff;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 5.1cqw;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: initial;
}

.refpage.ref-home[lang] .ref-hero-copy h1 em {
  max-width: none;
  margin-top: .7cqw;
  color: #fff;
  font-family: 'Playfair Display', serif;
  white-space: nowrap;
}

.refpage.ref-home[lang] .ref-hero-copy p {
  width: 45cqw;
  margin-top: 5cqw;
  color: rgba(255,255,255,.96);
  font-size: 2.5cqw;
  line-height: 1.42;
}

.refpage.ref-home[lang] .ref-skin-card {
  min-height: 49cqw;
  margin: 2.8cqw 3.1cqw 2.1cqw;
  padding: 4.1cqw 4cqw 3.3cqw;
  border-radius: 2.8cqw;
  background: rgba(255, 252, 254, .95);
}

.refpage.ref-home[lang] .ref-skin-copy {
  width: 60cqw;
}

.refpage.ref-home[lang] .ref-skin-card h2 {
  width: auto;
  min-height: 0;
  margin-top: 3.2cqw;
  font-size: 5cqw;
  line-height: 1;
}

.refpage.ref-home[lang] .ref-skin-copy > p.ref-skin-promise {
  width: 49cqw;
  margin-top: 2.1cqw;
  font-size: 2cqw;
}

.refpage.ref-home[lang] .ref-skin-copy > p.ref-skin-detail {
  width: 49cqw;
  margin-top: 2.7cqw;
  font-size: 2.05cqw;
  line-height: 1.48;
}

.refpage.ref-home[lang] .ref-primary {
  width: 53cqw;
  margin-top: 3.2cqw;
  font-size: 2.05cqw !important;
}

.refpage.ref-home[lang] .ref-safe {
  width: 53cqw;
  margin-top: 1.9cqw;
  font-size: 1.45cqw;
}

.refpage.ref-home[lang] .ref-skin-visual {
  top: 11cqw;
  right: 2.6cqw;
  width: 29cqw;
  height: 29cqw;
}

.refpage.ref-home[lang] .ref-face {
  width: 100%;
  height: 100%;
  border-radius: 15cqw 15cqw 2cqw 2cqw;
}

.refpage.ref-home[lang] .ref-nav {
  padding: 2.5cqw 2cqw max(2.8cqw, env(safe-area-inset-bottom));
  background: rgba(255, 249, 252, .95);
}

.refpage.ref-home[lang] .ref-nav a {
  gap: .8cqw;
  font-size: 1.75cqw;
}

.refpage.ref-home[lang] .ref-nav svg {
  width: 4.6cqw;
  height: 4.6cqw;
}

@media (max-width: 450px) {
  .refpage.ref-home[lang] .ref-hero {
    height: 107cqw;
    min-height: 402px;
  }

  .refpage.ref-home[lang] .ref-logo {
    top: 3cqw;
    width: 32cqw;
    margin: 0;
  }

  .refpage.ref-home[lang] .ref-hero-brand {
    top: 5.5cqw;
    width: 67cqw;
  }

  .refpage.ref-home[lang] .ref-hero-copy {
    top: 35cqw;
    left: 6.5cqw;
    width: 55cqw;
    margin: 0;
  }

  .refpage.ref-home[lang] .ref-hero-copy h1 {
    width: 100%;
    font-size: 5.7cqw;
  }

  .refpage.ref-home[lang] .ref-hero-copy p {
    width: 51cqw;
    margin-top: 5.5cqw;
    font-size: 3cqw;
    line-height: 1.42;
  }

  .refpage.ref-home[lang] .ref-skin-card {
    min-height: 55cqw;
    margin: 3cqw;
    padding: 4.5cqw 4cqw 3.5cqw;
  }

  .refpage.ref-home[lang] .ref-skin-copy {
    width: 61cqw;
  }

  .refpage.ref-home[lang] .ref-skin-card h2 {
    width: auto;
    min-height: 0;
    margin-top: 4cqw;
    font-size: 5.8cqw;
  }

  .refpage.ref-home[lang] .ref-skin-copy > p.ref-skin-promise {
    width: 52cqw;
    margin-top: 2.5cqw;
    font-size: 2.65cqw;
  }

  .refpage.ref-home[lang] .ref-skin-copy > p.ref-skin-detail {
    width: 52cqw;
    margin-top: 3cqw;
    font-size: 2.55cqw;
  }

  .refpage.ref-home[lang] .ref-primary {
    width: 55cqw;
    margin-top: 3.6cqw;
    font-size: 2.7cqw !important;
  }

  .refpage.ref-home[lang] .ref-safe {
    width: 56cqw;
    margin-top: 2.4cqw;
    font-size: 2.15cqw;
  }

  .refpage.ref-home[lang] .ref-skin-visual {
    top: 15cqw;
    right: 2.5cqw;
    width: 27cqw;
    height: 27cqw;
  }

  .refpage.ref-home[lang] .ref-face {
    width: 100%;
    height: 100%;
  }

  .refpage.ref-home[lang] .ref-nav {
    padding-top: 3.5cqw;
  }

  .refpage.ref-home[lang] .ref-nav a {
    font-size: 2.45cqw;
  }

  .refpage.ref-home[lang] .ref-nav svg {
    width: 5.5cqw;
    height: 5.5cqw;
  }
}
